Help - Search - Members - Calendar
Full Version: tomcat support
The Planet Forums > Operating Systems > Red Hat Linux
alsmith
I am desperately looking for some help with a java application on a dedicated box. I have tomcat5 installed and it is working fine, when we put the application in place all works except the DB calls.

If anyone has experience please conact me at al @ heretohost dot com
markcausa
What type of database is it? Is the database on the same server?
alsmith
it is mysql with cpanel.
markcausa
Oh, ok. So just make sure you're config file is trying to access mysql like this:
QUOTE
mysql db = "heretoho_dbname"
mysql user = "heretoho_dbuser" (Remember to set up the mysql user in cPanel and join it to the database with full privileges)
mysql pass = "db_password"


So remember to use the entire cPanel username.
alsmith
QUOTE (markcausa @ Mar 25 2008, 10:19 AM) *
Oh, ok. So just make sure you're config file is trying to access mysql like this:
So remember to use the entire cPanel username.


Mark on a no cpanel I put this in /etc/tomcat5/context.xml. where is cpanel expecting it
Tomy Durden
What are the specific errors you're seeing in the logs and via the java app?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.