You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ali Kassem <AK...@bdl.gov.lb> on 2006/04/03 15:20:21 UTC
tomcat users file
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
Re: tomcat users file
Posted by Hadraba Petr <ha...@gmail.com>.
Hi,
check if the different user has read permissions for the
/opt/jakarta-tomcat-5.5.9/conf/tomcat-users.xml.new file
PETR
On 4/3/06, Ali Kassem <AK...@bdl.gov.lb> wrote:
> 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
>
>
>
>
>
>
>