Feki Ahmed [
https://community.jboss.org/people/bardelman] created the discussion
"java.lang.RuntimeException: error while creating session :
java.lang.NoSuchMethodError: org.drools.rule.TypeDeclaration.setTypesafe(Z)V"
To view the discussion, visit:
https://community.jboss.org/message/740820#740820
--------------------------------------------------------------
hi,
i m trying to run the
https://community.jboss.org/people/bpmn2user/blog/2011/09/21/jbpm5-web-ex... JBPM5 Web
Example and i got thid error :
java.lang.RuntimeException: error while creating session
...
Caused by: java.lang.NoSuchMethodError: org.drools.rule.TypeDeclaration.setTypesafe(Z)V
here is the complete console log :
Jun 9, 2012 2:32:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
Jun 9, 2012 2:32:21 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random
[true].
Jun 9, 2012 2:32:22 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property
'source' to 'org.eclipse.jst.jee.server:jbpmWebExpl2' did not find a
matching property.
Jun 9, 2012 2:32:24 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-9292
Jun 9, 2012 2:32:24 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-9209
Jun 9, 2012 2:32:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3509 ms
Jun 9, 2012 2:32:24 PM bitronix.tm.integration.tomcat55.BTMLifecycleListener
lifecycleEvent
INFO: Starting Bitronix Transaction Manager
318 [main] INFO bitronix.tm.BitronixTransactionManager - Bitronix Transaction Manager
version 1.3.1
329 [main] WARN bitronix.tm.Configuration - 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!).
373 [main] INFO bitronix.tm.Configuration - JVM unique ID: <192.168.200.1>
537 [main] WARN bitronix.tm.journal.DiskJournal - active log file is unclean, previous
server crash ?
593 [main] INFO bitronix.tm.recovery.Recoverer - recovery committed 0 dangling
transaction(s) and rolled back 0 aborted transaction(s) on 0 resource(s) []
Jun 9, 2012 2:32:24 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 9, 2012 2:32:24 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
2419 [main] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.GA
2443 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.2.GA
2445 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
2450 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
2465 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp
handling
2628 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations
3.1.0.GA
2633 [main] INFO org.hibernate.ejb.Version - Hibernate EntityManager 3.4.0.GA
4792 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4792 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4793 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4793 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4795 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4795 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4796 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4796 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4796 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4796 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4796 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4803 [main] INFO org.hibernate.cfg.annotations.QueryBinder - 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
4803 [main] INFO org.hibernate.cfg.annotations.QueryBinder - Binding Named query:
TaskByWorkItemId => select t from Task t where t.taskData.workItemId = :workItemId
4808 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Attachment
4849 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Attachment on table Attachment
5001 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Content
5001 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Content on table Content
5014 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.BooleanExpression
5014 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.BooleanExpression on table BooleanExpression
5018 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Comment
5019 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Comment on table task_comment
5022 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Deadline
5022 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Deadline on table Deadline
5061 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Escalation
5062 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Escalation on table Escalation
5066 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.OrganizationalEntity
5066 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.OrganizationalEntity on table OrganizationalEntity
5137 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Group
5170 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.I18NText
5170 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.I18NText on table I18NText
5172 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Notification
5172 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Notification on table Notification
5189 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.EmailNotification
5199 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.EmailNotificationHeader
5199 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.EmailNotificationHeader on table email_header
5202 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Reassignment
5202 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Reassignment on table Reassignment
5205 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.Task
5205 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.Task on table Task
5237 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.SubTasksStrategy
5237 [main] INFO org.hibernate.cfg.annotations.EntityBinder - Bind entity
org.jbpm.task.SubTasksStrategy on table SubTasksStrategy
5241 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.OnParentAbortAllSubTasksEndStrategy
5242 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.OnAllSubTasksEndParentEndStrategy
5242 [main] INFO org.hibernate.cfg.AnnotationBinder - Binding entity from annotated class:
org.jbpm.task.User
5250 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.taskData.comments -> task_comment
5252 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.taskData.attachments -> Attachment
5252 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.subjects -> I18NText
5252 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.subTaskStrategies -> SubTasksStrategy
5253 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.names -> I18NText
5253 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.descriptions -> I18NText
5254 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.deadlines.startDeadlines -> Deadline
5254 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Task.deadlines.endDeadlines -> Deadline
5254 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Reassignment.documentation -> I18NText
5259 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Notification.subjects -> I18NText
5259 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Notification.names -> I18NText
5259 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Notification.documentation -> I18NText
5259 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Notification.descriptions -> I18NText
5259 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Escalation.reassignments -> Reassignment
5260 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Escalation.notifications -> Notification
5260 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Escalation.constraints -> BooleanExpression
5260 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Deadline.escalations -> Escalation
5260 [main] INFO org.hibernate.cfg.annotations.CollectionBinder - Mapping collection:
org.jbpm.task.Deadline.documentation -> I18NText
5261 [main] INFO org.hibernate.cfg.AnnotationConfiguration - Hibernate Validator not
found: ignoring
5318 [main] WARN org.hibernate.ejb.Ejb3Configuration - hibernate.connection.autocommit =
false break the EJB3 specification
5420 [main] INFO org.hibernate.cfg.search.HibernateSearchEventListenerRegister - Unable to
find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate
Search is not enabled.
5497 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Using
Hibernate built-in connection pool (not for production use!)
5497 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - Hibernate
connection pool size: 20
5497 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - autocommit
mode: false
5497 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - using driver:
org.h2.Driver at URL: jdbc:h2:mem:mydb
5498 [main] INFO org.hibernate.connection.DriverManagerConnectionProvider - connection
properties: {user=sa, password=****, autocommit=false, release_mode=auto}
5532 [main] INFO org.hibernate.cfg.SettingsFactory - RDBMS: H2, version: 1.3.155
(2011-05-27)
5532 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC driver: H2 JDBC Driver, version:
1.3.155 (2011-05-27)
5565 [main] INFO org.hibernate.dialect.Dialect - Using dialect:
org.hibernate.dialect.H2Dialect
5585 [main] INFO org.hibernate.transaction.TransactionFactoryFactory - Transaction
strategy: org.hibernate.transaction.JDBCTransactionFactory
5587 [main] INFO org.hibernate.transaction.TransactionManagerLookupFactory - No
TransactionManagerLookup configured (in JTA environment, use of read-write or
transactional second-level cache is not recommended)
5588 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic flush during
beforeCompletion(): disabled
5588 [main] INFO org.hibernate.cfg.SettingsFactory - Automatic session close at end of
transaction: disabled
5588 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch size: 15
5588 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned
data: disabled
5588 [main] INFO org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled
5588 [main] INFO org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled
5589 [main] INFO org.hibernate.cfg.SettingsFactory - Connection release mode: auto
5589 [main] INFO org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 3
5589 [main] INFO org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1
5589 [main] INFO org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled
5589 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key:
disabled
5590 [main] INFO org.hibernate.cfg.SettingsFactory - Order SQL inserts for batching:
disabled
5590 [main] INFO org.hibernate.cfg.SettingsFactory - Query translator:
org.hibernate.hql.ast.ASTQueryTranslatorFactory
5595 [main] INFO org.hibernate.hql.ast.ASTQueryTranslatorFactory - Using
ASTQueryTranslatorFactory
5595 [main] INFO org.hibernate.cfg.SettingsFactory - Query language substitutions: {}
5595 [main] INFO org.hibernate.cfg.SettingsFactory - JPA-QL strict compliance: enabled
5595 [main] INFO org.hibernate.cfg.SettingsFactory - Second-level cache: enabled
5596 [main] INFO org.hibernate.cfg.SettingsFactory - Query cache: disabled
5596 [main] INFO org.hibernate.cfg.SettingsFactory - Cache region factory :
org.hibernate.cache.impl.NoCachingRegionFactory
5596 [main] INFO org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts:
disabled
5596 [main] INFO org.hibernate.cfg.SettingsFactory - Structured second-level cache
entries: disabled
5601 [main] INFO org.hibernate.cfg.SettingsFactory - Statistics: disabled
5602 [main] INFO org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier
rollback: disabled
5602 [main] INFO org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo
5602 [main] INFO org.hibernate.cfg.SettingsFactory - Named query checking : enabled
5677 [main] INFO org.hibernate.impl.SessionFactoryImpl - building session factory
6083 [main] INFO org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to
JNDI, no JNDI name configured
6102 [main] INFO org.hibernate.tool.hbm2ddl.SchemaExport - Running hbm2ddl schema export
6103 [main] INFO org.hibernate.tool.hbm2ddl.SchemaExport - exporting generated schema to
database
6231 [main] INFO org.hibernate.tool.hbm2ddl.SchemaExport - schema export complete
log4j:WARN No appenders could be found for logger
(com.sample.taskserver.HumanTaskStartupServlet).
log4j:WARN Please initialize the log4j system properly.
Jun 9, 2012 2:32:33 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.RuntimeException: error while creating session
at com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:82)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.NoSuchMethodError: org.drools.rule.TypeDeclaration.setTypesafe(Z)V
at
org.drools.compiler.PackageBuilder.initBuiltinTypeDeclarations(PackageBuilder.java:292)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:287)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:182)
at
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)
at com.sample.processserver.JbpmAPIUtil.readKnowledgeBase(JbpmAPIUtil.java:228)
at com.sample.processserver.JbpmAPIUtil.createSession(JbpmAPIUtil.java:258)
at com.sample.processserver.JbpmAPIUtil.getSession(JbpmAPIUtil.java:242)
at com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:68)
... 18 more
Jun 9, 2012 2:32:33 PM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /jbpmWebExpl2 threw load() exception
java.lang.NoSuchMethodError: org.drools.rule.TypeDeclaration.setTypesafe(Z)V
at
org.drools.compiler.PackageBuilder.initBuiltinTypeDeclarations(PackageBuilder.java:292)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:287)
at org.drools.compiler.PackageBuilder.<init>(PackageBuilder.java:182)
at
org.drools.builder.impl.KnowledgeBuilderFactoryServiceImpl.newKnowledgeBuilder(KnowledgeBuilderFactoryServiceImpl.java:34)
at
org.drools.builder.KnowledgeBuilderFactory.newKnowledgeBuilder(KnowledgeBuilderFactory.java:47)
at com.sample.processserver.JbpmAPIUtil.readKnowledgeBase(JbpmAPIUtil.java:228)
at com.sample.processserver.JbpmAPIUtil.createSession(JbpmAPIUtil.java:258)
at com.sample.processserver.JbpmAPIUtil.getSession(JbpmAPIUtil.java:242)
at com.sample.processserver.TaskProcessServlet.init(TaskProcessServlet.java:68)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Jun 9, 2012 2:32:33 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-9292
Jun 9, 2012 2:32:33 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-9209
Jun 9, 2012 2:32:33 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9227 ms
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/740820#740820]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]