Hi,
It seems that the JNDI configuration file, jndi.properties,
is not be accessible from your CLASSPATH.
See
http://www.objectweb.org/jonas/jonas_root/doc/Install.html#Configurin2
for details.
Kind reagrds.
Hélène.
Michael Raillard wrote:
>
> A beginner having trouble running the sb example.
>
> The example bean seems to be deployed:
>
> JOnAS Server, version 2.2.7, running on rmi.
> EJBHome:sb.JOnASOpHome for Op available
> EJBServer is ready
>
> But when I try to run the client, an exception is thrown:
>
> [michaelr@osiris classes]$ java sb.ClientOp
> 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
>
> [EMAIL PROTECTED]
>
> ----
> 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".
--
-=- Hélène JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
mailto:[EMAIL PROTECTED] http://www.evidian.com
Phone: 33.4.76.29.73.53 Fax: 33.4.76.29.76.00
Download our EJB Server JOnAS 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".