Hi,

I have the following error starting tomcat and don't know how to solve it.

Jun 9, 2004 2:09:24 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 80
Jun 9, 2004 2:09:25 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3461 ms
Jun 9, 2004 2:09:25 PM org.apache.naming.NamingContext lookup
WARNING: Unexpected exception resolving reference
java.io.FileNotFoundException: /usr/local/tomcat/conf/tomcat-users.xml.new (Permission denied)



I have the standard server.xml file. But then removed lots of the comments.
User authentication is defined as :


<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>


     <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                 debug="0" resourceName="UserDatabase"/>


I don't know where : /usr/local/tomcat/conf/tomcat-users.xml.new is defined.


I'm using redhat fedore core 1,  java 1.4.2_04

the tomcat-users.xml file is owned by root : root

Tomcat is started at boot time by using jsvc where the tomcat user is tomcat5.

Can one of you tell me what's wrong?


Kind regards, Werner van Mook Java Lead Developer / Trainer Connecties Voor Internet BV i.o.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to