[jboss-jira] [JBoss JIRA] (AS7-1612) using bundled-hibernate3 in AS7, hibernate logs are marked as ERROR, which should be INFO

Scott Marlow (Commented) (JIRA) jira-events at lists.jboss.org
Mon Nov 21 17:24:41 EST 2011


    [ https://issues.jboss.org/browse/AS7-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644501#comment-12644501 ] 

Scott Marlow commented on AS7-1612:
-----------------------------------

This turns out to be a system/application configuration error.  If the application uses the org.slf4j module instead of adding its own slf4j*.jar's, the error doesn't occur.

testsuite changes that do the same are coming...
                
> using bundled-hibernate3 in AS7, hibernate logs are marked as ERROR, which should be INFO
> -----------------------------------------------------------------------------------------
>
>                 Key: AS7-1612
>                 URL: https://issues.jboss.org/browse/AS7-1612
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: JPA / Hibernate
>            Reporter: Strong Liu
>            Assignee: Scott Marlow
>
> 09:59:38,860 ERROR [stderr] (MSC service thread 1-3) 1994 [MSC service thread 1-3] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
> 09:59:38,861 ERROR [stderr] (MSC service thread 1-4) 1994 [MSC service thread 1-4] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured
> 09:59:38,867 ERROR [stderr] (MSC service thread 1-4) 2001 [MSC service thread 1-4] INFO org.hibernate.tool.hbm2ddl.SchemaExport - Running hbm2ddl schema export
> 09:59:38,874 ERROR [stderr] (MSC service thread 1-4) 2008 [MSC service thread 1-4] INFO org.hibernate.tool.hbm2ddl.SchemaExport - exporting generated schema to database
> 09:59:38,897 ERROR [stderr] (MSC service thread 1-3) 2031 [MSC service thread 1-3] INFO org.hibernate.tool.hbm2ddl.SchemaExport - Running hbm2ddl schema export
> 09:59:38,899 ERROR [stderr] (MSC service thread 1-3) 2032 [MSC service thread 1-3] INFO org.hibernate.tool.hbm2ddl.SchemaExport - exporting generated schema to database
> --------------------------
> all hibernate log are marked as ERROR, which should be INFO i think
> how to reproduce:
> sh build.sh clean install
> cd testsuite/compat
> mvn clean test -DallTests
> cd target/jbossas/standalone/log 
> see server.log

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list