EJB deployment issue
dudgeon Jul 19, 2004 3:29 AMHi,
I'm getting a strange error when deploying an app that is seem when deploying one one environemnt (AIX), but not when deploying in another (Win2K). JBoss 3.2.3 on both, with Sun JDK 1.4.2_04 on the Win2K box but 1.4.0 on AIX.
I'm not convinced its OS related as the config is pretty complex and it may be more to do with getting the config correct, but I'm not sure where to start looking.
The error looks to be becasue a call to get the Home interface for a CMP EJB is failing because it can't find one of the Proxy classes. The EJBs and client (a web app) are deployed as a single ear.
Stack trace seen on deployment of the ear is
2004-07-18 17:52:14,385 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/HTS_D/appl/oris-app/jboss-3.2.3/server/default/deploy/iplate.ear
2004-07-18 17:52:14,394 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/HTS_D/appl/oris-app/jboss-3.2.3/server/default/deploy/iplate.ear
2004-07-18 17:52:14,877 INFO [org.jboss.ejb.EjbModule] Deploying Plate
2004-07-18 17:52:14,903 INFO [org.jboss.ejb.EjbModule] Deploying PlateWell
2004-07-18 17:52:14,912 INFO [org.jboss.ejb.EjbModule] Deploying ControlLayout
2004-07-18 17:52:14,936 INFO [org.jboss.ejb.EjbModule] Deploying ControlLayoutWell
2004-07-18 17:52:14,945 INFO [org.jboss.ejb.EjbModule] Deploying CodeExpression
2004-07-18 17:52:14,954 INFO [org.jboss.ejb.EjbModule] Deploying BatchXref
2004-07-18 17:52:14,963 INFO [org.jboss.ejb.EjbModule] Deploying PlateType
2004-07-18 17:52:14,973 INFO [org.jboss.ejb.EjbModule] Deploying ControlType
2004-07-18 17:52:14,981 INFO [org.jboss.ejb.EjbModule] Deploying SequenceGenerator
2004-07-18 17:52:14,992 INFO [org.jboss.ejb.EjbModule] Deploying PlateManager
2004-07-18 17:52:15,467 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=Plate,plugin=pool,service=EJB
2004-07-18 17:52:15,467 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=Plate,service=EJB
2004-07-18 17:52:15,490 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=PlateWell,plugin=pool,service=EJB
2004-07-18 17:52:15,490 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=PlateWell,service=EJB
2004-07-18 17:52:15,508 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=ControlLayout,plugin=pool,service=EJB
2004-07-18 17:52:15,508 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=ControlLayout,service=EJB
2004-07-18 17:52:15,526 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=ControlLayoutWell,plugin=pool,service=EJB
2004-07-18 17:52:15,526 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=ControlLayoutWell,service=EJB
2004-07-18 17:52:15,550 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=CodeExpression,plugin=pool,service=EJB
2004-07-18 17:52:15,551 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=CodeExpression,service=EJB
2004-07-18 17:52:15,566 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=BatchXref,plugin=pool,service=EJB
2004-07-18 17:52:15,566 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=BatchXref,service=EJB
2004-07-18 17:52:15,582 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=PlateType,plugin=pool,service=EJB
2004-07-18 17:52:15,583 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=PlateType,service=EJB
2004-07-18 17:52:16,035 INFO [org.jboss.ejb.plugins.EntityInstancePool] Started jboss.j2ee:jndiName=ControlType,plugin=pool,service=EJB
2004-07-18 17:52:16,035 INFO [org.jboss.ejb.EntityContainer] Started jboss.j2ee:jndiName=ControlType,service=EJB
2004-07-18 17:52:16,070 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:jndiName=SequenceGeneratorLocal,plugin=pool,service=EJB
2004-07-18 17:52:16,070 INFO [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=SequenceGeneratorLocal,service=EJB
2004-07-18 17:52:16,098 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Started jboss.j2ee:jndiName=PlateManager,plugin=pool,service=EJB
2004-07-18 17:52:16,098 INFO [org.jboss.ejb.StatelessSessionContainer] Started jboss.j2ee:jndiName=PlateManager,service=EJB
2004-07-18 17:52:16,098 INFO [org.jboss.ejb.EjbModule] Started jboss.j2ee:module=plateservice-ejb.jar,service=EjbModule
2004-07-18 17:52:16,098 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/HTS_D/appl/oris-app/jboss-3.2.3/server/default/tmp/deploy/tmp53636iplate.ear-contents/plateservice-ejb.jar
2004-07-18 17:52:16,135 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/iplate, warUrl=file:/HTS_D/appl/oris-app/jboss-3.2.3/server/default/tmp/deploy/tmp53636iplate.ear-co
ntents/iplate.war/
2004-07-18 17:52:16,556 INFO [org.jboss.web.localhost.Engine] SingleSignOnContextConfig[/iplate]: Added certificates -> request attribute Valve
2004-07-18 17:52:16,775 WARN [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@585574d7
2004-07-18 17:52:16,775 INFO [org.jboss.web.localhost.Engine] StandardManager[/iplate]: Seeding random number generator class java.security.SecureRandom
2004-07-18 17:52:16,776 INFO [org.jboss.web.localhost.Engine] StandardManager[/iplate]: Seeding of random number generator has been completed
2004-07-18 17:52:16,880 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected Error:
java.lang.NoClassDefFoundError: $Proxy86
at sun.reflect.GeneratedSerializationConstructorAccessor110.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))
at java.io.ObjectStreamClass.newInstance(ObjectStreamClass.java:814)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1632)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1275)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
at java.rmi.MarshalledObject.get(MarshalledObject.java:148)
at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:30)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:550)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:964)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:613)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:642)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
at javax.naming.InitialContext.lookup(InitialContext.java:359)
at com.mv.plateservice.util.JNDIFactory.getControlLayoutEJBHome(JNDIFactory.java:138)
at com.mv.plateservice.ejb.PlateManagerBean.retrieveAllControlLayoutNames(PlateManagerBean.java:387)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled Code))
...skipping...
Anyone got any ideas where to start looking?
Thanks
Tim