[jboss-user] [Beginners Corner] - Problem starting service persistence.units (ClassCastExcept

mjhammel do-not-reply at jboss.com
Fri Dec 28 20:15:17 EST 2007


Does anyone have any idea where I should look for what's causing this error during deployment of my application EAR file?

I'm using JBOSS V4.2.2GA.

My persistence.xml file:
<persistence>
  |     <persistence-unit name="Crunch">
  |         <jta-data-source>java:/CrunchDS</jta-data-source>
  |         <properties>
  |             <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |             <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
  |             <property name="hibernate.connection.driver_class" value="com.mysql.jdbc.Driver"/>
  |             <property name="hibernate.connection.url" value="jdbc:mysql://localhost/crunch"/>
  |             <property name="hibernate.connection.username" value="root"/>
  |         </properties>
  |     </persistence-unit>
  | </persistence>

When the ear file is deployed, I get the following error.  I don't have any clue what might be causing this as all the code in the EAR (except for one Session bean and its Remote interface - actually a WebServices interface) is generated from Hibernate using reveng.xml.

17:40:38,109 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=CrunchDS' to JNDI name 'java:CrunchDS'
  | 17:40:38,155 INFO  [EARDeployer] Init J2EE application: file:/home/mjhammel/src/cei/jboss-4.2.2.GA-cei/server/default/deploy/Crunch.ear
  | 17:40:38,530 INFO  [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
  | 17:40:38,530 INFO  [JmxKernelAbstraction] installing MBean: persistence.units:ear=Crunch.ear,unitName=Crunch with dependencies:
  | 17:40:38,530 INFO  [JmxKernelAbstraction]       jboss.jca:name=CrunchDS,service=DataSourceBinding
  | 17:40:38,534 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=Crunch.ear,unitName=Crunch
  | 17:40:38,543 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Analysisresult
  | 17:40:38,547 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Application
  | 17:40:38,550 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Computeros
  | 17:40:38,552 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Configdata
  | 17:40:38,555 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Cpu
  | 17:40:38,558 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Dir
  | 17:40:38,563 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fileservice
  | 17:40:38,567 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Filetype
  | 17:40:38,570 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fusionalgorithm
  | 17:40:38,573 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fusionalgorithmresult
  | 17:40:38,576 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fusionjobsetting
  | 17:40:38,579 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fusionrequestorsetting
  | 17:40:38,582 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Fusionresult
  | 17:40:38,586 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Groups
  | 17:40:38,588 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Insertionalgorithm
  | 17:40:38,591 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Interpreter
  | 17:40:38,597 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Job
  | 17:40:38,626 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Jobfusionresult
  | 17:40:38,629 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Jobtask
  | 17:40:38,632 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Jobtool
  | 17:40:38,635 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Organizations
  | 17:40:38,638 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Profileadmin
  | 17:40:38,641 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Profilerequestor
  | 17:40:38,644 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Profiletoolpublisher
  | 17:40:38,649 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Profileworker
  | 17:40:38,652 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Roles
  | 17:40:38,658 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Serverstat
  | 17:40:38,667 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Subscriber
  | 17:40:38,670 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Subscribersession
  | 17:40:38,675 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Task
  | 17:40:38,678 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskanalysisresult
  | 17:40:38,682 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskdatum
  | 17:40:38,684 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskfiles
  | 17:40:38,688 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskinvocation
  | 17:40:38,692 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Tasklogs
  | 17:40:38,695 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskreject
  | 17:40:38,700 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Taskworkerinfo
  | 17:40:38,703 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Teams
  | 17:40:38,708 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Tool
  | 17:40:38,711 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Toolcpu
  | 17:40:38,714 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Toolfiletype
  | 17:40:38,717 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Tooloption
  | 17:40:38,720 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Toolos
  | 17:40:38,723 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Toolparameter
  | 17:40:38,727 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Tooltype
  | 17:40:38,735 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Usercomputer
  | 17:40:38,738 INFO  [Ejb3Configuration] found EJB3 Entity bean: com.cei.crunch.ejb.Viewlevels
  | 17:40:38,798 INFO  [Configuration] Reading mappings from resource : META-INF/orm.xml
  | 17:40:38,799 INFO  [Ejb3Configuration] [PersistenceUnit: Crunch] no META-INF/orm.xml found
  | 17:40:38,883 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Analysisresult
  | 17:40:38,965 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Analysisresult on table analysisresult
  | 17:40:39,189 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Application
  | 17:40:39,189 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Application on table application
  | 17:40:39,195 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Computeros
  | 17:40:39,195 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Computeros on table computeros
  | 17:40:39,201 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Configdata
  | 17:40:39,202 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Configdata on table configdata
  | 17:40:39,204 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Cpu
  | 17:40:39,205 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Cpu on table cpu
  | 17:40:39,233 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Dir
  | 17:40:39,246 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Dir on table dir
  | 17:40:39,261 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fileservice
  | 17:40:39,278 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fileservice on table fileservice
  | 17:40:39,291 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Filetype
  | 17:40:39,301 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Filetype on table filetype
  | 17:40:39,312 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fusionalgorithm
  | 17:40:39,327 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fusionalgorithm on table fusionalgorithm
  | 17:40:39,334 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fusionalgorithmresult
  | 17:40:39,334 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fusionalgorithmresult on table fusionalgorithmresult
  | 17:40:39,340 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fusionjobsetting
  | 17:40:39,344 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fusionjobsetting on table fusionjobsetting
  | 17:40:39,348 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fusionrequestorsetting
  | 17:40:39,362 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fusionrequestorsetting on table fusionrequestorsetting
  | 17:40:39,367 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Fusionresult
  | 17:40:39,368 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Fusionresult on table fusionresult
  | 17:40:39,371 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Groups
  | 17:40:39,372 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Groups on table groups
  | 17:40:39,379 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Insertionalgorithm
  | 17:40:39,397 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Insertionalgorithm on table insertionalgorithm
  | 17:40:39,402 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Interpreter
  | 17:40:39,402 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Interpreter on table interpreter
  | 17:40:39,406 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Job
  | 17:40:39,406 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Job on table job
  | 17:40:39,431 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Jobfusionresult
  | 17:40:39,431 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Jobfusionresult on table jobfusionresult
  | 17:40:39,434 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Jobtask
  | 17:40:39,435 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Jobtask on table jobtask
  | 17:40:39,439 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Jobtool
  | 17:40:39,439 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Jobtool on table jobtool
  | 17:40:39,444 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Organizations
  | 17:40:39,444 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Organizations on table organizations
  | 17:40:39,450 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Profileadmin
  | 17:40:39,451 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Profileadmin on table profileadmin
  | 17:40:39,454 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Profilerequestor
  | 17:40:39,454 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Profilerequestor on table profilerequestor
  | 17:40:39,460 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Profiletoolpublisher
  | 17:40:39,461 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Profiletoolpublisher on table profiletoolpublisher
  | 17:40:39,464 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Profileworker
  | 17:40:39,464 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Profileworker on table profileworker
  | 17:40:39,480 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Roles
  | 17:40:39,480 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Roles on table roles
  | 17:40:39,483 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Serverstat
  | 17:40:39,484 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Serverstat on table serverstat
  | 17:40:39,507 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Subscriber
  | 17:40:39,508 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Subscriber on table subscriber
  | 17:40:39,544 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Subscribersession
  | 17:40:39,544 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Subscribersession on table subscribersession
  | 17:40:39,549 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Task
  | 17:40:39,549 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Task on table task
  | 17:40:39,568 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskanalysisresult
  | 17:40:39,568 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskanalysisresult on table taskanalysisresult
  | 17:40:39,571 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskdatum
  | 17:40:39,572 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskdatum on table taskdatum
  | 17:40:39,577 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskfiles
  | 17:40:39,577 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskfiles on table taskfiles
  | 17:40:39,580 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskinvocation
  | 17:40:39,580 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskinvocation on table taskinvocation
  | 17:40:39,589 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Tasklogs
  | 17:40:39,589 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Tasklogs on table tasklogs
  | 17:40:39,595 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskreject
  | 17:40:39,595 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskreject on table taskreject
  | 17:40:39,599 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Taskworkerinfo
  | 17:40:39,599 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Taskworkerinfo on table taskworkerinfo
  | 17:40:39,610 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Teams
  | 17:40:39,611 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Teams on table teams
  | 17:40:39,616 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Tool
  | 17:40:39,616 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Tool on table tool
  | 17:40:39,633 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Toolcpu
  | 17:40:39,634 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Toolcpu on table toolcpu
  | 17:40:39,637 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Toolfiletype
  | 17:40:39,637 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Toolfiletype on table toolfiletype
  | 17:40:39,640 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Tooloption
  | 17:40:39,640 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Tooloption on table tooloption
  | 17:40:39,643 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Toolos
  | 17:40:39,643 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Toolos on table toolos
  | 17:40:39,646 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Toolparameter
  | 17:40:39,646 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Toolparameter on table toolparameter
  | 17:40:39,656 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Tooltype
  | 17:40:39,657 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Tooltype on table tooltype
  | 17:40:39,661 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Usercomputer
  | 17:40:39,661 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Usercomputer on table usercomputer
  | 17:40:39,709 INFO  [AnnotationBinder] Binding entity from annotated class: com.cei.crunch.ejb.Viewlevels
  | 17:40:39,710 INFO  [EntityBinder] Bind entity com.cei.crunch.ejb.Viewlevels on table viewlevels
  | 17:40:39,833 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Analysisresult.taskanalysisresults -> taskanalysisresult
  | 17:40:39,838 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Computeros.usercomputers -> usercomputer
  | 17:40:39,849 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Computeros.tooloses -> toolos
  | 17:40:39,850 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Cpu.usercomputers -> usercomputer
  | 17:40:39,850 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Cpu.toolcpus -> toolcpu
  | 17:40:39,851 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fileservice.tools -> tool
  | 17:40:39,851 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fileservice.taskfileses -> taskfiles
  | 17:40:39,852 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fileservice.fusionalgorithmresults -> fusionalgorithmresult
  | 17:40:39,852 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Filetype.fusionrequestorsettings -> fusionrequestorsetting
  | 17:40:39,852 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Filetype.analysisresults -> analysisresult
  | 17:40:39,853 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Filetype.toolfiletypes -> toolfiletype
  | 17:40:39,854 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fusionalgorithm.fusionalgorithmresults -> fusionalgorithmresult
  | 17:40:39,854 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fusionalgorithm.fusionrequestorsettings -> fusionrequestorsetting
  | 17:40:39,854 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Fusionresult.jobfusionresults -> jobfusionresult
  | 17:40:39,855 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Insertionalgorithm.analysisresults -> analysisresult
  | 17:40:39,856 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Job.jobfusionresults -> jobfusionresult
  | 17:40:39,856 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Job.fusionjobsettings -> fusionjobsetting
  | 17:40:39,856 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Job.jobtasks -> jobtask
  | 17:40:39,857 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Job.jobtools -> jobtool
  | 17:40:39,857 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Profilerequestor.fusionrequestorsettings -> fusionrequestorsetting
  | 17:40:39,858 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.usercomputers -> usercomputer
  | 17:40:39,860 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.profilerequestors -> profilerequestor
  | 17:40:39,861 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.subscribersessions -> subscribersession
  | 17:40:39,861 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.groupses -> groups
  | 17:40:39,862 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.organizationses -> organizations
  | 17:40:39,870 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.profileadmins -> profileadmin
  | 17:40:39,871 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.tasks -> task
  | 17:40:39,871 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.jobs -> job
  | 17:40:39,872 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.teamses -> teams
  | 17:40:39,872 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.applications -> application
  | 17:40:39,872 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.profiletoolpublishers -> profiletoolpublisher
  | 17:40:39,873 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.roleses -> roles
  | 17:40:39,873 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.profileworkers -> profileworker
  | 17:40:39,874 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.toolsForToolOwner -> tool
  | 17:40:39,874 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Subscriber.toolsForToolValidator -> tool
  | 17:40:39,875 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Task.taskanalysisresults -> taskanalysisresult
  | 17:40:39,875 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Task.jobtasks -> jobtask
  | 17:40:39,875 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Task.taskinvocations -> taskinvocation
  | 17:40:39,876 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Taskinvocation.taskfileses -> taskfiles
  | 17:40:39,876 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Taskinvocation.taskdatums -> taskdatum
  | 17:40:39,877 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.tooloses -> toolos
  | 17:40:39,877 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.toolcpus -> toolcpu
  | 17:40:39,878 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.analysisresults -> analysisresult
  | 17:40:39,879 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.toolfiletypes -> toolfiletype
  | 17:40:39,880 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.jobtools -> jobtool
  | 17:40:39,881 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.tasks -> task
  | 17:40:39,889 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tool.toolparameters -> toolparameter
  | 17:40:39,890 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Toolparameter.tooloptions -> tooloption
  | 17:40:39,890 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Tooltype.tools -> tool
  | 17:40:39,891 INFO  [CollectionBinder] Mapping collection: com.cei.crunch.ejb.Usercomputer.taskinvocations -> taskinvocation
  | 17:40:40,440 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
  | 17:40:40,444 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
  | 17:40:40,483 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.45
  | 17:40:40,483 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.5 ( $Date: 2007-03-01 00:01:06 +0100 (Thu, 01 Mar 2007) $, $Revision: 6329 $ )
  | 17:40:40,484 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
  | 17:40:40,485 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
  | 17:40:40,485 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
  | 17:40:40,486 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
  | 17:40:40,486 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
  | 17:40:40,486 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
  | 17:40:40,486 INFO  [SettingsFactory] JDBC batch size: 15
  | 17:40:40,486 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
  | 17:40:40,486 INFO  [SettingsFactory] Scrollable result sets: enabled
  | 17:40:40,486 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
  | 17:40:40,486 INFO  [SettingsFactory] Connection release mode: auto
  | 17:40:40,487 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
  | 17:40:40,487 INFO  [SettingsFactory] Default batch fetch size: 1
  | 17:40:40,487 INFO  [SettingsFactory] Generate SQL with comments: disabled
  | 17:40:40,487 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
  | 17:40:40,487 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
  | 17:40:40,487 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
  | 17:40:40,487 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
  | 17:40:40,488 INFO  [SettingsFactory] Query language substitutions: {}
  | 17:40:40,488 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
  | 17:40:40,488 INFO  [SettingsFactory] Second-level cache: enabled
  | 17:40:40,488 INFO  [SettingsFactory] Query cache: disabled
  | 17:40:40,488 INFO  [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
  | 17:40:40,489 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
  | 17:40:40,489 INFO  [SettingsFactory] Cache region prefix: Crunch_ear,Crunch
  | 17:40:40,489 INFO  [SettingsFactory] Structured second-level cache entries: disabled
  | 17:40:40,489 INFO  [SettingsFactory] Statistics: disabled
  | 17:40:40,489 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
  | 17:40:40,489 INFO  [SettingsFactory] Default entity-mode: pojo
  | 17:40:40,489 INFO  [SettingsFactory] Named query checking : enabled
  | 17:40:40,571 INFO  [SessionFactoryImpl] building session factory
  | 17:40:42,047 WARN  [ServiceController] Problem starting service persistence.units:ear=Crunch.ear,unitName=Crunch
  | java.lang.ClassCastException: org.hibernate.type.StringType
  |         at org.hibernate.tuple.PropertyFactory.buildVersionProperty(PropertyFactory.java:84)
  |         at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:168)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
  |         at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
  |         at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
  |         at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
  |         at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
  |         at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:713)
  |         at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
  |         at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
  |         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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy71.start(Unknown Source)
  |         at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
  |         at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
  |         at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
  |         at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  |         at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  |         at $Proxy0.start(Unknown Source)
  |         at org.jboss.system.ServiceController.start(ServiceController.java:417)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy33.start(Unknown Source)
  |         at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
  |         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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  |         at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  |         at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
  |         at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
  |         at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
  |         at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy34.start(Unknown Source)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
  |         at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
  |         at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
  |         at sun.reflect.GeneratedMethodAccessor20.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:155)
  |         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  |         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  |         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  |         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  |         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |         at $Proxy9.deploy(Unknown Source)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  |         at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
  |         at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
  | 17:40:42,048 INFO  [EJB3Deployer] Deployed: file:/home/mjhammel/src/cei/jboss-4.2.2.GA-cei/server/default/tmp/deploy/tmp64392Crunch.ear-contents/crunch-ejb.jar
  | 17:40:42,054 INFO  [TomcatDeployer] deploy, ctxPath=/Crunch, warUrl=.../tmp/deploy/tmp64392Crunch.ear-contents/crunch-web-exp.war/
  | 17:40:42,331 INFO  [EARDeployer] Started J2EE application: file:/home/mjhammel/src/cei/jboss-4.2.2.GA-cei/server/default/deploy/Crunch.ear
  | 17:40:42,332 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: persistence.units:ear=Crunch.ear,unitName=Crunch
  |   State: FAILED
  |   Reason: java.lang.ClassCastException: org.hibernate.type.StringType
  |   I Depend On:
  |     jboss.jca:service=DataSourceBinding,name=CrunchDS
  | 
  | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  | ObjectName: persistence.units:ear=Crunch.ear,unitName=Crunch
  |   State: FAILED
  |   Reason: java.lang.ClassCastException: org.hibernate.type.StringType
  |   I Depend On:
  |     jboss.jca:service=DataSourceBinding,name=CrunchDS
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116000#4116000

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116000



More information about the jboss-user mailing list