Application deployed on JBoss EWS does not stop correctly when packaging JDBC driver

Solution Unverified - Updated -

Issue

  • We are having an issue while stopping the jboss enterprise web server, It is not unregistering all the resources; it fails with the following error message.
org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/Abc] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

Environment

  • JBoss Enterprise Web Server (EWS)
    • 2.0.1
    • 2.1.0
  • Tomcat 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content