wood burning stoves 2.0*
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
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: 41867
    
  63
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 - my free Android networking tools app
Andrew Mike
Greenhorn

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

Joined: Mar 22, 2005
Posts: 41867
    
  63
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