|
Hi,
I've some problems when I try to add a beans
sb.OpBean sample in the JONAS container. In fact, I've generated all the
required classes :
sb.Op
sb.OpBean
sb.OpHome
and the
sb.JOnASOpHome
sb.JOnASOpRemote sb.JOnASOpHome_Skel sb.JOnASOpRemote_Skel sb.JOnASOpRemote_Stub sb.JOnASOpHome_Stub generated by GenIC file command...
When I try to add the jar file, containing all the
files ( sb/*.class and META-INF/*.xml ), with the JonasAdmin/addbeans command,
I've received this error message :
class not loaded by parent: sb.OpHome:
java.lang.ClassNotFoundException: sb.OpHome
class not loaded by parent: sb.Op: java.lang.ClassNotFoundException: sb.Op class not loaded by parent: sb.OpBean: java.lang.ClassNotFoundException: sb.OpBean class not loaded by parent: sb.JOnASOpHome: java.lang.ClassNotFoundException: sb.JOnASOpHome class not loaded by parent: sb.JOnASOpRemote: java.lang.ClassNotFoundException: sb.JOnASOpRemote class not loaded by parent: sb.JOnASOpHome_Skel: java.lang.ClassNotFoundException: sb.JOnASOpHome_Skel class not loaded by parent: sb.JOnASOpHome_Stub: java.lang.ClassNotFoundException: sb.JOnASOpHome_Stub InvocationTargetException : java.rmi.RemoteException: failed to register bean to jndi; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: sb.JOnASOpHome_Stub] Someone can give me an idea to resolve
it.
Thanks a lot,
|

