classLoader is not connected to a domain in JBoss EAP 5?

Solution Verified - Updated -

Issue

  • The web application is intermittently getting this error( classLoader is not connected to a domain (probably undeployed?) for class oracle.sql.LnxLib). Some part of the application works using this connection pool, but other parts of the application are getting this error with the same connection pool. This error happens after the JBOSS server is restarted. The oracle ojdbc5.jar file in the WAR file is being used.

  • After the deployment, if the user is trying to access the portal/web application, they are getting the following error:

org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.IllegalStateException: BaseClassLoader@4320e76d{vfszip:/C:/JBoss/server/default/deploy/redhattest.ear/redhattest.war/} classLoader is not connected to a domain

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.1

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