When I use EJB3 and call the JNDI lookup method from an OSGi bundle client, 
I'll get this stack trace:

java.lang.ArrayStoreException: org.jboss.ejb3.remoting.IsLocalInterceptor
  |     at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1628)
  |     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1293)
  |     at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  |     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  |     at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  |     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |     at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
  |     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
  |     at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
  |     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
  |     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
  |     at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
  |     at 
org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  |     at 
de.berkom.ehome.j2ee.JBossAdaptor.getContextEntries(JBossAdaptor.java:202)
  |     at 
org.sercho.osgi.hsp.ra.BundleActivator.addingService(BundleActivator.java:71)
  |     at 
org.osgi.util.tracker.ServiceTracker$Tracked.track(ServiceTracker.java:830)
  |     at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:226)
  |     at org.sercho.osgi.hsp.ra.BundleActivator.start(BundleActivator.java:57)
  |     at 
com.prosyst.mbs.impl.framework.module.security.SecurityImpl.run(SecurityImpl.java:218)
  |     at java.security.AccessController.doPrivileged(Native Method)
  |     at 
com.prosyst.mbs.impl.framework.module.security.SecurityImpl.doPrivileged(SecurityImpl.java:197)
  |     at 
com.prosyst.mbs.impl.framework.BundleImpl.startIt(BundleImpl.java:1981)
  |     at 
com.prosyst.mbs.impl.framework.BundleImpl.simpleStart(BundleImpl.java:699)
  |     at com.prosyst.mbs.impl.framework.BundleImpl.start0(BundleImpl.java:662)
  |     at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:574)
  |     at com.prosyst.mbs.impl.framework.BundleImpl.start(BundleImpl.java:367)
  |     at 
com.prosyst.mbs.impl.services.pmp.Administration.startBundle(Administration.java:178)
  |     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
  |     at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |     at java.lang.reflect.Method.invoke(Method.java:585)
  |     at 
com.prosyst.mbs.impl.services.pmp.InvocationThread.run(InvocationThread.java:78)
  |     at com.prosyst.util.impl.tpt.threadpool.Executor.run(Executor.java:110)
  | 

I have tried 4.0.3-SP1 as well as 4.0.4-RC1, but nothing changed.

Has anyone of you seen this before?

Thanks for any help,
kind regards,

Andreas

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931832#3931832

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931832


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to