|
The
key to us was to isolate all our servlets class files from other classes (EJBs,
applets, data structures). So now we have to completely separate
directories
\Servlets and \Classes. Only the \Classes directory is
on CLASSPATH and Jetty is set up to load servlets from \Servlets directory.
\Servlets directory contains only our servlet class files (and their base
classes), everything else is in \Classes. Maybe the difference is that we
integrated RMI registry to the same JVM as well.
Regards,
Miro
Well, I did try that with Enhydra, but it seems that rmi does not
like having client and server
in the same JVM. I don't actually know why since it does
seem to work on a simple test.
Classloader isolation does not help neither, but let me know if you
figure out what
the
problem is.
Thanks,
Christophe
-----Original
Message----- From: Halas, Miroslav
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 22,
2000 4:29 PM To: 'Christophe Ney';
[EMAIL PROTECTED] Subject: RE: How to Jetty with
Jonas?
Christophe,
to
say truth it took us only couple of hours and it is not anything difficult.
Basically you just create launcher which instantiates web server (in our
case Jetty) and Jonas server in separate threads (we are doing instantiation
of RMI registry as well). The tricky part is to synchronizing and setting up
all the property attributes, but that's just
configuration.
Sincerely,
Miroslav Halas Software Engineer Compuware
Corp. 15305 Dallas Parkway
Suite 900 Addison, TX 75001 phone
9720-960-0960 x 1333 fax
972-960-8489
Eugene,
Running EJB client and server in the same JVM is not
really
straitforward and this is one of the feature we will
provide soon with
Enhydra Entreprise (= Enhydra +
Jonas)
How are you? I have installed Jetty and Jonas
but I have unsuccesfully coupled
Jetty-2.3.3 with Jonas EJB Server. Please,Help
me!!! How to coupled Jetty-2.3.3 with Jonas EJB Server? How to run
Jetty and Jonas in a single JVM? Thanks for any your
help.
|