This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat service not able to connect with the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat service not able to connect with the database" Watch "tomcat service not able to connect with the database" New topic
Author

tomcat service not able to connect with the database

bhanu lakshmi
Greenhorn

Joined: Oct 30, 2007
Posts: 1
HI All,

I have installed apache tomcat as service. When I start the service and run the application it is not able to find out the datasource name.
But when I start the tomcat as startup.bat and run the application it is perfectly fetching the values from the database.
I am using msaccess. I am using jdbc odbc.
Why service is not able to connect with the database. Could anybody help me??

thanks
Bhanu lakshmi
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
I would check log files
Rajkumar Katudia
Ranch Hand

Joined: Jul 28, 2009
Posts: 51
Log files is the first place I would Look at.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10167
    
    8

halwa raj wrote:

Please check your private messages for an important administrative matter


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
Don't get me started about those stupid light bulbs.
 
subject: tomcat service not able to connect with the database
 
Similar Threads
Tomcat CGI & Database Connectivity
problem in login page
installing Tomcat 6.0.16 on vista with the exe
Setting the attribute
java.sql.SQLException: No suitable driver