tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: Missing JNDI resource params after deployment.
Date Mon, 25 Apr 2005 00:40:38 GMT
Which version of Tomcat are you running. There is a difference from the 
5.0.x and 5.5.x tree. The setup you have listed is for the 5.0.x branch.

Doug

PS Didn't mean to not respond but I actually took a small vacation to Busch 
Gardens. Apollo's Chariot rocks, especially front row! And just now back on 
line.



----- Original Message ----- 
From: "David C. Hicks" <dhicks@i-hicks.org>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, April 21, 2005 10:25 AM
Subject: Missing JNDI resource params after deployment.


>I have the following in a file called "ems.xml" in my META-INF directory. 
>After deploying this application, the JNDI resource is listed for the 
>application in the administration screen, but none of the ResourceParams 
>are associated with it.  Have I got something wrong in the context file?
>
> Thanks in advance.
> Dave
>
> <Context path="/ems" reloadable="true" 
> docBase="/home/dhicks/projects/ems/build/webapp" 
> workDir="/home/dhicks/projects/ems/build/webapp/WEB-INF/work" >
>    <Logger className="org.apache.catalina.logger.SystemOutLogger" 
> verbosity="4" timestamp="true"/>
>    <Resource name="jdbc/emsDb" auth="Container" 
> type="javax.sql.DataSource"/>
>    <ResourceParams name="jdbc/emsDb">
>        <parameter><name>username</name><value>sa</value></parameter>
>        <parameter><name>password</name><value></value></parameter>
> 
> <parameter><name>driverClassName</name><value>net.sourceforge.jtds.jdbc.Driver</value></parameter>
> 
> <parameter><name>url</name><value>jdbc:jtds:sqlserver://psg01:1433/dchems;user=sa</value></parameter>
>    </ResourceParams>
> </Context>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message