ManagedConnectionPools.xml and Tomcat

Folks,

where do I have to place this file within the Tomcat environment? I get an error message telling me that the file cannot be found in the CLASSPATH, but this is wrong…

I am using Tomcat 3.2.1 and Tamino 3.1.

Harald

Hi Harald,

you are right, it has to be in the classpath. In a Tomcat environment take it e.g. under the WEB-INF/classes of your servlet.

regards Eckehard

Eckehard,

where exactly do I have to place it. My directory structure is as follows:

/root/htdocs/.jsp
/root/WEB-INF/classes/com...
.java
/root/WEB-INF/servlets/servlets.java

Do I have to place it into the Tomcat startup file or is it enough to just copy it into a certain directory?

Please help because I cannot run my app. without this solution.

Harald

Eckehard,

sorry, I made a mistake. My directory structure looks like this:

/root/htdocs/.jsp
/root/WEB-INF/classes/com...
.java
/root/WEB-INF/classes/servlets/login.java

Do I have to place it into the Tomcat startup file or is it enough to just copy it into a certain directory?

Please help because I cannot run my app. without this solution.

Harald

Hi Harlad,

take it under

/root/WEB-INF/classes/

Don’t do it into a *.jar library.

regards Eckehard