Hi,
i had the same problem with Tomcat 5.5 on Debian 4.0 Testing.
The solution was changing the file and directory owner to the Tomcat
user tomcat55.
I also added a Tomcat group named tomcat55.
chown -R tomcat55:tomcat55 /usr/share/tomcat5.5
chown -R tomcat55:tomcat55 /var/lib/tomcat5.5
Hello Marcus,
I'm using the package with a lot of data sources and it works fine.
Maybe the problem is in the way you define and link the datasource.
I use this in my virtual host:
Context docBase=/home/app path=/app
ResourceLink type=javax.sql.DataSource
name=jdbc/mydb global=jdbc/mydb
/
tag 401222 moreinfo
severity 401222 normal
thanks
I was trying to test a simple webapp using a jndi declared jdbc
datasource but i couldn't make it work.
It does work for me, at least without security manager, but Tomcat appears to
be fragile in this regard, and I had to try a number of
More specifically the steps I did to test MySQL connectivity were:
1. Download mysql-connector-java 5.0.4 (from the MySQL website) and put the
jar file in /usr/share/tomcat5.5/common/lib.
2. Create the database exactly as in the Tomcat example for MySQL:
Package: tomcat5.5
Version: 5.5.20-2
Severity: important
Hi,
I was trying to test a simple webapp using a jndi declared jdbc
datasource but i couldn't make it work.
After a lot of test and the help of people on #tomcat on freenode, this
is what i can say :
1) i am using tomcat 5.5 from
5 matches
Mail list logo