Getting the error "Timeout after [5000] seconds waiting for service container stability while finalizing an operation" While deploying the ear in jboss AS7
murthy.majeti Nov 15, 2016 1:26 AMI have used the below persistence.xml for Oracle connection
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0">
<persistence-unit name="DELIVERYCENTER">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<!--jta-data-source>java:jboss/datasources/deliverycenter</jta-data-source-->
<non-jta-data-source>java:jboss/datasources/deliverycenter</non-jta-data-source>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect" />
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
<property name="hibernate.connection.driver_class" value="oracle.jdbc.OracleDriver" />
</properties>
</persistence-unit>
</persistence>
When I am trying to deploy the ear; its giving be the error mentioned below
12:33:55,755 INFO [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 72) HHH000204: Processing PersistenceUnitInfo [
name: DELIVERYCENTER
...]
12:33:56,062 INFO [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 72) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
12:33:56,587 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 72) HHH000400: Using dialect: org.hibernate.dialect.Oracle10gDialect
12:33:56,658 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 72) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
12:33:56,665 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 72) HHH000397: Using ASTQueryTranslatorFactory
12:33:56,785 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 72) HHH000227: Running hbm2ddl schema export
12:33:56,790 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 72) HHH000230: Schema export complete
12:38:50,973 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 71) JBAS013412: Timeout after [300] seconds waiting for service container stability. Operation will roll back. Step that first updated the service container was 'deploy' at address '[("deployment" => "delctr.ear")]'
12:38:51,059 ERROR [org.jboss.as.server] (ServerService Thread Pool -- 71) JBAS015870: Deploy of deployment "delctr.ear" was rolled back with the following failure message: "JBAS013487: Operation timed out awaiting service container stability"
12:38:51,115 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 84) JBAS011403: Stopping Persistence Unit Service 'delctr.ear#DELIVERYCENTER'
12:38:51,116 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 84) HHH000227: Running hbm2ddl schema export
12:38:51,137 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] (ServerService Thread Pool -- 84) HHH000230: Schema export complete
12:39:01,085 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 71) JBAS013413: Timeout after [5000] seconds waiting for service container stability while finalizing an operation. Process must be restarted. Step that first updated the service container was 'deploy' at address '[("deployment" => "delctr.ear")]'