Thanks for the tip, Benjamin. Well, I was able to successfully deploy the app by "uploading" it using the Tomcat Manager app. I'm not sure why this was different than me dropping the .war file into the <tomcat_home>/webapps directory and restarting....as I am able to do that with all my other .war files on this same machine/configuration.
So, it is working, but I am not comfortable as to why it is working. I will take your advice and look further into the docs for java.net.URL. Thank you for the help. Rob ------------------------------------------- ** ORIGINAL MESSAGE FROM:Benjamin Armintor <[EMAIL PROTECTED]>** ** ORIGINAL MESSAGE SENT:Wed Aug 11 14:58:54 ** ** ORIGINAL MESSAGE BELOW ** ------------------------------------------- re: The term spec can be clarified by looking at the javadocs for java.net.URL or the relevant URL specifications. In this context it probably means that theres a jar: url in use that doesnt end in !/; maybe the url for the war file in the deploy command. Benjamin J. Armintor Operations Systems Specialist ITS-Systems: Mainframe Group University of Texas - Austin tele: (512) 232-6562 email: [EMAIL PROTECTED] -----Original Message----- From: mazur [mailto:[EMAIL PROTECTED] Sent: Wednesday August 11 2004 4:56 PM To: Tomcat Users List Subject: RE: Deploying webapp getting error no !/ in spec Thanks for the response Yoav. Yes it wouldnt surprise me if I used the path attribute incorrectly as I tried that method only as a last resort. For years now I have just dropped the .war file into the webapps directory and restarted. And that method is still failing for this webapp....it does not expand the .war file into a directory upon starting Tomcat I will re-investigate the path attribute but in the meantime any other ideas about what no !/ in spec may mean? Thanks Rob ------------------------------------------- ** ORIGINAL MESSAGE FROM:Shapira Yoav <[EMAIL PROTECTED]>** ** ORIGINAL MESSAGE SENT:Wed Aug 11 12:37:56 ** ** ORIGINAL MESSAGE BELOW ** ------------------------------------------- re: 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#Dep lo y%20A%20New%20Application%20Remotely. Specifically youre 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 >Im 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(Appl ic atio >n >FilterChain.java:237) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF il terC >h >ain.java:157) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV al ve.j >a >va:214) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eC onte >x >t.java:104) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: 520) > at >org.apache.catalina.core.StandardContextValve.invokeInternal(Standard Co ntex >t >Valve.java:198) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextV al ve.j >a >va:152) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eC onte >x >t.java:104) > at >org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica to rBas >e >.java:540) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eC onte >x >t.java:102) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav a: 520) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j av a:13 >7 >) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv eC 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] --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
