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 Startup Error 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 Startup Error " Watch "Tomcat Startup Error " New topic
Author

Tomcat Startup Error

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Guys,

Why should I get this error during tomcat startup? I was under the impression that the JDBC driver would be automatically referenced as I use Spring JPA template in my project. Seems not to be the case. Do I have to copy the JDBC driver to tomcat lib directory?


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Copying the Oralce JDBC driver to tomcat lib folder got rid of the problem. But facing another problem now. This time is a class incompatibility error.



Which jar does this refers to that it incompatible?
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

Got rid of the above error as well. There was a version conflict with the xwork-core.jar. Two different dependent libraries tried using a different version of the same jar which gave rise to the error above.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19651
    
  18

Thanks for sharing the solution I never would have thought of that.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Startup Error
 
Similar Threads
Help in database connections
tomcat not running??
tomcat and driver problem
SQL Error suring server startup
Error Loading Driver Class while using mysql's mm driver