Hi,
The context path is already in used.  Stop (and if needed, remove) the
application already deployed at /IMS.

Yoav Shapira http://www.yoavshapira.com


>-----Original Message-----
>From: Scott Pippin [mailto:[EMAIL PROTECTED]
>Sent: Monday, November 22, 2004 6:58 PM
>To: [EMAIL PROTECTED]
>Subject: help with context.xml
>
>I am trying to set up a context for an application called IMS.  I
upload
>the war file to tomcat and it sticks the application and the .war under
>webapps.  I am trying to set up the Context to redirect the logs to a
>different log than catalina.out.  Inside my webapp I have the
>following:
>
><Context path="/IMS" reloadable="true" docBase="">
> <Logger className="org.apache.catalina.logger.FileLogger"
>directory="logs" prefix="ims_log." suffix=".txt" timestamp="true"
>SwallowOutput="true" />
></Context>
>
>Deployed application from context file
>file:/u1/Apache/tomcat/conf/Catalina/localhost/IMS.xml but the
>catalina.out file shows:
>
>2004-11-22 16:55:18 StandardContext[/manager]HTMLManager: install:
>Installing context configuration at
>'file:/u1/Apache/tomcat/conf/Catalina/localhost/IMS.xml' from
>'jar:file:/u1/Apache/tomcat/webapps/IMS.war!/'
>2004-11-22 16:55:22 StandardContext[/manager]HTMLManager: list: Listing
>contexts for virtual host 'localhost'
>2004-11-22 16:55:22 StandardHost[localhost]: Error deploying
>application at context path null
>java.lang.IllegalStateException: Context path /IMS is already in use
> at
>org.apache.commons.digester.Digester.createSAXException(Digester.java(I
nlin
>ed
>Compiled Code))
> at
>org.apache.commons.digester.Digester.createSAXException(Digester.java(I
nlin
>ed
>Compiled Code))
> at
>org.apache.commons.digester.Digester.endElement(Digester.java(Compiled
>Code))
> at
>org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.j
ava:
>76)
>(...)
>
>What have I set up wrong??
>
>Thanks in advance,
>
>Scott Pippin
>[EMAIL PROTECTED]



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]

Reply via email to