Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Using manager to deploy with path="/123/456/789"

Derek Alexander

2007-08-01

Replies:

Hi,

I want to use the manager to deploy an app with the context path like /123/456/789

If I use the manager path="/123/456/789" war="file:789.war" it doesn't work.

At the client end (ant) I'm seeing: FAIL - Failed to deploy application at context path /123/456/789

In the logs on server, there is no error recorder, last line is:
INFO: Manager: Uploading WAR file to /CATALINA_BASE/webapps/123/456/789.war
The war file is now there on the server.
(although this much only works so long as I created the dirs in advance)

If I try a more simple context path, e.g. path="/789" war="file:789.war", the deploy goes just fine.

Is it not possible to deploy apps with paths like /123/456/789 using the manager, or am I perhaps doing something wrong?

Cheers,
D.


Please access the attached hyperlink for an important electronic communications disclaimer: http://www.lse.ac.uk/collections/secretariat/legal/disclaimer.htm

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.