I'm running IntelliJ 3.0.2 and trying to use Tomcat 4.1.18 to debug. I've set up Tomcat to run from the project, and that works fine (following the directions at Phasesoft . The problem is when I try and run Tomcat in debugger mode from within IntelliJ -- I get the following stack trace in the console. If anyone has had this problem or can suggest a solution, please let me know! I can't debug at all with Tomcat right now... - Charlie (modeler.Registry 264 ) Loading registry information (modeler.Registry 229 ) Creating new Registry instance (modeler.Registry 244 ) Creating MBeanServer (http11.Http11Protocol
More>>

I'm running IntelliJ 3.0.2 and trying to use Tomcat 4.1.18 to debug. I've set up Tomcat to run from the project, and that works fine (following the directions at
Phasesoft
.

The problem is when I try and run Tomcat in debugger mode from within IntelliJ -- I get the following stack trace in the console. If anyone has had this problem or can suggest a solution, please let me know! I can't debug at all with Tomcat right now...

- Charlie

(modeler.Registry 264 ) Loading registry information
(modeler.Registry 229 ) Creating new Registry instance
(modeler.Registry 244 ) Creating MBeanServer
(http11.Http11Protocol 155 ) Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources
javax.naming.NamingException: C: omcat_4.1.18conf omcat-users.xml.new (The filename, directory name, or volume label syntax is incorrect)
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:205)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:176)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:147)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2182)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.18
javax.naming.NamingException: C: omcat_4.1.18conf omcat-users.xml.new (The filename, directory name, or volume label syntax is incorrect)
at org.apache.naming.NamingContext.lookup(NamingContext.java:844)
at org.apache.naming.NamingContext.lookup(NamingContext.java:194)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:302)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Catalina.start: LifecycleException: No UserDatabase component found under key UserDatabase
LifecycleException: No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:309)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1173)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Stopping service Tomcat-Standalone
Catalina.stop: LifecycleException: Coyote connector has not been started
LifecycleException: Coyote connector has not been started
at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1075)
at org.apache.catalina.core.StandardService.stop(StandardService.java:546)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2224)
at org.apache.catalina.startup.Catalina.start(Catalina.java:543)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)