-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: ClassCastException when initing Hibernate in JBoss 4.0.2
PostPosted: Thu Jun 02, 2005 11:17 am 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

I'm getting a ClassCastException thrown when attempting to initialize Hibernate 3.0.5 on JBoss 4.0.2 - Default config / JDK 1.5. Can anyone point me to what could be causing this exception? I've debugged through the code and don't see why a CCE is being thrown at all. This code is working in Hibernate 3.0.5 on JBoss 3.2.6 / JDK 1.4.2.

Hibernate version:
3.0.5

Mapping documents:
<hibernate.cfg.xml>
<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.factory_class">org.hibernate.transaction.JTATransactionFactory</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"/>
<mapping resource="ami/server/dto/GenreDTO.hbm.xml"/>
<mapping resource="ami/server/dto/UserDTO.hbm.xml"/>
<mapping resource="ami/server/dto/RoleDTO.hbm.xml"/>
<mapping resource="ami/server/dto/SongListDTO.hbm.xml"/>
</session-factory>
</hibernate-configuration>

Code between sessionFactory.openSession() and session.close():
try {
sf = HibernateUtil.getSessionFactory();
s = sf.openSession();
metaData = s.connection().getMetaData();

log.info("********** Database Server **********");
log.info(metaData.getDatabaseProductName());
log.info(metaData.getDatabaseProductVersion());
log.info("*************************************");
log.info("");
log.info("********** Database Client **********");
log.info(metaData.getDriverName());
log.info(metaData.getDriverVersion());
log.info("*************************************");
}
catch (Exception e) {
log.error(e);
}
finally {
try { s.close(); } catch (Exception e) {}
}

Full stack trace of any exception that occurs:
11:12:32,771 ERROR [HibernateUtil] Building SessionFactory failed.
java.lang.ClassCastException: org.jboss.tm.TxManager
at org.hibernate.transaction.JNDITransactionManagerLookup.getTransactionManager(JNDITransactionManagerLookup.java:23)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:270)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1005)
at ami.server.dao.hibernate.HibernateUtil.<clinit>(HibernateUtil.java:34)
at ami.server.struts.AmiController.init(AmiController.java:38)
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 $Proxy28.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.start(MainDeployer.java:956)
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 5.0.4

The generated SQL (show_sql=true):
N/A

