[JBoss-user] [Installation & Configuration] - Re: getting
Try this: Increase max-pool-size in your-ds.xml. Helmut View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840170#3840170 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840170 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: NoClassDefFoundError on AIX with EJB over HTTP
Hi, after some more investigations we're now able to provide some more informations on this topic. I can describe the situation leading to the NoClassDefFoundError. We have at the client a reference to a statefull session bean, say A, and a reference to an other stateless session bean, say B. Than we pass B as parameter to a call of a method of A. In fact, a proxy object will be transferred from the client to the server. When the server tries to unmarshall the parameters of the call, it cannot find the class definition for this proxy, which was originally generated by the same server. This works with RMI/JRMP on all platforms, but with RMI/HTTP only on Windows and Linux, not on AIX. We now tried Java 1.4.1 on AIX too, with the same result. Are there any known differences between the Sun JVMs and the IBM JVM, especially on class loading issues? Regards Helmut View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839556#3839556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839556 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - NoClassDefFoundError on AIX with EJB over HTTP
Hi, we are using EJB over HTTP with no problems on Windows and Linux platforms. But on AIX, it doesn't work. We got this error (complete stacktrace below): Unexpected Error: java.lang.NoClassDefFoundError: $Proxy138 With EJB over RMI everything is fine. The JBoss configuration is identical on all three platforms. We're using JBoss 3.2.3 on all platforms. This is the JVM-Version on AIX: > java -version java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0) Classic VM (build 1.4.0, J2RE 1.4.0 IBM AIX 5L for PowerPC (64 bit JVM) build caix641401-20021126 (JIT enabled: jitc)) Thanks for any help or any suggestions to resolve this problem. Helmut -- The complete stacktrace Unexpected Error: java.lang.NoClassDefFoundError: $Proxy138 at sun.reflect.GeneratedSerializationConstructorAccessor148.newInstance(UnknownSource) at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code)) at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:831) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1654) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1297) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1294) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:347) at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:78) at org.jboss.invocation.MarshalledInvocation.getArguments(MarshalledInvocation.java:346) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:948) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:269) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatefulSessionContainer.internalInvoke(StatefulSessionContainer.java:416) at org.jboss.ejb.Container.invoke(Container.java:700) at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java(Compiled Code)) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(CompiledCode)) at org.jboss.invocation.http.server.HttpInvoker.invoke(HttpInvoker.java:163) at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java(Compiled Code)) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(CompiledCode)) at org.jboss.invocation.http.servlet.InvokerServlet.processRequest(InvokerServlet.java:133) at org.jboss.invocation.http.servlet.InvokerServlet.doPost(InvokerServlet.java:195) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invok
[JBoss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock
Adrian, you're right, the 'unable to passivate bug' is fixed in 3.2.3. The problem left was of some other kind. Thanks and regards Helmut http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826237#3826237";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826237>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Unable to passivate due to ctx lock
Hi Adrian, thanks for the answer. I tried 3.2.3. But the bug was not fixed completely: 16:06:14,399 WARN [AbstractInstanceCache] Unable to passivate due to ctx lock,id=drw40msp-40 16:06:19,506 ERROR [LogInterceptor] TransactionRolledbackException in method: public abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject() throws java.rmi.RemoteException, causedBy: java.rmi.NoSuchObjectException: Could not activate; failed to restore state; CausedByException is: C:\Programme\jboss-3.2.3\server\default\tmp\sessions\MyBean-drw3ajqv-2r \drw40mvr-43.ser (Das System kann die angegebene Datei nicht finden) I think, this corrensponds to bug 780746 reported in the bugs database. Regards Helmut http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825952#3825952";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825952>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Unable to passivate due to ctx lock
Hi, we've problems with stateful session beans, user transactions and passivation. When a stateful session bean instance is part of a user transaction and JBoss tries to passivate this bean we got the warning "Unable to passivate due to ctx lock". This is ok, because beans cannot be passivated when they are part of a transaction. But when I access the bean afterwards, JBoss tries to activate the bean but can't do this because the bean wasn't passivated at all. We got the following exception: java.rmi.NoSuchObjectException: Could not activate; failed to restore state; Cau sedByException is: C:\Programme\jboss-3.2.2\server\default\tmp\sessions\MyBean-d ruw1307-8v\druw5s8a-b5.ser (Das System kann die angegebene Datei nicht finden) For me, this seems to be a bug in JBoss, because JBoss tries to activate a bean which was never passivated. We're using JBoss 3.2.2. Any comments or hints? Thanks in advance. Helmut http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825751#3825751";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825751>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user