You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ke...@chase.com on 2008/11/14 16:41:43 UTC

ReplicatedContext and web-inf/lib

When bringing an application up in a clustered environment everything is working great, including session replication.
What we really need is a replicated applicationcontext.
We then enabled the ReplicatedContext as the className attribute of <Context>.

As soon as we do that the application doesn't start.
Debugging shows that the classloader is not loading any of the libraries in the web-inf/lib.
They are all available just fine when using the StandardContext (not specifying a className attribute in the context).

Is this some expected behavior?

Is there any special configurations necessary for running in ReplicatedContext?

Thanks,
Ken


-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
 If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: ReplicatedContext and web-inf/lib

Posted by Ke...@chase.com.
A little more information.

When docBase is pointed at a war file and setting the unpackWAR="false" it appears to at least load correctly. (We're still trying to validate that it is running correctly).

When docBase is pointed at a war file and unpackWAR="true" then it does not load any of the libraries from WEB-INF/lib.

Thanks
-Ken

-----Original Message-----
From: Kenneth.S.Brooks@chase.com [mailto:Kenneth.S.Brooks@chase.com]
Sent: Friday, November 14, 2008 10:42 AM
To: users@tomcat.apache.org
Subject: ReplicatedContext and web-inf/lib


When bringing an application up in a clustered environment everything is working great, including session replication.
What we really need is a replicated applicationcontext.
We then enabled the ReplicatedContext as the className attribute of <Context>.

As soon as we do that the application doesn't start.
Debugging shows that the classloader is not loading any of the libraries in the web-inf/lib.
They are all available just fine when using the StandardContext (not specifying a className attribute in the context).

Is this some expected behavior?

Is there any special configurations necessary for running in ReplicatedContext?

Thanks,
Ken


-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
 If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



-----------------------------------------
This transmission may contain information that is privileged,
confidential, legally privileged, and/or exempt from disclosure
under applicable law.  If you are not the intended recipient, you
are hereby notified that any disclosure, copying, distribution, or
use of the information contained herein (including any reliance
thereon) is STRICTLY PROHIBITED.  Although this transmission and
any attachments are believed to be free of any virus or other
defect that might affect any computer system into which it is
received and opened, it is the responsibility of the recipient to
ensure that it is virus free and no responsibility is accepted by
JPMorgan Chase & Co., its subsidiaries and affiliates, as
applicable, for any loss or damage arising in any way from its use.
 If you received this transmission in error, please immediately
contact the sender and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org