tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: Problem in war deployment
Date Fri, 04 Feb 2005 06:22:37 GMT
Is there a reason you are using an external eilnet.xml with a war file?

Do you have a context.xml in the war file?

Are you sure the app is not running?

If you find it is then Tomcat is trying to deploy it twice. There are some 
notes in the docs on this.

Post the eilnet.xml and the context.xml(if exists). Also post the 
server.xml.

Sounds like Tomcat is trying to deploy the app from the war file but the 
path info in the context element is wrong. Off the wall guess. Need to see 
the files.

Doug

----- Original Message ----- 
From: <manoj@in.effectsoft.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, February 03, 2005 7:44 AM
Subject: Problem in war deployment


>
> Hello all!,
>
>  I am deploying my web application on tomcat5.0.27 using war. It is
> working fine when I deploy it first time. When I restart the tomcat it
> is unable to deploy the web application. I am using "deployOnStartup =
> true"
> in server.xml, according to the specification it should reploy it
> automatically. I am keeping eilnet.xml (eilnet is application name) and
> manager.xml file in
> $CATALINA_HOME/CONF/{ENGINE}/manoj.eilnet.effectsoft.local directory and
> war file is in
> /srv/vhosts/name/manoj.eilnet.effectsoft.local/webapps directory. It
> displays the following message, if some one knows the solution, please
> let us know :
>
>
> 2005-02-03 10:32:11 StandardContext[/manager]Manager: install: Installing
> web application at '/eilnet' from
> 'file:///vhome/manoj/vhosts/eilnet/webapps/eilnet.war'
> 2005-02-03 11:04:26   Have created expansion directory
> /srv/vhosts/name/manoj.eilnet.effectsoft.local/webapps/eilnet
> 2005-02-03 11:04:26 StandardHost[manoj.eilnet.effectsoft.local]: Error
> deploying application at context path null
> java.util.zip.ZipException: No such file or directory
>        at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2540)
>        at
> org.apache.commons.digester.Digester.createSAXException(Digester.java:2566)
>        at
> org.apache.commons.digester.Digester.startElement(Digester.java:1276)
>        at
> org.apache.catalina.util.CatalinaDigester.startElement(CatalinaDigester.java:65)
>        at
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
>        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.scanRootElementHook(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
>        at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>        at org.apache.commons.digester.Digester.parse(Digester.java:1567)
>        at
> org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
>        at
> org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
>        at
> org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:482)
>        at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
>        at 
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
>        at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
>        at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
>        at 
> org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
>        at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
>        at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
>        at
> org.apache.catalina.core.StandardService.start(StandardService.java:480)
>        at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
>
> 2005-02-03 11:04:26
> expand(jar:file:/vhome/manoj/vhosts/eilnet/webapps/eilnet.war!/)
> 2005-02-03 11:04:26   Proposed directory name: eilnet
> 2005-02-03 11:04:26   Have created expansion directory
> /srv/vhosts/name/manoj.eilnet.effectsoft.local/webapps/eilnet
>
>
>
> Regards
>
> -Manoj
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message