| Each war deployed in tomcat runs with its own classloader, so as long as WOServletAdaptor is in a jar inside of your war, it will be loaded in its own classloader context and will have its own "copy" of static fields. If, however, WOServletAdaptor is loaded in the TOMCAT classloader (i.e. in tomcat's top level classpath), then you're in for a rough ride.
ms On Dec 30, 2005, at 11:13 AM, Neale Patton wrote: Has anyone on this list successfully managed to deploy two distinct WebObjects applications in the same container? Unsurprisingly the official documentation is scant in this regard and the only reference to this seems to imply that it can be done.
However what concerns me is not system properties but more the role of WOServletAdaptor in the request handling.
It seems from the javadoc that WOServletAdaptor is not intended to be subclassed and as such makes extensive use of static members. What troubles me the most is that the WOApplication object is accessed via a static method. If the WOApplication instance is a static member of WOServletAdaptor and WOServletAdaptor cannot be subclassed how on earth can we have multiple distinct WO applications running in the same container? I hope I'm missing something obvious.
Regards,
Neale Patton • CPS Development BBC News Interactive • London • UK http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. _______________________________________________ Do not post admin requests to the list. They will be ignored. Help/Unsubscribe/Update your Subscription:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]