jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah White <cac...@baysystems.com>
Subject Re: Tomcat 5.x server.xml problem
Date Sun, 06 Feb 2005 04:05:05 GMT
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: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
Noah White
mailto: //noah.white@mac.com
aim://noahbaysys


Mime
View raw message