  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | I got the following error message when I try to start tomcat in Eclipse | I got the following error message when I try to start tomcat in Eclipse 2007-11-04 - By mgainty@(protected)
Back display UserDatabase entry from $TOMCAT_HOME/conf/server.xml
it should look something like <Resource name="UserDatabase" auth="Container" type="org.apache.catalina.UserDatabase" description="User database that can be updated and saved" factory="org.apache.catalina.users.MemoryUserDatabaseFactory" pathname="conf/tomcat-users.xml" />
M-- -- -- Original Message -- -- Wrom: LHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLB To: <users@(protected)> Sent: Sunday, November 04, 2007 3:27 PM Subject: I got the following error message when I try to start tomcat in Eclipse
> > Hi, > I try to start tomcat version 4.1 in eclipse version 3.3.0. I use Windos > Vista operating system. I installed launcher plug-in so i can start and stop > tomcat for eclipse. I use JDK 1.4.16 by the way. > When I try to start tomcat in eclipse I got the following error: > (P.S. I used tomcat 4.1 in windows XP before and i didn't get this error) > > GlobalResourcesLifecycleListener: Exception processing Global JNDI Resources > javax.naming.NamingException: Cannot rename original file to C:\Program > Files\Apache Software Foundation\Tomcat 4.1\conf\tomcat-users.xml.old > at org.apache.naming.NamingContext.lookup(NamingContext.java:799) > at org.apache.naming.NamingContext.lookup(NamingContext.java:135) > at > org.apache.naming.NamingContextBindingsEnumeration.nextElementInternal(Namin gContextBindingsEnumeration.java:121) > at > org.apache.naming.NamingContextBindingsEnumeration.next(NamingContextBinding sEnumeration.java:80) > at > org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo balResourcesLifecycleListener.java:157) > at > org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(Glo balResourcesLifecycleListener.java:128) > at > org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(G lobalResourcesLifecycleListener.java:96) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:120) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2206) > at org.apache.catalina.startup.Catalina.start(Catalina.java:459) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:346) > at org.apache.catalina.startup.Catalina.process(Catalina.java:130) > 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.main(Bootstrap.java:151) > Starting service Tomcat-Standalone > Apache Tomcat/4.1.36-LE-jdk14 > javax.naming.NamingException: Cannot rename original file to C:\Program > Files\Apache Software Foundation\Tomcat 4.1\conf\tomcat-users.xml.old > at org.apache.naming.NamingContext.lookup(NamingContext.java:799) > at org.apache.naming.NamingContext.lookup(NamingContext.java:148) > at > org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:220 ) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311) > at org.apache.catalina.core.StandardService.start(StandardService.java:450) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213) > at org.apache.catalina.startup.Catalina.start(Catalina.java:459) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:346) > at org.apache.catalina.startup.Catalina.process(Catalina.java:130) > 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.main(Bootstrap.java:151) > 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:227 ) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1133) > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:311) > at org.apache.catalina.core.StandardService.start(StandardService.java:450) > at org.apache.catalina.core.StandardServer.start(StandardServer.java:2213) > at org.apache.catalina.startup.Catalina.start(Catalina.java:459) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:346) > at org.apache.catalina.startup.Catalina.process(Catalina.java:130) > 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.main(Bootstrap.java:151) > 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:1382) > at org.apache.catalina.core.StandardService.stop(StandardService.java:499) > at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2248) > at org.apache.catalina.startup.Catalina.start(Catalina.java:490) > at org.apache.catalina.startup.Catalina.execute(Catalina.java:346) > at org.apache.catalina.startup.Catalina.process(Catalina.java:130) > 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.main(Bootstrap.java:151) > > > Can anybody help me to solve this problem > Thank you very much > > -- > View this message in context: http://www.nabble.com/I-got-the-following-error-message-when-I-try-to-start- tomcat-in-Eclipse-tf4748298.html#a13577447 > Sent from the Tomcat - User mailing list archive at Nabble.com. > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > To start a new topic, e-mail: users@(protected) > To unsubscribe, e-mail: users-unsubscribe@(protected) > For additional commands, e-mail: users-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To start a new topic, e-mail: users@(protected) To unsubscribe, e-mail: users-unsubscribe@(protected) For additional commands, e-mail: users-help@(protected)
|
|
 |