Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat JDBC driver forcibly unregistered

 
Andrew Mike
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Andrew Mike
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to unregister it through servletContextListener?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic