Li Ming wrote:
>
> jonas-users
>
> I downloaded source code of JONAS 2.2.7 and compiled it, but an error occured
>when I tested a bean on the JONAS server. The sample is the Stateless session bean
>program with the JONAS distribution.
>
> Configuration:
> SUN JDK 1.3
>
> EJB log:
> inRequest --->
> Current.setPropagationContext(null) -> detach
> JOnASOpHome.create(java.lang.String)
> JSessionHome.getSessionEJBObject
> No JBeanSession found! a new one must be created
> JContainerImpl.getMethodGuard()
> JOnASOpRemote()
> JSessionHome.preinvoke
> NamingManager: setComponentContext: Op
> JBeanSession: getContextFromPool
> JBeanHome.fromThePool: EmptyStack
> JBeanSession.createContext
> checking parent class loader: sb.OpBean
> loadClass complete: sb.OpBean
> EJBContextImpl.EJBContextImpl(JBeanHome home)
> JContainerImpl.getRoleGuard()
> SessionContextImpl()
> JSessionHome.postinvoke
>
> Error message on the client:
> Create a bean
> Cannot create OpBean: java.rmi.ServerError: Error occurred in server thread; nested
>exception is:
> java.lang.NoSuchMethodError
> java.rmi.ServerError: Error occurred in server thread; nested exception is:
> java.lang.NoSuchMethodError
> java.lang.NoSuchMethodError
> at
>sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
> at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:354)
> at org.objectweb.jonas.rmifilters.RemoteStub.invoke(RemoteStub.java:87)
> at sb.JOnASOpHome_Stub.create(JOnASOpHome_Stub.java:42)
> at sb.ClientOp.main(ClientOp.java:75)
>
> Allan
> [EMAIL PROTECTED]
>
Hi,
Have yo succeeded to run the sb sample (under
$JONAS_ROOT/example/src/sb)?
you must begin to try this example in order to check your environment.
Regards,
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".