tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadraba Petr" <hadra...@gmail.com>
Subject Re: tomcat users file
Date Mon, 03 Apr 2006 13:25:19 GMT
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 <AKassem@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
>
>
>
>
>
>
>
Mime
View raw message