This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat JDBC driver forcibly unregistered Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat JDBC driver forcibly unregistered" Watch "Tomcat JDBC driver forcibly unregistered" New topic
Author

Tomcat JDBC driver forcibly unregistered

Andrew Mike
Greenhorn

Joined: Aug 04, 2011
Posts: 5
I added richfaces 4.0.x in maven dependency after deploying my war I am getting the error



I am trying to use richfaces in my JSF application. How to resolve this?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
The error has most likely nothing to do with the JDBC driver; that's just a message that the web app can't be shut down properly. If you want to avoid it, unregister the driver at shutdown time, possibly through a ServletContextListener.

To learn about the actual problem that prevents the web app from starting up, check the other log files.


Ping & DNS - updated with new look and Ping home screen widget
Andrew Mike
Greenhorn

Joined: Aug 04, 2011
Posts: 5
How to unregister it through servletContextListener?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39576
    
  27
DriverManger.deregisterDriver would do that, but you needn't worry - as the message says, it's been done for you. The actual problem is elsewhere.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat JDBC driver forcibly unregistered
 
Similar Threads
oracel client JDBC Driver Failed To register, and Forcibly stopped, please help me in resolving this
Connection Problem
Can two filters use the same filter-class?
SPrin gMVC w/ Eclipse
Tomcat startup problems (MySQL driver)