Hello,

I am trying to run the sample beans with Jonas, but I have some issues
with the client beans.
I succesfully installed JOnAS on linux (jdk122). I did all the
configuration form the documentation.
I can compile the Session beans and the Entities succesfully.
I can start the rmiregistry without a problem.
I can start the EJBServer for the session beans and the entity beans
fine with the command:
EJBServer -Djava.security.policy=$JONAS_ROOT/java.policy &

Unfortunatelly when I want to run the client with the command :
java -Djava.naming.provider.url="rmi://my.ip.address:1099"
eb.ClientAccount AccountImplHome
I got this error message:
Cannot lookup UserTransaction: javax.naming.NoInitialContextException:
Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file:
java.naming.factory.initial

and with the command :
java -Djava.naming.provider.url="rmi://my.ip.address:1099" sb.ClientOp
I got the following error message:
Getting a UserTransaction object from JNDI
Cannot lookup UserTransaction: javax.naming.NoInitialContextException:
Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file:
java.naming.factory.initial

Does anyone know how to solve this problem, and how I could manage to
test the sample beans from JOnAS?

Thank you for your help and thanks to the JOnAS team for this product.
I am looking forward to promote it as soon as I manage to make it work.

Frederic.


----
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".

Reply via email to