Hi,

>as far as I can see this should deploy to the context /rms-dev. However
>upon trying to redeploy I get this message:
>
>rms/build_local.xml [103] FAIL - Encountered exception
>java.io.IOException: java.lang.IllegalStateException: Context path / is
>already in use

Before doing a new deployment, clean out the previous rms-dev.xml, to
make sure you're going from a fresh start.  Maybe the server is in a bad
state.

Also add an <echo message="path = ${dev.context}" /> to the deploy
target to see that the property really has the correct value.

>'/'? Anyone experience this before? Or know what I am doing wrong? I am
>a complete newbie to Tomcat, so go easy on me!

Welcome ;)  If I were in your shoes, I'd forget about Ant-driven
deployment for the moment.  Instead, write your webapp and copy it into
the webapps directory.  You don't need to worry about context XML files
and the likes at this time.  Follow the "First Webapp" tutorial in the
Tomcat docs if you haven't done so already.

Yoav Shapira http://www.yoavshapira.com




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