Debug level Hibernate log excerpt:
2005-06-02 11:12:30,808 INFO [org.hibernate.cfg.Environment] Hibernate 3.0.5
2005-06-02 11:12:30,808 INFO [org.hibernate.cfg.Environment] hibernate.properties not found
2005-06-02 11:12:30,808 INFO [org.hibernate.cfg.Environment] using CGLIB reflection optimizer
2005-06-02 11:12:30,808 INFO [org.hibernate.cfg.Environment] using JDK 1.4 java.sql.Timestamp handling
2005-06-02 11:12:30,918 INFO [org.hibernate.cfg.Configuration] configuring from resource: /hibernate.cfg.xml
2005-06-02 11:12:30,918 INFO [org.hibernate.cfg.Configuration] Configuration resource: /hibernate.cfg.xml
2005-06-02 11:12:30,969 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... on-2.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:30,969 DEBUG [org.hibernate.util.DTDEntityResolver] http://hibernate.sourceforge.net/hibern ... on-2.0.dtd not found in classpath
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] show_sql=true
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] connection.datasource=java:/MySqlDS
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] dialect=org.hibernate.dialect.MySQLDialect
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] transaction.manager_lookup_class=org.hibernate.transaction.JBossTransactionManagerLookup
2005-06-02 11:12:31,209 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@def14f [Attribute: name resource value "ami/server/dto/ArtistDTO.hbm.xml"]
2005-06-02 11:12:31,209 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/ArtistDTO.hbm.xml
2005-06-02 11:12:31,219 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,219 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,309 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.ArtistDTO -> calliope.artists
2005-06-02 11:12:31,329 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,349 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> name
2005-06-02 11:12:31,349 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: searchName -> search_name
2005-06-02 11:12:31,349 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@1540a77 [Attribute: name resource value "ami/server/dto/AlbumDTO.hbm.xml"]
2005-06-02 11:12:31,349 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/AlbumDTO.hbm.xml
2005-06-02 11:12:31,349 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,349 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,359 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.AlbumDTO -> calliope.albums
2005-06-02 11:12:31,359 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,359 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: title -> title
2005-06-02 11:12:31,359 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: upc -> upc
2005-06-02 11:12:31,359 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: songs
2005-06-02 11:12:31,449 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: artist -> artist_id
2005-06-02 11:12:31,449 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.AlbumDTO.genres -> calliope.albums_genres
2005-06-02 11:12:31,449 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: genres
2005-06-02 11:12:31,449 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@14b9b80 [Attribute: name resource value "ami/server/dto/SongDTO.hbm.xml"]
2005-06-02 11:12:31,449 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/SongDTO.hbm.xml
2005-06-02 11:12:31,459 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,459 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,459 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.SongDTO -> calliope.songs
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: title -> title
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: trackNumber -> track_no
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: album -> album_id
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: artist -> artist_id
2005-06-02 11:12:31,469 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.SongDTO.genres -> calliope.songs_genres
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: genres
2005-06-02 11:12:31,469 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@ce2db0 [Attribute: name resource value "ami/server/dto/GenreDTO.hbm.xml"]
2005-06-02 11:12:31,469 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/GenreDTO.hbm.xml
2005-06-02 11:12:31,469 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,469 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,489 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.GenreDTO -> calliope.genres
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> name
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: imageFileUrl -> image_file_url
2005-06-02 11:12:31,489 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.GenreDTO.albums -> calliope.albums_genres
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: albums
2005-06-02 11:12:31,489 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.GenreDTO.songs -> calliope.songs_genres
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: songs
2005-06-02 11:12:31,489 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@34b350 [Attribute: name resource value "ami/server/dto/UserDTO.hbm.xml"]
2005-06-02 11:12:31,489 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/UserDTO.hbm.xml
2005-06-02 11:12:31,489 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,489 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,499 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.UserDTO -> calliope.users
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: username -> username
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: password -> password
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: lastLoginDate -> last_login_date
2005-06-02 11:12:31,509 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.UserDTO.roles -> calliope.users_roles
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: roles
2005-06-02 11:12:31,509 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@19bf795 [Attribute: name resource value "ami/server/dto/RoleDTO.hbm.xml"]
2005-06-02 11:12:31,509 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/RoleDTO.hbm.xml
2005-06-02 11:12:31,519 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,519 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,519 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.RoleDTO -> calliope.roles
2005-06-02 11:12:31,519 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,519 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> name
2005-06-02 11:12:31,519 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2005-06-02 11:12:31,519 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.RoleDTO.users -> calliope.users_roles
2005-06-02 11:12:31,519 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: users
2005-06-02 11:12:31,519 DEBUG [org.hibernate.cfg.Configuration] java:/hibernate/HibernateFactory<-org.dom4j.tree.DefaultAttribute@128ed5f [Attribute: name resource value "ami/server/dto/SongListDTO.hbm.xml"]
2005-06-02 11:12:31,519 INFO [org.hibernate.cfg.Configuration] Mapping resource: ami/server/dto/SongListDTO.hbm.xml
2005-06-02 11:12:31,519 DEBUG [org.hibernate.util.DTDEntityResolver] trying to locate http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath under org/hibernate/
2005-06-02 11:12:31,519 DEBUG [org.hibernate.util.DTDEntityResolver] found http://hibernate.sourceforge.net/hibern ... ng-3.0.dtd in classpath
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.HbmBinder] Mapping class: ami.server.dto.SongListDTO -> calliope.songlists
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: id -> id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: name -> name
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: description -> description
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: imageFileUrl -> image_file_url
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.SongListDTO.songs -> calliope.songlists_songs
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped property: songs
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.Configuration] Configured SessionFactory: java:/hibernate/HibernateFactory
2005-06-02 11:12:31,529 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, transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, 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-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.Configuration] Preparing to build session factory with filters : {}
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.Configuration] processing extends queue
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.Configuration] processing collection mappings
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.AlbumDTO.songs
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.HbmBinder] Mapping collection: ami.server.dto.AlbumDTO.songs -> calliope.songs
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: album_id, one-to-many: ami.server.dto.SongDTO
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.AlbumDTO.genres
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: album_id, element: genre_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.SongDTO.genres
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: song_id, element: genre_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.GenreDTO.albums
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: genre_id, element: album_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.GenreDTO.songs
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: genre_id, element: song_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.UserDTO.roles
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: user_id, element: role_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.RoleDTO.users
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: role_id, element: user_id
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Second pass for collection: ami.server.dto.SongListDTO.songs
2005-06-02 11:12:31,529 DEBUG [org.hibernate.cfg.HbmBinder] Mapped collection key: songlist_id, element: song_id
2005-06-02 11:12:31,529 INFO [org.hibernate.cfg.Configuration] processing association property references
2005-06-02 11:12:31,539 INFO [org.hibernate.cfg.Configuration] processing foreign key constraints
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.ArtistDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.AlbumDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.GenreDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.SongDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.SongListDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.AlbumDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.ArtistDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.GenreDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.AlbumDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.SongDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.RoleDTO
2005-06-02 11:12:31,539 DEBUG [org.hibernate.cfg.Configuration] resolving reference to class: ami.server.dto.UserDTO
2005-06-02 11:12:31,549 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-06-02 11:12:31,549 INFO [org.hibernate.connection.DatasourceConnectionProvider] Using datasource: java:/MySqlDS
2005-06-02 11:12:31,549 INFO [org.hibernate.cfg.SettingsFactory] RDBMS: MySQL, version: 5.0.4-beta-nt
2005-06-02 11:12:31,549 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-06-02 11:12:31,579 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
2005-06-02 11:12:31,579 INFO [org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory
2005-06-02 11:12:31,579 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext properties:{}
2005-06-02 11:12:31,589 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2005-06-02 11:12:31,589 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
2005-06-02 11:12:31,589 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
2005-06-02 11:12:31,589 INFO [org.hibernate.transaction.TransactionManagerLookupFactory] instantiated TransactionManagerLookup
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] Automatic flush during beforeCompletion(): disabled
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] Automatic session close at end of transaction: disabled
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch size: 15
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] JDBC batch updates for versioned data: disabled
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] Scrollable result sets: enabled
2005-06-02 11:12:31,589 DEBUG [org.hibernate.cfg.SettingsFactory] Wrap result sets: disabled
2005-06-02 11:12:31,589 INFO [org.hibernate.cfg.SettingsFactory] JDBC3 getGeneratedKeys(): enabled
2005-06-02 11:12:31,599 INFO [org.hibernate.cfg.SettingsFactory] Connection release mode: null
2005-06-02 11:12:31,609 INFO [org.hibernate.cfg.SettingsFactory] Maximum outer join fetch depth: 2
2005-06-02 11:12:31,609 INFO [org.hibernate.cfg.SettingsFactory] Default batch fetch size: 1
2005-06-02 11:12:31,609 INFO [org.hibernate.cfg.SettingsFactory] Generate SQL with comments: disabled
2005-06-02 11:12:31,609 INFO [org.hibernate.cfg.SettingsFactory] Order SQL updates by primary key: disabled
2005-06-02 11:12:31,609 INFO [org.hibernate.cfg.SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2005-06-02 11:12:31,619 INFO [org.hibernate.hql.ast.ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
2005-06-02 11:12:31,619 INFO [org.hibernate.cfg.SettingsFactory] Query language substitutions: {}
2005-06-02 11:12:31,619 INFO [org.hibernate.cfg.SettingsFactory] Second-level cache: enabled
2005-06-02 11:12:31,619 INFO [org.hibernate.cfg.SettingsFactory] Query cache: disabled
2005-06-02 11:12:31,619 INFO [org.hibernate.cfg.SettingsFactory] Cache provider: org.hibernate.cache.EhCacheProvider
2005-06-02 11:12:31,990 INFO [org.hibernate.cfg.SettingsFactory] Optimize cache for minimal puts: disabled
2005-06-02 11:12:31,990 INFO [org.hibernate.cfg.SettingsFactory] Structured second-level cache entries: disabled
2005-06-02 11:12:31,990 DEBUG [org.hibernate.exception.SQLExceptionConverterFactory] Using dialect defined converter
2005-06-02 11:12:32,010 INFO [org.hibernate.cfg.SettingsFactory] Echoing all SQL to stdout
2005-06-02 11:12:32,010 INFO [org.hibernate.cfg.SettingsFactory] Statistics: disabled
2005-06-02 11:12:32,010 INFO [org.hibernate.cfg.SettingsFactory] Deleted entity synthetic identifier rollback: disabled
2005-06-02 11:12:32,020 INFO [org.hibernate.cfg.SettingsFactory] Default entity-mode: pojo
2005-06-02 11:12:32,160 INFO [org.hibernate.impl.SessionFactoryImpl] building session factory
2005-06-02 11:12:32,160 DEBUG [org.hibernate.impl.SessionFactoryImpl] Session factory constructed with filter configurations : {}
2005-06-02 11:12:32,160 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, transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory, 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-06-02 11:12:32,160 DEBUG [net.sf.ehcache.CacheManager] Creating new CacheManager with default config
2005-06-02 11:12:32,170 DEBUG [net.sf.ehcache.CacheManager] Configuring ehcache from classpath.
2005-06-02 11:12:32,170 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/tmp58524ami-server.ear-contents/ami-webadmin-exp.war/WEB-INF/lib/ehcache-1.1.jar!/ehcache-failsafe.xml
2005-06-02 11:12:32,180 DEBUG [net.sf.ehcache.config.Configuration$DiskStore] Disk Store Path: C:\DOCUME~1\searl\LOCALS~1\Temp\
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.UserDTO
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.users where id =?
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select userdto_.id, userdto_.username as username6_, userdto_.password as password6_, userdto_.last_login_date as last4_6_ from calliope.users userdto_ where userdto_.id=?
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.users (username, password, last_login_date, id) values (?, ?, ?, ?)
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.users set username=?, password=?, last_login_date=? where id=?
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.users where id=?
2005-06-02 11:12:32,521 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.users (username, password, last_login_date) values (?, ?, ?)
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.ArtistDTO
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.artists where id =?
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select artistdto_.id, artistdto_.name as name0_, artistdto_.search_name as search3_0_ from calliope.artists artistdto_ where artistdto_.id=?
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.artists (name, search_name, id) values (?, ?, ?)
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.artists set name=?, search_name=? where id=?
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.artists where id=?
2005-06-02 11:12:32,551 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.artists (name, search_name) values (?, ?)
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.SongListDTO
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.songlists where id =?
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select songlistdt_.id, songlistdt_.name as name9_, songlistdt_.description as descript3_9_, songlistdt_.image_file_url as image4_9_ from calliope.songlists songlistdt_ where songlistdt_.id=?
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.songlists (name, description, image_file_url, id) values (?, ?, ?, ?)
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.songlists set name=?, description=?, image_file_url=? where id=?
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.songlists where id=?
2005-06-02 11:12:32,571 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.songlists (name, description, image_file_url) values (?, ?, ?)
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.GenreDTO
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.genres where id =?
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select genredto_.id, genredto_.name as name5_, genredto_.description as descript3_5_, genredto_.image_file_url as image4_5_ from calliope.genres genredto_ where genredto_.id=?
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.genres (name, description, image_file_url, id) values (?, ?, ?, ?)
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.genres set name=?, description=?, image_file_url=? where id=?
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.genres where id=?
2005-06-02 11:12:32,601 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.genres (name, description, image_file_url) values (?, ?, ?)
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.AlbumDTO
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.albums where id =?
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select albumdto_.id, albumdto_.title as title1_, albumdto_.upc as upc1_, albumdto_.artist_id as artist4_1_ from calliope.albums albumdto_ where albumdto_.id=?
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.albums (title, upc, artist_id, id) values (?, ?, ?, ?)
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.albums set title=?, upc=?, artist_id=? where id=?
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.albums where id=?
2005-06-02 11:12:32,631 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.albums (title, upc, artist_id) values (?, ?, ?)
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.RoleDTO
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.roles where id =?
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select roledto_.id, roledto_.name as name8_, roledto_.description as descript3_8_ from calliope.roles roledto_ where roledto_.id=?
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.roles (name, description, id) values (?, ?, ?)
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.roles set name=?, description=? where id=?
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.roles where id=?
2005-06-02 11:12:32,641 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.roles (name, description) values (?, ?)
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Static SQL for entity: ami.server.dto.SongDTO
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Version select: select id from calliope.songs where id =?
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Snapshot select: select songdto_.id, songdto_.title as title3_, songdto_.track_no as track3_3_, songdto_.album_id as album4_3_, songdto_.artist_id as artist5_3_ from calliope.songs songdto_ where songdto_.id=?
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Insert 0: insert into calliope.songs (title, track_no, album_id, artist_id, id) values (?, ?, ?, ?, ?)
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Update 0: update calliope.songs set title=?, track_no=?, album_id=?, artist_id=? where id=?
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Delete 0: delete from calliope.songs where id=?
2005-06-02 11:12:32,691 DEBUG [org.hibernate.persister.entity.BasicEntityPersister] Identity insert: insert into calliope.songs (title, track_no, album_id, artist_id) values (?, ?, ?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.SongListDTO.songs
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.songlists_songs (songlist_id, song_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.songlists_songs set song_id=? where songlist_id=? and song_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.songlists_songs where songlist_id=? and song_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.songlists_songs where songlist_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.UserDTO.roles
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.users_roles (user_id, role_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.users_roles set role_id=? where user_id=? and role_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.users_roles where user_id=? and role_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.users_roles where user_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.AlbumDTO.genres
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.albums_genres (album_id, genre_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.albums_genres set genre_id=? where album_id=? and genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.albums_genres where album_id=? and genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.albums_genres where album_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.GenreDTO.albums
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.albums_genres (genre_id, album_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.albums_genres set album_id=? where genre_id=? and album_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.albums_genres where genre_id=? and album_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.albums_genres where genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.SongDTO.genres
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.songs_genres (song_id, genre_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.songs_genres set genre_id=? where song_id=? and genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.songs_genres where song_id=? and genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.songs_genres where song_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.AlbumDTO.songs
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: update calliope.songs set album_id=? where id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: update calliope.songs set album_id=null where album_id=? and id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: update calliope.songs set album_id=null where album_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.GenreDTO.songs
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.songs_genres (genre_id, song_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.songs_genres set song_id=? where genre_id=? and song_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.songs_genres where genre_id=? and song_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.songs_genres where genre_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Static SQL for collection: ami.server.dto.RoleDTO.users
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row insert: insert into calliope.users_roles (role_id, user_id) values (?, ?)
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row update: update calliope.users_roles set user_id=? where role_id=? and user_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] Row delete: delete from calliope.users_roles where role_id=? and user_id=?
2005-06-02 11:12:32,701 DEBUG [org.hibernate.persister.collection.AbstractCollectionPersister] One-shot delete: delete from calliope.users_roles where role_id=?
2005-06-02 11:12:32,731 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.UserDTO: select userdto0_.id as id1_, userdto0_.username as username6_1_, userdto0_.password as password6_1_, userdto0_.last_login_date as last4_6_1_, roles1_.user_id as user1_3_, roledto2_.id as role2_3_, roledto2_.id as id0_, roledto2_.name as name8_0_, roledto2_.description as descript3_8_0_ from calliope.users userdto0_ left outer join calliope.users_roles roles1_ on userdto0_.id=roles1_.user_id left outer join calliope.roles roledto2_ on roles1_.role_id=roledto2_.id where userdto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.UserDTO: select userdto0_.id as id1_, userdto0_.username as username6_1_, userdto0_.password as password6_1_, userdto0_.last_login_date as last4_6_1_, roles1_.user_id as user1_3_, roledto2_.id as role2_3_, roledto2_.id as id0_, roledto2_.name as name8_0_, roledto2_.description as descript3_8_0_ from calliope.users userdto0_ left outer join calliope.users_roles roles1_ on userdto0_.id=roles1_.user_id left outer join calliope.roles roledto2_ on roles1_.role_id=roledto2_.id where userdto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.UserDTO: select userdto0_.id as id0_, userdto0_.username as username6_0_, userdto0_.password as password6_0_, userdto0_.last_login_date as last4_6_0_ from calliope.users userdto0_ where userdto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.UserDTO: select userdto0_.id as id0_, userdto0_.username as username6_0_, userdto0_.password as password6_0_, userdto0_.last_login_date as last4_6_0_ from calliope.users userdto0_ where userdto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.id as id0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope.artists artistdto0_ where artistdto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.id as id0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope.artists artistdto0_ where artistdto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.id as id0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope.artists artistdto0_ where artistdto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.ArtistDTO: select artistdto0_.id as id0_, artistdto0_.name as name0_0_, artistdto0_.search_name as search3_0_0_ from calliope.artists artistdto0_ where artistdto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.GenreDTO: select genredto0_.id as id4_, genredto0_.name as name5_4_, genredto0_.description as descript3_5_4_, genredto0_.image_file_url as image4_5_4_, albums1_.genre_id as genre2_6_, albumdto2_.id as album1_6_, albumdto2_.id as id0_, albumdto2_.title as title1_0_, albumdto2_.upc as upc1_0_, albumdto2_.artist_id as artist4_1_0_, songs3_.album_id as album4_7_, songs3_.id as id7_, songs3_.id as id1_, songs3_.title as title3_1_, songs3_.track_no as track3_3_1_, songs3_.album_id as album4_3_1_, songs3_.artist_id as artist5_3_1_, artistdto4_.id as id2_, artistdto4_.name as name0_2_, artistdto4_.search_name as search3_0_2_, songs5_.genre_id as genre2_8_, albumdto6_.id as song1_8_, albumdto6_.id as id3_, albumdto6_.title as title1_3_, albumdto6_.upc as upc1_3_, albumdto6_.artist_id as artist4_1_3_ from calliope.genres genredto0_ left outer join calliope.albums_genres albums1_ on genredto0_.id=albums1_.genre_id left outer join calliope.albums albumdto2_ on albums1_.album_id=albumdto2_.id left outer join calliope.songs songs3_ on albumdto2_.id=songs3_.album_id left outer join calliope.artists artistdto4_ on albumdto2_.artist_id=artistdto4_.id left outer join calliope.songs_genres songs5_ on genredto0_.id=songs5_.genre_id left outer join calliope.albums albumdto6_ on songs5_.song_id=albumdto6_.id where genredto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.GenreDTO: select genredto0_.id as id4_, genredto0_.name as name5_4_, genredto0_.description as descript3_5_4_, genredto0_.image_file_url as image4_5_4_, albums1_.genre_id as genre2_6_, albumdto2_.id as album1_6_, albumdto2_.id as id0_, albumdto2_.title as title1_0_, albumdto2_.upc as upc1_0_, albumdto2_.artist_id as artist4_1_0_, songs3_.album_id as album4_7_, songs3_.id as id7_, songs3_.id as id1_, songs3_.title as title3_1_, songs3_.track_no as track3_3_1_, songs3_.album_id as album4_3_1_, songs3_.artist_id as artist5_3_1_, artistdto4_.id as id2_, artistdto4_.name as name0_2_, artistdto4_.search_name as search3_0_2_, songs5_.genre_id as genre2_8_, albumdto6_.id as song1_8_, albumdto6_.id as id3_, albumdto6_.title as title1_3_, albumdto6_.upc as upc1_3_, albumdto6_.artist_id as artist4_1_3_ from calliope.genres genredto0_ left outer join calliope.albums_genres albums1_ on genredto0_.id=albums1_.genre_id left outer join calliope.albums albumdto2_ on albums1_.album_id=albumdto2_.id left outer join calliope.songs songs3_ on albumdto2_.id=songs3_.album_id left outer join calliope.artists artistdto4_ on albumdto2_.artist_id=artistdto4_.id left outer join calliope.songs_genres songs5_ on genredto0_.id=songs5_.genre_id left outer join calliope.albums albumdto6_ on songs5_.song_id=albumdto6_.id where genredto0_.id=?
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.GenreDTO: select genredto0_.id as id0_, genredto0_.name as name5_0_, genredto0_.description as descript3_5_0_, genredto0_.image_file_url as image4_5_0_ from calliope.genres genredto0_ where genredto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.GenreDTO: select genredto0_.id as id0_, genredto0_.name as name5_0_, genredto0_.description as descript3_5_0_, genredto0_.image_file_url as image4_5_0_ from calliope.genres genredto0_ where genredto0_.id=? for update
2005-06-02 11:12:32,741 DEBUG [org.hibernate.loader.entity.EntityLoader] Static select for entity ami.server.dto.SongListDTO: select songlistdt0_.id as id4_, songlistdt0_.name as name9_4_, songlistdt0_.description as descript3_9_4_, songlistdt0_.image_file_url as image4_9_4_, songs1_.songlist_id as songlist1_6_, songdto2_.id as song2_6_, songdto2_.id as id0_, songdto2_.title as title3_0_, songdto2_.track_no as track3_3_0_, songdto2_.album_id as album4_3_0_, songdto2_.artist_id as artist5_3_0_, albumdto3_.id as id1_, albumdto3_.title as title1_1_, albumdto3_.upc as upc1_1_, albumdto3_.artist


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 02, 2005 1:06 pm 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
I just tried this configuration on JBoss 4.0.1 sp1 and it works!

Does anyone know how to get this configuration to work in JBoss 4.0.2 or what changed to cause this exception in JBoss 4.0.2?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 12:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
I have not tried against the JBoss4.0.2/JDK5 combo, but it works fine against JBoss4.0.2/JDK4. Try rebuilding the Hibernate source using JDK5.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 1:21 pm 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
I'll rebuild this weekend and let you know how it goes.

Steve...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 1:48 pm 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
I just rebuilt Hibernate 3.0.5 using JDK 1.5.0_02-b09 and I'm getting the same results... ClassCastException.

I'm going to update my JDK to the latest 1.5.x version and rebuild Hibernate again. If the problem persists I'm going to rebuild JBoss 4.0.2 using JDK 1.5.x.

I'll post to the forum when I have my results.

Steve...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 2:42 pm 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
I just rebuilt JBoss 4.0.2 using JDK 1.5.0_03 and I'm still getting the same ClassCastException.

Steve... could you try running with JDK 1.5.x, JBoss 4.0.2 and Hibernate 3.0.5 to confirm that you're getting similar results and that it's not just a configuration problem on my end?

Steve...


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 10:15 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
http://opensource.atlassian.com/project ... se/HHH-579

As I mentioned there, the JBoss testsuite (including the Hibernate tests) are running fine against 1.5.0_02.

So I am assuming here that you are running the JBoss built for JDK5. Is that correct?

Otherwise this would be a loader scoping issue. I'd need to know more about your setup.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 10:36 am 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
Hi Steve,

Thanks for looking into this issue. I wasn't aware that there was a JBoss distribution specifically for JDK 1.5.x. Could you point me to where I can download this distribution?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 11:59 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
It depends on which features you are using. Certain stuff available in JBoss4x relies on JDK5 (ejb3, etc) and requires being built against JDK5. There is not a pre-built download AFAIK.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 08, 2005 12:05 pm 
Newbie

Joined: Fri Oct 29, 2004 4:20 pm
Posts: 16
Location: Grand Rapids, MI
Gotcha. I'm in the process of pulling (cvs) from head and I'll try building from there.

Steve...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 16, 2005 2:53 pm 
Newbie

Joined: Mon Apr 25, 2005 8:39 am
Posts: 2
Location: Düsseldorf
Hello,

I had the same/a similar problem when I switched from JBoss 4.0.1 to 4.0.2 (sorry, can´t rememeber the details of the stack trace :-)
Reading JBoss-news groups and JBoss Jira I found, that they have changed the default class loader to be used for web applications from JBoss class loader (<=JBoss 4.0.1) to those of the integrated Tomcat (JBoss 4.0.2).
I solved my problem with changing back to the JBoss class loader (which maybe was a kind of "quick and dirty" solution).

I changed
Code:
Java2ClassLoadingCompliance
UseJbossWebLoader

in file
Code:
jboss4.0.2/server/default/deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml

from false to true (as recommended on JBoss.com).

Hope it helps


Top
 Profile  
 
 Post subject: GREAT!
PostPosted: Mon Dec 12, 2005 5:16 pm 
Thanks a LOT kaba.

After a few hours trying to find out what was going wrong I found your brilliant post!!!

Cheers,


:LuizDecaro.


Top
  
 
 Post subject: same problem
PostPosted: Tue Jan 24, 2006 4:21 pm 
Newbie

Joined: Tue Dec 27, 2005 6:43 pm
Posts: 6
I have the same problem here, but I changed the configuration of JBoss and this is giving me more problems because some classes I use from tomcat.
Please Help me!!!!


Top
 Profile  
 
 Post subject: Classloader problemo..
PostPosted: Tue Jan 24, 2006 7:11 pm 
Beginner
Beginner

Joined: Tue Sep 21, 2004 1:49 pm
Posts: 33
Location: Bogota, Colombia
Jboss comes packed with a hibernate3.jar (lib directory). Check if your ear or war includes another hjibernate.jar and remove it. Or replace jboss' one.


Top
 Profile  
 
 Post subject: It worked
PostPosted: Tue Jan 24, 2006 7:22 pm 
Newbie

Joined: Tue Dec 27, 2005 6:43 pm
Posts: 6
tnx ulfreich it worked for me


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.