[JBoss-user] [Security & JAAS/JBoss] - Bad password for user 'caller_java' in JaasHowto
I'm running the following system: Linux Fedora FC/3 (kernel 2.6.9) JBoss 3.2.6 I downloaded the 'jaashowto' example and tried to run it. I could start the application and display the index.html, but when tried to access the first link ('Invoke PublicSession.echo() as java, echoman'), I received the following traceback: | javax.servlet.ServletException: Failed to call SecuredEJB.echo | org.jboss.docs.jaas.howto.EJBServlet.createBean(EJBServlet.java:187) | . | . | root cause | | java.rmi.AccessException: SecurityException; nested exception is: | java.lang.SecurityException: Authentication exception, principal=caller_java | I restarted JBoss with DEBUG enabled in the 'log4j.conf' file and found more details when I tried to run the test. Note I added some debug statements to the EJBServlet.java and session beans. Note the 'UserPrincipal=caller_java' in the EJBServlet: |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] processRequest(): method=echo |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] callEcho(): UserPrincipal=caller_java |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] createBean(): about to call 'create()' on: java:comp/env/ejb/SecuredEJB |DEBUG [org.jboss.security.auth.spi.UsersRolesLoginModule] Bad password for username=caller_java |ERROR [org.jboss.ejb.plugins.SecurityInterceptor] Authentication exception, principal=caller_java | 'Bad password for username=caller_java'? I could get the example to work if (and only if) I changed the 'roles.properties' file by removing the following two lines: | java.CallerPrincipal=caller_java | duke.CallerPrincipal=caller_duke | In that case, I see the following debug statments in the server.log. Note the 'UserPrincipal=java' in the EJBServlet: |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] processRequest(): method=echo |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] callEcho(): UserPrincipal=java |DEBUG [org.jboss.docs.jaas.howto.EJBServlet] createBean(): about to call 'create()' on: java:comp/env/ejb/SecuredEJB |DEBUG [org.jboss.docs.jaas.howto.PublicSessionBean] ejbCreate() called |DEBUG [org.jboss.docs.jaas.howto.PublicSessionBean] echo(), arg=Hello | Why would the security mechanism be handed the 'caller_java' username and then try to authenticate it by verifying its password? I didn't change any other files in the example (other than to add debug statements to the code. H. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862228#3862228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862228 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Network is not reachable exception
Hi, I am using jBoss 3.2.3, we have deployed our bean with jnp port as 2099, rmi port as 2098 and rmiObject port as , everything works perfectly within the LAN, but if i tried with Public IP, 2099 and 2098 port has been established connection status, but port has the Status of SYN_SENT (Actively try to establishing connection). If anyone knows the solution kindly help me out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862232#3862232 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862232 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Solaris 8,9,10 JBoss 3.2.6/4.0.1 PKG's with JMX console Hard
As the title says it our friends at http://www.blastwave.org have created a JBoss package that you can install. Some key points to this are: 1.) JBoss packaged into Sun's PKGADD formated package. So, this could be deployed on production servers cleanly and with a 'known' location. Would also be ideal for JumpStart setups. 2.) The JMX Console is hardened by default and admin locked. 3.) Init scripts are properly placed & if using Solaris 10 the SMF service is properly setup. Links: http://www.blastwave.org/packages.php/jboss3 http://www.blastwave.org/packages.php/jboss4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862231#3862231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862231 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Deploying problem
I had the same problem with you ! I also did it according the guide ! Some error happened at the beingging and can't find some source code and files! Then I copied some files from other folder of the j2eeturitoral ,and modify the some xml file. All thing went well except I deployed it ! And I had the same error with you ! Hope anyone who deploy it correctly can teach your way! Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862223#3862223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862223 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: login.jsp tag library error?
Yep You are right... Removing servlet.jar default/deploy seems to solve the problem Example application works fine... except it throws some exceptions when I logoff. I couldn't care less. So 3 major changes are required to make the example application work on jboss-3.2.5: 1>In build.properties comment out servlet.jar path or make it point to tomcat's servlet.jar as shown in step (2) 2> In jboss-build.xml change the servlet.jar property so that tomcat's servlet.jar is picked 3> remove servlet.jar from default/deploy R View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862219#3862219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862219 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Problem deploying application under JBoss 4.0 using EJB (sta
Hello, I have packaged application into the EAR file. When I try to deploy it under the JBoss 3.2.6, it is deployed without problems. But when I try to deploy it under JBoss version 4, there is error occured (attached below). Can you advice me, where is the problem ? Thank you for your answer, with best regards, Julian Legeny ERROR: = 2005-01-14 17:26:56,390 ERROR [org.jboss.ejb.StatelessSessionContainer] Initialization failed jboss.j2ee:jndiName=org.opensubsystems.security.logic.UserExtrasController,service=EJB java.lang.ClassCastException at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.getEJBLocalHome(BaseLocalProxyFactory.java:226) at org.jboss.ejb.Container.createService(Container.java:705) at org.jboss.ejb.SessionContainer.createService(SessionContainer.java:144) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:328) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy45.create(Unknown Source) at org.jboss.ejb.EjbModule.createService(EjbModule.java:364) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:237) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:219) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:328) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy19.create(Unknown Source) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:584) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:881) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745) at org.jbos
[JBoss-user] [Beginners Corner] - Re: Lifecycle of bean references inside Swing client app
Sorry, there are some typos so I resend correct message: Hi, I have simple question. I write a standalone client app with Swing GUI and it uses heavily the methods of session bean via RMI. Not wanting to lookup in JNDI for remote interface to bean every time I need a method invocation I will try to store the reference to bean's remote interface in global class and just use it everytime I want to use the bean. Is it good idea or not? Is it common practice in J2EE apps? Could the live reference to bean on the server time out? Should I "close" or "dispose" the reference or object created by home interface? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862211#3862211 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862211 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Lifecycle of bean references inside Swing client app
Hi, I have simple question. I write a standalone client app with Swing GUI and it uses heavily the methods of session bean via RMI. No wanting to lookup in JNDI for remote interface to bean every time a need a method invocation I will try to store reference to interface in global class and just use it everytime I want to use bean. Is it good idea or not? Is it common pracitce in J2EE apps? Could the live reference to bean on the server time out? Should I "close" or "dispose" the reference or object created by home interface? I want to use bean. Is it good idea or not? Is it common practice in J2EE apps? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862210#3862210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862210 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - deploying stateless ejb 3.0
Can anyone please send me some information regarding deployment of stateless bean according to ejb 3 in jboss 4.0.1RC. As i could nt found any information regarding deployment. The information which is already provided is not enough to complete the task. And i cant reveal the deploy info by myself. Look forward to get my query solved thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862221#3862221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862221 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - jBpm EJB Cluster configuration
Hi everybody. I'm developing a web application on Tomcat based on jBoss jBpm, and I would like to create a jBpm EJB cluster to access it remotely from the application. Here is what I've done to configure it: I executed the ant deploy command in my ejb directory inside my jBpm proyect. This deployed de ejb.module into JBoss. I added the ejb.client and every jboss/client .jar archive to my web application WEB-INF/lib directory. I configured the jbpm-jboss cluster host IP with the required IP address, in jbpm-ds.xml file (as explained in jBpm web page documentation). I configure it for my localhost Ip and port 1701. I deployed the jBpm process archives on jBpm. I execute the client remote call from the web application on running on a Tomcat instance in the same machine where the jboss cluster server is (I only have one machine). When doing it, I get this exception: javax.naming.CommunicationException: Failed to retrieve stub from server 172.25.7.224:1100 [Root exception is java.io.StreamCorruptedException: unexpected block data] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:207) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1196) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:516) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.jbpm.ejb.JbpmEjbServiceLocator.getExecutionServiceRemote(JbpmEjbServiceLocator.java:35) at com.ga.gms.services.integration.modificaciones.ModificacionesEjbService.startProcesoModificaciones(ModificacionesEjbService.java:95) at com.ga.gms.services.integration.modificaciones.ModificacionesEjbService.requestModificaciones(ModificacionesEjbService.java:47) at com.ga.gms.services.integration.modificaciones.ObtenerModificaciones.getModificaciones(ObtenerModificaciones.java:30) at com.ga.gms.web.ordenestrabajo.ordenestrabajo.actions.OrdenesTrabajoViewAction.execute(OrdenesTrabajoViewAction.java:89) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:305) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.StreamCorruptedException: unexpected block data at java
[JBoss-user] [Beginners Corner] - Re: Jboss 4 and Mac OS X 10.3
anonymous wrote : Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@fea0cf This is the core of your problem. I've not (yet) experienced much with JBoss 4.0.0 and OS X 10.3 - i just ran it up as a testbed so that i could have 4.0.0 on a separate box to my dev box - but I've seen strangenessess with commons logging. It appears you *really* don't want commons logging shipped inside any of your EAR or WAR if you can avoid it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862220#3862220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862220 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Dependency Injection (Inversion of Control)
Hi, I would like to use the JBoss micro kernel (MX) to do Inversion of Control for some external services so that we can configure them at run time. I appreciate that Spring can do this, however looking on the serverside.com I see lots of notes about JBoss being able to do this. Can anyone point me to a tutorial or an example of this with JBoss please. Many thanks, Norman Barker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862199#3862199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862199 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Invalid DTD for standardjaws.xml?
Hello, I am configuring JBoss-3.2.6 to DB2, using instructions from http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html. I realize that these are JBoss 4.0 instructions, that is not the problem. 1. This is the first error I ran into: The problem is that if I edit standardjaws.xml, I am getting a DTD error (because XMLSpy is smart it tells you these things). It looks like the 3.2.6 JBoss is using the wrong DTD URI for jaws. The wrong DTD, in standard JAWS is http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd";> 2. Second problem If I change it to the right? DTD? http://www.jboss.org/j2ee/dtd/jaws.dtd";> Then there is a second problem in that that DTD has a duplicate entry. is listed twice Does Jaws need fixing? 3. My final solution was to point to the URL, http://www.jboss.org/j2ee/dtd/jaws_3_0.dtd in the standardjaws.xml file. Are these things something that JBoss can easily fix? Thank you, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862197#3862197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862197 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - confusion about when requiredRoles=[] (i.e. no required role
Hi all. I'm trying to set up the situation where client authentication is NOT required (client does not need to supply username/password) but EJB operations are still done over SSL. I have the following config: in server.policy: | grant { |// Allow everything for now |permission java.security.AllPermission; | }; | in jboss-service.xml I have configured a security domain | | | | | test.keystore | test | | in login-config.xml I have set up the security domain to NOT require a username and password (at least I think I have): | | | | anonymous | | | | and yet when I run the client I get the following error: | Insufficient method permissions, principal=null, method=create, interface=HOME, requiredRoles=[], principalRoles=[] | which doesn't make any sense at all. If there are no required roles, what's the problem? Cheers, Dave View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862218#3862218 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862218 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: making a redeployable .war or .ear
Thanks Thomas that worked fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862217#3862217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862217 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - [org.jboss.deployment.JARDeployer]No META-INF or WEB-INF res
HI I am using jboss4.0.1 and deployed my web application as war file in server/default/deploy folder. My applcation can't be deployed and i see following error in the log - Any Idea what i am doing wrong??. The same application works great in standalone tomcat but not in JBoss4.0.1. BTW i am new to JBoss. 2005-01-14 16:32:07,537 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.0.1/server/default/deploy/es/crystalreportviewers/html/en/images/grouptreegrey.gif 2005-01-14 16:32:07,537 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/usr/local/jboss-4.0.1/server/default/deploy/es/crystalreportviewers/html/en/images/grouptreegrey.gif -> /usr/local/jboss-4.0.1/server/default/tmp/deploy/tmp35516grouptreegrey.gif 2005-01-14 16:32:07,568 DEBUG [org.jboss.deployment.JARDeployer] No META-INF or WEB-INF resource found, assuming it if for us 2005-01-14 16:32:07,568 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2005-01-14 16:32:07,568 DEBUG [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/usr/local/jboss-4.0.1/server/default/deploy/es/crystalreportviewers/html/en/images/grouptreegrey.gif 2005-01-14 16:32:07,569 WARN [org.jboss.deployment.JARDeployer] Failed to add deployable jar: file:/usr/local/jboss-4.0.1/server/default/tmp/deploy/tmp35516grouptreegrey.gif java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:112) at java.util.jar.JarFile.(JarFile.java:127) at java.util.jar.JarFile.(JarFile.java:65) at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:285) at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:183) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:828) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:765) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA Thanks GV View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862215#3862215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862215 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: wsee, xdoclet, session bean example
First of all, thanks to dijkstra and Bruce for providing the helpful tutorials. It is well appreciated. However, some issues remain unclear to me: dijkstra, in your tutorial (and most probably also in Bruce's) the namespaceURI of the jaxrpc-mapping.xml does not match the namespace of the java2wsdl-created wsdl file. In my case, JBoss (4.0.1) starts to complain during deployment that it can not map my complex-types which I would like to return by the webservice to the appropriate data transfer object. When I manually fix the jaxrpc-mapping.xml file to match the namespaces, everything works fine. So, I assume that your tutorials do only work for basic types like the string or float you return. What do you think about that point? Although there is a possibility in xdoclet to define what namespaceURI should be taken for the jaxrpc-mapping.xml, xdoclet (1.2.2) adds always a nice "-ejb" at the end of my defined namespace and I could not figure out yet how to change that. Any Ideas? So for now, I will take Bruce's approach and have a static hand-made file which I copy to the META-INF dir during building. Not exactly the reason why I chose xdoclet... There is another issue which I do not understand. You both have the | * @ejb.interface | * service-endpoint-class = "com.underworld.crimeportal.interfaces.OrganizationBeanEndPoint" | * | tag defined, which is not necessary to create the EndPoint interface. The EndPoint interface can also be created by defining: | | task in the xdoclet-build file (nicer aproach because more generic). Then one would think that the code Bruce is using: | * @wsee.port-component | * name="com.auction.management.FiguresEndpoint" | * wsdl-port="auction:FiguresPort" | * service-endpoint-interface="com.auction.management.FiguresEndpoint" | * service-endpoint-bean="com.auction.management.Figures" | would then generate the service-endpoint-interface entry in the webservices.xml, but surprise those annotation do not seem to have any effect on the webservices.xml, at least not in my project. But it turned out that the ejb.interface tag is generating the service-endpoint-interface entry in the webservices.xml. So the wseedoclet seems to parse ejb tags!! I don't get that. This is really confusing me. Any ideas from your more experienced side? Hope for more cloudlessness. Cheers, Thomas. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862214#3862214 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862214 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - delete and insert vs update
I am trying to find a leak in my application. I am using CMP 2.x Entity Beans. with an MDB that actually performs the inserts/updates/deletes. The transaction for MDB is Bean Managed. I am using JBoss 3.2.3 and JDK 1.4.2. The memory to set to max 256MB. I have a read-ahead of 1000 and max cache size of 2000. I am using commit option B. In order to find the leak I have narrowed down the number beans I touch to 10. The test: update one Entity Bean A in a transaction. start another transaction to delete 16 Entity Bean Bs inserts 16 (different) Entity Bean Bs. Remaining 8 beans are fetched but not modified. commit the transaction. This test is performed at 120 times per minute. This test ran out of memory in about an hours time. I profiled the application using java profiling tools and found that bean B's count kept increasing on each iteration. Remaining 9 beans count didn't increase after the first time. I commented out all Bean B's operations and retested. So in this new test Bean A is still being updated. There is no leak this time. This observation made me think why should an update in CMP behave differently that delete-insert. I would appreciate if anybody can help me out here. I am being battling this problem for days now. Thanks in advance VM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862213#3862213 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862213 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Manual login from servlet
So if you have an ejb client in the web tier that is doing a manual login and using LoginContext("client-login",..) w/ the default configuration of ClientLoginModule w/ multi-threaded=false you will need to switch the multi-threaded to true so that each thread has its own values in SecurityAssocation, true? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862190#3862190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862190 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Does JBoss JMS scale sufficiently to allow many simultaneous
Does 3.2.x thread usage on Win2k scale when there are many clients connected? Our application uses Stateless Session EJBs and JMS. Each client upon login creates both JMS queue and topic connections, then creates a temporary JMS queue to receive messages sent to it by the application running in JBoss. It also subscribes to a couple of JMS topics that are published to by the app in JBoss. I'm connecting 50 clients to JBoss, and the JBoss thread count is over 400. I've seen the same with both 3.2.3 and 3.2.6. Is this situation the same in 4.0.1? This is a problem for us because we need to be able to connect many more than 50 clients to a single JBoss instance. As a means of comparison, I was able to connect 150 clients to this same application running on WebLogic 6.1 and the WebLogic thread count was only 300. I can't even attempt to connect 150 clients to JBoss without getting an O/S error indicating no more native threads can be created. When I connect about 120 clients, the process is unable to do much of anything useful in a timely manner presumably because the O/S is having trouble managing all those threads. Can someone tell me if this problem is resolved in 4.0.1, or if there is some configuration parameter I can change so fewer threads are used? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862209#3862209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862209 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - interested in the 'pay for' jboss docs
Hi. I'm having a little trouble discerning whether or not the JBoss 4.0.1 Admin Guide on the site is the same as the 'pay for' docs or not. Are they the same? If not, what do the 'pay for' docs get you and how do I sign up? Dave Haas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862207#3862207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862207 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to lookup Queue in SessionBean
I added the code in ejb-jar.xml jms/PointToPoint javax.jms.QueueConnectionFactory Container queue/testQueue javax.jms.Queue Object obj=ctx.lookup("queue/testQueue") Still failed to lookup Queue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862205#3862205 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862205 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Unable to passivate due to ctx lock
I've got a stateful session bean, and after using it, I see the folling messages repeated in the logs: WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkkzl-8 WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypklco-9 WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkllu-a WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkm0b-c WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkm8n-d WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkmha-e WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkmp2-f WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkmwv-g WARN [AbstractInstanceCache.tryToPassivate()]: Unable to passivate due to ctx lock, id=e3ypkn7f-h WARN [AbstractInstanceCache.tryToPassivate()]: Unable t o passivate due to ctx lock, id=e3ypkneo-i The stateful session bean I am using is pretty straightforward, as is the use case. Could someone explain what this means and if there is anything I can do to avoid this warning? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862204#3862204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862204 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problems with JBoss 4.0 and JavaService
I installed jdk1.5.0_01 and was able to start JBoss as a service. thanks for the tip. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862203#3862203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862203 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Caching lookups
I'm running 4 machines with Jboss 3.2.5. 2 machines are web app servers and the other two are for EJBs. When both instances of JBoss are stopped on the EJB machines and restarted, the web app machines cannot lookup beans on the EJB machines without themselves being restarted. What is the proper way to lookup EJBs in this sort of environment. I've tried several different methods of caching and not caching the lookups and the InitialContext, but nothing has worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862186#3862186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862186 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JAAS Security
Read the JAAS howto where it talks about the web tier security integration. Unless you are under a uri secured via a security constraint there does not have to be a principal associated with the request. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862200#3862200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862200 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JBossManagedConnectionPool No more connection available
I already post in the brginners section, but i ttink i will have more response hear. I got this error on my jboss nodes 3.2.3 [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Unable to fill the pool due to timeout ( 5000 [ms] ) It seems that connections to BD were nerver close. And jboss permit only 20 connexions in the same time. Authentification to the bd is done by jboss . Is it a Jboss error or a coding error (i'm not the personn who have code this part !!) Can someone can explain to me the authentification by jboss?? Second questions , 20 connexions max simultuanously is not a bit a few ??!! thx for answers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862185#3862185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862185 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Container Managed Transactions and MySQL/InnoDB
That sorted it. Many thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862198#3862198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862198 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Where are the error logs???
Hi I have an application that prints exceptions to System.err. Usually app servers will record all this in an error log but I can't seem to find where they are in JBoss. I know the messages are not being printed to the console and I checked the logs folders and could not find any log file that showed the errors. Can someone please direct me where I can find these logs or at least tell me where this info is being printed??? thanks Abe View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862184#3862184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862184 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Problems with JBoss 4.0 and JavaService
Hi, you should install on the JDK not on the JRE View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862182#3862182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862182 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Cannot find port with name 'XXXXX' in wsdl document
That was it, I guess I stared at it too long to see the obvious. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862181#3862181 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862181 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JCA calling a DLL
Hi, we have a legacy system which is implemented in C++. We use a standalone Java App and JNI to call the C++ at the moment, but want to use JBoss. Is it possible for me to implement a JCA component which will wrap up the DLL? At the moment, I'm getting an UnsatisfiedLinkError. I have the example from the documentation working, but cannot seem to get it to call my DLL. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862179#3862179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862179 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Monitoring recommendations?
I've been using the jmx-console to check on the ManagedConnectionPool's and the jboss.system - ServerInfo to look at memory and threads. I'd be interested in finding any other key indicators. Also, I went over to sourceforge to look for monitoring tools and found something called EJTools which seems to work ok with JBoss 3.2.x to examine the same sort of info. It'd be nice to know if anyone else is using this and what for. What I was really hoping to find was a tool that could be configured to monitor various key indicators and send an alarm/page/email when various threshholds were exceeded. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862177#3862177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862177 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - how to lookup Queue in SessionBean
I am failed to lookup Queue in EJB container. The code as below: InitialContext ctx = new InitialContext(); try{ obj = ctx.lookup("queue/testQueue"); } catch(Exception e){ System.out.println("" +e) } But I can lookup jndi EJB AND queue/testQueue is listed in JMX console as globle jndi namepace. How to lookup Queue in SessinBean ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862195#3862195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862195 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JAAS Security
I am very interested in this too. I am trying to build in authentication into my webapp. It apears that the subject is lost between requests. I thought, once authenticated a subject lasts for teh duration of the session. In my scenario I invoke a prtected JSP and am taken to my form based log on age. I log on no problem. I now invoke an unprotected page. I try and access the subject but a null is return. When I again invoke a protected page I am asked to log on again! Surely this is teh incorrect behaviour. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862175#3862175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862175 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)
>From what I read in the JBoss docs, the alias in the keystore needs to be the >x509 subject line of the cert (with escapes for spaces and delimiters). So >my advice would be to modify the keystore aliases. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862192#3862192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862192 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Jboss 4 and Mac OS X 10.3
I am having difficulty starting any Jboss 4 configuration in which a WebServer is started. The exception thrown is as follow -- with appreciation to any/all who can help me to sort this out: 12:07:08,702 WARN [ServiceController] Problem starting service jboss.web:service=WebServer java.lang.ExceptionInInitializerError at org.jboss.web.tomcat.tc5.Tomcat5.startService(Tomcat5.java:323) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:261) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:122) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:131) at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:305) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:481) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy
[JBoss-user] [HTTPD, Servlets & JSP] - Struts not working with embedded tomcat. HELP!!!
Hi, I'm kind of new to JBoss. I was handed an application that works in JBoss 2.2 + Standalone tomcat environment. I was asked to move over to latest JBoss technology. I downloaded RC2 version of JBoss 4.0.1 and latest struts. When my .ear file is deployed, I don't see any log specifing that ActionServlet was mapped. I even tried to use older version of struts. Then I downloaded tomcat version 4.1.31 and deployed the .war file. On doing this, I saw that the ActionServlet was mapped. What do I have to do to make JBoss detect the struts information in web.xml. Maybe it can't even find web.xml. For the web-console app that came with JBoss, I see the following log 2005-01-14 11:03:54,939 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/ -> file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/WEB-INF/web.xml But, for my app, I don't see any of this. Please help me understand how JBoss works. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862188#3862188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862188 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creatin DLQHandler...... and stop PLEASE HELP ME
Hi all thanks to all; now it works.. i have fixed it. I'm very sorry for all the disturb i have given to you all... please pardon me if you can. A colleague of mine has changed the jboss.xml file and i had that errorafter i have changed the hosts file all works. Thanks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862171#3862171 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862171 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Incorrect data for 'posts' field
Where ? If you are refering to jboss addresses, it's just that our addresses are our logins. It's on purpose. Were you talking about something else ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862187#3862187 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862187 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)
also just to confirm that my certs match. >From my client keystore: jwsdpco-client, Nov 2, 2004, keyEntry, | Certificate fingerprint (MD5): 57:8A:30:61:23:53:C6:34:B0:0A:38:3E:56:ED:EE:98 This is the key entry of the keystore I use to make my request with. from the server keystore: brian-client, Dec 21, 2004, trustedCertEntry, | Certificate fingerprint (MD5): 57:8A:30:61:23:53:C6:34:B0:0A:38:3E:56:ED:EE:98 | They fingerprints match, so the alias (on the server) brian-client should match the certificate that I'm passing in. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862167#3862167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862167 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: UsersRolesLoginModule AND CLIENT-CERT (desperately)
Hello, I've got some more information. I set my log levels to debug to find the differences between the two instances and here's what I came up with. from my workstation (successful) | 08:51:23,125 DEBUG [JSSE14Support] Cert #0 = [ | [ | Version: V1 | Subject: CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 | | Key: SunJSSE RSA public key: | public exponent: | 010001 | modulus: | c3e2f08a 900ecfb9 3703f44b 2a65201d 0a1a54c7 2b5cac75 c7461763 3792c211 | e9d62af9 9aadb282 7149556f 2520f3a3 f9f4466d 8f344820 0d0c8b15 af2d377b | 9d729a2c 8018815e b734bec0 e4960567 ce315272 88252d1c e79c72b3 ad46e26b | 4c82c81f 6a3998da b8cfbbc3 ed14d649 8dbb6d74 9b36b1be 1f48ad61 151ebcb7 | Validity: [From: Tue Nov 02 09:39:28 MST 2004, |To: Mon Jan 31 09:39:28 MST 2005] | Issuer: CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | SerialNumber: [4187b840] | | ] | Algorithm: [MD5withRSA] | Signature: | : 1D FE 8C 38 E6 1A 07 2D 53 B0 7F F8 F1 DE CF C4 ...8...-S... | 0010: C6 02 F6 7F 6B 48 A1 A5 AF 5C 51 1C 47 37 76 01 kH...\Q.G7v. | 0020: 77 E5 EC 8A 97 83 64 AE 7C 48 EA BA 25 33 4A 3E w.d..H..%3J> | 0030: 79 24 5D 00 E7 ED 73 E0 7F 29 A5 57 28 6D 52 D4 y$]...s..).W(mR. | 0040: 6C 38 6A 7E 11 94 E8 F1 B2 12 35 D8 61 78 A1 B2 l8j...5.ax.. | 0050: 44 9A 26 E7 EA 21 DC 0A BC 09 88 87 A8 9A 7E 0B D.&..!.. | 0060: A7 2C 7C FA 07 F2 6B 31 D0 95 A3 00 33 BA 16 7E .,k13... | 0070: 2D 1A 2C CA 2D 79 48 50 C8 F4 FD 08 E5 80 B5 2D -.,.-yHP...- | | ] | 08:51:23,156 DEBUG [BaseCertLoginModule] securityDomain=java:/jaas/ws-cert | 08:51:23,156 DEBUG [BaseCertLoginModule] found domain: org.jboss.security.plugins.JaasSecurityDomain | 08:51:23,156 DEBUG [BaseCertLoginModule] exit: initialize(Subject, CallbackHandler, Map, Map) | 08:51:23,156 DEBUG [BaseCertLoginModule] enter: login() | 08:51:23,156 DEBUG [BaseCertLoginModule] enter: getAliasAndCert() | 08:51:23,156 DEBUG [BaseCertLoginModule] exit: getAliasAndCert() | 08:51:23,156 DEBUG [BaseCertLoginModule] enter: validateCredentail(String, X509Certificate) | 08:51:23,171 DEBUG [BaseCertLoginModule] | Supplied Credential: 4187b840 | CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | | Existing Credential: 4187b840 | CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | | 08:51:23,171 DEBUG [BaseCertLoginModule] The supplied certificate matched the certificate in the keystore. | 08:51:23,171 DEBUG [BaseCertLoginModule] exit: validateCredentail(String, X509Certificate) | 08:51:23,171 DEBUG [BaseCertLoginModule] exit: login() | 08:51:23,234 DEBUG [AuthenticatorBase] Authenticated 'CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorad | o, L=Denver, ST=CO, C=US' with type 'CLIENT-CERT' | 08:51:23,234 DEBUG [AuthenticatorBase] Calling accessControl() | 08:51:23,234 DEBUG [RealmBase] Checking roles GenericPrincipal[CN=CO CSE Client, OU=Child Support Enforcement, O=State | of Colorado, L=Denver, ST=CO, C=US(W,)] | 08:51:23,234 DEBUG [RealmBase] Username CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, S | T=CO, C=US has role W | 08:51:23,234 DEBUG [AuthenticatorBase] Successfully passed all security constraints | from the linux server (unsuccessful) | 2005-01-14 08:57:53,365 DEBUG [org.apache.tomcat.util.net.jsse.JSSE14Support] Cert #0 = [ | [ | Version: V1 | Subject: CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4 | | Key: [EMAIL PROTECTED] | Validity: [From: Tue Nov 02 09:39:28 MST 2004, |To: Mon Jan 31 09:39:28 MST 2005] | Issuer: CN=CO CSE Client, OU=Child Support Enforcement, O=State of Colorado, L=Denver, ST=CO, C=US | SerialNumber: [4187b840] | | ] | Algorithm: [MD5withRSA] | Signature: | : 1D FE 8C 38 E6 1A 07 2D 53 B0 7F F8 F1 DE CF C4 ...8...-S... | 0010: C6 02 F6 7F 6B 48 A1 A5 AF 5C 51 1C 47 37 76 01 kH...\Q.G7v. | 0020: 77 E5 EC 8A 97 83 64 AE 7C 48 EA BA 25 33 4A 3E w.d..H..%3J> | 0030: 79 24 5D 00 E7 ED 73 E0 7F 29 A5 57 28 6D 52 D4 y$]...s..).W(mR. | 0040: 6C 38 6A 7E 11 94 E8 F1 B2 12 35 D8 61 78 A1 B2 l8j...5.ax.. | 0050: 44 9A 26 E7 EA 21 DC 0A BC 09 88 87 A8 9A 7E 0B D.&..!.. | 0060: A7 2C 7C FA 07 F2 6B 31 D0 95 A3 00 33 BA 16 7E .,k13... | 0070: 2D 1A 2C CA 2D 79 48 50 C8 F4 FD 08 E5 80 B5 2D -.,.-yHP...- | | ] | 2005-01-14 08:57:53,387
[JBoss-user] [Installation & Configuration] - Re: Problems with JBoss 4.0 and JavaService
example: set JbossPath=e:\jboss\bin set javaPath=c:\jdk1.5 set cp=%javaPath%\lib\tools.jar;.\run.jar;.\sisaRes.jar;.\ JavaService.exe -install JBoss "%javaPath%\jre\bin\client\jvm.dll" -Xms256m -Xmx1024m -Xincgc -Djava.class.path=%cp% -Dprogram.name=run.bat -start org.jboss.Main -stop org.jboss.Main -method systemExit -out %JbossPath%\stdout.log -err %JbossPath%\stderr.log -current %JbossPath% -depends mysql -auto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862183#3862183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862183 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: MBeans
Oh, as for your second question, using an MBean as your "service" is the way JBoss works (well, assuming you are talking outside of J2EE, in which case you should be looking at .war/.ear deployment). So, yes, to load components, you simply write your MBean, and add its configuration to your configuration file. JBoss makes this part flexible too - you can put this directly in your conf/jboss-service.xml or you can bundle up your MBean (with its supporting classes/libs) in a .sar and deploy your .sar in the /deploy directory. There are a few other ways to deploy but those are the common ones. In short, yes, you write MBean services and deploy those MBeans in order to "load your components". Hopefully, I understood your question and answered it appropriately. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862164#3862164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862164 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Difference between JBoss.NET and JBossWS
I have had the same problem..and written about it, but still no reply. So i see that its not just me. THe intructions are not clear enough and need to be made clearer. This is my post from abit ago about this same problem: ok i looked at that page and the instruction http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET and they are not clear HOWTO switch between JBossWS/JBoss.NET Before you can use JBoss.NET you need to remove JBossWS and install JBoss.NET manually. Here is what you need to do from the jboss.net module d 1. first were is this directory i am suppose "to do from".. I assume its the jboss-net directory in the jboss_home/docs/examples/jboss.net ? 2. is that a build file i am to make and use ant to execute? 3. when looking for the jboss-net.sar there is no jboss-net.sar however there is a jboss-net.sar.tmp file inside the jboss-net directory? 4. when making it into a build file. It does not work. 5. when just doing it myself and (copying the jboss-net.sar.tmp to the deploy directory and changing extension to .sar it still not work. I am using Jboss4.0.0RC2 I assusmed it is a builld file suppose to make. Because i would assume if it was clear instructions it would start out . number 1. do this number 2. do this number 3. do this .ect... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862162#3862162 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862162 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Error while using SoapMessage.saveChanges()
Hi, I'm not using any of JBoss's Web Service. I'm having a servlet which extends JAXMServlet. Then in onMessage() I have implemented to receive, validate & parse the SOAP Message that is coming in. During the process I do load my DTO's and make the business call. Based on the response from the business call, I construct back a SoapMessage and send it back to the client. Now, all of these worked fine in JBoss 3.2.3 where I'm using saaj-impl and saaj-api.jar. When I port it to JBoss 4.0.1, I'm not able to use 'em any more as JBoss 4.x has it own implementation of SAAJ. When I delete the jboss-saaj and replacing it with saaj related jar's, everything works fine. But, I dont want to do that. Is there any other way I can make this work? Thanks, Pani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862161#3862161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862161 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Container Managed Transactions and MySQL/InnoDB
The SQLException that is being thrown is a checked exception that you must be handling within a catch block in your code. This in itself is not enough to cause a transaction to be rolled back. When you catch the SQLException You can either call setRollbackOnly() on the SessionContext that was passed into your session bean, or you can throw a RuntimeException from the business method of your session bean. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862180#3862180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862180 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Facade to embeded database or something?
Ok, thanks. Yes, there is Derby version as a network server - I managed to run it succesfully. Now I will try to use it from JBoss via JDO. As for database - yes the objects should not be like rows in db tables when system is designed correctly (hm by my ones often are). Anyway with JDO i will not be very focused how db tables look like. And as a matter of fact, I even don't know really why do we need entity beans when we have JDO. I plan to develop only session beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862178#3862178 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862178 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Struts security setup!! please help
Derick What action is executed when authentication fails? I return "error" from my action when it fails. In my struts-config.xml I send this forward back to the login.jsp. I am experiecing a different problem thereafter. I authenticate ok and am directed to the welcome page. No if I click on a page that is not protected I lose teh Subject. If I now click on a protected page I am asked to log on again. I expected the Subject to be present for teh duration of teh session, NOT teh request. Has anybody encountered this problem before. Is this expected behaiour? (I am sure the servlet spec would disagree) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862176#3862176 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862176 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: File System ExternalContext Problem
Sorry for taking so long to reply... Layout You need this layout: | C:\jboss\server\default\deploy\external-fs.sar | You need these files here: providerutil.jar, fscontext.jar | | \META-INF (This directory is where you put the files you wish to mount.) | You need these files here: jboss-service.xml, MANIFEST.MF | | jboss-service.xml looks like: | | | | external/fs | | java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory | java.naming.provider.url=file:../server/default/deploy/external-fs.sar/META-INF | | javax.naming.InitialContext | false | | | | MANIFEST.MF looks like: | Manifest-Version: 1.0 | Ant-Version: Apache Ant 1.5.3 | Created-By: 1.4.2_02-b03 (Sun Microsystems Inc.) | Built-By: jabrisco | Sealed: false | Class-Path: /external-fs.sar/fscontext.jar /external-fs.sar/providerut | il.jar | | Name: common | Specification-Title: File System Service | Specification-Version: 1.0 | Specification-Vendor: My Company | | And thats it! If you have any questions or this doesn't work please let me know. Currently I'm even running JBoss 4.x and it still works perfectly. Jacob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862173#3862173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862173 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: servlet with oracle
The pass is between xml password tags. Doesn't seem to appear in the forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862154#3862154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862154 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - servlet with oracle
Hi, I need to access data in Oracle Database Tables. I've set the jboss configuration in "oracle-ds.xml". Something like : a/b/OrDataSource jdbc:oracle:thin:@1.2.3.4:1521:V6 oracle.jdbc.driver.OracleDriver user pass 5 50 5000 15 org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter Now I need to develop a servlet to use this to get to the Oracle Info. Can anyone please give me a few pointers and examples please? Is it regular jdbc programming or are there a few diferences considering I'm using JBoss and not just simply Tomcat for example. Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862152#3862152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862152 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: login.jsp tag library error?
Yes, I fixed the problem but it was long and difficult and I don't remember exactly how I did it. I know I removed the javax.servlet.jar from the default/lib directory and replaced the struts.jar file with a version dated 6/29/2003 (I believe I'd used a more recent version of the struts.jar originally, which was NOT the version recommended in the tutorial). I believe there was some type of collision between the Tomcat servlet.jar and the java.servlet.jar in default/lib. The problem was not with any .tld files because I checked that first. Sorry I don't remember exactly how I fixed it - I was moving too quickly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862151#3862151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862151 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Tomcat Home?
I am trying to install MyEclipse for use as a J2EE container. The installation program has given me the option of installing Tomcat with MyEclipse, or using an existing version on my system. Ideally, I would like to use the Tomcat container bundled with JBoss (v 4.0.1) but I don't know where the Tomcat Home directory would be. Once I can point the installation program at Tomcat Home, I should be good to go. Any help would be apprectiated. Thanks!! nhc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862172#3862172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862172 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problems mapping strut's ActionServlet while using embedded
Hi, I'm kind of new to JBoss. I was handed an application that works in JBoss 2.2 + Standalone tomcat environment. I was asked to move over to latest JBoss technology. I downloaded RC2 version of JBoss 4.0.1 and latest struts. When my .ear file is deployed, I don't see any log specifing that ActionServlet was mapped. I even tried to use older version of struts. Then I downloaded tomcat version 4.1.31 and deployed the .war file. On doing this, I saw that the ActionServlet was mapped. What do I have to do to make JBoss detect the struts information in web.xml. Maybe it can't even find web.xml. For the web-console app that came with JBoss, I see the following log 2005-01-14 11:03:54,939 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/ -> file:/D:/JBoss-4.0.1_Tomcat-4.1.31/jboss/server/default/deploy/management/web-console.war/WEB-INF/web.xml But, for my app, I don't see any of this. Please help me understand how JBoss works. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862169#3862169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862169 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Creatin DLQHandler...... and stop PLEASE HELP ME
Hi all by adding this log4j.properties to my "client": anonymous wrote : | | | | | | | | | | | | | | | | | | i have seen that when i start the Application Server it stops in creating DLQHandler, but when i try to shutdown the application server by using ctrl+c (by using shutdown script it doesn't work) i read in the log file these errors: anonymous wrote : 2005-01-14 17:08:17,719,TRACE,[main],[org.jboss.mq.il.http.HTTPServerILService],Constructing | 2005-01-14 17:08:26,752,TRACE,[main],[org.jboss.mq.sm.jdbc.JDBCStateManager],Constructing | 2005-01-14 17:08:26,762,DEBUG,[main],[org.jboss.mq.sm.jdbc.JDBCStateManager],Creating jboss.mq:service=StateManager | 2005-01-14 17:08:26,762,DEBUG,[main],[org.jboss.mq.sm.jdbc.JDBCStateManager],Created jboss.mq:service=StateManager | 2005-01-14 17:08:26,772,DEBUG,[main],[org.jboss.mq.sm.jdbc.JDBCStateManager],Starting jboss.mq:service=StateManager | 2005-01-14 17:08:27,083,TRACE,[main],[org.jboss.mq.sm.jdbc.JDBCStateManager],Error creating table: CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, CLIENTID VARCHAR(128), PRIMARY KEY(USERID)) | java.sql.SQLException: Table already exists: JMS_USERS in statement [CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, CLIENTID VARCHAR(128), PRIMARY KEY(USERID))] | at org.hsqldb.Trace.getError(Unknown Source) | at org.hsqldb.Result.(Unknown Source) | at org.hsqldb.jdbcConnection.executeHSQL(Unknown Source) | at org.hsqldb.jdbcConnection.execute(Unknown Source) | at org.hsqldb.jdbcStatement.fetchResult(Unknown Source) | at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source) | at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source) | at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:335) | at org.jboss.mq.sm.jdbc.JDBCStateManager.initDB(JDBCStateManager.java:439) | at org.jboss.mq.sm.jdbc.JDBCStateManager.startService(JDBCStateManager.java:399) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:837) | at $Proxy18.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:367) | at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:251) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:836) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:645) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) | at o
[JBoss-user] [Beginners Corner] - Re: jndi-name not recognized, JBoss uses bean name for globa
Yes. I just double checked that. jboss.xml and ejb-jar.xml are at the same location. For a really base test case I deployed the JBossDukesBank.ear I built using the JBoss getting started tutorial. This reveals the same problem, the names listed in the global JNDI namespace are the bean names not the names specified as jndi-name in the jboss.xml. For example: CustomerBean MyCustomer The JMX Console ->JNDIView ->list() under GlobalJNDI Namespace shows: +- local (class: org.jnp.interfaces.NamingContext) | +- CustomerBean (proxy: $Proxy54 implements interface com.sun.ebank.ejb.customer.CustomerHome) MyCustomer does not appear anywhere on that JNDIView list() page View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862166#3862166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862166 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: MBeans
MBeans are standard objects following the JMX specification - so there really is nothing JBoss specific about them. Yes, WebLogic uses MBeans, too. If you write plain vanilla MBeans (that is, if you don't use JBoss-specific MBean support classes, like ServiceMBean - they can be "standard", "dynamic", "ModelMBean" or "OpenMBean" doesn't matter, so long as they conform to the JMX spec) you surely can take your MBean and deploy it both in JBoss or WebLogic or, for that matter, ANY piece of software that exposes an MBeanServer (you could create your own MBeanServer if you want!). However, JBoss provides nice MBean support classes - they assist you in writing MBeans that plug into the lifetime management mechanism that JBoss uses when starting and stopping. See ServiceMBeanSupport for more information (for example, see the start() and stop() methods). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862163#3862163 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862163 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - JSP JSR77 MBeans and Statistics
Hi, With JBoss 4.0.0, JSR77 MBeans are created only for Servlets, but not created dynamically for JSPs after they compile. The JSR77 spec does not mention JSP monitoring explicitly, but as they are compiled to Servlets - it would make sense that they will be monitored. However, there is only a single MBean created, with the name "jsp" under each web application at initialization time. I did not managed to see any MBean created after a JSP is compiled. So, have I missed something, or is it just a bug? Thanks, Yaron. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862145#3862145 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862145 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Problem setting InitialContext
Your latest error is saying that the class specified can not be found so your jndi.properties file is being read. Try changing your classpath, remove the jar 'server\default\lib\jboss-j2ee.jar' and add the jar 'client\jbossall-client.jar' View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862144#3862144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862144 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Where is JBoss AS heading in terms of scheduling ?
Hello, I'm interested in knowing where JBoss is heading regarding job scheduling . I read in an older post (back in 2003) that Scott Stark seemed, a while ago, be willing to use Quartz as JBoss scheduler and that this would effect EJB Timer Service as well. ? What is the status on this issue ? Can anyone explain where JBoss is heading in terms of scheduling service ? It would be nice to know what are JBoss engineer's thoughts about scheduling considering : - JBoss version 3 already offered some basic scheduling services. This service was based on java.util.Timer and java.util.TimerTask utility classes. - JBoss AS 4 and EJB 2.1 offer now the timer bean which deprecate former scheduling service of JBoss version 3 (does it really ?) - There are more complete scheduling offererings in the open source market, such as Quartz. What is JBoss strategy on this subject ? Fred View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862157#3862157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862157 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: Facade to embeded database or something?
Hi, Don't worry too much. Apache Derby is IBM (ex Sybase) Cloudscape donated to the open source community and rebadged. If you use stand alone processes, only one process can access Cloudscape/Derby databases - as you know. But IBM also provided a server that would allow multiple connections, and provided the same functionality within connection pools in an application server. So you should write your entity layer to persist to the database through pooled connections to the Derby/Cloudscape database. Assume that the connection pool and underlying software will handle multiple connections. This still leaves you with the normal problems. You may need, or want, to use Bean Managed Persistence because your objects don't look like rows in a relational database (mine never do). And you need to make sure that, when dealing with updates on multiple tables, you always update tables in the same order to avoid deadlocks. But at least you don't need a special pattern. James View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862156#3862156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862156 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - State replication of Stateful session bean
Hello, Is there a way to prevent state replication of stateful session bean? App serv: JBoss 4.0 The main reason being the size of the state. (huge chunk of data is split into packets and sent sequentially to the stateful session bean) We need high availability of the bean but fail-over is not of much concern to us. the mean code in the cluster-service.xml: jboss:service=DefaultPartition DefaultPartition /HASessionState/Default 0 Do i have to do anything with this?(like setting the partition size to 1 may be) Thanks aravind View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862140#3862140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862140 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: servlet with oracle
The pass is between : panic View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862153#3862153 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862153 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Problem setting InitialContext
You shouldn't skip the theory before implementing the book examples ;-) The InitialContext needs some information about the naming service implementation used: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.provider.url=jnp://localhost:1099 | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | Set these properties as system properties or pass a Properties object as parameter when creating a new InitialContext(Properties). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862138#3862138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862138 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Problem setting InitialContext
Hi, I've tried setting jndi.properties. But then it still comes up with the following ClassNotFoundException. Pls help! Exception in thread "main" javax.naming.NoInitialContextException: Cannot instan tiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lan g.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.init(Unknown Source) at javax.naming.InitialContext.(Unknown Source) at com.gc.client.TestClient.main(TestClient.java:35) Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac tory at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source) ... 5 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862137#3862137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862137 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - jsp servlet error during start (jasper)
Hi, When i start jboss an error occurs: anonymous wrote : 13:32:55,164 INFO [Engine] StandardContext[/invoker]Marking servlet jsp as unavailable | 13:32:55,169 ERROR [Engine] StandardContext[/invoker]Error loading [EMAIL PROTECTED] org.apache.jasp | java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet | at java.net.URLClassLoader$1.run(URLClassLoader.java:199) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:964) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441) | anonymous wrote : | 13:32:55,185 ERROR [Engine] StandardContext[/invoker]Servlet /invoker threw load() exception | javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.jasper.servlet.JspServlet or a class it depends on | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:974) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) anonymous wrote : | 13:32:55,195 ERROR [Engine] - Root Cause - | java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet | at java.net.URLClassLoader$1.run(URLClassLoader.java:199) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:187) | at java.lang.ClassLoader.loadClass(ClassLoader.java:289) | at java.lang.ClassLoader.loadClass(ClassLoader.java:235) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:964) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
[JBoss-user] [Beginners Corner] - Container Managed Transactions and MySQL/InnoDB
I am trying to add some transaction management to a JBoss 3.2 + MySQL/InnoDB system. The system uses Stateless Session EJBs and purpose written DAOs. All methods of the EJBs have Required option for Transactions. I have written a test method that does two inserts into a table, the second of which causes an SQLException. The behaviour I want is for the first insert to be rolled back but this doesn't happen. Could this be because AUTOCOMMIT is turned on by default? If so how do I set things up so that it is not turned on? If not, does anyone have any ideas what else I may have overlooked? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862148#3862148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862148 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Error while persisting CMP with Blob-Field
I'm not able to save a blob field in MS SQL database. EJB-signature: /** * Returns the wob * * @return the wob * @ejb.interface-method view-type="local" * @ejb.persistent-field * @ejb.persistence column-name="WOB" */ public abstract byte[] getWob(); /** * Sets the wob * * @param wob *the new wob value * @ejb.interface-method view-type="local" */ public abstract void setWob(byte[] wob); When the ejb is persisted i get the following error from the container: 15:46:52,046 ERROR [Wob] Could not create entity java.sql.SQLException: [DETROIT]String or binary data would be truncated. at com.inet.tds.e.a(Unknown Source) at com.inet.tds.b.do(Unknown Source) at com.inet.tds.b.execute(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:276) at org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand.executeInsert(JDBCSQLServerCreateCommand.java:49) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:286) at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:137) Any help is appreciated Dominik Kuhn View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862147#3862147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862147 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: MBeans
Several appservers use and provide JMX. AFAIK, weblogic does, too. I don't want to answer the second question since I don't know what you mean with "loading components". You can load data (for reading) using the classloaders without implementing any service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862129#3862129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862129 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
That's why we recommend Hibernate/EJB3. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862128#3862128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862128 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Connection time out
Hi ruben, I am facing the same problem, My application works fine with LAN, if i tried with public ip address, upto look-up part was completed, but cannot create home, getting a exception unable to connectif u have any solution kindly update me, its really very urgent. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862124#3862124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862124 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Two EJB Related Question
1. yes, if the base class has a public constructor without arguments or is constructed within the beans constructor (but I would rather prefer delegation since I can't imagine why to use inheritance). And the base class must be serializable, when implementing a stateful session bean. 2. depends on your deployment. Just deploy all your jars within one ear or just throw them into your deploy directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862141#3862141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862141 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Struts security setup!! please help
Hi all, I have a problem with my struts config... I`ve setup all the login pages and action classes, configured the Login as Form based and all the rest. but here is the problem If leave out my security constraint settings out of my web.xml file: | | | action | Declarative security tests | *.do | GET | POST | | | | | Echo | duke | Java | | | | no description | NONE | | | | | | FORM | | /Login.jsp | /Login_error.jsp | | | | My web app runs and i can go to the Login.jsp page through url and type in the username and password, and get full authentication and get forwarded to the welcome page. Perfect. but as soon as i enable the above listed code, i automatically get reruited to the Login page ( which is perfect) but as soon as i enter the user name and password and press login(submit), i go back to the login page, i dont even reach my action class. here is the login jsp : | | <%@ page contentType="text/html; charset=UTF-8" %> | <%@ page language="java" %> | | | | | <% | response.setHeader("Cache-Control","no-cache"); // HTTP 1.1 | response.setHeader("Pragma","no-cache"); // HTTP 1.0 | response.setDateHeader ("Expires", -1); // Prevents caching at the proxy server | %> | | function submitForm() { | var frm = document. logonForm; | | // Check if all the required fields have been entered by the user before | // submitting the form | if( frm.j_username.value == "" ) { | alert("Please fill in username"); | frm.j_username.focus(); | return ; | } | | if( frm.j_password.value == "" ) { | alert("Please fill in password"); | frm.j_password.focus(); | return ; | } | | frm.submit(); | } | | | | Please enter login details | | | | | | | Username : | | | | | | Password : | | | | | | | | | | | | | . I think the problem is that my security constaint is set to reruite everything that ends with *.do and authenticate it, so when i press submit in the login page, it reroutes me back to the login page, because i`m not authenticated?? Please if anyone can help. i`m rather stuck and this is the first time i`m doing authentication, Thanks Derick View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862139#3862139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862139 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Security Problem at Start-up
I have a standard installation of JBoss 4.0.0 on Windows XP, with JVM 1.4.2_06. At start-up I get the following errors. Can someone identify the problem, please? Thanks Andrew Johnston anonymous wrote : 13:33:14,684 ERROR [Engine] StandardContext[/ebxmlrr]StandardWrapper.Throwable | java.lang.IllegalAccessError: tried to access field org.apache.xpath.compiler.FunctionTable.m_functions from class org.apache.xml.security.Init | at org.apache.xml.security.Init.init(Init.java:233) | at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:86) | at javax.servlet.GenericServlet.init(GenericServlet.java:211) | at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:76) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:336) | at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:83) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:370) | at org.jboss.web.WebModule.startModule(WebModule.java:62) | at org.jboss.web.WebModule.startService(WebModule.java:40) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:271) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:221) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:416) | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:242) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy24.start(Unknown Source) | at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:362) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:935
[JBoss-user] [Beginners Corner] - Re: set statement in run.bat
It is a very long time since I have use OS/2 so I don't have anything I can try things out with. I have found the following page that seems to describe the same problem you are encountering. http://www.markcrocker.com/rexxtipsntricks/rxtt28.2.0111.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862135#3862135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862135 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Howto encrypt connection factory passwords
Changed for 4.0.1, the command line is as follows: $ java -cp "lib/jboss-jmx.jar;lib/jboss-common.jar;server/default/lib/jboss-jca.jar;server/default/lib/jbosssx.jar" org.jboss.resource.security.SecureIdentityLoginModule password Encoded password: 5dfc52b51bd35553df8592078de921bc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862133#3862133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862133 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: set statement in run.bat
Yes, of course.Sorry I did not post it. SYS1003 it is a syntax error message. If I take out the = sign, the error goes away. I think the SET command does not like more than one = sign What do you think? Bart View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862132#3862132 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862132 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
1) Read about left-join read-head. 2) no other way but define a finder for a use-case. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862116#3862116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862116 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Conflicting classloaders detected
It's because of my simple mistake in "jboss-app.xml". Apologies for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862112#3862112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862112 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: No ManagedConnections available ...
We had the same issue. This is related to a bug in Jboss ConnectionPool. The bug has been fixed in jboss 3.2.6 For details: http://sourceforge.net/tracker/index.php?func=detail&aid=985318&group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862127#3862127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862127 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - database connection error i suppose?
I have 2 Jboss(3.2.3) server in cluster. and on one of them i got this error : [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Unable to fill the pool due to timeout ( 5000 [ms] ) It seems it happens when there are no activity on the server (during the night or during a break time). It send a request to the DB and it throws this error The only solution i have is to re-start the server. If someone have an idea ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862126#3862126 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862126 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problems with JBoss 4.0 and JavaService
I installed JBoss 4.0.0 and all is going very well... However, I'm trying to install it as a Windows service. I used JavaService but there are problems at server's startup. I don't seethese problems when I start the server using run.bat - in fact, everything is fine using run.bat I'm using JBoss 4.0 j2SDK1.4.2_06 This is my command to install the service : JBossService -install JBoss %Java_Home%/jre/bin/client/jvm.dll -Djava.class.path=%Java_Home%/lib/tools.jar;%JBoss_Home%/bin/run.jar -start org.jboss.Main -params -c default -stop org.jboss.Main -method systemExit -out %JBoss_Home%/server/default/log/stdout.log -err %JBoss_Home%/server/default/log/stderr.log -current %JBoss_Home%/bin and here are the errors in part: 17:19:12,918 ERROR [Engine] StandardContext[/ebxmlrr]StandardWrapper.Throwable java.lang.IllegalAccessError: tried to access field org.apache.xpath.compiler.FunctionTable.m_functions from class org.apache.xml.security.Init at org.apache.xml.security.Init.init(Init.java:233) at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:86) at javax.servlet.GenericServlet.init(GenericServlet.java:211) at org.jboss.jaxr.servlet.SAAJServlet.init(SAAJServlet.java:76) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5441) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:332) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:85) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374) at org.jboss.web.WebModule.startModule(WebModule.java:62) at org.jboss.web.WebModule.startService(WebModule.java:40) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:891) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:416) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:144) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:175) at $Proxy27.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:362) at org.jbos
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
Thanks for the response. 1) looks like a good solution. 2) here's the problem with entity beans. I have to know all my business cases in advance, declare them in the descriptors, and provide a finder for each. Everything is completely entity-centric, instead of usage (transaction) centric. I get the following problems: 1) I could end up with lots of finders with incredibly long names so that the client knows what they do. Complicate my API for everyone to look at just for corner-case transactions. 2) The developer, working on a particular piece of logic, has to go to the entity, add a new finder and rebuild. Poor productivity. 3) I must verify that I can do this with other application servers 4) If I find that it can be done, attempt to put automatic processes in place in my build system to build the config for each All when I just wanted to say "select these 10 fields from these 2 joined entities" in one transaction. I think JBoss generally provides very good solutions within the constraints of the entity bean paradigm. More and more however, I find that the paradigm is inflexible and bars portability. That is in no way intended to be a rant at JBoss. I will continue to use, recommend and deploy it, and I always genuinely appreciate the prompt and accurate advice I get from key figures on these forums, something I can never get from other vendors. But I think that as an ISV who must remain portable, I must look to another persistence solution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862123#3862123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862123 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Scoping for WSRs?
I want to deploy two versions of the same WSR: one for production, and one for test. For example: MyService.wsr and MyServiceTest.wsr. The class files in each WSR will have the same names, but may be different versions, so I want each WSR to use a separate (i.e. scoped) classloader to avoid the version conflict problem. Can anyone point me in the right direction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862121#3862121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862121 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Problem setting InitialContext
Hi, I'm new to EJB. Having developed and set up a BMP ejb class following books, I try to test it with a simple client, TestClient below. I've not really coded much in the TestClient. But I got a javax.naming.NoInitialContextException when run it pointing problem on the InitalContext() line. Pls help. Thanks in advance, jackling the TestClient: package com.gc.client; import java.util.Collection; import java.util.Iterator; import javax.naming.InitialContext; import com.gc.ejb.*; import com.gc.interfaces.*; public class TestClient { public static void main(String[] args) throws Exception { Object countrybmp = new InitialContext().lookup("ejb/CountryBMP"); } } the Error: java -classpath C:\eclipse\workspace\JUnit\gCopper\bin;C:\jboss-3.2.5\server\default\lib\jboss-j2ee.jar com.gc.client.TestClient Exception in thread "main" javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or i n an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at com.gc.client.TestClient.main(TestClient.java:24) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862119#3862119 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862119 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: message driven bean in session bean
Yes, sending a jms message to the destination the mdb is listening on is 'calling' a message driven bean. With jboss-4.0.x and jca 1.5 you could write an inflow adaptor that actually did allow for either synchronous or asynchronous calls to a message driven bean using any interface you want. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862117#3862117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862117 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Connection time out
Even SP1 has the internet security (afaik default turned on). SP2 just "improved" it... *G* To be sure this isn't the problem, just turn off the whole service. And beware of routers with active firewalls... I'll still bet you on this ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862111#3862111 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862111 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Setting docBase to allow for fast jsp development
Hi, I would like to be able to set the docBase of a web application to point to a 'workspace' as opposed to an exploded war in the temp folder. This would allow me to change jsps and have them reloaded on the fly without a need to repackage and deploy the whole WAR/EAR file. I have managed to change the docBase attribute of the jboss.web:XXX webmodule using the JMX HtmlAdaptor to point to my workspace directory. The change does not however make any effect. I tried to reload the bean but this failed. Has anyone managed to do something similar. I'm sure this would be a huge time saver as far as development goes. -- Justin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862106#3862106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862106 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: From Tomcat to JBoss, a hibernate application
Lee, in my hibernate.har folder the structure is: hibernate.har -hibernate.cfg.xml -META-INF/hibernate-service.xml -test/ (*.hbm.xml,*.class) -WEB-INF/lib/here I have my database driver and ehcache.(jar/xml) hibernate.cfg.xml | | | | | | | | | | | | | | | | | | I have quoted out the mapping resource lines because the *.hbm.xml files are automatically picked up. But it will not harm if you do decide to list them. hibernate-service.xml | | | jboss.jca:service=RARDeployer | jboss.jca:service=LocalTxCM,name=PostgresDS | java:/hibernate/SessionFactory | java:/PostgresDS | net.sf.hibernate.dialect.PostgreSQLDialect | net.sf.ehcache.hibernate.Provider | | | | true | 25 | | | I hope this helps beya! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862102#3862102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862102 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Problem with caching
Hi all, I have a major problem with my application, Its working fine in the JBoss 3.2 with windows, but in Linux its giving some problem. The scenario is : User "A" has loged in the application. Its ok working fine, He has accesses few pages in the application. User "B" has loged in the application. Now the login page is ok working fine, User "B" will get his own page. But when he go to other pages he is getting A's page rather than his page. "B" is getting his page only when he refersh the page. The thing is its working fine in windows. But in the Linux machine its showing the problem. I think the problem is because of some caching configuration in the JBoss server or in the Linux machine. I think the proxy cache setting is working fine because other applications are working fine. On the same time I dont think that its problem with the Code because its giving perfect result in the windows machine on the same JBoss server. Please some one help me. with regards Sanju Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862101#3862101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862101 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Deploying problem
Hi, I'm trying to work withThe Duke?s Bank Application example and acted according to the starting guide. All went well. Last thing I did was: ant -f jboss-build.xml deploy. No errors. But when I for example restart the server, there is bunch of error messages. Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages. I'd be really thankful if soeone of you can help me out. Shmuel. Here is the log: 2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.ClientDeployer] looking for nested deployments in : file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar 2005-01-14 12:02:49,353 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar, to ucl: [EMAIL PROTECTED] url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38} 2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar 2005-01-14 12:02:49,353 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar 2005-01-14 12:02:49,368 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2005-01-14 12:02:49,368 DEBUG [org.jboss.ejb.EJBDeployer] init, bank-ejb.jar 2005-01-14 12:02:49,384 DEBUG [org.jboss.ejb.EJBDeployer] looking for nested deployments in : file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar 2005-01-14 12:02:49,400 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar, to ucl: [EMAIL PROTECTED] url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38} 2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/bank-ejb.jar 2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client.war 2005-01-14 12:02:49,400 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2005-01-14 12:02:49,400 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init 2005-01-14 12:02:49,400 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Unpacking war to: D:\Programs\Programming\java\JBoss\jboss-4.0.1\server\default\tmp\deploy\tmp37657JBossDukesBank.ear-contents\web-client-exp.war 2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Replaced war with unpacked contents 2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: /bank 2005-01-14 12:02:49,759 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client-exp.war/ 2005-01-14 12:02:49,775 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init 2005-01-14 12:02:49,790 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client-exp.war/, to ucl: [EMAIL PROTECTED] url=file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear ,addedOrder=38} 2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/web-client.war 2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear 2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/deploy/JBossDukesBank.ear 2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/Programs/Programming/java/JBoss/jboss-4.0.1/server/default/tmp/deploy/tmp37657JBossDukesBank.ear-contents/app-client.jar 2005-01-14 12:02:49,790 DEBUG [org.jboss.deployment.MainDeployer] Done with create s
[JBoss-user] [Beginners Corner] - Re: jndi-name not recognized, JBoss uses bean name for globa
Are you sure that your jboss.xml file is in your jar in the same location as the ejb-jar.xml? It looks as if JBoss is not seeing the configuration file, rather than ignoring a specific setting in the file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862099#3862099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862099 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Connection time out
there is probably a firewall in the way. Open the needed ports or don't use RMI. The jndi lookup can be done e.g. over http and you can configure the invocation layer used for beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862098#3862098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862098 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
This is the same answer as provided by HariV(?) What about the questions I raised in response to that (1 and 2, disregard 3). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862113#3862113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862113 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: enc ejb context from a java application
JBoss guide: anonymous wrote : An application component environment is a local environment that is accessible only by the component when the application server container thread of control is interacting with the application component. This means that an EJB Bean1 cannot access the ENC elements of EJB Bean2, and vice versa. Similarly, Web application Web1 cannot access the ENC elements of Web application Web2 or Bean1 or Bean2 for that matter. Also, arbitrary client code, whether it is executing inside of the application server VM or externally cannot access a component's java:comp JNDI context. The purpose of the ENC is to provide an isolated, read-only namespace that the application component can rely on regardless of the type of environment in which the component is deployed. The ENC must be isolated from other components because each component defines its own ENC content. Components A and B, for example, may define the same name to refer to different objects. For example, EJB Bean1 may define an environment entry java:comp/env/red to refer to the hexadecimal value for the RGB color for red, while Web application Web1 may bind the same name to the deployment environment language locale representation of red. http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862097#3862097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862097 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Deploying Jar,Sar,War,Har .... ClassNotFound :-(
Hello, what did I understand wrong ? I need to deploy the following - utils.jar - myobjects1.har - myobjects2.har - mymbean1.sar - mymbean1-interfaces.jar - mymbeanN.sar I've got problems with my classes First, I wanted mymbean1 starts before the 2, and so on... I've notice alphabetical order is important... then I rename my archives : - 01-utils.jar - 02-myobjects1.har - 03-myobjects2.har - 04-mymbean1.sar - 05-mymbean1-interfaces.jar - 06-mymbeanN.sar This is ok, my archives are deployed in the good order... (I don't want to use "depends", because if I redeploy mymbean4 .. it restarts the 5th, ..) If you can first explain me this, I would be happy ... MY BIGGEST PROBLEM is : classes in the .har files are not reachable from my sars ! so I need to add an extern jar myobjects.jar that contains all objects that are in the sar... it's stupid ?! and the worse, my har classes can't access to the classes that are in utils.jar what is the solution ? If I deploy my .jar files in the lib directory, no more problems... PS : so that my sar1 can use classes from sar2, I've created a jar file with all needed interfaces.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862093#3862093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862093 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: No serializer found for class - C# Client, JBoss Web Ser
Hi, I'm now getting the following when I run .NET's wsdl on my Web Service: The OperationDesc for is not sychronized to a method of I'm running wscompile as follows: wscompile -cp build -gen:server -f:documentliteral -d ws/wsdl -mapping ws/mapping.xml config.xml I've searched around but have been unable to resolve the problem. Would anyone have any idea on what's going wrong here? Thanks for your help Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862092#3862092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862092 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ejbFinders are not even consistent with themselves?
You could use left-join read-ahead, see wiki. The spec does not define loading strategy. So it's a vendor-specific thing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862109#3862109 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862109 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Connection time out
I've tried it with windows XP before SP2 (no firewall installed then) and had the same problem. But I will look into the SP2 firewall to be 100% sure. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862108#3862108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862108 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user