I've having difficulty setting up Jonas EJB on RMI
under Windows 98. The rmiregistry and EJBServer run
without complaint. It's the JonasAdmin component that
fails on me.

Any help much appreciated. Thanks.

Details follow:

Software setup:
JDK version 1.2
Jonas JDK version 1.2
Operating System Windows 98
Shell CYGWIN-B20

Environment variables:
JONAS_ROOT=C:\jonas_jdk1.2
CLASSPATH=C:\jonas_jdk1.2;C:\jonas_jdk1.2\examples\classes;f:\devtools\mm.mysql.jdbc-1.0\mysql.jar;C:\jonas_jdk1.2\lib\jndi.jar;C:\jonas_jdk1.2\lib\providerutil.jar;C:\jonas_jdk1.2\lib\rmiregistry.jar;C:\jonas_jdk1.2\lib\ejb.jar;C:\jonas_jdk1.2\lib\jta-spec1_0_1.jar;C:\jonas_jdk1.2\lib\jdbc2_0-stdext.jar;C:\jonas_jdk1.2\lib\RMI_jonas.jar;
OBJECTWEB_ORB=RMI

Properties files (located in C:\jonas_jdk1.2):
jndi.properties - settings as shown in command-lines
(couldn't get Jonas to read this file)
jonas.properties - settings as default
MySQL.properties - settings for the MySQL database I
intend to use

What happens:
1) In a DOS window I execute the registry script. I've
confirmed it runs rmiregistry (no parameters). It
appears to work and reports nothing.
2) In another DOS window I execute the EJBServer
script. I've confirmed it runs the java interpretter
as follows:

java -Dinstall.root=C:\jonas_jdk1.2
-Djava.security.policy=C:\jonas_jdk1.2/java.
policy
-Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFa
ctory -Djava.naming.provider.url=rmi://127.0.0.1:1099
-Djava.naming.factory.url.
pkgs=org.objectweb.jonas.naming
org.objectweb.jonas.server.Server

It appears to work reporting the following:

JOnAS Server, version 2.0, running on rmi.

3) In another DOS window I execute the JonasAdmin
script. I've confirmed it runs the java interpretter
as follows:

java -Dinstall.root=C:\jonas_jdk1.2
-Djava.naming.factory.initial=com.sun.jndi.r
mi.registry.RegistryContextFactory
-Djava.naming.provider.url=rmi://127.0.0.1:10
99
-Djava.naming.factory.url.pkgs=org.objectweb.jonas.naming
org.objectweb.jonas
.adm.JonasAdmin

It fails with the following error:

Cannot reach  : jonas_Adm
javax.naming.NameNotFoundException: jonas_Adm

Notes:
All three script files are run from the
C:\jonas_jdk1.2\bin directory using the CYGWIN sh command.

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
----
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