0 Replies Latest reply on Sep 16, 2005 2:36 AM by Maitri Kundu

    Commit is not Working

    Maitri Kundu Newbie

      Hi,

      I am new in jboss.I am trying to save data in database through hibernate.I have faced this problem earlier but it's still now it's not fixed..Please help..and If possible,please give me one sample code.This is my log output.
      <Log OutPut>
      2005-09-16 11:41:03,796 INFO [org.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml
      2005-09-16 11:41:03,796 INFO [org.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath under org/hibernate/
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd in classpath
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] session_factory_name=java:comp/env/Hello
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.datasource=java:comp/env/Hello
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.driver_class=com.microsoft.jdbc.sqlserver.SQLServerDriver
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.url=jdbc:microsoft:sqlserver://192.168.16.5:1433
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.username=sa
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.password=sa
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.pool_size=10
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] show_sql=true
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] dialect=org.hibernate.dialect.SQLServerDialect
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hbm2ddl.auto=update
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.jndi.url=jnp://localhost:1099
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.jndi.class=org.jnp.interfaces.NamingContextFactory
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.cfg.Configuration] java:comp/env/Hello<-org.dom4j.tree.DefaultAttribute@7fbad7 [Attribute: name resource value "Tb_User.hbm.xml"]
      2005-09-16 11:41:03,812 INFO [org.hibernate.cfg.Configuration] Mapping resource: Tb_User.hbm.xml
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath under org/hibernate/
      2005-09-16 11:41:03,812 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd in classpath
      2005-09-16 11:41:03,828 INFO [org.hibernate.cfg.HbmBinder] Mapping class: Tb_User -> tb_user
      2005-09-16 11:41:03,828 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: user_name -> user_name
      2005-09-16 11:41:03,828 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: pwd -> pwd
      2005-09-16 11:41:03,828 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: java:comp/env/Hello
      2005-09-16 11:41:03,828 DEBUG [org.hibernate.cfg.Configuration] properties: {show_sql=true, java.vendor=Sun Microsystems Inc., jacorb.orb.log.verbosity=3, catalina.base=D:\jboss-3.2.7\server\all, hibernate.connection.url=jdbc:microsoft:sqlserver://192.168.16.5:1433, catalina.useNaming=false, hbm2ddl.auto=update, os.name=Windows 2000, sun.boot.class.path=D:\jboss-3.2.7\bin\\..\lib\endorsed\xercesImpl.jar;D:\jboss-3.2.7\bin\\..\lib\endorsed\xml-apis.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\i18n.jar;D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\classes, hibernate.jndi.class=org.jnp.interfaces.NamingContextFactory, sun.java2d.fontpath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.4.2_07-b05, jacorb.log.default.verbosity=2, hibernate.jndi.url=jnp://localhost:1099, hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider, user.name=Administrator, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, hibernate.session_factory_name=java:comp/env/Hello, jboss.home.dir=D:\jboss-3.2.7, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=D:\j2sdk1.4.2_07\jre\bin, dialect=org.hibernate.dialect.SQLServerDialect, jboss.home.url=file:/D:/jboss-3.2.7/, java.version=1.4.2_07, version=2.4.1, user.timezone=GMT+05:30, jboss.server.home.dir=D:\jboss-3.2.7\server\all, sun.arch.data.model=32, javax.rmi.CORBA.UtilClass=org.jboss.iiop.SunJDK14IsLocalBugFix, java.endorsed.dirs=D:\jboss-3.2.7\bin\\..\lib\endorsed, jboss.server.home.url=file:/D:/jboss-3.2.7/server/all/, sun.cpu.isalist=pentium i486 i386, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., file.separator=\, java.specification.name=Java Platform API Specification, hibernate.cglib.use_reflection_optimizer=true, java.class.version=48.0, jboss.server.config.url=file:/D:/jboss-3.2.7/server/all/conf/, user.country=US, java.home=D:\j2sdk1.4.2_07\jre, java.vm.info=mixed mode, jboss.lib.url=file:/D:/jboss-3.2.7/lib/, os.version=5.0, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.connection.datasource=java:comp/env/Hello, org.omg.CORBA.ORBSingletonClass=org.jboss.system.ORBSingleton, path.separator=;, java.vm.version=1.4.2_07-b05, hibernate.connection.password=sa, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, user.variant=, vendor-url=http://xml.apache.org/xalan-j, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, vendor=Apache Software Foundation, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=sa, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., jboss.server.temp.dir=D:\jboss-3.2.7\server\all\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, user.home=C:\Documents and Settings\Administrator, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl, hibernate.hbm2ddl.auto=update, java.library.path=D:\j2sdk1.4.2_07\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\j2sdk1.4.2_07\bin, java.vendor.url=http://java.sun.com/, program.name=run.bat, hibernate.connection.driver_class=com.microsoft.jdbc.sqlserver.SQLServerDriver, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.SQLServerDialect, common.loader=${catalina.home}/common/classes,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=D:\j2sdk1.4.2_07\lib\tools.jar;D:\jboss-3.2.7\bin\\run.jar, axis.EngineConfigFactory=org.jboss.net.axis.server.JMXEngineConfigurationFactory, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, catalina.home=D:\jboss-3.2.7\server\all, sun.os.patch.level=Service Pack 4, sun.cpu.endian=little, jboss.server.lib.url=file:/D:/jboss-3.2.7/server/all/lib/, hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider, java.rmi.server.codebase=http://sw5:8083/, java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, jboss.server.data.dir=D:\jboss-3.2.7\server\all\data, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=D:\j2sdk1.4.2_07\jre\lib\ext, user.dir=D:\jboss-3.2.7\bin, line.separator=
      , java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=D:\jboss-3.2.7\server, org.jboss.ORBSingletonDelegate=org.jacorb.orb.ORBSingleton, jacorb.log.loggerFactory=org.jboss.util.Log4jLoggerFactory, jboss.server.base.url=file:/D:/jboss-3.2.7/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, org.omg.CORBA.ORBClass=org.jacorb.orb.ORB, file.encoding=Cp1252, session_factory_name=java:comp/env/Hello, catalina.ext.dirs=D:\jboss-3.2.7\server\all\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.4, jboss.server.name=all, hibernate.show_sql=true, hibernate.connection.pool_size=10}
      2005-09-16 11:41:03,828 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters : {}
      2005-09-16 11:41:03,828 INFO [org.hibernate.cfg.Configuration] processing extends queue
      2005-09-16 11:41:03,843 INFO [org.hibernate.cfg.Configuration] processing collection mappings
      2005-09-16 11:41:03,843 INFO [org.hibernate.cfg.Configuration] processing association property references
      2005-09-16 11:41:03,843 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.connection.DriverManagerConnectionProvider
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.DriverManagerConnectionProvider] Hibernate connection pool size: 10
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.DriverManagerConnectionProvider] autocommit mode: false
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.DriverManagerConnectionProvider] using driver: com.microsoft.jdbc.sqlserver.SQLServerDriver at URL: jdbc:microsoft:sqlserver://192.168.16.5:1433
      2005-09-16 11:41:03,843 INFO [org.hibernate.connection.DriverManagerConnectionProvider] connection properties: {user=sa, password=sa}
      2005-09-16 11:41:03,843 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] total checked-out connections: 0
      2005-09-16 11:41:03,843 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] opening new JDBC connection
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] created connection to: jdbc:microsoft:sqlserver://192.168.16.5:1433, Isolation Level: 2
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.cfg.SettingsFactory] could not get database version from JDBC metadata
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: Microsoft SQL Server, version: Microsoft SQL Server 2000 - 8.00.194 (Intel X86)
      Aug 6 2000 00:57:48
      Copyright (c) 1988-2000 Microsoft Corporation
      Personal Edition on Windows NT 5.0 (Build 2195: Service Pack 4)

      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: SQLServer, version: 2.2.0040
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] returning connection to pool, pool size: 1
      2005-09-16 11:41:03,859 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect
      2005-09-16 11:41:03,859 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
      2005-09-16 11:41:03,859 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory}
      2005-09-16 11:41:03,859 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      2005-09-16 11:41:03,859 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      2005-09-16 11:41:03,859 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      2005-09-16 11:41:03,859 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.cfg.SettingsFactory] Wrap result sets: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: null
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      2005-09-16 11:41:03,859 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {}
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.exception.SQLExceptionConverterFactory] Using dialect defined converter
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Echoing all SQL to stdout
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      2005-09-16 11:41:03,859 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo
      2005-09-16 11:41:03,859 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.impl.SessionFactoryImpl] Session factory constructed with filter configurations : {}
      2005-09-16 11:41:03,859 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiating session factory with properties: {show_sql=true, java.vendor=Sun Microsystems Inc., jacorb.orb.log.verbosity=3, catalina.base=D:\jboss-3.2.7\server\all, hibernate.connection.url=jdbc:microsoft:sqlserver://192.168.16.5:1433, catalina.useNaming=false, hbm2ddl.auto=update, os.name=Windows 2000, sun.boot.class.path=D:\jboss-3.2.7\bin\\..\lib\endorsed\xercesImpl.jar;D:\jboss-3.2.7\bin\\..\lib\endorsed\xml-apis.jar;D:\j2sdk1.4.2_07\jre\lib\rt.jar;D:\j2sdk1.4.2_07\jre\lib\i18n.jar;D:\j2sdk1.4.2_07\jre\lib\sunrsasign.jar;D:\j2sdk1.4.2_07\jre\lib\jsse.jar;D:\j2sdk1.4.2_07\jre\lib\jce.jar;D:\j2sdk1.4.2_07\jre\lib\charsets.jar;D:\j2sdk1.4.2_07\jre\classes, hibernate.jndi.class=org.jnp.interfaces.NamingContextFactory, sun.java2d.fontpath=, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.4.2_07-b05, jacorb.log.default.verbosity=2, hibernate.jndi.url=jnp://localhost:1099, hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider, user.name=Administrator, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, hibernate.session_factory_name=java:comp/env/Hello, jboss.home.dir=D:\jboss-3.2.7, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=D:\j2sdk1.4.2_07\jre\bin, dialect=org.hibernate.dialect.SQLServerDialect, jboss.home.url=file:/D:/jboss-3.2.7/, java.version=1.4.2_07, version=2.4.1, user.timezone=GMT+05:30, jboss.server.home.dir=D:\jboss-3.2.7\server\all, sun.arch.data.model=32, javax.rmi.CORBA.UtilClass=org.jboss.iiop.SunJDK14IsLocalBugFix, java.endorsed.dirs=D:\jboss-3.2.7\bin\\..\lib\endorsed, jboss.server.home.url=file:/D:/jboss-3.2.7/server/all/, sun.cpu.isalist=pentium i486 i386, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans., file.separator=\, java.specification.name=Java Platform API Specification, hibernate.cglib.use_reflection_optimizer=true, java.class.version=48.0, jboss.server.config.url=file:/D:/jboss-3.2.7/server/all/conf/, user.country=US, java.home=D:\j2sdk1.4.2_07\jre, java.vm.info=mixed mode, jboss.lib.url=file:/D:/jboss-3.2.7/lib/, os.version=5.0, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.connection.datasource=java:comp/env/Hello, org.omg.CORBA.ORBSingletonClass=org.jboss.system.ORBSingleton, path.separator=;, java.vm.version=1.4.2_07-b05, hibernate.connection.password=sa, java.util.prefs.PreferencesFactory=java.util.prefs.WindowsPreferencesFactory, user.variant=, vendor-url=http://xml.apache.org/xalan-j, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, vendor=Apache Software Foundation, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, hibernate.connection.username=sa, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., jboss.server.temp.dir=D:\jboss-3.2.7\server\all\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, user.home=C:\Documents and Settings\Administrator, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., org.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl, hibernate.hbm2ddl.auto=update, java.library.path=D:\j2sdk1.4.2_07\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\j2sdk1.4.2_07\bin, java.vendor.url=http://java.sun.com/, program.name=run.bat, hibernate.connection.driver_class=com.microsoft.jdbc.sqlserver.SQLServerDriver, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.SQLServerDialect, common.loader=${catalina.home}/common/classes,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=D:\j2sdk1.4.2_07\lib\tools.jar;D:\jboss-3.2.7\bin\\run.jar, axis.EngineConfigFactory=org.jboss.net.axis.server.JMXEngineConfigurationFactory, jbossmx.loader.repository.class=org.jboss.mx.loading.UnifiedLoaderRepository3, java.vm.specification.name=Java Virtual Machine Specification, java.vm.specification.version=1.0, catalina.home=D:\jboss-3.2.7\server\all, sun.os.patch.level=Service Pack 4, sun.cpu.endian=little, jboss.server.lib.url=file:/D:/jboss-3.2.7/server/all/lib/, hibernate.connection.provider_class=org.hibernate.connection.DriverManagerConnectionProvider, java.rmi.server.codebase=http://sw5:8083/, java.io.tmpdir=C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\, java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi, server.loader=${catalina.home}/server/classes,${catalina.home}/server/lib/*.jar, jboss.server.data.dir=D:\jboss-3.2.7\server\all\data, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=D:\j2sdk1.4.2_07\jre\lib\ext, user.dir=D:\jboss-3.2.7\bin, line.separator=
      , java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=D:\jboss-3.2.7\server, org.jboss.ORBSingletonDelegate=org.jacorb.orb.ORBSingleton, jacorb.log.loggerFactory=org.jboss.util.Log4jLoggerFactory, jboss.server.base.url=file:/D:/jboss-3.2.7/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, org.omg.CORBA.ORBClass=org.jacorb.orb.ORB, file.encoding=Cp1252, session_factory_name=java:comp/env/Hello, catalina.ext.dirs=D:\jboss-3.2.7\server\all\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.4, jboss.server.name=all, hibernate.show_sql=true, hibernate.connection.pool_size=10}
      2005-09-16 11:41:03,875 DEBUG [net.sf.ehcache.CacheManager] Attempting to create an existing instance. Existing instance returned.
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: Tb_User
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select user_name from tb_user where user_name =?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select tb_user_.user_name, tb_user_.pwd as pwd1_ from tb_user tb_user_ where tb_user_.user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into tb_user (pwd, user_name) values (?, ?)
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update tb_user set pwd=? where user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from tb_user where user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity Tb_User: select tb_user0_.user_name as user1_0_, tb_user0_.pwd as pwd1_0_ from tb_user tb_user0_ where tb_user0_.user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity Tb_User: select tb_user0_.user_name as user1_0_, tb_user0_.pwd as pwd1_0_ from tb_user tb_user0_ where tb_user0_.user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity Tb_User: select tb_user0_.user_name as user1_0_, tb_user0_.pwd as pwd1_0_ from tb_user tb_user0_ where tb_user0_.user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity Tb_User: select tb_user0_.user_name as user1_0_, tb_user0_.pwd as pwd1_0_ from tb_user tb_user0_ where tb_user0_.user_name=?
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] registered: 40289085065d7d4b01065d8eb0430001 (java:comp/env/Hello)
      2005-09-16 11:41:03,875 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Factory name: java:comp/env/Hello
      2005-09-16 11:41:03,875 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory}
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.util.NamingHelper] binding: java:comp/env/Hello
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.impl.SessionFactoryImpl] Returning a Reference to the SessionFactory
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.util.NamingHelper] Bound name: java:comp/env/Hello
      2005-09-16 11:41:03,875 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: java:comp/env/Hello
      2005-09-16 11:41:03,875 WARN [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiated session factory
      2005-09-16 11:41:03,875 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.ConnectionProviderFactory] Initializing connection provider: org.hibernate.connection.DriverManagerConnectionProvider
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!)
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.DriverManagerConnectionProvider] Hibernate connection pool size: 10
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.DriverManagerConnectionProvider] autocommit mode: false
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.DriverManagerConnectionProvider] using driver: com.microsoft.jdbc.sqlserver.SQLServerDriver at URL: jdbc:microsoft:sqlserver://192.168.16.5:1433
      2005-09-16 11:41:03,875 INFO [org.hibernate.connection.DriverManagerConnectionProvider] connection properties: {user=sa, password=sa}
      2005-09-16 11:41:03,875 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] Running hbm2ddl schema update
      2005-09-16 11:41:03,875 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] fetching database metadata
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] total checked-out connections: 0
      2005-09-16 11:41:03,875 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] opening new JDBC connection
      2005-09-16 11:41:03,890 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] created connection to: jdbc:microsoft:sqlserver://192.168.16.5:1433, Isolation Level: 2
      2005-09-16 11:41:03,890 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] updating schema
      2005-09-16 11:41:03,890 INFO [org.hibernate.cfg.Configuration] processing extends queue
      2005-09-16 11:41:03,890 INFO [org.hibernate.cfg.Configuration] processing collection mappings
      2005-09-16 11:41:03,890 INFO [org.hibernate.cfg.Configuration] processing association property references
      2005-09-16 11:41:03,890 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
      2005-09-16 11:41:03,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] table found: master.dbo.tb_user
      2005-09-16 11:41:03,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] columns: [user_name, pwd]
      2005-09-16 11:41:03,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] foreign keys: []
      2005-09-16 11:41:03,937 INFO [org.hibernate.tool.hbm2ddl.TableMetadata] indexes: [pk__tb_user__477c86e9]
      2005-09-16 11:41:03,937 INFO [org.hibernate.tool.hbm2ddl.SchemaUpdate] schema update complete
      2005-09-16 11:41:03,937 INFO [org.hibernate.connection.DriverManagerConnectionProvider] cleaning up connection pool: jdbc:microsoft:sqlserver://192.168.16.5:1433
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.impl.SessionFactoryImpl] obtaining JTA TransactionManager
      2005-09-16 11:41:03,937 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{java.naming.provider.url=jnp://localhost:1099, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory}
      2005-09-16 11:41:03,937 INFO [org.hibernate.impl.SessionFactoryImpl] Checking 0 named queries
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] JNDI lookup: env/Hello
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] lookup: uid=40289085065d7d4b01065d8eb0430001
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.impl.SessionImpl] opened session at timestamp: 4615581957885952
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.transaction.JTATransaction] begin
      2005-09-16 11:41:03,937 DEBUG [org.hibernate.transaction.JTATransaction] Looking for UserTransaction under: UserTransaction
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.transaction.JTATransaction] Obtained UserTransaction
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.jdbc.JDBCContext] successfully registered Synchronization
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.DefaultSaveOrUpdateEventListener] saving transient instance
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] generated identifier: mn, using strategy: org.hibernate.id.Assigned
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractSaveEventListener] saving [Tb_User#mn]
      2005-09-16 11:41:03,953 INFO [STDOUT] After session.save
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.transaction.JTATransaction] commit
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.impl.SessionImpl] automatically flushing session
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] flushing session
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] processing flush-time cascades
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] dirty checking collections
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushing entities and processing referenced collections
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Processing unreferenced collections
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Scheduling collection removes/(re)creates/updates
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 1 insertions, 0 updates, 0 deletions to 1 objects
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] Flushed: 0 (re)creations, 0 updates, 0 removals to 0 collections
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.pretty.Printer] listing entities:
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.pretty.Printer] Tb_User{user_name=mn, pwd=bh}
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.event.def.AbstractFlushingEventListener] executing flush
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Inserting entity: [Tb_User#mn]
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] total checked-out connections: 0
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.connection.DriverManagerConnectionProvider] using pooled JDBC connection, pool size: 0
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.SQL] insert into tb_user (pwd, user_name) values (?, ?)
      2005-09-16 11:41:03,953 INFO [STDOUT] Hibernate: insert into tb_user (pwd, user_name) values (?, ?)
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.jdbc.AbstractBatcher] preparing statement
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Dehydrating entity: [Tb_User#mn]
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.type.StringType] binding 'bh' to parameter: 1
      2005-09-16 11:41:03,953 DEBUG [org.hibernate.type.StringType] binding 'mn' to parameter: 2
      2005-09-16 11:41:07,593 INFO [org.hibernate.connection.DriverManagerConnectionProvider] cleaning up connection pool: jdbc:microsoft:sqlserver://192.168.16.5:1433
      2005-09-16 11:42:59,578 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 150000
      2005-09-16 11:44:09,937 DEBUG [org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService] It's for me: javax.management.MBeanServerNotification: notificationType=JMX.mbean.registered source=JMImplementation:type=MBeanServerDelegate seq-no=558 time=1126851249937 message=null objectName=jboss.web:type=RequestProcessor,worker=http-0.0.0.0-8080,name=HttpRequest1 userData=null, handback:2147483647
      2005-09-16 11:45:29,578 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 150000
      2005-09-16 11:46:03,796 WARN [org.jboss.tm.TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=sw5//17, BranchQual=] timed out. status=STATUS_ACTIVE
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 150000
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}
      2005-09-16 11:47:59,578 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=sa, password=--hidden--}