[
https://jira.jboss.org/jira/browse/JBIDE-3773?page=com.atlassian.jira.plu...
]
Juergen Zimmermann updated JBIDE-3773:
--------------------------------------
Attachment: EAR-src.zip
* There is an EAR containing just 1 EJB module
* The EJB module just contains META-INF/persistence.xml, not any session bean.
* persistence.xml references a datasource which is declared in hska-ds.xml inside the EAR
* hska-ds.xml is declared as a service module in the EAR's META-INF/jboss-app.xml
This simplified EAR causes 3 restarts:
10:27:22,718 INFO [PersistenceUnitDeployment] Stopping persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:22,719 INFO [SessionFactoryImpl] closing
10:27:22,719 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:22,719 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:22,719 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:22,720 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' from JNDI name
'java:hskaDS'
10:27:22,734 INFO [SessionSpecContainer] Stopping
jboss.j2ee:ear=hska.ear,jar=hskaEJB.jar,name=KundenverwaltungBean,service=EJB3
10:27:22,738 INFO [EJBContainer] STOPPED EJB:
de.hska.kundenverwaltung.awk.KundenverwaltungBean ejbName: KundenverwaltungBean
10:27:22,963 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' to JNDI name
'java:hskaDS'
10:27:22,963 INFO [PersistenceUnitDeployment] Starting persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:22,965 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: hskaPersistence
...]
10:27:22,967 WARN [Ejb3Configuration] Persistence provider caller does not implement the
EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
10:27:22,979 INFO [HibernateSearchEventListenerRegister] Unable to find
org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search
is not enabled.
10:27:22,980 INFO [ConnectionProviderFactory] Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
10:27:22,980 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
10:27:23,125 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.3.6
10:27:23,125 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version:
PostgreSQL 8.3 JDBC4 with SSL (build 604)
10:27:23,125 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
10:27:23,126 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
10:27:23,126 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:27:23,126 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
10:27:23,126 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
10:27:23,127 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
10:27:23,127 INFO [SettingsFactory] JDBC batch size: 15
10:27:23,127 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
10:27:23,127 INFO [SettingsFactory] Scrollable result sets: enabled
10:27:23,127 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
10:27:23,127 INFO [SettingsFactory] Connection release mode: auto
10:27:23,127 INFO [SettingsFactory] Default batch fetch size: 1
10:27:23,127 INFO [SettingsFactory] Generate SQL with comments: disabled
10:27:23,127 INFO [SettingsFactory] Order SQL updates by primary key: disabled
10:27:23,127 INFO [SettingsFactory] Order SQL inserts for batching: disabled
10:27:23,127 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:27:23,127 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
10:27:23,127 INFO [SettingsFactory] Query language substitutions: {}
10:27:23,128 INFO [SettingsFactory] JPA-QL strict compliance: enabled
10:27:23,128 INFO [SettingsFactory] Second-level cache: enabled
10:27:23,128 INFO [SettingsFactory] Query cache: disabled
10:27:23,128 INFO [SettingsFactory] Cache region factory :
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
10:27:23,128 INFO [RegionFactoryCacheProviderBridge] Cache provider:
org.hibernate.cache.HashtableCacheProvider
10:27:23,128 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
10:27:23,128 INFO [SettingsFactory] Cache region prefix:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:23,129 INFO [SettingsFactory] Structured second-level cache entries: disabled
10:27:23,129 INFO [SettingsFactory] Statistics: disabled
10:27:23,129 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
10:27:23,129 INFO [SettingsFactory] Default entity-mode: pojo
10:27:23,129 INFO [SettingsFactory] Named query checking : enabled
10:27:23,150 INFO [SessionFactoryImpl] building session factory
10:27:23,150 INFO [SessionFactoryObjectFactory] Factory name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:23,150 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:23,154 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:23,154 WARN [SessionFactoryObjectFactory] InitialContext did not implement
EventContext
10:27:23,155 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:28,327 INFO [PersistenceUnitDeployment] Stopping persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,327 INFO [SessionFactoryImpl] closing
10:27:28,327 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,328 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:28,328 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,329 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' from JNDI name
'java:hskaDS'
10:27:28,520 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' to JNDI name
'java:hskaDS'
10:27:28,521 INFO [PersistenceUnitDeployment] Starting persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,521 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: hskaPersistence
...]
10:27:28,523 WARN [Ejb3Configuration] Persistence provider caller does not implement the
EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
10:27:28,530 INFO [HibernateSearchEventListenerRegister] Unable to find
org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search
is not enabled.
10:27:28,531 INFO [ConnectionProviderFactory] Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
10:27:28,531 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
10:27:28,637 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.3.6
10:27:28,637 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version:
PostgreSQL 8.3 JDBC4 with SSL (build 604)
10:27:28,638 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
10:27:28,638 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
10:27:28,639 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:27:28,639 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
10:27:28,639 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
10:27:28,639 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
10:27:28,639 INFO [SettingsFactory] JDBC batch size: 15
10:27:28,639 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
10:27:28,639 INFO [SettingsFactory] Scrollable result sets: enabled
10:27:28,639 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
10:27:28,639 INFO [SettingsFactory] Connection release mode: auto
10:27:28,640 INFO [SettingsFactory] Default batch fetch size: 1
10:27:28,640 INFO [SettingsFactory] Generate SQL with comments: disabled
10:27:28,640 INFO [SettingsFactory] Order SQL updates by primary key: disabled
10:27:28,640 INFO [SettingsFactory] Order SQL inserts for batching: disabled
10:27:28,640 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:27:28,640 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
10:27:28,640 INFO [SettingsFactory] Query language substitutions: {}
10:27:28,640 INFO [SettingsFactory] JPA-QL strict compliance: enabled
10:27:28,640 INFO [SettingsFactory] Second-level cache: enabled
10:27:28,640 INFO [SettingsFactory] Query cache: disabled
10:27:28,640 INFO [SettingsFactory] Cache region factory :
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
10:27:28,641 INFO [RegionFactoryCacheProviderBridge] Cache provider:
org.hibernate.cache.HashtableCacheProvider
10:27:28,641 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
10:27:28,641 INFO [SettingsFactory] Cache region prefix:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,641 INFO [SettingsFactory] Structured second-level cache entries: disabled
10:27:28,641 INFO [SettingsFactory] Statistics: disabled
10:27:28,641 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
10:27:28,641 INFO [SettingsFactory] Default entity-mode: pojo
10:27:28,641 INFO [SettingsFactory] Named query checking : enabled
10:27:28,651 INFO [SessionFactoryImpl] building session factory
10:27:28,652 INFO [SessionFactoryObjectFactory] Factory name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,652 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:28,655 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:28,655 WARN [SessionFactoryObjectFactory] InitialContext did not implement
EventContext
10:27:28,656 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:33,816 INFO [PersistenceUnitDeployment] Stopping persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:33,817 INFO [SessionFactoryImpl] closing
10:27:33,817 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:33,817 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:33,818 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:33,819 INFO [ConnectionFactoryBindingService] Unbound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' from JNDI name
'java:hskaDS'
10:27:34,061 INFO [ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=hskaDS' to JNDI name
'java:hskaDS'
10:27:34,061 INFO [PersistenceUnitDeployment] Starting persistence unit
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:34,062 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: hskaPersistence
...]
10:27:34,064 WARN [Ejb3Configuration] Persistence provider caller does not implement the
EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
10:27:34,072 INFO [HibernateSearchEventListenerRegister] Unable to find
org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search
is not enabled.
10:27:34,073 INFO [ConnectionProviderFactory] Initializing connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
10:27:34,074 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
10:27:34,190 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.3.6
10:27:34,190 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version:
PostgreSQL 8.3 JDBC4 with SSL (build 604)
10:27:34,191 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
10:27:34,191 INFO [TransactionFactoryFactory] Transaction strategy:
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
10:27:34,192 INFO [TransactionManagerLookupFactory] instantiating
TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
10:27:34,192 INFO [TransactionManagerLookupFactory] instantiated
TransactionManagerLookup
10:27:34,199 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
10:27:34,199 INFO [SettingsFactory] Automatic session close at end of transaction:
disabled
10:27:34,199 INFO [SettingsFactory] JDBC batch size: 15
10:27:34,199 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
10:27:34,199 INFO [SettingsFactory] Scrollable result sets: enabled
10:27:34,199 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
10:27:34,199 INFO [SettingsFactory] Connection release mode: auto
10:27:34,199 INFO [SettingsFactory] Default batch fetch size: 1
10:27:34,199 INFO [SettingsFactory] Generate SQL with comments: disabled
10:27:34,199 INFO [SettingsFactory] Order SQL updates by primary key: disabled
10:27:34,200 INFO [SettingsFactory] Order SQL inserts for batching: disabled
10:27:34,200 INFO [SettingsFactory] Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:27:34,200 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
10:27:34,200 INFO [SettingsFactory] Query language substitutions: {}
10:27:34,200 INFO [SettingsFactory] JPA-QL strict compliance: enabled
10:27:34,200 INFO [SettingsFactory] Second-level cache: enabled
10:27:34,200 INFO [SettingsFactory] Query cache: disabled
10:27:34,200 INFO [SettingsFactory] Cache region factory :
org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
10:27:34,201 INFO [RegionFactoryCacheProviderBridge] Cache provider:
org.hibernate.cache.HashtableCacheProvider
10:27:34,201 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
10:27:34,201 INFO [SettingsFactory] Cache region prefix:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:34,201 INFO [SettingsFactory] Structured second-level cache entries: disabled
10:27:34,201 INFO [SettingsFactory] Statistics: disabled
10:27:34,201 INFO [SettingsFactory] Deleted entity synthetic identifier rollback:
disabled
10:27:34,201 INFO [SettingsFactory] Default entity-mode: pojo
10:27:34,201 INFO [SettingsFactory] Named query checking : enabled
10:27:34,206 INFO [SessionFactoryImpl] building session factory
10:27:34,207 INFO [SessionFactoryObjectFactory] Factory name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:34,207 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
10:27:34,211 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name:
persistence.unit:unitName=hska.ear/hskaEJB.jar#hskaPersistence
10:27:34,211 WARN [SessionFactoryObjectFactory] InitialContext did not implement
EventContext
10:27:34,212 INFO [NamingHelper] JNDI InitialContext
properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory,
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
Full Publish -> 6 restarts
--------------------------
Key: JBIDE-3773
URL:
https://jira.jboss.org/jira/browse/JBIDE-3773
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.CR2
Environment: JBossAS-Tools-2.0.0.GA-N200902062013-H1415, JBossAS 5.0.0.GA
Reporter: Juergen Zimmermann
Attachments: EAR-src.zip
I tried the nightly JBossAS-Tools-2.0.0.GA-N200902062013-H1415. When I'm doing a
"Full Publish" for an already deployed EAR, then this EAR is restarted *6* times
instead once.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira