2 Replies Latest reply on Jan 29, 2010 8:56 AM by freemarket

    deploying richfaces-demo-3.3.3.BETA1

    freemarket

      Hi,

       

      Am trying to run this demo: http://download.jboss.com/jboss-richfaces/richfaces-demo-3.3.3.BETA1-jee5.war.

      Based on all appearances it seems that this is incomplete and missing key files such as

      • hibernate.cfg.xml
      • JIRA.csv

       

      In lieu of this have downloaded from svnrepos the source: http://anonsvn.jboss.org/repos//richfaces/branches/community/3.3.X/samples

      and have built myself successfully and deployed successfully.

       

      However, it appears to loop endlessly as follows:

       

      17:34:01,641 INFO  [ServletContextListener] Welcome to Seam 2.2.0.GA
      17:34:06,533 WARN  [Component] Component class should be serializable: choicesBean
      17:34:06,736 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      17:34:06,829 INFO  [Configuration] configuring from resource: /hibernate.cfg.xml
      17:34:06,829 INFO  [Configuration] Configuration resource: /hibernate.cfg.xml
      17:34:06,829 INFO  [Configuration] Reading mappings from resource : dataItem.hbm.xml
      17:34:06,845 INFO  [Configuration] Configured SessionFactory: null
      17:34:06,845 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      17:34:06,845 INFO  [HbmBinder] Mapping class: org.richfaces.demo.modifiableModel.DataItem -> DataItem
      17:34:06,845 INFO  [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
      17:34:06,845 INFO  [DriverManagerConnectionProvider] Hibernate connection pool size: 10
      17:34:06,845 INFO  [DriverManagerConnectionProvider] autocommit mode: false
      17:34:06,845 INFO  [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:richfaces_demo
      17:34:06,845 INFO  [DriverManagerConnectionProvider] connection properties: {user=sa, password=****}
      17:34:06,845 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
      17:34:06,845 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
      17:34:06,845 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
      17:34:06,845 INFO  [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
      17:34:06,845 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      17:34:06,845 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      17:34:06,845 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
      17:34:06,845 INFO  [SettingsFactory] JDBC batch size: 15
      17:34:06,861 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
      17:34:06,861 INFO  [SettingsFactory] Scrollable result sets: enabled
      17:34:06,861 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      17:34:06,861 INFO  [SettingsFactory] Connection release mode: auto
      17:34:06,861 INFO  [SettingsFactory] Default batch fetch size: 1
      17:34:06,861 INFO  [SettingsFactory] Generate SQL with comments: disabled
      17:34:06,861 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
      17:34:06,861 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
      17:34:06,861 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      17:34:06,861 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      17:34:06,861 INFO  [SettingsFactory] Query language substitutions: {}
      17:34:06,861 INFO  [SettingsFactory] JPA-QL strict compliance: disabled
      17:34:06,861 INFO  [SettingsFactory] Second-level cache: enabled
      17:34:06,861 INFO  [SettingsFactory] Query cache: disabled
      17:34:06,861 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
      17:34:06,861 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
      17:34:06,861 INFO  [SettingsFactory] Structured second-level cache entries: disabled
      17:34:06,861 INFO  [SettingsFactory] Statistics: disabled
      17:34:06,861 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      17:34:06,861 INFO  [SettingsFactory] Default entity-mode: pojo
      17:34:06,861 INFO  [SettingsFactory] Named query checking : enabled
      17:34:06,861 INFO  [SessionFactoryImpl] building session factory
      17:34:06,861 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
      17:34:06,861 INFO  [SchemaExport] Running hbm2ddl schema export
      17:34:06,861 INFO  [SchemaExport] exporting generated schema to database
      17:34:06,876 INFO  [SchemaExport] schema export complete
      17:34:21,348 INFO  [TomcatDeployment] undeploy, ctxPath=/richfaces-demo
      17:34:21,380 INFO  [SessionFactoryImpl] closing
      17:34:21,380 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:hsqldb:mem:richfaces_demo
      17:34:33,445 INFO  [TomcatDeployment] deploy, ctxPath=/richfaces-demo
      17:34:33,585 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/richfaces-demo'
      17:34:35,352 INFO  [ServletContextListener] Welcome to Seam 2.2.0.GA
      17:34:40,149 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:hsqldb:mem:richfaces_demo
      17:34:41,775 WARN  [Component] Component class should be serializable: choicesBean
      17:34:41,994 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      17:34:42,087 INFO  [Configuration] configuring from resource: /hibernate.cfg.xml
      17:34:42,087 INFO  [Configuration] Configuration resource: /hibernate.cfg.xml
      17:34:42,103 INFO  [Configuration] Reading mappings from resource : dataItem.hbm.xml
      17:34:42,103 INFO  [Configuration] Configured SessionFactory: null
      17:34:42,103 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      17:34:42,103 INFO  [HbmBinder] Mapping class: org.richfaces.demo.modifiableModel.DataItem -> DataItem
      17:34:42,119 INFO  [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
      17:34:42,119 INFO  [DriverManagerConnectionProvider] Hibernate connection pool size: 10
      17:34:42,119 INFO  [DriverManagerConnectionProvider] autocommit mode: false
      17:34:42,119 INFO  [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:richfaces_demo
      17:34:42,119 INFO  [DriverManagerConnectionProvider] connection properties: {user=sa, password=****}
      17:34:42,119 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
      17:34:42,119 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
      17:34:42,119 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
      17:34:42,119 INFO  [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
      17:34:42,119 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      17:34:42,119 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      17:34:42,119 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
      17:34:42,119 INFO  [SettingsFactory] JDBC batch size: 15
      17:34:42,119 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
      17:34:42,119 INFO  [SettingsFactory] Scrollable result sets: enabled
      17:34:42,119 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      17:34:42,119 INFO  [SettingsFactory] Connection release mode: auto
      17:34:42,119 INFO  [SettingsFactory] Default batch fetch size: 1
      17:34:42,119 INFO  [SettingsFactory] Generate SQL with comments: disabled
      17:34:42,119 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
      17:34:42,119 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
      17:34:42,119 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      17:34:42,119 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      17:34:42,119 INFO  [SettingsFactory] Query language substitutions: {}
      17:34:42,119 INFO  [SettingsFactory] JPA-QL strict compliance: disabled
      17:34:42,119 INFO  [SettingsFactory] Second-level cache: enabled
      17:34:42,119 INFO  [SettingsFactory] Query cache: disabled
      17:34:42,119 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
      17:34:42,119 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
      17:34:42,119 INFO  [SettingsFactory] Structured second-level cache entries: disabled
      17:34:42,119 INFO  [SettingsFactory] Statistics: disabled
      17:34:42,119 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      17:34:42,119 INFO  [SettingsFactory] Default entity-mode: pojo
      17:34:42,119 INFO  [SettingsFactory] Named query checking : enabled
      17:34:42,134 INFO  [SessionFactoryImpl] building session factory
      17:34:42,134 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
      17:34:42,134 INFO  [SchemaExport] Running hbm2ddl schema export
      17:34:42,150 INFO  [SchemaExport] exporting generated schema to database
      17:34:42,150 INFO  [SchemaExport] schema export complete
      17:34:55,137 INFO  [TomcatDeployment] undeploy, ctxPath=/richfaces-demo
      17:34:55,168 INFO  [SessionFactoryImpl] closing
      17:34:55,168 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:hsqldb:mem:richfaces_demo
      17:35:07,030 INFO  [TomcatDeployment] deploy, ctxPath=/richfaces-demo
      17:35:07,187 INFO  [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/richfaces-demo'
      17:35:10,187 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:hsqldb:mem:richfaces_demo
      17:35:10,516 INFO  [ServletContextListener] Welcome to Seam 2.2.0.GA
      17:35:15,642 WARN  [Component] Component class should be serializable: choicesBean
      17:35:15,829 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
      17:35:15,923 INFO  [Configuration] configuring from resource: /hibernate.cfg.xml
      17:35:15,923 INFO  [Configuration] Configuration resource: /hibernate.cfg.xml
      17:35:15,939 INFO  [Configuration] Reading mappings from resource : dataItem.hbm.xml
      17:35:15,939 INFO  [Configuration] Configured SessionFactory: null
      17:35:15,954 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      17:35:15,954 INFO  [HbmBinder] Mapping class: org.richfaces.demo.modifiableModel.DataItem -> DataItem
      17:35:15,954 INFO  [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
      17:35:15,954 INFO  [DriverManagerConnectionProvider] Hibernate connection pool size: 10
      17:35:15,954 INFO  [DriverManagerConnectionProvider] autocommit mode: false
      17:35:15,954 INFO  [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:richfaces_demo
      17:35:15,954 INFO  [DriverManagerConnectionProvider] connection properties: {user=sa, password=****}
      17:35:15,954 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, version: 1.8.0
      17:35:15,954 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine Driver, version: 1.8.0
      17:35:15,954 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
      17:35:15,954 INFO  [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
      17:35:15,954 INFO  [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
      17:35:15,954 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      17:35:15,954 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
      17:35:15,954 INFO  [SettingsFactory] JDBC batch size: 15
      17:35:15,954 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
      17:35:15,954 INFO  [SettingsFactory] Scrollable result sets: enabled
      17:35:15,954 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      17:35:15,954 INFO  [SettingsFactory] Connection release mode: auto
      17:35:15,954 INFO  [SettingsFactory] Default batch fetch size: 1
      17:35:15,954 INFO  [SettingsFactory] Generate SQL with comments: disabled
      17:35:15,954 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
      17:35:15,954 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
      17:35:15,954 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      17:35:15,954 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      17:35:15,954 INFO  [SettingsFactory] Query language substitutions: {}
      17:35:15,954 INFO  [SettingsFactory] JPA-QL strict compliance: disabled
      17:35:15,954 INFO  [SettingsFactory] Second-level cache: enabled
      17:35:15,954 INFO  [SettingsFactory] Query cache: disabled
      17:35:15,954 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
      17:35:15,954 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
      17:35:15,954 INFO  [SettingsFactory] Structured second-level cache entries: disabled
      17:35:15,954 INFO  [SettingsFactory] Statistics: disabled
      17:35:15,954 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      17:35:15,954 INFO  [SettingsFactory] Default entity-mode: pojo
      17:35:15,954 INFO  [SettingsFactory] Named query checking : enabled
      17:35:15,970 INFO  [SessionFactoryImpl] building session factory
      17:35:15,970 INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured
      17:35:15,970 INFO  [SchemaExport] Running hbm2ddl schema export
      17:35:15,970 INFO  [SchemaExport] exporting generated schema to database
      17:35:15,970 INFO  [SchemaExport] schema export complete
      17:35:28,989 INFO  [TomcatDeployment] undeploy, ctxPath=/richfaces-demo
      17:35:29,004 INFO  [SessionFactoryImpl] closing
      17:35:29,004 INFO  [DriverManagerConnectionProvider] cleaning up connection pool: jdbc:hsqldb:mem:richfaces_demo

       

      Has anyone actually gotten this to work? I'm deploying to AS 5.1.0.GA using

      Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_17-b04)

       

      Thanks,

      Henry