tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik" <devli...@hanik.com>
Subject Re: Cannot run Tomcat as new user [Was: Urgent! Cannot start Tomcat - java.lang.OutOfMemoryError]
Date Fri, 19 Sep 2003 18:56:05 GMT
not sure what is is, but shouldn't the file
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new

be named
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml

try to rename it and start again
Filip
----- Original Message -----
From: "Denise Mangano" <Denisem@complusdata.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Friday, September 19, 2003 11:55 AM
Subject: RE: Cannot run Tomcat as new user [Was: Urgent! Cannot start
Tomcat - java.lang.OutOfMemoryError]


Sorry - didn't mean to send that yet...

This is the output I am getting in catalina.out

Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
        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:214)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
        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:2190)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
UserDatabaseRealm[Standalone]: Exception looking up UserDatabase under
key UserDatabase
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
        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:2190)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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:2190)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        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:1199
)
        at
org.apache.catalina.core.StandardService.stop(StandardService.java:546)
        at
org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
ep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Sep 19, 2003 2:54:18 PM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Sep 19, 2003 2:54:19 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
GlobalResourcesLifecycleListener: Exception processing Global JNDI
Resources
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
        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:214)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans
(GlobalResourcesLifecycleListener.java:181)
        at
org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEve
nt(GlobalResourcesLifecycleListener.java:149)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:166)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2183)
        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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.27
javax.naming.NamingException:
/usr/local/jakarta-tomcat-4.1.27/conf/tomcat-users.xml.new (Permission
denied)
        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:2190)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
        at
org.apache.catalina.startup.Catalina.execute(Catalina.java:400)

Denise

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


Mime
View raw message