tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ali Kassem" <AKas...@bdl.gov.lb>
Subject tomcat users file
Date Mon, 03 Apr 2006 13:20:21 GMT
Hi

I am using tomcat 5.5.9 with linux, and jdk1.5.0_6

When I start the tomcat as root user every thing it started, but when I
start it with another user

It start  8080 port but I get the message in Catalina.out:

 

.......

.......

Apr 4, 2006 2:54:27 AM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Apr 4, 2006 2:54:27 AM org.apache.catalina.startup.Catalina load

.....

INFO: Starting Servlet Engine: Apache Tomcat/5.5.9

Apr 4, 2006 2:54:27 AM org.apache.naming.NamingContext lookup

WARNING: Unexpected exception resolving reference

java.io.FileNotFoundException:
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new (Permission denied)

        at java.io.FileOutputStream.open(Native Method)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)

        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)

        at
org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.jav
a:462)

...................

..................

Apr 4, 2006 2:54:27 AM org.apache.catalina.realm.UserDatabaseRealm start

SEVERE: Exception looking up UserDatabase under key UserDatabase

javax.naming.NamingException:
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new (Permission denied)

        at
org.apache.naming.NamingContext.lookup(NamingContext.java:804)

        at
org.apache.naming.NamingContext.lookup(NamingContext.java:152)

.................

 

I don't have any file called
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new, 

I have the normal file tomcat-users.xml

 

Can any one help

thanks

 

 

 

 

Ali KASSEM

Project Leader - IT Dept.

Banque Du Liban

P.O.Box:11/5544 Beirut, Lebanon

Tel:961-1-750000 ext 4110

Fax:961-1-343316

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message