[jboss-user] [EJB 3.0] - EJB 3.0 ClassNotFoundExdeption between EAR when using Securi

sebastiendeg do-not-reply at jboss.com
Tue Sep 16 15:51:56 EDT 2008

Hi there,

I have 2 EAR (only EJB) application (application1 using application 2's client ejb jar).

The first EAR application is the service which has logic and web services, so it has security enabled. (Security Domain with LoginModule)
So, the users have to authenticate to access any webServices.

When the WebServices tries to send a Command Object to the second application I have the following Exception :

Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: No ClassLoaders found for: com.company.dao.commands.account.AccountCreationCommand (no security manager: RMI class loader disabled)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.getArguments(MethodInvocation.java:276)
  | 	at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:299)
  | 	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
  | 	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
  | 	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769)
  | 	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573)
  | 	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:373)
  | 	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166)

And this is only since a use security on the first aplication.
Any idea ?


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

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

More information about the jboss-user mailing list