1 Reply Latest reply on Apr 8, 2005 3:20 PM by sbudewig

    Local EJB in Clustered environment

    sbudewig

      Hi,

      Are there any issues with using local CMP EB in JBoss 4.0.2RC1? I have a two-node cluster application that uses many local CMP EB [with configuration: run.sh -c all]. If node A is the only node up, my JUnit test passes. If node B is up at all [or the only node], the JUnit test fails ( see trace below - sensitive data changed).

      The issue may be due to O/S JVM version. Node A runs AIX JVM 1.4.2 while node B runs AIX JVM 1.4.0. While I'm waiting on the JVM upgrade for node B, I wanted to see if anyone has had issues running local CMP EB in a cluster.

      Thanks,

      Stephen

      13:25:21,071 ERROR [LogInterceptor] Unexpected Error in method: public abstract Timecard[] Session.doExceptionReview(java.lang.String,java.lang.String[]) throws java.rmi.RemoteException,java.lang.Exception
      java.lang.NoClassDefFoundError: $Proxy1099
       at sun.reflect.GeneratedSerializationConstructorAccessor626.newInstance(Unknown Source)
       at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
       at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java(Compiled Code))
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java(Compiled Code))
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java(Compiled Code))
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java(Compiled Code))
       at java.rmi.MarshalledObject.get(MarshalledObject.java(Compiled Code))
       at org.jnp.interfaces.NamingContext.getServer(NamingContext.java(Compiled Code))
       at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java(Compiled Code))
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code))
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java(Compiled Code))
       at javax.naming.InitialContext.lookup(InitialContext.java(Compiled Code))
       at EJBUtil.getHomeReference(EJBUtil.java:82)
       at EJBUtil.getHomeReference(EJBUtil.java:61)
       at EJB.findTimecardsForExceptionReview(EJB.java:132)
       at SessionBean.doExceptionReview(SessionBean.java:179)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
       at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
       at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
       at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214)
       at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
       at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113)
       at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51)
       at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
       at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
       at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
       at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
       at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:139)
       at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
       at org.jboss.ejb.plugins.CleanShutdownInterceptor.invoke(CleanShutdownInterceptor.java:264)
       at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
       at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
       at org.jboss.ejb.Container.invoke(Container.java:870)
       at sun.reflect.GeneratedMethodAccessor214.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.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java(Compiled Code))
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java(Inlined Compiled Code))
       at org.jboss.mx.server.Invocation.invoke(Invocation.java(Compiled Code))
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java(Compiled Code))
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java(Compiled Code))
       at org.jboss.invocation.jrmp.server.JRMPInvokerHA.invoke(JRMPInvokerHA.java:163)
       at sun.reflect.GeneratedMethodAccessor179.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
       at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:277)
       at sun.rmi.transport.Transport$1.run(Transport.java:164)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:476)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:717)
       at java.lang.Thread.run(Thread.java:566)