Building Hibernate Session Factory in EAP 6.2.0 shuts down datasources.
Issue
We encounter a problem, the hibernate web application can't service.
The root cause is the Data Source were be force shutdown.
I don't know why the data source not service automatically.
Here is the log snippet:
01:12:21,305 [http-127.0.0.1/127.0.0.1:8080-1] INFO org.hibernate.cfg.SettingsFactory - Check Nullability in Core (should be disabled when Bean Validation is on): enabled 01:12:21,325 [http-127.0.0.1/127.0.0.1:8080-1] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
01:12:21,420 [http-127.0.0.1/127.0.0.1:8080-1] INFO org.hibernate.impl.SessionFactoryObjectFactory - Factory name:
01:12:21,420 [http-127.0.0.1/127.0.0.1:8080-1] INFO org.hibernate.util.NamingHelper - JNDI InitialContext properties:{}
01:12:21,425 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) JBAS010409: Unbound data source [java:jboss/datasources/fotaDataSource]
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.