| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 22/10/2009 10:52:52
|
bnsbr
Joined: 19/10/2009 00:00:00
Messages: 9
Offline
|
Hi all,
I'm facing a strange problem when trying to deploy one Icefaces + Seam application generated throught seam-gen.
When I call the "explode" target on the project build.xml file, ant copy the contents of the application to the "deploy" directory on the server and JBoss starts to deploy.
The problem is that it does not finish the deploy process and restart it(the process of deploy).
It does not generate exception on the JBoss console, just a lot of messages of the deploy process.
Code:
13:40:49,633 INFO [Version] Hibernate EntityManager 3.4.0.GA
13:40:49,696 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: HomeBroker
...]
13:40:49,727 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
13:40:50,899 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
13:40:50,899 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
13:40:50,914 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
13:40:50,946 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
13:40:50,946 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
13:40:50,993 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
13:40:51,086 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
13:40:51,086 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
13:40:51,086 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
13:40:51,086 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
13:40:51,086 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
13:40:51,086 INFO [SettingsFactory] JDBC batch size: 15
13:40:51,086 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
13:40:51,086 INFO [SettingsFactory] Scrollable result sets: enabled
13:40:51,086 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
13:40:51,086 INFO [SettingsFactory] Connection release mode: auto
13:40:51,102 INFO [SettingsFactory] Default schema: broker
13:40:51,102 INFO [SettingsFactory] Default batch fetch size: 1
13:40:51,102 INFO [SettingsFactory] Generate SQL with comments: disabled
13:40:51,102 INFO [SettingsFactory] Order SQL updates by primary key: disabled
13:40:51,102 INFO [SettingsFactory] Order SQL inserts for batching: disabled
13:40:51,102 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:40:51,102 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
13:40:51,102 INFO [SettingsFactory] Query language substitutions: {}
13:40:51,102 INFO [SettingsFactory] JPA-QL strict compliance: enabled
13:40:51,102 INFO [SettingsFactory] Second-level cache: enabled
13:40:51,102 INFO [SettingsFactory] Query cache: disabled
13:40:51,118 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
13:40:51,118 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
13:40:51,118 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
13:40:51,118 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#HomeBroker
13:40:51,118 INFO [SettingsFactory] Structured second-level cache entries: disabled
13:40:51,133 INFO [SettingsFactory] Echoing all SQL to stdout
13:40:51,133 INFO [SettingsFactory] Statistics: disabled
13:40:51,133 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
13:40:51,133 INFO [SettingsFactory] Default entity-mode: pojo
13:40:51,133 INFO [SettingsFactory] Named query checking : enabled
13:40:51,227 INFO [SessionFactoryImpl] building session factory
13:40:51,227 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#HomeBroker
13:40:51,243 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:40:51,243 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#HomeBroker
13:40:51,243 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
13:40:51,258 INFO [SchemaUpdate] Running hbm2ddl schema update
13:40:51,258 INFO [SchemaUpdate] fetching database metadata
13:40:51,258 INFO [SchemaUpdate] updating schema
13:40:51,274 INFO [SchemaUpdate] schema update complete
13:40:51,274 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:40:51,321 INFO [TomcatDeployment] deploy, ctxPath=/HomeBroker
13:40:51,461 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/HomeBroker'
13:40:51,633 INFO [D2DViewHandler]
ICEsoft Technologies, Inc.
ICEfaces x.x.x
Build number: x
Revision: x
13:40:51,789 INFO [ViewRootStateManagerImpl] ViewRootStateManagerImpl constructed with Delegate: com.sun.faces.application.StateManagerImpl@1518ea7
13:40:51,821 INFO [D2DViewHandler] ICEfaces JSP parser disabled. This is a Facelets-only configuration.
13:40:52,227 INFO [ServletContextListener] Welcome to Seam 2.2.0.GA
13:40:58,976 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
13:40:59,273 INFO [SeamUtilities] Seam environment detected
13:40:59,320 INFO [TomcatDeployment] deploy, ctxPath=/
13:40:59,383 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
13:40:59,492 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8079
13:40:59,523 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8008
13:40:59,539 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:2s:840ms
13:41:06,820 INFO [TomcatDeployment] undeploy, ctxPath=/HomeBroker
13:41:06,835 INFO [ContextEventRepeater] Servlet Context Name: null, Server Info: JBoss Web/2.1.3.GA
13:41:06,867 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=#HomeBroker
13:41:06,867 INFO [SessionFactoryImpl] closing
13:41:06,867 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=#HomeBroker
13:41:06,867 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:41:06,867 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.unit:unitName=#HomeBroker
13:41:15,054 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#HomeBroker
13:41:15,054 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: HomeBroker
...]
13:41:15,069 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
13:41:15,101 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
13:41:15,101 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
13:41:15,101 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
13:41:15,101 INFO [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
13:41:15,101 INFO [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
13:41:15,101 INFO [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
13:41:15,101 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
13:41:15,101 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
13:41:15,101 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
13:41:15,101 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
13:41:15,101 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
13:41:15,101 INFO [SettingsFactory] JDBC batch size: 15
13:41:15,101 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
13:41:15,101 INFO [SettingsFactory] Scrollable result sets: enabled
13:41:15,101 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
13:41:15,101 INFO [SettingsFactory] Connection release mode: auto
13:41:15,101 INFO [SettingsFactory] Default schema: broker
13:41:15,101 INFO [SettingsFactory] Default batch fetch size: 1
13:41:15,101 INFO [SettingsFactory] Generate SQL with comments: disabled
13:41:15,101 INFO [SettingsFactory] Order SQL updates by primary key: disabled
13:41:15,101 INFO [SettingsFactory] Order SQL inserts for batching: disabled
13:41:15,101 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
13:41:15,101 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
13:41:15,101 INFO [SettingsFactory] Query language substitutions: {}
13:41:15,101 INFO [SettingsFactory] JPA-QL strict compliance: enabled
13:41:15,101 INFO [SettingsFactory] Second-level cache: enabled
13:41:15,101 INFO [SettingsFactory] Query cache: disabled
13:41:15,101 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
13:41:15,116 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
13:41:15,116 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
13:41:15,116 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=#HomeBroker
13:41:15,116 INFO [SettingsFactory] Structured second-level cache entries: disabled
13:41:15,116 INFO [SettingsFactory] Echoing all SQL to stdout
13:41:15,116 INFO [SettingsFactory] Statistics: disabled
13:41:15,116 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
13:41:15,116 INFO [SettingsFactory] Default entity-mode: pojo
13:41:15,116 INFO [SettingsFactory] Named query checking : enabled
13:41:15,116 INFO [SessionFactoryImpl] building session factory
13:41:15,116 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#HomeBroker
13:41:15,116 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:41:15,132 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#HomeBroker
13:41:15,132 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
13:41:15,132 INFO [SchemaUpdate] Running hbm2ddl schema update
13:41:15,132 INFO [SchemaUpdate] fetching database metadata
13:41:15,132 INFO [SchemaUpdate] updating schema
13:41:15,132 INFO [SchemaUpdate] schema update complete
13:41:15,132 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
13:41:15,179 INFO [TomcatDeployment] deploy, ctxPath=/HomeBroker
13:41:15,288 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/HomeBroker'
13:41:15,413 INFO [D2DViewHandler]
ICEsoft Technologies, Inc.
ICEfaces x.x.x
Build number: x
Revision: x
Have anyone seen this behavior with this config?
Thanks,
Bruno.
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 23/10/2009 07:52:30
|
judy.guglielmin
Joined: 20/02/2007 00:00:00
Messages: 1196
Offline
|
The hot-deploy has been a problem with seam-2.2.0 in general (whether you use ICEfaces or any other web-tier). If you turn off the hot-deploy filter, then you will have less of a problem. You could also try deploying the archived version, or use jboss-4.2.3.GA. There is an open jboss jira for this for Seam-2.2.0 and jboss-5.x.
|
|
|
 |
|
|
|
|