Bug 794139 (JBEPP-1205)

Summary: Hibernate errors logged when deploying RichFaces example
Product: [JBoss] JBoss Enterprise Portal Platform 5 Reporter: Miroslav Cupák <mcupak>
Component: unspecifiedAssignee: Default User <jbpapp-maint>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2.0.ER01CC: tkyjovsk
Target Milestone: ---   
Target Release: 5.2.0.ER06   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/JBEPP-1205
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-25 13:32:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Miroslav Cupák 2011-09-23 15:52:37 UTC
project_key: JBEPP

When you deploy the RichFaces example from the Portlet Bridge directory, you can see the following Hibernate-related lines in the log as errors:

{code}
10:56:29,660 INFO  [TomcatDeployment] deploy, ctxPath=/richFacesPortlet-2.1.1.GA.EPP51
10:56:29,961 INFO  [faces] Init GenericFacesPortlet for portlet richFacesPortlet
10:56:29,964 INFO  [faces] Bridge class name is org.jboss.portletbridge.AjaxPortletBridge
10:56:29,977 INFO  [faces] The bridge does not support doHeaders method
10:56:29,986 INFO  [config] Initializing Mojarra (1.2_13-b01-FCS) for context '/richFacesPortlet-2.1.1.GA.EPP51'
10:56:33,658 INFO  [ServletContextListener] Welcome to Seam 2.2.3.EAP5
10:56:38,487 WARN  [Component] Component class should be serializable: choicesBean
10:56:38,899 WARN  [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
10:56:39,117 ERROR [STDERR] 3 [HDScanner] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.GA
10:56:39,162 ERROR [STDERR] 48 [HDScanner] INFO org.hibernate.cfg.Environment - Hibernate 3.3.0.SP1
10:56:39,189 ERROR [STDERR] 74 [HDScanner] INFO org.hibernate.cfg.Environment - hibernate.properties not found
10:56:39,195 ERROR [STDERR] 81 [HDScanner] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
10:56:39,202 ERROR [STDERR] 88 [HDScanner] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
10:56:39,333 ERROR [STDERR] 219 [HDScanner] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
10:56:39,333 ERROR [STDERR] 219 [HDScanner] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
10:56:39,342 ERROR [STDERR] 228 [HDScanner] INFO org.hibernate.cfg.Configuration - Reading mappings from resource : dataItem.hbm.xml
10:56:39,357 ERROR [STDERR] 243 [HDScanner] INFO org.hibernate.cfg.Configuration - Configured SessionFactory: null
10:56:39,375 ERROR [STDERR] 261 [HDScanner] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
10:56:39,494 ERROR [STDERR] 380 [HDScanner] INFO org.hibernate.cfg.HbmBinder - Mapping class: org.richfaces.demo.modifiableModel.DataItem -> DataItem
10:56:39,536 ERROR [STDERR] 422 [HDScanner] INFO org.hibernate.validator.Version - Hibernate Validator 3.1.0.GA
10:56:39,736 ERROR [STDERR] 622 [HDScanner] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)
10:56:39,736 ERROR [STDERR] 622 [HDScanner] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate connection pool size: 10
10:56:39,736 ERROR [STDERR] 622 [HDScanner] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit mode: false
10:56:39,739 ERROR [STDERR] 625 [HDScanner] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:richfaces_demo
10:56:39,739 ERROR [STDERR] 625 [HDScanner] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection properties: {user=sa, password=****}
10:56:40,111 ERROR [STDERR] 997 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - RDBMS: HSQL Database Engine, version: 1.8.0
10:56:40,111 ERROR [STDERR] 997 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: HSQL Database Engine Driver, version: 1.8.0
10:56:40,152 ERROR [STDERR] 1038 [HDScanner] INFO org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.HSQLDialect
10:56:40,163 ERROR [STDERR] 1049 [HDScanner] INFO org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions)
10:56:40,166 ERROR [STDERR] 1052 [HDScanner] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
10:56:40,167 ERROR [STDERR] 1053 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled
10:56:40,167 ERROR [STDERR] 1053 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled
10:56:40,167 ERROR [STDERR] 1053 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
10:56:40,167 ERROR [STDERR] 1053 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled
10:56:40,169 ERROR [STDERR] 1055 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
10:56:40,169 ERROR [STDERR] 1055 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): disabled
10:56:40,169 ERROR [STDERR] 1055 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
10:56:40,171 ERROR [STDERR] 1057 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
10:56:40,171 ERROR [STDERR] 1057 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
10:56:40,171 ERROR [STDERR] 1057 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled
10:56:40,171 ERROR [STDERR] 1057 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching: disabled
10:56:40,171 ERROR [STDERR] 1057 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using ASTQueryTranslatorFactory
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: disabled
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
10:56:40,176 ERROR [STDERR] 1062 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
10:56:40,177 ERROR [STDERR] 1063 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled
10:56:40,177 ERROR [STDERR] 1063 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled
10:56:40,187 ERROR [STDERR] 1073 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
10:56:40,188 ERROR [STDERR] 1073 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled
10:56:40,188 ERROR [STDERR] 1074 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
10:56:40,188 ERROR [STDERR] 1074 [HDScanner] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
10:56:40,478 ERROR [STDERR] 1364 [HDScanner] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
10:56:40,686 ERROR [STDERR] 1572 [HDScanner] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
10:56:40,699 ERROR [STDERR] 1585 [HDScanner] INFO org.hibernate.tool.hbm2ddl.SchemaExport - Running hbm2ddl schema export
10:56:40,706 ERROR [STDERR] 1592 [HDScanner] INFO org.hibernate.tool.hbm2ddl.SchemaExport - exporting generated schema to database
10:56:40,709 ERROR [STDERR] 1595 [HDScanner] INFO org.hibernate.tool.hbm2ddl.SchemaExport - schema export complete
{code}

Comment 1 Miroslav Cupák 2011-09-23 16:22:15 UTC
Link: Added: This issue is related to JBQA-5399


Comment 2 Thomas Heute 2011-10-11 11:06:23 UTC
This is minor as those are not real errors, it's just a mix of logging frameworks when one report as INFO it gets translated to ERROR.

Comment 3 Thomas Heute 2011-10-25 13:32:49 UTC
Release Notes Docs Status: Added: Not Required