0 Replies Latest reply on Mar 11, 2009 12:47 PM by ruel loehr

    EJB execution on JDK 1.6.0_07

    ruel loehr Newbie

      Using app server version 4.3.0 EAP CP 02.

      We have upgraded our JVM version used to JDK 1.6.0_07 but are seeing a regression in our testsuite. I need a point in the right direction of how to dig further.

      Testcase: testMapperFactoryMethod took 1.792 sec
       Caused an ERROR
       Failed to find method for hash:3115618623881158171 available={8594593460157411074=public abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject() throws java.rmi.RemoteException, 7415355246179212884=public abstract boolean javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws java.rmi.RemoteException, -3022789457837148098=public abstract java.util.List SNIP
      
      Caused by: java.lang.IllegalStateException: Failed to find method for hash:3115618623881158171 available={8594593460157411074=public abstract javax.ejb.EJBObject javax.ejb.Handle.getEJBObject() throws java.rmi.RemoteException, 7415355246179212884=public abstract boolean javax.ejb.EJBObject.isIdentical(javax.ejb.EJBObject) throws java.rmi.RemoteException, -3022789457837148098=public abstract java.util.List
      SNIP
      java.rmi.RemoteException,com.lombardisoftware.core.TeamWorksException,com.lombardisoftware.core.TeamWorksException, -4503326333112317665=public abstract void com.lombardisoftware.server.ejb.persistence.PersistenceServices.removePO(com.lombardisoftware.client.persistence.common.versioning.VersioningContext,com.lombardisoftware.client.persistence.common.ID) throws java.rmi.RemoteException,com.lombardisoftware.core.TeamWorksException,com.lombardisoftware.core.TeamWorksException, 3781219857755091396=public abstract javax.ejb.EJBMetaData javax.ejb.EJBHome.getEJBMetaData() throws java.rmi.RemoteException, 6660771724704715471=public abstract java.util.Map com.lombardisoftware.server.ejb.persistence.PersistenceServices.findByPrimaryKeys(com.lombardisoftware.client.persistence.common.versioning.VersioningContext,java.util.Collection) throws java.rmi.RemoteException,com.lombardisoftware.core.TeamWorksException,com.lombardisoftware.core.TeamWorksException}
       at org.jboss.invocation.MarshalledInvocation.getMethod(MarshalledInvocation.java:407)
       at org.jboss.ejb.Container.invoke(Container.java:958)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)
       at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
       at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
       at sun.rmi.transport.Transport$1.run(Transport.java:159)
       at java.security.AccessController.doPrivileged(Native Method)
       at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
       at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
       at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
       at java.lang.Thread.run(Thread.java:619)
       at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
       at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
       at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
       at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
       at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133)
       at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
       at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
       at org.jboss.proxy.ejb.RetryInterceptor.invoke(RetryInterceptor.java:176)
       at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
       at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
       at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
       at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
       at $Proxy3.findListOfObjects(Unknown Source)
       at com.lombardisoftware.client.delegate.PersistenceServicesDelegateDefault.findListOfObjects(PersistenceServicesDelegateDefault.java:395)
      
      
      
      
      


      Googling shows that in the past people have ran into similiar problems due to the jboss.jar being out of sync with the client and server. I don't think this is the case as I can simply start JBoss with JDK 1.5.0_11, rerun my test and it works fine.

      The remainder of my ejb's work fine as well which leads me to think there is something peculiar about this individual one.

      Has anyone encountered anything similiar?