I meant to include that this was under Tomcat 5.5.7 using JDK 1.5.0_01
on Windows XP Pro.
-Noah
On Feb 5, 2005, at 11:02 PM, Noah White wrote:
I ran into a problem with the server.xml file bundled in the
cactus-ant-1.7.jar
(org\apache\cactus\integration\ant\container\resources\tomcat5x\server.
xml) included with cactus-13-1.7.
The current UserDatabase Resource definition does not work and throws
an exception when tomcat is started by cactus. I changed it to the
following:
<GlobalNamingResources>
<Resouce name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
pathname="con/tomcat-users.xml" />
</GlobalNamingResources>
The original server.xml file contained the following -
<GlobalNamingResources>
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"/>
<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>
</GlobalNamingResources>
I collapsed the ResourceParams into attributes on the Resource
element, re-jar'd things up and things worked fine.
-Noah
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Noah White
mailto: //[EMAIL PROTECTED]
aim://noahbaysys
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]