You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/09/25 17:30:50 UTC
DO NOT REPLY [Bug 45893] New: Context startup fails when there is an
exclamation mark "!" in the context path
https://issues.apache.org/bugzilla/show_bug.cgi?id=45893
Summary: Context startup fails when there is an exclamation mark
"!" in the context path
Product: Tomcat 6
Version: 6.0.16
Platform: Macintosh
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
AssignedTo: dev@tomcat.apache.org
ReportedBy: lars@assense.com
my context in
/Applications/apache-tomcat-6.0.16/conf/Catalina/localhost/koop.xml, note the
"!" in the docbase (in "pro!vision"):
<Context
path="/koop"
docBase="/Users/lars/Documents/pro!vision/koop/workspace/koop-plattform/app/koop-webapp/target/koop"
privileged="false"
antiResourceLocking="false"
antiJARLocking="false"
reloadable="true"
>
</Context>
When launching tomcat (using /Applications/apache-tomcat-6.0.16/bin/startup.sh
I get the following:
Listening for transport dt_socket at address: 5000
24.09.2008 14:11:52 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
24.09.2008 14:11:52 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
24.09.2008 14:11:52 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 544 ms
24.09.2008 14:11:52 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
24.09.2008 14:11:52 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
24.09.2008 14:11:53 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "org.springframework.web.util.Log4jConfigListener" is
already configured for this context. The duplicate definition has been ignored.
24.09.2008 14:11:53 org.apache.catalina.core.StandardContext
addApplicationListe
ner
INFO: The listener "org.springframework.web.context.ContextLoaderListener" is
already configured for this context. The duplicate definition has been ignored.
24.09.2008 14:11:54 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
24.09.2008 14:11:54 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/koop] startup failed due to previous errors
after a long time trying to find the cause for this (the logs were not really
helpful!) I removed the exclamation mark from the path and everyting worked as
expected:
Listening for transport dt_socket at address: 5000
25.09.2008 17:12:19 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the java.library.path:
.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
25.09.2008 17:12:19 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
25.09.2008 17:12:19 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 877 ms
25.09.2008 17:12:19 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25.09.2008 17:12:19 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
25.09.2008 17:12:20 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "org.springframework.web.util.Log4jConfigListener" is
already configured for this context. The duplicate definition has been ignored.
25.09.2008 17:12:20 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "org.springframework.web.context.ContextLoaderListener" is
al
ready configured for this context. The duplicate definition has been ignored.
********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode. ***
*** ^^^^^^^^^^^ ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************
25.09.2008 17:12:40 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this
context. The duplicate definition has been ignored.
25.09.2008 17:12:40 org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this
context. The duplicate definition has been ignored.
25.09.2008 17:12:41 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
25.09.2008 17:12:41 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
25.09.2008 17:12:41 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/71 config=null
25.09.2008 17:12:41 org.apache.catalina.startup.Catalina start
INFO: Server startup in 21921 ms
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 45893] Context startup fails when there is an
exclamation mark "!" in the context path
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45893
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-09-25 15:06:05 PST ---
I have tested 6.0.16 and the latest 6.0.x on both Windows and Mac. In all cases
the use of ! in the docBase of an external context works correctly. My best
guess is that something app specific is causing the problem.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org