[jboss-dev-forums] [jBPM Development] - java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction

Krishna Pitla do-not-reply at jboss.com
Fri Jul 20 10:50:30 EDT 2012


Krishna Pitla [https://community.jboss.org/people/krishnapitla] created the discussion

"java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction"

To view the discussion, visit: https://community.jboss.org/message/749309#749309

--------------------------------------------------------------
Hi All,

I am deploying a jbpm5.1 webexample on tomcat 6.
I am getting the below error :
*java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction*

I am not able to figure it out as i have placed all the relevant jar files in tomcat lib as well as my web app.
below is the entire console log:

Jul 20, 2012 4:50:52 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:CommentsJBPM' did not find a matching property.
Jul 20, 2012 4:50:52 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_31\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jdk1.6.0_31/jre/bin/client;C:/Program Files/Java/jdk1.6.0_31/jre/bin;C:/Program Files/Java/jdk1.6.0_31/jre/lib/i386;C:\Program Files\Java\jdk1.6.0_31\jre\bin;C:\Softwares\apache-ant-1.8.3-bin\apache-ant-1.8.3\bin;C:\WINDOWS\system32\;C:\ESBHome;C:\Program Files\Java\jdk1.6.0_31\jre\bin;C:\WINDOWS\system32\;C:\Softwares\apache-ant-1.8.3-bin\apache-ant-1.8.3\bin;C:\Program Files\Java\jdk1.6.0_31\bin;C:\ESBHome;C:\Softwares\eclipse-jee-helios-SR2-win32\eclipse;;.
Jul 20, 2012 4:50:52 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 20, 2012 4:50:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 265 ms
Jul 20, 2012 4:50:52 PM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent
INFO: Starting Bitronix Transaction Manager
Jul 20, 2012 4:50:52 PM bitronix.tm.BitronixTransactionManager logVersion
INFO: Bitronix Transaction Manager version 1.3.1
Jul 20, 2012 4:50:52 PM bitronix.tm.Configuration buildServerIdArray
WARNING: cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
Jul 20, 2012 4:50:52 PM bitronix.tm.Configuration buildServerIdArray
INFO: JVM unique ID: <172.17.89.11>
Jul 20, 2012 4:50:52 PM bitronix.tm.journal.DiskJournal open
WARNING: active log file is unclean, previous server crash ?
Jul 20, 2012 4:50:52 PM bitronix.tm.recovery.Recoverer run
INFO: recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 0 resource(s) []
Jul 20, 2012 4:50:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 20, 2012 4:50:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Jul 20, 2012 4:50:52 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(C:\JBOSS-JBPM\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\CommentsJBPM\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.4.0.GA
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.3.0.SP1
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : javassist
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
Jul 20, 2012 4:50:53 PM org.hibernate.annotations.common.Version <clinit>
INFO: Hibernate Commons Annotations 3.1.0.GA
Jul 20, 2012 4:50:53 PM org.hibernate.ejb.Version <clinit>
INFO: Hibernate EntityManager 3.4.0.GA
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsBusinessAdministrator => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity businessAdministrator where businessAdministrator.id = :userId and businessAdministrator in elements ( t.peopleAssignments.businessAdministrators ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsExcludedOwner => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity excludedOwners where excludedOwners.id = :userId and excludedOwners in elements ( t.peopleAssignments.excludedOwners ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsPotentialOwner => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subject.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy left join t.taskData.actualOwner left join t.subjects as subject, I18NText names, I18NText descriptions, OrganizationalEntity potentialOwners where potentialOwners.id = :userId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and names.language = :language and names in elements( t.names) and ( subject.language = :language or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsPotentialOwnerWithGroups => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy left join t.taskData.actualOwner, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity potentialOwners where ( potentialOwners.id = :userId or potentialOwners.id in (:groupIds) ) and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsPotentialOwnerByGroup => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy left join t.taskData.actualOwner, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity potentialOwners where potentialOwners.id = :groupId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: SubTasksAssignedAsPotentialOwner => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy left join t.taskData.actualOwner, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity potentialOwners where t.taskData.parentId = :parentId and potentialOwners.id = :userId and potentialOwners in elements ( t.peopleAssignments.potentialOwners ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: GetSubTasksByParentTaskId => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t, I18NText names, I18NText subjects, I18NText descriptions where t.taskData.parentId = :parentId and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.status in ('Created', 'Ready', 'Reserved', 'InProgress', 'Suspended') and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsRecipient => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity recipients where recipients.id = :userId and recipients in elements ( t.peopleAssignments.recipients ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsTaskInitiator => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity taskInitiator where taskInitiator.id = :userId and taskInitiator = t.peopleAssignments.taskInitiator and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksAssignedAsTaskStakeholder => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions, OrganizationalEntity taskStakeholder where taskStakeholder.id = :userId and taskStakeholder in elements ( t.peopleAssignments.taskStakeholders ) and names.language = :language and names in elements( t.names) and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TasksOwned => select new org.jbpm.task.query.TaskSummary( t.id, t.taskData.processInstanceId, names.text, subjects.text, descriptions.text, t.taskData.status, t.priority, t.taskData.skipable, t.taskData.actualOwner, t.taskData.createdBy, t.taskData.createdOn, t.taskData.activationTime, t.taskData.expirationTime) from Task t left join t.taskData.createdBy, I18NText names, I18NText subjects, I18NText descriptions where t.taskData.actualOwner.id = :userId and names in elements( t.names) and names.language = :language and ( subjects.language = :language and subjects in elements( t.subjects) or t.subjects.size = 0 ) and ( descriptions.language = :language and descriptions in elements( t.descriptions) or t.descriptions.size = 0 ) and t.taskData.expirationTime is null
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: UnescalatedDeadlines => select new org.jbpm.task.query.DeadlineSummary( t.id, d.id, d.date) from Task t, Deadline d where (d in elements( t.deadlines.startDeadlines ) or d in elements( t.deadlines.endDeadlines ) ) and d.escalated = false order by d.date
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: TaskByWorkItemId => select t from Task t where t.taskData.workItemId = :workItemId
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.QueryBinder bindQuery
INFO: Binding Named query: ProcessInstancesWaitingForEvent => select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Attachment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Attachment on table Attachment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Content
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Content on table Content
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.BooleanExpression
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.BooleanExpression on table BooleanExpression
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Comment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Comment on table task_comment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Deadline
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Deadline on table Deadline
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Escalation
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Escalation on table Escalation
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.OrganizationalEntity
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.OrganizationalEntity on table OrganizationalEntity
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Group
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.I18NText on table I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Notification
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Notification on table Notification
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.EmailNotification
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.EmailNotificationHeader
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.EmailNotificationHeader on table email_header
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Reassignment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Reassignment on table Reassignment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.Task
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.Task on table Task
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.SubTasksStrategy
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.task.SubTasksStrategy on table SubTasksStrategy
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.OnParentAbortAllSubTasksEndStrategy
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.OnAllSubTasksEndParentEndStrategy
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.task.User
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.drools.persistence.info.SessionInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceEventInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.jbpm.persistence.processinstance.ProcessInstanceEventInfo on table ProcessInstanceEventInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.taskData.comments -> task_comment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.taskData.attachments -> Attachment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.subjects -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.subTaskStrategies -> SubTasksStrategy
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.names -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.descriptions -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.deadlines.startDeadlines -> Deadline
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Task.deadlines.endDeadlines -> Deadline
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Reassignment.documentation -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Notification.subjects -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Notification.names -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Notification.documentation -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Notification.descriptions -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Escalation.reassignments -> Reassignment
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Escalation.notifications -> Notification
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Escalation.constraints -> BooleanExpression
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Deadline.escalations -> Escalation
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: org.jbpm.task.Deadline.documentation -> I18NText
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.AnnotationConfiguration secondPassCompile
INFO: Hibernate Validator not found: ignoring
Jul 20, 2012 4:50:53 PM org.hibernate.ejb.Ejb3Configuration configure
WARNING: hibernate.connection.autocommit = false break the EJB3 specification
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.search.HibernateSearchEventListenerRegister enableHibernateSearch
INFO: Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
Jul 20, 2012 4:50:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
Jul 20, 2012 4:50:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Jul 20, 2012 4:50:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
Jul 20, 2012 4:50:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.h2.Driver at URL: jdbc:h2:mem:droolsflow
Jul 20, 2012 4:50:53 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****, autocommit=false, release_mode=auto}
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: H2, version: 1.2.132 (2010-03-21)
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: H2 JDBC Driver, version: 1.2.132 (2010-03-21)
Jul 20, 2012 4:50:53 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.H2Dialect
Jul 20, 2012 4:50:53 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
Jul 20, 2012 4:50:53 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 3
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
Jul 20, 2012 4:50:53 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: enabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory createRegionFactory
INFO: Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
Jul 20, 2012 4:50:53 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
Jul 20, 2012 4:50:53 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Jul 20, 2012 4:50:53 PM org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
Jul 20, 2012 4:50:53 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: Running hbm2ddl schema export
Jul 20, 2012 4:50:53 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: exporting generated schema to database
Jul 20, 2012 4:50:54 PM org.hibernate.tool.hbm2ddl.SchemaExport execute
INFO: schema export complete
Mina Server started ...
Jul 20, 2012 4:50:54 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.RuntimeException: error while creating session
    at com.tcs.servlets.StartupServlet.startLookUp(StartupServlet.java:188)
    at com.tcs.servlets.StartupServlet.init(StartupServlet.java:69)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction
    at com.tcs.servlets.StartupServlet.startLookUp(StartupServlet.java:166)
    ... 19 more
Jul 20, 2012 4:50:54 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /CommentsJBPM threw load() exception
java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction
    at com.tcs.servlets.StartupServlet.startLookUp(StartupServlet.java:166)
    at com.tcs.servlets.StartupServlet.init(StartupServlet.java:69)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction
    at com.tcs.servlets.StartupServlet.startLookUp(StartupServlet.java:166)
    at com.tcs.servlets.StartupServlet.init(StartupServlet.java:69)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1172)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:992)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4058)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4371)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(StandardService.java:516)
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
    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:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Jul 20, 2012 4:50:54 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 20, 2012 4:50:54 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Jul 20, 2012 4:50:54 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=null
Jul 20, 2012 4:50:54 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2654 ms
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/749309#749309]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120720/1605a792/attachment.html 


More information about the jboss-dev-forums mailing list