After I changed jboss 4.0.2 class loading to J2EE 1.4 compliant, I got this 
exception when finding homeRemote Interface.  The code worked fine before I 
made the switch from the default setting.  I have set the security manager, and 
grant {
   // Allow everything for now
   permission java.security.AllPermission;
};

but I still get this exception


org.quartz.JobExecutionException: javax.naming.CommunicationException [Root exce
ption is java.lang.ClassNotFoundException: mil.navy.fvm.cache.interfaces.ejb.Cac
heJobHomeRemote] [See nested exception: javax.naming.CommunicationException [Roo
t exception is java.lang.ClassNotFoundException: mil.navy.fvm.cache.interfaces.e
jb.CacheJobHomeRemote]]
        at org.quartz.jobs.ee.ejb.EJBInvokerJob.execute(EJBInvokerJob.java:157)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:516)
* Nested Exception (Underlying Cause) ---------------
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundEx
ception: mil.navy.fvm.cache.interfaces.ejb.CacheJobHomeRemote]
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:713)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
        at javax.naming.InitialContext.lookup(InitialContext.java:347)
        at org.quartz.jobs.ee.ejb.EJBInvokerJob.execute(EJBInvokerJob.java:155)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j
ava:516)
Caused by: java.lang.ClassNotFoundException: mil.navy.fvm.cache.interfaces.ejb.C
acheJobHomeRemote
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at sun.rmi.server.LoaderHandler.loadProxyInterfaces(LoaderHandler.java:7
07)
        at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:651)
        at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:588)
        at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:6
39)
        at org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoad
er.java:70)
        at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:309
)
        at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStrea
m.java:241)
        at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1469)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1432)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
626)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at java.rmi.MarshalledObject.get(MarshalledObject.java:135)
        at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:5
7)
        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:637)
        ... 5 more


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

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


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to