At 10:17 AM 4/11/02 +0100, you wrote:
On 11/04/02 7:25, [EMAIL PROTECTED]
Ray Tayek wrote:
...
a different class loader. he claims that if i put the class to be shared in
the server_root/classes, then it wll be found. this does not seem to work
...
Try putting the singleton in
On 11/04/02 7:25, [EMAIL PROTECTED]
Ray Tayek wrote:
...
a different class loader. he claims that if i put the class to be shared in
the server_root/classes, then it wll be found. this does not seem to work
...
Try putting the singleton in $CATALINA_HOME/common/classes
Steven
///*
* VTV
hi, i need to have a global singleton that is a singleton across all
instances of (tomcat) servlet engines.
is there an engine context in tomcat that i can access?
does this singleton work across virtual hosts?
how does this work across multple jvm's on the same machine (or does this
not
Try RMI. You cannot have an instance of a class shared across multiple
JVMs (= multiple instances of Tomcat running). But you might be able to
set up an RMI server with a singleton instance of a Remote object.
Sharing across different contexts within the same Tomcat engine is a
different
At 09:58 PM 4/10/02 -0400, you wrote:
Try RMI. You cannot have an instance of a class shared across multiple
JVMs (= multiple instances of Tomcat running). But you might be able to
set up an RMI server with a singleton instance of a Remote object.
that sounds like a good way to solve the
At 08:32 PM 4/10/02 -0700, you wrote:
At 09:58 PM 4/10/02 -0400, you wrote:
Try RMI. ...
that sounds like a good way to solve the problem with different nodes.
Sharing across different contexts within the same Tomcat engine is a
different matter. ...
it looks like a different class loader is