Hello,
I have downloaded URL http://www.evidian.com/ejb/download/jonas2.tgz for
learning EJB. I am using Windows NT Server but all the configuration files are
for Unix. I have included all required classes are included in the classpath. I
don't want an UNIX emulator so please tell me what steps I have to follow to run
the server. I have created a bat file with command like this: java -Dinstall.root=%JONAS_ROOT%
-Djava.security.policy=%JONAS_ROOT%\java.policy * org.objectweb.jonas.server.Server
to run it but it throws exception like
this: D:\jonas_jdk1.2\bin>java -Dinstall.root=D:\jonas_jdk1.2 -Djava.security.policy=D:\jonas_jdk1.2\java.policy * org.objectweb.jonas.server.Server Exception in thread "main"
java.lang.NoClassDefFoundError: config/env
Is code in your Server.class file is looking for
"config.env" file and java is treating it like a class? Please tell what should
I do to run it on Windows NT without using Unix emulator.
Thanks
Regards,
Sukhwinder
Singh
|