This might work for stand-alone Tomcat. I am using Tomcat 5.0.28? that ships with JBoss 3.2.5. There isn't a Manager or Context in server.xml. It does have a DefaultContext, but according to the Tomcat configuration page, the <Manager> node does not live under DefaultContext. My problem is creating a Context, which I have to specify a 'docBase'. I can't give a hard-code path to the 'docBase' because Tomcat lives inside JBoss.

--
Rick

Shapira, Yoav wrote:

Hi,



I do not have a manager element in my server.xml.



When Tomcat ships, a Manager is in server.xml by default. Did you remove it?



Is this mean that i HAVE to set this element?



Yes, as with all other elements, if you want non-default behavior you must specify it. That's the meaning of "default" ;)



And if so, how do i achieve the default behavior?



Either grab a fresh server.xml from a Tomcat distro, or look at the Manager docs page and declare one with the default attribute values.



will this configuration do the work?
<context ....>
<manager pathname="" className=
org.apache.catalina.session.StandardManager
distributable="false" />
</context>



Maybe if you're more careful about your quoting ;) But yes, that's pretty close.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to