tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dwayne Ghant <dgh...@temple.edu>
Subject Re: DELETED /ROOT CONTEXT PLEAS HELP!!!
Date Wed, 22 Dec 2004 03:38:53 GMT
No portions of it left over at all. All I see the those direcoties is:

SESSIONS.ser  tldCache.ser
===============================
Ok well tried (coping /ROOT from another installation of tomcat)  my 
idea an have two BAD
results reported in my $CATALINA_HOME/log/catalina.out :

Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext 
resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base /ROOT does not exist 
or is not a readable directory
        at 
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:138)
        at 
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:3910)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4138)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
        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:76)
        at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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:483)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        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:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardContext start
SEVERE: Exception during cleanup after start failed
LifecycleException:  Container 
StandardContext[/usr/local/tomcat-5.0.27/webapps/ROOT] has not been started
        at 
org.apache.catalina.core.StandardContext.stop(StandardContext.java:4466)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
        at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at 
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
        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:76)
        at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(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:483)
        at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        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:287)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Installing web application at context path /jsp-examples from URL 
file: webapps/jsp-examples
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Installing web application at context path /servlets-examples from 
URL file: webapps/servlets-examples
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Installing web application at context path /tomcat-docs from URL 
file: webapps/tomcat-docs
Dec 21, 2004 10:48:21 PM org.apache.catalina.core.StandardHostDeployer 
install
INFO: Installing web application at context path /webdav from URL file: 
webapps/webdav
Dec 21, 2004 10:48:21 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Dec 21, 2004 10:48:21 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=2/91  config= conf/jk2.properties
Dec 21, 2004 10:48:21 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5198 ms


sven morales wrote:

>  Umm I think you are out of luck.  All sources gets
>completely  erased when you use undeploy on the
>manager webapp.  I have done it several times myself. 
> Maybe there are some portions of it left over in the
>work/Catalina/localhost/yourwebapp/.  
>
>
>--- "D'Alessandro, Arthur"
><Arthur.D'Alessandro@cbetech.com> wrote:
>
>  
>
>>So you undeployed using the manager app.. You'll
>>have to restore the
>>ROOT folder from a backup, I'm assuming this is your
>>custom root web
>>application, and not the default that came with
>>tomcat. 
>>
>>-----Original Message-----
>>From: Dwayne Ghant [mailto:dghant@temple.edu] 
>>Sent: Tuesday, December 21, 2004 10:09 PM
>>To: Tomcat Users List
>>Subject: Re: DELETED /ROOT CONTEXT PLEAS HELP!!!
>>
>>Using the manerger I login and clicked on
>>the remove button to delete the /ROOT <Context ...>
>>
>>D'Alessandro, Arthur wrote:
>>
>>    
>>
>>>Define "deleted the /ROOT context..."
>>>
>>>-----Original Message-----
>>>From: Dwayne Ghant [mailto:dghant@temple.edu] 
>>>Sent: Tuesday, December 21, 2004 10:01 PM
>>>To: Tomcat Users List
>>>Subject: DELETED /ROOT CONTEXT PLEAS HELP!!!
>>>
>>>Like a dummy I made the owfull mistake of deleting
>>>the /ROOT context I really need to restore it ASAP.
>>>
>>>Can someone please help me I have been here for
>>>      
>>>
>>three
>>    
>>
>>>ours trying to fix this without reinstalling the
>>>      
>>>
>>whole thing.
>>    
>>
>>>My config. is
>>>tomcat5.0.2x/ Apache 2 / mod_jk2
>>>
>>>PLEASE HELP.
>>>
>>> 
>>>
>>>      
>>>
>>-- 
>>
>>Dwayne A. Ghant
>>Application Developer
>>Temple University
>>215.204.5555
>>dghant@temple.edu
>>
>> 
>>
>>
>>
>>    
>>
>---------------------------------------------------------------------
>  
>
>>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
>>
>>
>>    
>>
>
>
>
>		
>__________________________________ 
>Do you Yahoo!? 
>Take Yahoo! Mail with you! Get it on your mobile phone. 
>http://mobile.yahoo.com/maildemo 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


-- 

Dwayne A. Ghant
Application Developer
Temple University
215.204.5555
dghant@temple.edu

 


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