I'm getting a ClassCastException when trying to initialize Hibernate 3.0.3 on JBoss 4.0.2. Has anyone else seen this behaviour?
Hibernate version:
3.0.3
Mapping documents:
<hibernate-configuration>
<session-factory name="java:/hibernate/HibernateFactory">
<property name="show_sql">true</property>
<property name="connection.datasource">java:/MySqlDS</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
<mapping resource="ami/server/dto/ArtistDTO.hbm.xml"/>
<mapping resource="ami/server/dto/AlbumDTO.hbm.xml"/>
<mapping resource="ami/server/dto/SongDTO.hbm.xml"/>
</session-factory>
</hibernate-configuration>
Code between sessionFactory.openSession() and session.close():
N/A
Full stack trace of any exception that occurs:
java.lang.ClassCastException: org.jboss.tm.TxManager
at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:268)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1055)
at ami.server.struts.AmiController.init(AmiController.java:25)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
at org.jboss.web.WebModule.startModule(WebModule.java:68)
at org.jboss.web.WebModule.startService(WebModule.java:46)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy26.start(Unknown Source)
at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:394)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:418)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
at org.jboss.Main.boot(Main.java:195)
at org.jboss.Main$1.run(Main.java:463)
at java.lang.Thread.run(Thread.java:595)
Name and version of the database you are using:
MySQL 4.0.1
The generated SQL (show_sql=true):
N/A
Debug level Hibernate log excerpt:
2005-05-23 07:54:35,677 INFO [org.hibernate.cfg.Environment] Hibernate 3.0.3
2005-05-23 07:54:35,687 INFO [org.hibernate.cfg.Environment] hibernate.properties not found
2005-05-23 07:54:35,687 INFO [org.hibernate.cfg.Environment] using CGLIB reflection optimizer
2005-05-23 07:54:35,687 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling
2005-05-23 07:54:35,767 INFO [org.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml
2005-05-23 07:54:35,767 INFO [org.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml
2005-05-23 07:54:35,817 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under org/hibernate/
2005-05-23 07:54:35,817 DEBUG [org.hibernate.util.DTDEntityResolver]
http://hibernate.sourceforge.net/hibern ... on-2.0.dtd not found in classpath
2005-05-23 07:54:36,187 DEBUG [org.hibernate.cfg.Configuration] show_sql=true
2005-05-23 07:54:36,187 DEBUG [org.hibernate.cfg.Configuration] connection.datasource=java:/MySqlDS
2005-05-23 07:54:36,187 DEBUG [org.hibernate.cfg.Configuration] dialect=org.hibernate.dialect.MySQLDialect
2005-05-23 07:54:36,187 DEBUG [org.hibernate.cfg.Configuration] transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
2005-05-23 07:54:36,187 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@b17e0a [Attribute: name resource value "ami/server/dto/ArtistDTO.hbm.xml"]
2005-05-23 07:54:36,187 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/ArtistDTO.hbm.xml
2005-05-23 07:54:36,197 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-05-23 07:54:36,197 DEBUG [org.hibernate.util.DTDEntityResolver] found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-05-23 07:54:36,297 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.ArtistDTO -> calliope_media.artists
2005-05-23 07:54:36,317 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> artist_id
2005-05-23 07:54:36,337 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> name
2005-05-23 07:54:36,337 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: searchName -> search_name
2005-05-23 07:54:36,337 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@117ee94 [Attribute: name resource value "ami/server/dto/AlbumDTO.hbm.xml"]
2005-05-23 07:54:36,337 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/AlbumDTO.hbm.xml
2005-05-23 07:54:36,347 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-05-23 07:54:36,347 DEBUG [org.hibernate.util.DTDEntityResolver] found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-05-23 07:54:36,357 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.AlbumDTO -> calliope_media.albums
2005-05-23 07:54:36,357 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-05-23 07:54:36,357 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: title -> title
2005-05-23 07:54:36,357 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: upc -> album_upc
2005-05-23 07:54:36,368 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: songs
2005-05-23 07:54:36,508 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: artist -> artist_id
2005-05-23 07:54:36,508 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@1ae2c6f [Attribute: name resource value "ami/server/dto/SongDTO.hbm.xml"]
2005-05-23 07:54:36,508 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/SongDTO.hbm.xml
2005-05-23 07:54:36,518 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-05-23 07:54:36,518 DEBUG [org.hibernate.util.DTDEntityResolver] found
http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-05-23 07:54:36,528 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.SongDTO -> calliope_media.songs
2005-05-23 07:54:36,528 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-05-23 07:54:36,528 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: title -> title
2005-05-23 07:54:36,528 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: trackNumber -> track_no
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: album -> album_id
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: artist -> artist_id
2005-05-23 07:54:36,538 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: java:/hibernate/HibernateFactory
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.Configuration] properties: {show_sql=true, java.vendor=Sun Microsystems Inc., catalina.base=C:\java\jboss-4.0.2\server\default, sun.management.compiler=HotSpot Client Compiler, connection.datasource=java:/MySqlDS, catalina.useNaming=false, os.name=Windows XP, sun.boot.class.path=C:/java/jboss-4.0.2/lib/endorsed\resolver.jar;C:/java/jboss-4.0.2/lib/endorsed\xalan.jar;C:/java/jboss-4.0.2/lib/endorsed\xercesImpl.jar;C:/java/jboss-4.0.2/lib/endorsed\xml-apis.jar;C:\java\jdk1.5.0_02\jre\lib\rt.jar;C:\java\jdk1.5.0_02\jre\lib\i18n.jar;C:\java\jdk1.5.0_02\jre\lib\sunrsasign.jar;C:\java\jdk1.5.0_02\jre\lib\jsse.jar;C:\java\jdk1.5.0_02\jre\lib\jce.jar;C:\java\jdk1.5.0_02\jre\lib\charsets.jar;C:\java\jdk1.5.0_02\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_02-b09, user.name=searl, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, tomcat.util.buf.StringCache.byte.enabled=true, hibernate.session_factory_name=java:/hibernate/HibernateFactory, jboss.home.dir=C:\java\jboss-4.0.2, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=C:\java\jdk1.5.0_02\jre\bin, dialect=org.hibernate.dialect.MySQLDialect, jboss.home.url=file:/C:/java/jboss-4.0.2/, java.version=1.5.0_02, user.timezone=America/New_York, jboss.server.home.dir=C:\java\jboss-4.0.2\server\default, sun.arch.data.model=32, java.endorsed.dirs=C:/java/jboss-4.0.2/lib/endorsed, jboss.server.home.url=file:/C:/java/jboss-4.0.2/server/default/, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, 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=49.0, jboss.server.config.url=file:/C:/java/jboss-4.0.2/server/default/conf/, user.country=US, java.home=C:\java\jdk1.5.0_02\jre, java.vm.info=mixed mode, jboss.lib.url=file:/C:/java/jboss-4.0.2/lib/, os.version=5.1, hibernate.connection.datasource=java:/MySqlDS, path.separator=;, java.vm.version=1.5.0_02-b09, user.variant=, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, jboss.server.temp.dir=C:\java\jboss-4.0.2\server\default\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, user.home=C:\Documents and Settings\searl, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., java.library.path=C:\java\jdk1.5.0_02\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.;C:\java\JBuilder2005\bin;C:\java\JBuilder2005\jdk1.4\bin;C:\java\j2sdk1.4.2_07\bin;C:\cygwin\bin;C:\java\apache-ant-1.6.2\bin;C:\MySQL40\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\GNU\WinCvs 1.3\CVSNT;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\java\JBuilder2005\debug\sa;C:\java\JBuilder2005\lib, java.vendor.url=http://java.sun.com/, program.name=run.bat, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=C:\java\jboss-4.0.2\bin\run.jar;C:\java\jdk1.5.0_02\lib\tools.jar, 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=C:\java\jboss-4.0.2\server\default, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, jboss.server.lib.url=file:/C:/java/jboss-4.0.2/server/default/lib/, java.rmi.server.codebase=http://searl-ins700m:8083/, java.io.tmpdir=C:\DOCUME~1\searl\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=C:\java\jboss-4.0.2\server\default\data, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\java\jdk1.5.0_02\jre\lib\ext, user.dir=C:\java\jboss-4.0.2\bin, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=C:\java\jboss-4.0.2\server, jboss.server.base.url=file:/C:/java/jboss-4.0.2/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=Cp1252, catalina.ext.dirs=C:\java\jboss-4.0.2\server\default\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.5, jboss.server.name=default, hibernate.show_sql=true}
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters : {}
2005-05-23 07:54:36,538 INFO [org.hibernate.cfg.Configuration] processing extends queue
2005-05-23 07:54:36,538 INFO [org.hibernate.cfg.Configuration] processing collection mappings
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.AlbumDTO.songs
2005-05-23 07:54:36,538 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.AlbumDTO.songs -> calliope_media.songs
2005-05-23 07:54:36,538 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: album_id, index: track_no, one-to-many: ami.server.dto.SongDTO
2005-05-23 07:54:36,538 INFO [org.hibernate.cfg.Configuration] processing association property references
2005-05-23 07:54:36,548 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
2005-05-23 07:54:36,548 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.ArtistDTO
2005-05-23 07:54:36,548 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.AlbumDTO
2005-05-23 07:54:36,548 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.ArtistDTO
2005-05-23 07:54:36,548 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-05-23 07:54:36,558 INFO [org.hibernate.connection.DatasourceConnectionProvider] Using datasource: java:/MySqlDS
2005-05-23 07:54:36,558 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: registering pool with interval 900000 old interval: 9223372036854775807
2005-05-23 07:54:36,558 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: about to notify thread: old next: 1116849726558, new next: 1116849726558
2005-05-23 07:54:36,558 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using properties: {user=ami, password=--hidden--}
2005-05-23 07:54:36,558 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Checking driver for URL: jdbc:mysql://192.168.6.162:3306/
2005-05-23 07:54:36,558 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:mysql://192.168.6.162:3306/
2005-05-23 07:54:36,568 DEBUG [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Driver already registered for url: jdbc:mysql://192.168.6.162:3306/
2005-05-23 07:54:36,788 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: MySQL, version: 4.0.23-standard
2005-05-23 07:54:36,788 INFO [org.hibernate.cfg.SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.8 ( $Date: 2005/04/14 20:36:13 $, $Revision: 1.27.4.64 $ )
2005-05-23 07:54:36,808 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
2005-05-23 07:54:36,818 INFO [org.hibernate.transaction.TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions)
2005-05-23 07:54:36,818 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2005-05-23 07:54:36,838 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled
2005-05-23 07:54:36,838 DEBUG [org.hibernate.cfg.SettingsFactory] Wrap result sets: disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): enabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: null
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Maximum outer join fetch depth: 2
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled
2005-05-23 07:54:36,838 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2005-05-23 07:54:36,848 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {}
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled
2005-05-23 07:54:36,848 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: enabled
2005-05-23 07:54:36,848 DEBUG [org.hibernate.exception.SQLExceptionConverterFactory] Using dialect defined converter
2005-05-23 07:54:36,858 INFO [org.hibernate.cfg.SettingsFactory] Echoing all SQL to stdout
2005-05-23 07:54:36,858 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled
2005-05-23 07:54:36,858 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled
2005-05-23 07:54:36,858 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo
2005-05-23 07:54:36,998 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory
2005-05-23 07:54:36,998 DEBUG [org.hibernate.impl.SessionFactoryImpl] Session factory constructed with filter configurations : {}
2005-05-23 07:54:36,998 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiating session factory with properties: {show_sql=true, java.vendor=Sun Microsystems Inc., catalina.base=C:\java\jboss-4.0.2\server\default, sun.management.compiler=HotSpot Client Compiler, connection.datasource=java:/MySqlDS, catalina.useNaming=false, os.name=Windows XP, sun.boot.class.path=C:/java/jboss-4.0.2/lib/endorsed\resolver.jar;C:/java/jboss-4.0.2/lib/endorsed\xalan.jar;C:/java/jboss-4.0.2/lib/endorsed\xercesImpl.jar;C:/java/jboss-4.0.2/lib/endorsed\xml-apis.jar;C:\java\jdk1.5.0_02\jre\lib\rt.jar;C:\java\jdk1.5.0_02\jre\lib\i18n.jar;C:\java\jdk1.5.0_02\jre\lib\sunrsasign.jar;C:\java\jdk1.5.0_02\jre\lib\jsse.jar;C:\java\jdk1.5.0_02\jre\lib\jce.jar;C:\java\jdk1.5.0_02\jre\lib\charsets.jar;C:\java\jdk1.5.0_02\jre\classes, sun.desktop=windows, java.vm.specification.vendor=Sun Microsystems Inc., java.runtime.version=1.5.0_02-b09, user.name=searl, shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar, jboss.bind.address=0.0.0.0, tomcat.util.buf.StringCache.byte.enabled=true, hibernate.session_factory_name=java:/hibernate/HibernateFactory, jboss.home.dir=C:\java\jboss-4.0.2, user.language=en, java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, sun.boot.library.path=C:\java\jdk1.5.0_02\jre\bin, dialect=org.hibernate.dialect.MySQLDialect, jboss.home.url=file:/C:/java/jboss-4.0.2/, java.version=1.5.0_02, user.timezone=America/New_York, jboss.server.home.dir=C:\java\jboss-4.0.2\server\default, sun.arch.data.model=32, java.endorsed.dirs=C:/java/jboss-4.0.2/lib/endorsed, jboss.server.home.url=file:/C:/java/jboss-4.0.2/server/default/, sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86, sun.jnu.encoding=Cp1252, 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=49.0, jboss.server.config.url=file:/C:/java/jboss-4.0.2/server/default/conf/, user.country=US, java.home=C:\java\jdk1.5.0_02\jre, java.vm.info=mixed mode, jboss.lib.url=file:/C:/java/jboss-4.0.2/lib/, os.version=5.1, hibernate.connection.datasource=java:/MySqlDS, path.separator=;, java.vm.version=1.5.0_02-b09, user.variant=, java.protocol.handler.pkgs=org.jboss.net.protocol, java.awt.printerjob=sun.awt.windows.WPrinterJob, sun.io.unicode.encoding=UnicodeLittle, awt.toolkit=sun.awt.windows.WToolkit, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper., transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, jboss.server.temp.dir=C:\java\jboss-4.0.2\server\default\tmp, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces, user.home=C:\Documents and Settings\searl, java.rmi.server.RMIClassLoaderSpi=org.jboss.system.JBossRMIClassLoader, java.specification.vendor=Sun Microsystems Inc., java.library.path=C:\java\jdk1.5.0_02\bin;.;C:\WINDOWS\system32;C:\WINDOWS;.;C:\java\JBuilder2005\bin;C:\java\JBuilder2005\jdk1.4\bin;C:\java\j2sdk1.4.2_07\bin;C:\cygwin\bin;C:\java\apache-ant-1.6.2\bin;C:\MySQL40\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\GNU\WinCvs 1.3\CVSNT;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\java\JBuilder2005\debug\sa;C:\java\JBuilder2005\lib, java.vendor.url=http://java.sun.com/, program.name=run.bat, java.vm.vendor=Sun Microsystems Inc., hibernate.dialect=org.hibernate.dialect.MySQLDialect, common.loader=${catalina.home}/common/classes,${catalina.home}/common/i18n/*.jar,${catalina.home}/common/endorsed/*.jar,${catalina.home}/common/lib/*.jar, java.runtime.name=Java(TM) 2 Runtime Environment, Standard Edition, java.class.path=C:\java\jboss-4.0.2\bin\run.jar;C:\java\jdk1.5.0_02\lib\tools.jar, 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=C:\java\jboss-4.0.2\server\default, sun.cpu.endian=little, sun.os.patch.level=Service Pack 2, jboss.server.lib.url=file:/C:/java/jboss-4.0.2/server/default/lib/, java.rmi.server.codebase=http://searl-ins700m:8083/, java.io.tmpdir=C:\DOCUME~1\searl\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=C:\java\jboss-4.0.2\server\default\data, os.arch=x86, java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment, java.ext.dirs=C:\java\jdk1.5.0_02\jre\lib\ext, user.dir=C:\java\jboss-4.0.2\bin, line.separator=
, java.vm.name=Java HotSpot(TM) Client VM, jboss.server.base.dir=C:\java\jboss-4.0.2\server, jboss.server.base.url=file:/C:/java/jboss-4.0.2/server/, javax.management.builder.initial=org.jboss.mx.server.MBeanServerBuilderImpl, file.encoding=Cp1252, catalina.ext.dirs=C:\java\jboss-4.0.2\server\default\lib, hibernate.transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup, java.specification.version=1.5, jboss.server.name=default, hibernate.show_sql=true}
2005-05-23 07:54:37,008 DEBUG [net.sf.ehcache.CacheManager] Creating new CacheManager with default config
2005-05-23 07:54:37,008 DEBUG [net.sf.ehcache.CacheManager] Configuring ehcache from classpath.
2005-05-23 07:54:37,008 WARN [net.sf.ehcache.config.Configurator] No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/java/jboss-4.0.2/server/default/tmp/deploy/tmp34656ami-exp.war/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
2005-05-23 07:54:37,018 DEBUG [net.sf.ehcache.config.Configuration$DiskStore] Disk Store Path: C:\DOCUME~1\searl\LOCALS~1\Temp\
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.ArtistDTO
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select artist_id from calliope_media.artists where artist_id =?
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select artistdto_.artist_id, artistdto_.name as name0_, artistdto_.search_name as search3_0_ from calliope_media.artists artistdto_ where artistdto_.artist_id=?
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope_media.artists (name, search_name, artist_id) values (?, ?, ?)
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope_media.artists set name=?, search_name=? where artist_id=?
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope_media.artists where artist_id=?
2005-05-23 07:54:37,339 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope_media.artists (name, search_name) values (?, ?)
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.AlbumDTO
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope_media.albums where id =?
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select albumdto_.id, albumdto_.title as title1_, albumdto_.album_upc as album3_1_, albumdto_.artist_id as artist4_1_ from calliope_media.albums albumdto_ where albumdto_.id=?
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope_media.albums (title, album_upc, artist_id, id) values (?, ?, ?, ?)
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope_media.albums set title=?, album_upc=?, artist_id=? where id=?
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope_media.albums where id=?
2005-05-23 07:54:37,369 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope_media.albums (title, album_upc, artist_id) values (?, ?, ?)
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.SongDTO
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope_media.songs where id =?
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select songdto_.id, songdto_.title as title2_, songdto_.track_no as track3_2_, songdto_.album_id as album4_2_, songdto_.artist_id as artist5_2_ from calliope_media.songs songdto_ where songdto_.id=?
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope_media.songs (title, track_no, album_id, artist_id, id) values (?, ?, ?, ?, ?)
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope_media.songs set title=?, track_no=?, album_id=?, artist_id=? where id=?
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope_media.songs where id=?
2005-05-23 07:54:37,389 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope_media.songs (title, track_no, album_id, artist_id) values (?, ?, ?, ?)
2005-05-23 07:54:37,399 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.AlbumDTO.songs
2005-05-23 07:54:37,399 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: update calliope_media.songs set album_id=?, track_no=? where id=?
2005-05-23 07:54:37,399 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: update calliope_media.songs set album_id=null, track_no=null where album_id=? and id=?
2005-05-23 07:54:37,399 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: update calliope_media.songs set album_id=null, track_no=null where album_id=?
2005-05-23 07:54:37,419 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.artist_id as artist1_0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope_media.artists artistdto0_ where artistdto0_.artist_id=?
2005-05-23 07:54:37,419 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.artist_id as artist1_0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope_media.artists artistdto0_ where artistdto0_.artist_id=?
2005-05-23 07:54:37,419 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.artist_id as artist1_0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope_media.artists artistdto0_ where artistdto0_.artist_id=? for update
2005-05-23 07:54:37,419 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.artist_id as artist1_0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope_media.artists artistdto0_ where artistdto0_.artist_id=? for update
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.AlbumDTO: select albumdto0_.id as id3_, albumdto0_.title as title1_3_, albumdto0_.album_upc as album3_1_3_, albumdto0_.artist_id as artist4_1_3_, songs1_.album_id as album4___, songs1_.id as id__, songs1_.track_no as track3___, songs1_.id as id0_, songs1_.title as title2_0_, songs1_.track_no as track3_2_0_, songs1_.album_id as album4_2_0_, songs1_.artist_id as artist5_2_0_, artistdto2_.artist_id as artist1_1_, artistdto2_.name as name0_1_, artistdto2_.search_name as search3_0_1_, artistdto3_.artist_id as artist1_2_, artistdto3_.name as name0_2_, artistdto3_.search_name as search3_0_2_ from calliope_media.albums albumdto0_ left outer join calliope_media.songs songs1_ on albumdto0_.id=songs1_.album_id left outer join calliope_media.artists artistdto2_ on songs1_.artist_id=artistdto2_.artist_id left outer join calliope_media.artists artistdto3_ on albumdto0_.artist_id=artistdto3_.artist_id where albumdto0_.id=?
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.AlbumDTO: select albumdto0_.id as id3_, albumdto0_.title as title1_3_, albumdto0_.album_upc as album3_1_3_, albumdto0_.artist_id as artist4_1_3_, songs1_.album_id as album4___, songs1_.id as id__, songs1_.track_no as track3___, songs1_.id as id0_, songs1_.title as title2_0_, songs1_.track_no as track3_2_0_, songs1_.album_id as album4_2_0_, songs1_.artist_id as artist5_2_0_, artistdto2_.artist_id as artist1_1_, artistdto2_.name as name0_1_, artistdto2_.search_name as search3_0_1_, artistdto3_.artist_id as artist1_2_, artistdto3_.name as name0_2_, artistdto3_.search_name as search3_0_2_ from calliope_media.albums albumdto0_ left outer join calliope_media.songs songs1_ on albumdto0_.id=songs1_.album_id left outer join calliope_media.artists artistdto2_ on songs1_.artist_id=artistdto2_.artist_id left outer join calliope_media.artists artistdto3_ on albumdto0_.artist_id=artistdto3_.artist_id where albumdto0_.id=?
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.AlbumDTO: select albumdto0_.id as id0_, albumdto0_.title as title1_0_, albumdto0_.album_upc as album3_1_0_, albumdto0_.artist_id as artist4_1_0_ from calliope_media.albums albumdto0_ where albumdto0_.id=? for update
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.AlbumDTO: select albumdto0_.id as id0_, albumdto0_.title as title1_0_, albumdto0_.album_upc as album3_1_0_, albumdto0_.artist_id as artist4_1_0_ from calliope_media.albums albumdto0_ where albumdto0_.id=? for update
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.SongDTO: select songdto0_.id as id3_, songdto0_.title as title2_3_, songdto0_.track_no as track3_2_3_, songdto0_.album_id as album4_2_3_, songdto0_.artist_id as artist5_2_3_, albumdto1_.id as id0_, albumdto1_.title as title1_0_, albumdto1_.album_upc as album3_1_0_, albumdto1_.artist_id as artist4_1_0_, artistdto2_.artist_id as artist1_1_, artistdto2_.name as name0_1_, artistdto2_.search_name as search3_0_1_, artistdto3_.artist_id as artist1_2_, artistdto3_.name as name0_2_, artistdto3_.search_name as search3_0_2_ from calliope_media.songs songdto0_ left outer join calliope_media.albums albumdto1_ on songdto0_.album_id=albumdto1_.id left outer join calliope_media.artists artistdto2_ on albumdto1_.artist_id=artistdto2_.artist_id left outer join calliope_media.artists artistdto3_ on songdto0_.artist_id=artistdto3_.artist_id where songdto0_.id=?
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.SongDTO: select songdto0_.id as id3_, songdto0_.title as title2_3_, songdto0_.track_no as track3_2_3_, songdto0_.album_id as album4_2_3_, songdto0_.artist_id as artist5_2_3_, albumdto1_.id as id0_, albumdto1_.title as title1_0_, albumdto1_.album_upc as album3_1_0_, albumdto1_.artist_id as artist4_1_0_, artistdto2_.artist_id as artist1_1_, artistdto2_.name as name0_1_, artistdto2_.search_name as search3_0_1_, artistdto3_.artist_id as artist1_2_, artistdto3_.name as name0_2_, artistdto3_.search_name as search3_0_2_ from calliope_media.songs songdto0_ left outer join calliope_media.albums albumdto1_ on songdto0_.album_id=albumdto1_.id left outer join calliope_media.artists artistdto2_ on albumdto1_.artist_id=artistdto2_.artist_id left outer join calliope_media.artists artistdto3_ on songdto0_.artist_id=artistdto3_.artist_id where songdto0_.id=?
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.SongDTO: select songdto0_.id as id0_, songdto0_.title as title2_0_, songdto0_.track_no as track3_2_0_, songdto0_.album_id as album4_2_0_, songdto0_.artist_id as artist5_2_0_ from calliope_media.songs songdto0_ where songdto0_.id=? for update
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.SongDTO: select songdto0_.id as id0_, songdto0_.title as title2_0_, songdto0_.track_no as track3_2_0_, songdto0_.album_id as album4_2_0_, songdto0_.artist_id as artist5_2_0_ from calliope_media.songs songdto0_ where songdto0_.id=? for update
2005-05-23 07:54:37,429 DEBUG [org.hibernate.loader.collection.OneToManyLoader] Static select for one-to-many ami.server.dto.AlbumDTO.songs: select songs0_.album_id as album4___, songs0_.id as id__, songs0_.track_no as track3___, songs0_.id as id1_, songs0_.title as title2_1_, songs0_.track_no as track3_2_1_, songs0_.album_id as album4_2_1_, songs0_.artist_id as artist5_2_1_, artistdto1_.artist_id as artist1_0_, artistdto1_.name as name0_0_, artistdto1_.search_name as search3_0_0_ from calliope_media.songs songs0_ left outer join calliope_media.artists artistdto1_ on songs0_.artist_id=artistdto1_.artist_id where songs0_.album_id=?
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] initializing class SessionFactoryObjectFactory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryObjectFactory] registered: 4028861f040967870104096789f50000 (java:/hibernate/HibernateFactory)
2005-05-23 07:54:37,439 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Factory name: java:/hibernate/HibernateFactory
2005-05-23 07:54:37,439 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] binding: java:/hibernate/HibernateFactory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryImpl] Returning a Reference to the SessionFactory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] lookup: java:
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] Found subcontext: java:
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] lookup: hibernate
2005-05-23 07:54:37,439 INFO [org.hibernate.util.NamingHelper] Creating subcontext: hibernate
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] binding: HibernateFactory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryImpl] Returning a Reference to the SessionFactory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.util.NamingHelper] Bound name: java:/hibernate/HibernateFactory
2005-05-23 07:54:37,439 INFO [org.hibernate.impl.SessionFactoryObjectFactory] Bound factory to JNDI name: java:/hibernate/HibernateFactory
2005-05-23 07:54:37,439 WARN [org.hibernate.impl.SessionFactoryObjectFactory] InitialContext did not implement EventContext
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryImpl] instantiated session factory
2005-05-23 07:54:37,439 DEBUG [org.hibernate.impl.SessionFactoryImpl] obtaining JTA TransactionManager
2005-05-23 07:54:37,439 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-05-23 07:54:37,459 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/ami]] StandardWrapper.Throwable
java.lang.ClassCastException: org.jboss.tm.TxManager
at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23)