Hallo,

I have a webapp, developed with eclipse. Starting the project in eclipse
works perfectly.
However as soon I export the project as war file, unzip that file and copy
it to the webapps folder of Tomcat, the manger can't find the application
and I can't access it with manual typing the URL.

I found out, as soon as I rename the context.xml or delete it, manager
recognises my webapp. However it doesn't work fully, because in the
context.xml I use connectionpooling (as already said starting it with
eclipse works fine).

Here my context.xml

[quote]<?xml version="1.0" encoding="UTF-8" ?> 
<context>
  <Resource username="root" password="root"
url="jdbc:mysql://localhost/dbname" name="databaseconnection"
auth="Container" type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"  maxActive="32" maxIdle="4" /> 
</context>
[/quote]
the mysql.jar is in the lib folder of Tomcat.

What I am doing wrong.
Thanks for help.
-- 
View this message in context: 
http://old.nabble.com/WebApp-not-recognised-when-having-context.xml-tp29177124p29177124.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to