tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nandish Rudra <nru...@calleci.com>
Subject Auto Deployming with context.xml
Date Wed, 08 Sep 2004 19:48:48 GMT
Hello Everyone,

I am try to use ant deploy task to deploy a web application to tomcat 5.0.28
(on Windows 2000). I have some context specific settingsthat need to take
effect when i deploy the application. I looked at the tomcat documentation
on line and followed the steps but when I deploy the application with
context.xml in META-INF I get the follwoing error. I DO MAKE SURE that there
is not context in tomcat with similar same.

Sep 8, 2004 3:41:45 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:/C:/Program
Files/Apache Software Foundation/Tomcat
5.0/conf/Catalina/localhost/web-site.xml
Sep 8, 2004 3:41:45 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web application from URL jar:file:/C:/Program Files/Apache
Software Foundation/Tomcat 5.0/webapps/web-site.war!/
log4j:WARN No appenders could be found for logger
(org.apache.commons.beanutils.ConvertUtils).
log4j:WARN Please initialize the log4j system properly.
Sep 8, 2004 3:41:56 PM org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:C:\Program Files\Apache
Software Foundation\Tomcat 5.0\conf\Catalina\localhost\web-site.xml
Sep 8, 2004 3:41:56 PM org.apache.commons.digester.Digester endElement
SEVERE: End event threw exception
java.lang.reflect.InvocationTargetException
	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.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
	at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
	at org.apache.commons.digester.Rule.end(Rule.java:276)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1058)
	at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7
6)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.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.j
ava:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
	at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1619)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1628)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1608)
	at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.IllegalStateException: Context path /web-site is
already in use
	at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:896)
	... 30 more
Sep 8, 2004 3:41:56 PM org.apache.catalina.startup.HostConfig
deployDescriptors
SEVERE: Error deploying configuration descriptor calleci-site.xml
java.io.IOException: java.lang.IllegalStateException: Context path /web-site
is already in use
	at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:494)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1083)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:327)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
	at
org.apache.catalina.core.StandardHost.backgroundProcess(StandardHost.java:80
0)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1619)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processC
hildren(ContainerBase.java:1628)
	at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(Cont
ainerBase.java:1608)
	at java.lang.Thread.run(Thread.java:534)

Any ideas as to why this is happening?

Regards,
N R
ECI Conference Call Services, LLC


---------------------------------------------------------------------
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