tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <tomcat-us...@list-post.mks-mail.de>
Subject Re: Understanding context.xml
Date Mon, 02 Nov 2009 12:53:15 GMT
Carsten Pohl:

> When I deploy the project to a local tomcat (Apache Tomcat/6.0.20) Everything works as
expected. Meaning, the context.xml is copied to /conf/Catalina/localhost and renamed to testprojekt.xml.
> 
> When I edit the testprojekt.xml to:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Context>
>   <Parameter name="companyName" value="My BLAH Company, Incorporated"  override="false"/>
> </Context>
> 
> I see the following output in the catalina.out:
> 
> 02.11.2009 13:21:35 org.apache.catalina.startup.HostConfig checkResources
> INFO: Undeploying context [/testprojekt]
> 02.11.2009 13:21:35 org.apache.catalina.core.StandardContext resourcesStart
> SCHWERWIEGEND: Error starting static Resources
> java.lang.IllegalArgumentException: Document base /opt/tomcat6/webapps/testprojekt does
not exist or is not a readable directory
[...]
> INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/testprojekt]
has not been started
> 
> Why is that? Is that the expected result? What is the right way to change parameters
in a context.xml?

You might be affected by this bug:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47343

-- 
Regards
  mks

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


Mime
View raw message