Hi,
you're right, this behaviour seems to indicate that your jndi.properties
file is never reached. I can just remember the following rules
- your jndi.properties file must be accessible from the CLASSPATH,
- a default jndi.properties file is supplied with the JOnAS distribution in
the $JONAS_ROOT/config/jndi.properties directory and by default the
CLASSPATH is up to date to access this file by the way of the config_env
file.
- the CLASSPATH is changed by the config_env configuration file of JOnAS
(e.g. when you launch the EJBServer), and for adding your own elements to
the CLASSPATH (e.g. if you have created a new jndi.properties file), you
should do it in the config_env file, or by using the XTRA_CLASSPATH
environment variable (i.e. put the path to the directory containing your
jndi.properties file in the XTRA_CLASSPATH variable).
Hope this helps, ...
Best Regards,
Fran�ois
Chaitanya Kallepalli wrote:
> Hi.,
> I am trying to connect using RMI on a different port, and interestingly
> Jonas is not reflecting the changes made to jndi.properties file, I am
> using the version 2.2.7,
> Please let me know, what the problem is:
>
> Test Cases:
> A. Changed the port number in jndi.properties and started the
> rmiregistry with the new port number, and I was unable to connect
> B. Changed only the jndi.properties to the new port number, and I was
> using the default port (1099) for RMI to start the
> NamingService(RMIRegistry) and the cinnection was successful, and
> everything worked.
>
> Looks like the jndi.properties file is never touched, in the Jonas
> 2.2.7,
>
> Any suggestions??
>
> ----
> 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".
--
==================================================================
Fran�ois EXERTIER Evidian (Groupe Bull)
1, rue de Provence, BP 208, 38432 Echirolles cedex, FRANCE
mailto:[EMAIL PROTECTED]
http://www.evidian.com/jonas http://www.objectweb.org/jonas
Tel: +33 (0)4 76 29 71 51 - Fax: +33 (0)4 76 29 77 30
==================================================================
----
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".