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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]