[jBPM Development] - How to integrate a Web Application with JBPM?
by srikanthan ramanathan
srikanthan ramanathan [https://community.jboss.org/people/srikanthanr] created the discussion
"How to integrate a Web Application with JBPM?"
To view the discussion, visit: https://community.jboss.org/message/743072#743072
--------------------------------------------------------------
Hi,
Hope you all are doing fine. i need a quick favour from you guys. We are planning to use JBPM as an BPM engine. But, unfortunately I don’t have any knowledge on JBMP. So, I would like to clarify with you guys. The queries are given below:
*The proposed architecture*
1. 1. The architecture is à Our JBoss based Web App will call JBPM thru java call.
2. 2. And we will not use JBPM user interface (GUI) but we use our Bboss application’s UI.
3. 3. From the JBoss UI’s button click (Submit/Approve etc), JBoss app calls JBPM to 1. a. create workflow process instance.
2. b. Move process instance from one stage to another stage.
4. 4. Meaning, we have Maker/Checker (Authorization) functionality exists. When Maker user submits the transaction in Jboss UI, the JBPM process (workflow) will be called and instance will be created for the Checker user(s) for the transaction approval. The Checker can either “Approve” the transaction (OR) he can “Reject” it back to the Maker user.
5. 5. So, it is kind of Jboss driven JBPM Maker/Check Approval process. We are using the JBPM just for STATE MANAGEMENT.
*Queries*
1. 1. How do I call BPM process (best way of doing it) from my Web application? 1. a. How to do thru plain java call?
2. b. How to do thru web-service call?
2. 2. When maker submits the transaction, he will get an option (popup window) to select the eligible Checker user’s names in the Web Application. When Maker chooses the Checker names and submit the transaction, the BPM should create a process instance only for the chosen Checker users.
3. 3. Do we have dynamic role support in JBMP? The role’s corresponding user/group details should be picked up from database. The Role details will be kept in Web Application database; the JBPM will have to connect to Web application database to get the role details.
4. 4. Can I fetch all the process instances/To-Do list (for example, waiting for approval) that belong to one user/group (OR) set of users by making java call to BPM engine from MY Web application?
5. 5. Also, we have a scenario, in which there are multiple user groups to be part of approval process. Like, “minimum 2 people from Group G1” and “minimum 3 people from Group G2” should approve the process instance.
Could you please clarify it? That would be nice.
Have a wonderful day
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/743072#743072]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 4 months
[JBoss AS Development Deployment Framework] - Javax.faces.application.ApplicationFactory was not configured properly
by Fabian Riako
Fabian Riako [https://community.jboss.org/people/fjkjava] created the discussion
"Javax.faces.application.ApplicationFactory was not configured properly"
To view the discussion, visit: https://community.jboss.org/message/751366#751366
--------------------------------------------------------------
Hi All,
I am trying to migrate a seam 2.0 application to 2.3 on JBoss AS 7. When I am deploying the application I am getting this error. I have no idea, can somebody give me some suggetions.
17:08:02,729 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-1) Critical error during deployment: : com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:643) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:993) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 11 more
Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory
at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_20]
at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_20]
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:641) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
... 16 more
17:08:02,729 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/workschain]] (MSC service thread 1-1) Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.16.Final-redhat-1.jar:]
at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_20]
at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_20]
Caused by: com.sun.faces.config.ConfigurationException: Factory 'javax.faces.application.ApplicationFactory' was not configured properly.
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:305) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:219) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:361) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:225) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 8 more
Caused by: javax.faces.FacesException: org.jboss.seam.jsf.SeamApplicationFactory
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:643) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:509) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.access$400(FactoryFinder.java:139) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:993) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:343) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist(FactoryConfigProcessor.java:303) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]
... 11 more
Caused by: java.lang.InstantiationException: org.jboss.seam.jsf.SeamApplicationFactory
at java.lang.Class.newInstance0(Class.java:340) [rt.jar:1.6.0_20]
at java.lang.Class.newInstance(Class.java:308) [rt.jar:1.6.0_20]
at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:641) [jboss-jsf-api_2.1_spec-2.0.2.Final-redhat-1.jar:2.0.2.Final-redhat-1]
... 16 more
Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751366#751366]
Start a new discussion in JBoss AS Development Deployment Framework at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss AS 7 Development] - javax.naming.NoInitialContextException in WebApp
by Mitchell Ackerman
Mitchell Ackerman [https://community.jboss.org/people/mackerman] created the discussion
"javax.naming.NoInitialContextException in WebApp"
To view the discussion, visit: https://community.jboss.org/message/751055#751055
--------------------------------------------------------------
Hi, I have a webapp, running in JBoss AS7.1.1.Final. In it, I am attempting to send an email, but am getting javax.naming.NoInitialContextException when trying to lookup SMTP:
|
|
|
| InitialContext ic = new InitialContext(); |
|
|
|
| Session mailSession = (Session)ic.lookup("java:/Mail"); |
my standalone.xml contains:
<subsystem xmlns="urn:jboss:domain:naming:1.1"/>
<subsystem xmlns="urn:jboss:domain:mail:1.0">
<mail-session debug="true" jndi-name="java:/Mail" from=" mailto:test@test.com test(a)test.com" >
<smtp-server outbound-socket-binding-ref="mail-smtp"/>
</mail-session>
</subsystem>
the complete error is:
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
Anyone have any idea what is going on here?
thanks, Mitchell
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/751055#751055]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months
[JBoss AS 7 Development] - Audit Logging Design Notes
by Brian Stansberry
Brian Stansberry [https://community.jboss.org/people/brian.stansberry] modified the document:
"Audit Logging Design Notes"
To view the document, visit: https://community.jboss.org/docs/DOC-18812
--------------------------------------------------------------
Design notes for work on https://issues.jboss.org/browse/AS7-444 https://issues.jboss.org/browse/AS7-444.
My current development topic branch for this is https://github.com/bstansberry/jboss-as/tree/AS7-444 https://github.com/bstansberry/jboss-as/tree/AS7-444. (Note that this is a personal branch; I make no guarantees not to change its commit history.) This branch is based on work previously done by John Bailey.
Design notes:
1) Processing location in OperationContext
a) when done
b) when decision to not proceed is made in OperationContext
2) Log record format:
a) date
b) read-only?
c) boot?
d) (if boot) version (as string???)
e) rollback?
f) userid (TODO get this somehow)
g) uuid (for domain ops only, to track across processes)
h) isServer?
i) primary (domain or server) model hash
j) if (!isServer) secondary (host) model hash
k) overall hash
l) num operations
m) operations (one at a time)
n) length of a->j (scan from end to last boot during validation; alternative is to write the length first and scan from beginning to last boot)
3) Index record format:
a) overall hash
4) Mgmt operations
a) truncate (back to last boot)
i) don't discard previous; just write under a different file name
b) read log (params -- from (default 0); batch-size (default 20; -1 means all))
c) validate log
d) config changes
5) Validation:
a) compare persisted model hash to current model
b) scan back through log to last config-file-modified boot or version-change boot. We stop at version-change boot to avoid spurious validation problems resulting from changes in model construction across versions
c) recreate by re-running ops
-- validation problems
a) need to verify model hash at each stage -- special controller that ignores all runtime ops
i) problem -- how to recreate domain ops involving remote slaves that don't exist?
ii) problem -- ops with attachments -- attachments won't exist
iii) this "special controller" could end up duplicating a lot of logic just for validation
b) reads and runtime ops cannot be verified against model; it can only be confirmed that their hash is consistent with subsequent hashes in the log. Tamper resistant as modification would require modifying all subsequent log entries, but not tamper proof as this could be done.
6) Domain mode
a) tracking requests from master to slaves
apply a uuid to requests
-- as a header
include uuid in log record
b) detecting host.xml config changes at boot
problem -- can't detect host.xml config changes at boot, as model changes may be due to domain.xml stuff coming from the master
so, independent domain and host logging
but, what about non-model affecting ops? log twice?
c) domain logging on slaves? only if --backup-dc is set? -- no simpler to just log
d) remote-slave-only logging on master?
yes, to maintain a complete record of what was done
7) Non-model-affecting ops
a) re-calculating the model hash for all such ops is too expensive
b) store the hash(es) in the ModelController along with the model
c) provide the hash along with the model to OperationContext
d) when model is updated recalc hashes
8) Config
a) <audit-log> element
b) part of <management> section
c) resource is /core-service=audit-log
d) attributes
i) path (NO -- we need to know the location when first logging, before we have processed ops to set it)
ii) relative-to (NO -- we need to know the location when first logging, before we have processed ops to set it)
iii) log-read-only?
iv) daily-rolling??? (hassle; tempting to defer to later release but it's probably necessary immediately)
9) Other issues
a) disable logging overhead for dev scenarios
i) to disable it during initial boot (until whatever config element that turns it on/off is read) -- maintain log data in memory and only write on last boot op
b) parallel boot handlers should not log
c) fluctuating model hashes
i) if op took the controller lock, that lock ensures proper ordering of model hashes
ii) if op does not take controller lock (reads) earlier model hashes can intermix with later -- validation needs to account for this
--------------------------------------------------------------
Comment by going to Community
[https://community.jboss.org/docs/DOC-18812]
Create a new document in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=102&c...]
12 years, 5 months
[jBPM Development] - java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.UserTransaction
by Krishna Pitla
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&con...]
12 years, 5 months
[jBPM Development] - Unable to get jbpm 5.3 console working
by Swaminathan Bhaskar
Swaminathan Bhaskar [https://community.jboss.org/people/swaminathan.bhaskar] created the discussion
"Unable to get jbpm 5.3 console working"
To view the discussion, visit: https://community.jboss.org/message/750581#750581
--------------------------------------------------------------
Hello;
I am trying to get the JBPM 5.3 console to work and running into the following issue. Any ideas - any help appreciated.
Jul 26, 2012 5:50:57 PM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)
at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:126)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:52)
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34)
at org.jbpm.task.servlet.HumanTaskServiceServlet.init(HumanTaskServiceServlet.java:105)
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.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.hibernate.HibernateException: Could not obtain BTM transaction manager instance
at org.hibernate.transaction.BTMTransactionManagerLookup.getTransactionManager(BTMTransactionManagerLookup.java:50)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:367)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
... 31 more
Caused by: java.lang.ClassCastException: bitronix.tm.BitronixTransactionManager cannot be cast to javax.transaction.TransactionManager
at org.hibernate.transaction.BTMTransactionManagerLookup.getTransactionManager(BTMTransactionManagerLookup.java:47)
... 35 more
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/750581#750581]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
12 years, 5 months