Hi, You might want to re-read the "Supported Manager Commands" section of http://jakarta.apache.org/tomcat/tomcat-5.0-doc/manager-howto.html#Deplo y%20A%20New%20Application%20Remotely. Specifically, you're using the path attribute wrong. I think you want the war parameter in addition to the path (which is simply the context path, not the disk path to the WAR file).
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Robert Mazur [mailto:[EMAIL PROTECTED] >Sent: Wednesday, August 11, 2004 3:31 PM >To: [EMAIL PROTECTED] >Subject: Deploying webapp getting error no !/ in spec > >I am getting a "no !/ in spec" error message (see stack below) when trying >to deploy a webapp myapp.war: > >Here are some other data points: > >1) Tomcat 5.0.27, Solaris 8, jsdk1.4.2 > >2) I *can* successfully deploy a different webapp on this installation, so >it is something specific to the webapp I guess > >3) I can successfully deploy the same actual myapp.war file on a WinXP box >running Tomcat5.0.19 > >4) I get this error if I deploy using: >http://localhost:8080/manager/deploy?path=/usr/local/tomcat- >5.0.27/webapps/myapp.war > >....but if I merely put the war file in the webapps directory and restart >Tomcat, I just get WARNING of: >WARNING: Exception while expanding web application archive myapp.war > >I am having trouble guessing what "no !/ in spec" could mean, and therefore >I'm not sure where to continue my troubleshooting. Does anyone know what >that means? > >Thanks, >Rob > > >---------START ERROR MESSAGE------------ >2004-08-11 12:00:37 StandardContext[/manager]Manager: install: Installing >web application at '/usr/local/tomcat-5.0.27/webapps/myapp.war' from >'jar:file:/usr/local/tomcat- >5.0.27/work/Catalina/localhost/manager/usr#local >#tomcat-5.0.27#webapps#myapp.war!/' >2004-08-11 12:00:37 StandardContext[/manager]Manager: >ManagerServlet.install[/usr/local/tomcat-5.0.27/webapps/myapp.war] >java.net.MalformedURLException: no !/ in spec > at java.net.URL.<init>(URL.java:571) > at java.net.URL.<init>(URL.java:434) > at java.net.URL.<init>(URL.java:383) > at >org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:9 22) > at >org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:7 35) > at >org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:32 2) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applic atio >n >FilterChain.java:237) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFil terC >h >ain.java:157) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVal ve.j >a >va:214) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCo ntex >t >Valve.java:198) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextVal ve.j >a >va:152) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) > at >org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticato rBas >e >.java:540) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:102) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java: 520) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.jav a:13 >7 >) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveC onte >x >t.java:104) >---------END ERROR MESSAGE------------ > > >--------------------------------------------------------------------- >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]
