1 2 Previous Next 16 Replies Latest reply: Dec 18, 2011 9:35 PM by gardellajp RSS

    Help!After replacing H2 to mysql,getting errors in the process tab!

    Jimmy dong Newbie

      I replace hibernate.cfg.xml in jbpm-gwt-console-server-war/WEB-INF/classes/META-INF  and   jbpm-gwt-console-server-war/WEB-INF/classes;

      I replace persistence.xml in jbpm-gwt-console-server-war/WEB-INF/classes/META-INF.

      I replace testDS1-ds.xml /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy.

      I replace hibernate.cfg.xml in jbpm-gwt-console-server.war/lib/jbpm-bam-5.1.0.Final.jar, and in runtime/lib/jbpm-bam-5.1.0.Final.jar

      I replace persistance.xml in jbpm-gwt-console-server.war/lib/jbpm-human-task-5.1.0.Final.jar ,and in runtime/lib/jbpm-human-task-5.1.0.Final.jar

      Finally,I put the driver jar of mysql(mysql-connector-java-5.1.18-bin.jar) to db/driver.

      Then I run jboss and human task server successfully.

      but when I login http://192.168.188.68:8080/jbpm-console,

      i am getting errors in the process tab , the page can't show the process I uploaded to guvnor before,  and show error page:

      error.JPG

      any help there would be appreciated...

        • 1. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
          Demian Calcaprina Master

          Hi Jimmy. I would be good to see the full stack in the logs

           

          Demian

          • 2. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
            Jimmy dong Newbie

            thanks for your guide! The log of server is :

             

            2011-12-14 08:55:31,221 INFO  [org.jboss.web.WebService] (main) Using RMI server codebase: http://localhost:8083/
            2011-12-14 08:55:41,978 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) JBoss Web Services - Stack Native Core
            2011-12-14 08:55:41,978 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main) 3.1.2.GA
            2011-12-14 08:55:43,036 INFO  [org.jboss.dependency.plugins.AttributeCallbackItem] (main) Owner callback not implemented.
            2011-12-14 08:55:44,531 INFO  [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@b09dc35[ defaultDomain='jboss' ]
            2011-12-14 08:56:50,723 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@322752602{vfsfile:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
            2011-12-14 08:56:50,728 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@322752602{vfsfile:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
            2011-12-14 08:56:50,728 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@322752602{vfsfile:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
            2011-12-14 08:56:50,728 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@322752602{vfsfile:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/}
            2011-12-14 08:56:53,794 INFO  [org.jboss.mx.remoting.service.JMXConnectorServerService] (main) JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector
            2011-12-14 08:56:53,986 INFO  [org.jboss.mail.MailService] (main) Mail Service bound to java:/Mail
            2011-12-14 08:56:57,114 WARN  [org.jboss.jms.server.jbosssx.JBossASSecurityMetadataStore] (main) WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
            2011-12-14 08:56:57,133 WARN  [org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
            2011-12-14 08:56:57,295 WARN  [org.jboss.annotation.factory.AnnotationCreator] (main) No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
            2011-12-14 08:56:57,418 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc.
            2011-12-14 08:56:57,418 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Setting up property manager MBean and JMX layer
            2011-12-14 08:56:57,758 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Initializing recovery manager
            2011-12-14 08:56:58,388 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Recovery manager configured
            2011-12-14 08:56:58,388 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Binding TransactionManager JNDI Reference
            2011-12-14 08:56:58,418 INFO  [com.arjuna.ats.jbossatx.jta.TransactionManagerService] (main) Starting transaction recovery manager
            2011-12-14 08:56:58,948 INFO  [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_29/jre/lib/amd64/server:/usr/local/jdk1.6.0_29/jre/lib/amd64:/usr/local/jdk1.6.0_29/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
            2011-12-14 08:56:59,065 INFO  [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
            2011-12-14 08:56:59,065 INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009
            2011-12-14 08:56:59,095 INFO  [org.apache.catalina.core.StandardService] (main) Starting service jboss.web
            2011-12-14 08:56:59,096 INFO  [org.apache.catalina.core.StandardEngine] (main) Starting Servlet Engine: JBoss Web/2.1.3.GA
            2011-12-14 08:56:59,198 INFO  [org.apache.catalina.startup.Catalina] (main) Server startup in 132 ms
            2011-12-14 08:56:59,223 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/invoker
            2011-12-14 08:57:00,663 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbossws
            2011-12-14 08:57:00,703 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/web-console
            2011-12-14 08:57:01,157 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
            2011-12-14 08:57:01,167 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
            2011-12-14 08:57:01,202 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
            2011-12-14 08:57:01,232 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
            2011-12-14 08:57:01,264 INFO  [org.jboss.resource.deployers.RARDeployment] (main) Required license terms exist, view vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
            2011-12-14 08:57:01,351 INFO  [org.quartz.simpl.SimpleThreadPool] (main) Job execution threads will use class loader of thread: main
            2011-12-14 08:57:01,375 INFO  [org.quartz.core.QuartzScheduler] (main) Quartz Scheduler v.1.5.2 created.
            2011-12-14 08:57:01,377 INFO  [org.quartz.simpl.RAMJobStore] (main) RAMJobStore initialized.
            2011-12-14 08:57:01,377 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
            2011-12-14 08:57:01,377 INFO  [org.quartz.impl.StdSchedulerFactory] (main) Quartz scheduler version: 1.5.2
            2011-12-14 08:57:01,377 INFO  [org.quartz.core.QuartzScheduler] (main) Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
            2011-12-14 08:57:03,147 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
            2011-12-14 08:57:03,780 INFO  [org.jboss.jms.server.ServerPeer] (main) JBoss Messaging 1.4.3.GA server [0] started
            2011-12-14 08:57:03,866 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] (main) supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
            2011-12-14 08:57:03,866 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactoryJNDIMapper] (main) supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
            2011-12-14 08:57:03,936 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            2011-12-14 08:57:03,936 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@2868a55f started
            2011-12-14 08:57:03,942 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            2011-12-14 08:57:03,946 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@1685c9a3 started
            2011-12-14 08:57:03,959 INFO  [org.jboss.jms.server.destination.QueueService] (main) Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            2011-12-14 08:57:03,961 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds
            2011-12-14 08:57:03,961 INFO  [org.jboss.jms.server.connectionfactory.ConnectionFactory] (main) org.jboss.jms.server.connectionfactory.ConnectionFactory@79c1bab1 started
            2011-12-14 08:57:03,962 INFO  [org.jboss.jms.server.destination.QueueService] (main) Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
            2011-12-14 08:57:04,086 INFO  [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] (main) Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
            2011-12-14 08:57:04,828 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Created KernelDeployment for: profileservice-secured.jar
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jboss.ejb:service=EJBTimerService
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
            2011-12-14 08:57:04,837 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  Class:org.jboss.profileservice.spi.ProfileService
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureProfileService/remote
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jboss.ejb:service=EJBTimerService
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager
            2011-12-14 08:57:04,838 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  Class:org.jboss.deployers.spi.management.deploy.DeploymentManager
            2011-12-14 08:57:04,839 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureDeploymentManager/remote
            2011-12-14 08:57:04,839 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   with dependencies:
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and demands:
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jboss.ejb:service=EJBTimerService
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)   and supplies:
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  Class:org.jboss.deployers.spi.management.ManagementView
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main)  jndi:SecureManagementView/remote
            2011-12-14 08:57:04,843 INFO  [org.jboss.ejb3.deployers.JBossASKernel] (main) Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar
            2011-12-14 08:57:04,856 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@66fac898{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            2011-12-14 08:57:04,856 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@24fade{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            2011-12-14 08:57:04,856 INFO  [org.jboss.ejb3.endpoint.deployers.EJB3EndpointDeployer] (main) Deploy AbstractBeanMetaData@193f543e{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            2011-12-14 08:57:05,216 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3
            2011-12-14 08:57:05,233 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager
            2011-12-14 08:57:05,288 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

            SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface
            SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface

            2011-12-14 08:57:05,384 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3
            2011-12-14 08:57:05,388 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView
            2011-12-14 08:57:05,407 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

            SecureManagementView/remote - EJB3.x Default Remote Business Interface
            SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface

            2011-12-14 08:57:05,460 INFO  [org.jboss.ejb3.session.SessionSpecContainer] (main) Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
            2011-12-14 08:57:05,464 INFO  [org.jboss.ejb3.EJBContainer] (main) STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService
            2011-12-14 08:57:05,482 INFO  [org.jboss.ejb3.proxy.impl.jndiregistrar.JndiSessionRegistrarBase] (main) Binding the following Entries in Global JNDI:

            SecureProfileService/remote - EJB3.x Default Remote Business Interface
            SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface

            2011-12-14 08:57:05,813 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/admin-console
            2011-12-14 08:57:05,867 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (main) Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console'
            2011-12-14 08:57:10,477 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/
            2011-12-14 08:57:15,245 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/designer
            2011-12-14 08:57:23,171 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/drools-guvnor
            2011-12-14 08:57:23,452 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
            2011-12-14 08:57:23,452 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/drools-guvnor.war/WEB-INF/lib/slf4j-log4j12-1.6.0.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:23,452 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:23,452 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
            2011-12-14 08:57:30,729 INFO  [STDOUT] (main) INFO  14-12 08:57:30,717 (RulesRepositoryConfigurator.java:getInstance:46)   Creating an instance of the RulesRepositoryConfigurator.
            2011-12-14 08:57:38,714 INFO  [STDOUT] (main) INFO  14-12 08:57:38,713 (LoggingHelper.java:info:50)   Starting mailbox service
            2011-12-14 08:57:38,715 INFO  [STDOUT] (main) INFO  14-12 08:57:38,714 (LoggingHelper.java:info:50)   mailbox service is up
            2011-12-14 08:57:38,723 INFO  [STDOUT] (main) Registering check-in listener
            2011-12-14 08:57:38,725 INFO  [STDOUT] (main) Check-in listener up
            2011-12-14 08:57:42,511 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/enter
            2011-12-14 08:57:42,624 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
            2011-12-14 08:57:42,624 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:42,624 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/WEB-INF/lib/slf4j-log4j12-1.6.0.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:42,625 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
            2011-12-14 08:57:42,643 ERROR [STDERR] (main) log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
            2011-12-14 08:57:42,643 ERROR [STDERR] (main) log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
            2011-12-14 08:57:42,643 ERROR [STDERR] (main) log4j:ERROR [BaseClassLoader@70d47214{vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/}] whereas object of type
            2011-12-14 08:57:42,643 ERROR [STDERR] (main) log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@1ff9dc36].
            2011-12-14 08:57:42,643 ERROR [STDERR] (main) log4j:ERROR Could not instantiate appender named "FILE".
            2011-12-14 08:57:43,348 INFO  [STDOUT] (main) 08:57:43,348 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:43,361 INFO  [STDOUT] (main) 08:57:43,361 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/WEB-INF/classes
            2011-12-14 08:57:43,373 INFO  [STDOUT] (main) 08:57:43,373 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:43,373 INFO  [STDOUT] (main) 08:57:43,373 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/WEB-INF/classes
            2011-12-14 08:57:43,374 INFO  [STDOUT] (main) 08:57:43,374 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:43,375 INFO  [STDOUT] (main) 08:57:43,375 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/WEB-INF/classes
            2011-12-14 08:57:43,381 INFO  [STDOUT] (main) 08:57:43,381 INFO  [OrderedBootstrap] Bootstrap Errai
            2011-12-14 08:57:43,383 INFO  [STDOUT] (main) 08:57:43,383 INFO  [DefaultComponents] using dispatcher implementation: org.jboss.errai.bus.server.AsyncDispatcher
            2011-12-14 08:57:43,407 INFO  [STDOUT] (main) 08:57:43,407 INFO  [WorkerFactory] initializing async worker pools (poolSize: 5; workerTimeout: 5000)
            2011-12-14 08:57:43,409 INFO  [STDOUT] (main) 08:57:43,409 INFO  [WorkerFactory] starting worker pool.
            2011-12-14 08:57:43,426 INFO  [STDOUT] (main) 08:57:43,426 INFO  [DefaultComponents] using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider
            2011-12-14 08:57:43,442 INFO  [STDOUT] (main) 08:57:43,442 INFO  [LoadExtensions] beging searching for Errai extensions ...
            2011-12-14 08:57:43,451 INFO  [STDOUT] (main) 08:57:43,451 INFO  [ConfigUtil] caching context '/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war:WEB-INF/classes'
            2011-12-14 08:57:43,962 INFO  [STDOUT] (main) 08:57:43,962 INFO  [LoadExtensions] total extension binding: 0
            2011-12-14 08:57:43,962 INFO  [STDOUT] (main) 08:57:43,962 INFO  [DiscoverServices] beging searching for services ...
            2011-12-14 08:57:43,964 INFO  [STDOUT] (main) 08:57:43,964 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:43,964 INFO  [STDOUT] (main) 08:57:43,964 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/enter.war/WEB-INF/classes
            2011-12-14 08:57:44,302 INFO  [STDOUT] (main) 08:57:44,302 INFO  [DiscoverServices] checking ErraiApp.properties for configured types ...
            2011-12-14 08:57:44,305 INFO  [STDOUT] (main) 08:57:44,305 INFO  [ConfigUtil] Cleaning up ...
            2011-12-14 08:57:44,308 INFO  [STDOUT] (main) 08:57:44,308 INFO  [BootstrapContext] Running deferred bootstrap tasks ...
            2011-12-14 08:57:44,308 INFO  [STDOUT] (main) 08:57:44,308 INFO  [OrderedBootstrap] Bootstrap complete. Ready to rumble!
            2011-12-14 08:57:49,661 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/gwt-console-server
            2011-12-14 08:57:50,849 ERROR [STDERR] (main) log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
            2011-12-14 08:57:50,849 ERROR [STDERR] (main) log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
            2011-12-14 08:57:50,849 ERROR [STDERR] (main) log4j:ERROR [BaseClassLoader@8dfd603{vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console-server.war/}] whereas object of type
            2011-12-14 08:57:50,850 ERROR [STDERR] (main) log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@1ff9dc36].
            2011-12-14 08:57:50,850 ERROR [STDERR] (main) log4j:ERROR Could not instantiate appender named "FILE".
            2011-12-14 08:57:50,931 INFO  [STDOUT] (main) 08:57:50,931 WARN  [ResteasyBootstrap] The use of javax.ws.rs.core.Application is deprecated, please use javax.ws.rs.Application as a context-param instead
            2011-12-14 08:57:50,931 INFO  [STDOUT] (main) 08:57:50,931 INFO  [ResteasyBootstrap] Adding listed @Provider class org.jboss.bpm.report.util.FileWriter
            2011-12-14 08:57:50,943 INFO  [STDOUT] (main) 08:57:50,943 INFO  [providers] Added built in provider DataSourceProvider
            2011-12-14 08:57:50,944 INFO  [STDOUT] (main) 08:57:50,944 INFO  [providers] Added built in provider DefaultTextPlain
            2011-12-14 08:57:50,952 INFO  [STDOUT] (main) 08:57:50,952 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.StringTextStar
            2011-12-14 08:57:50,953 INFO  [STDOUT] (main) 08:57:50,953 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.InputStreamProvider
            2011-12-14 08:57:50,954 INFO  [STDOUT] (main) 08:57:50,954 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.ByteArrayProvider
            2011-12-14 08:57:50,956 INFO  [STDOUT] (main) 08:57:50,956 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider
            2011-12-14 08:57:50,957 INFO  [STDOUT] (main) 08:57:50,957 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider
            2011-12-14 08:57:50,958 INFO  [STDOUT] (main) 08:57:50,958 INFO  [providers] Added built in provider org.jboss.resteasy.plugins.providers.StreamingOutputProvider
            2011-12-14 08:57:50,961 INFO  [STDOUT] (main) 08:57:50,961 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MultipartReader
            2011-12-14 08:57:50,968 INFO  [STDOUT] (main) 08:57:50,968 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.ListMultipartReader
            2011-12-14 08:57:50,969 INFO  [STDOUT] (main) 08:57:50,969 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataReader
            2011-12-14 08:57:50,971 INFO  [STDOUT] (main) 08:57:50,971 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataReader
            2011-12-14 08:57:50,972 INFO  [STDOUT] (main) 08:57:50,972 INFO  [providers] Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MultipartWriter
            2011-12-14 08:57:50,975 INFO  [STDOUT] (main) 08:57:50,975 INFO  [providers] Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MultipartFormDataWriter
            2011-12-14 08:57:50,976 INFO  [STDOUT] (main) 08:57:50,976 INFO  [providers] Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.ListMultipartWriter
            2011-12-14 08:57:50,978 INFO  [STDOUT] (main) 08:57:50,978 INFO  [providers] Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MapMultipartFormDataWriter
            2011-12-14 08:57:50,979 INFO  [STDOUT] (main) 08:57:50,979 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationReader
            2011-12-14 08:57:50,981 INFO  [STDOUT] (main) 08:57:50,981 INFO  [providers] Adding built in providerorg.jboss.resteasy.plugins.providers.multipart.MultipartFormAnnotationWriter
            2011-12-14 08:57:50,984 INFO  [STDOUT] (main) 08:57:50,984 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.IIOImageProvider
            2011-12-14 08:57:51,017 INFO  [STDOUT] (main) 08:57:51,017 INFO  [providers] Adding built in provider org.jboss.resteasy.plugins.providers.multipart.MimeMultipartProvider
            2011-12-14 08:57:51,068 INFO  [STDOUT] (main) 08:57:51,068 INFO  [ReportFacade] BIRT home: /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/data/birt/ReportEngine
            2011-12-14 08:57:51,068 INFO  [STDOUT] (main) 08:57:51,068 INFO  [ReportFacade] Output dir: /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/data/birt/output/
            2011-12-14 08:57:51,068 INFO  [STDOUT] (main) 08:57:51,068 INFO  [ReportFacade] Report dir: /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/data/birt/
            2011-12-14 08:57:51,085 INFO  [STDOUT] (main) 08:57:51,085 INFO  [ResteasyBootstrap] Deploying javax.ws.rs.core.Application: class org.jboss.bpm.console.server.ConsoleServerApplication
            2011-12-14 08:57:51,085 INFO  [STDOUT] (main) 08:57:51,085 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.FormProcessingFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,091 INFO  [STDOUT] (BirtService-Init) 08:57:51,090 INFO  [BirtService] Creating BIRT service in the background
            2011-12-14 08:57:51,123 INFO  [STDOUT] (main) 08:57:51,123 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.EngineFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,126 INFO  [STDOUT] (main) 08:57:51,126 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.ProcessMgmtFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,133 INFO  [STDOUT] (main) 08:57:51,133 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.InfoFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,134 INFO  [STDOUT] (main) 08:57:51,134 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.UserMgmtFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,137 INFO  [STDOUT] (main) 08:57:51,137 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.TaskMgmtFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,151 INFO  [STDOUT] (main) 08:57:51,151 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.console.server.TaskListFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,152 INFO  [STDOUT] (main) 08:57:51,152 INFO  [ResteasyBootstrap] Adding singleton resource org.jboss.bpm.report.ReportFacade from Application javax.ws.rs.core.Application
            2011-12-14 08:57:51,238 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jbpm-console
            2011-12-14 08:57:51,447 ERROR [STDERR] (main) SLF4J: Class path contains multiple SLF4J bindings.
            2011-12-14 08:57:51,448 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:51,448 ERROR [STDERR] (main) SLF4J: Found binding in [vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/lib/slf4j-log4j12-1.6.0.jar/org/slf4j/impl/StaticLoggerBinder.class]
            2011-12-14 08:57:51,448 ERROR [STDERR] (main) SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
            2011-12-14 08:57:51,575 ERROR [STDERR] (main) log4j:ERROR A "org.jboss.logging.appender.FileAppender" object is not assignable to a "org.apache.log4j.Appender" variable.
            2011-12-14 08:57:51,575 ERROR [STDERR] (main) log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
            2011-12-14 08:57:51,575 ERROR [STDERR] (main) log4j:ERROR [BaseClassLoader@72440d13{vfsfile:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/}] whereas object of type
            2011-12-14 08:57:51,575 ERROR [STDERR] (main) log4j:ERROR "org.jboss.logging.appender.FileAppender" was loaded by [org.jboss.bootstrap.NoAnnotationURLClassLoader@1ff9dc36].
            2011-12-14 08:57:51,575 ERROR [STDERR] (main) log4j:ERROR Could not instantiate appender named "FILE".
            2011-12-14 08:57:53,668 INFO  [STDOUT] (main) 08:57:53,666 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:53,669 INFO  [STDOUT] (main) 08:57:53,669 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes
            2011-12-14 08:57:53,774 INFO  [STDOUT] (main) 08:57:53,774 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:53,848 INFO  [STDOUT] (main) 08:57:53,848 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes
            2011-12-14 08:57:53,896 INFO  [STDOUT] (main) 08:57:53,896 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:53,899 INFO  [STDOUT] (main) 08:57:53,899 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes
            2011-12-14 08:57:54,027 INFO  [STDOUT] (main) 08:57:54,027 INFO  [OrderedBootstrap] Bootstrap Errai
            2011-12-14 08:57:54,035 INFO  [STDOUT] (main) 08:57:54,035 INFO  [DefaultComponents] using dispatcher implementation: org.jboss.errai.bus.server.AsyncDispatcher
            2011-12-14 08:57:54,049 INFO  [STDOUT] (main) 08:57:54,049 INFO  [WorkerFactory] initializing async worker pools (poolSize: 5; workerTimeout: 5000)
            2011-12-14 08:57:54,058 INFO  [STDOUT] (main) 08:57:54,058 INFO  [WorkerFactory] starting worker pool.
            2011-12-14 08:57:54,090 INFO  [STDOUT] (main) 08:57:54,089 INFO  [DefaultComponents] using session provider implementation: org.jboss.errai.bus.server.HttpSessionProvider
            2011-12-14 08:57:54,107 INFO  [STDOUT] (main) 08:57:54,107 INFO  [LoadExtensions] beging searching for Errai extensions ...
            2011-12-14 08:57:54,125 INFO  [STDOUT] (main) 08:57:54,125 INFO  [ConfigUtil] caching context '/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes'
            2011-12-14 08:57:55,090 INFO  [STDOUT] (main) 08:57:55,090 INFO  [LoadExtensions] total extension binding: 0
            2011-12-14 08:57:55,090 INFO  [STDOUT] (main) 08:57:55,090 INFO  [DiscoverServices] beging searching for services ...
            2011-12-14 08:57:55,092 INFO  [STDOUT] (main) 08:57:55,092 INFO  [ConfigUtil] configuration scan targets
            2011-12-14 08:57:55,092 INFO  [STDOUT] (main) 08:57:55,092 INFO  [ConfigUtil]  -> /usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console.war/WEB-INF/classes
            2011-12-14 08:57:55,109 INFO  [STDOUT] (main) 08:57:55,109 INFO  [DiscoverServices] checking ErraiApp.properties for configured types ...
            2011-12-14 08:57:55,263 INFO  [STDOUT] (main) 08:57:55,263 INFO  [ConfigUtil] Cleaning up ...
            2011-12-14 08:57:55,270 INFO  [STDOUT] (main) 08:57:55,270 INFO  [BootstrapContext] Running deferred bootstrap tasks ...
            2011-12-14 08:57:55,270 INFO  [STDOUT] (main) 08:57:55,270 INFO  [OrderedBootstrap] Bootstrap complete. Ready to rumble!
            2011-12-14 08:57:59,378 WARN  [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean jboss.web.deployment:war=/jbpm-console
            javax.management.InstanceAlreadyExistsException: jboss.deployment:id="jboss.web.deployment:war=/jbpm-console",type=Component already registered.
            at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756)
            at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233)
            at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
            at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
            at java.security.AccessController.doPrivileged(Native Method)
            at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
            at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
            at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:1030)
            at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:722)
            at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:251)
            at org.jboss.system.deployers.ServiceDeploymentDeployer.addServiceComponent(ServiceDeploymentDeployer.java:62)
            at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceMetaDataVisitor.deploy(ServiceDeploymentDeployer.java:150)
            at org.jboss.system.deployers.ServiceDeploymentDeployer$ServiceMetaDataVisitor.deploy(ServiceDeploymentDeployer.java:141)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
            at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.deployComponents(AbstractComponentDeployer.java:102)
            at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:82)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
            at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
            at org.jboss.Main.boot(Main.java:221)
            at org.jboss.Main$1.run(Main.java:556)
            at java.lang.Thread.run(Thread.java:662)
            2011-12-14 08:57:59,566 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console1.war/ state=PreReal mode=Manual requiredState=Real
            org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.web.deployment:war=/jbpm-console
            at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
            at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
            at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
            at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
            at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
            at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
            at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
            at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
            at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
            at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
            at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
            at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
            at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
            at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
            at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
            at org.jboss.Main.boot(Main.java:221)
            at org.jboss.Main$1.run(Main.java:556)
            at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.IllegalStateException: jboss.web.deployment:war=/jbpm-console is already installed.
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
            at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
            at org.jboss.system.ServiceController.doInstall(ServiceController.java:670)
            at org.jboss.system.ServiceController.install(ServiceController.java:273)
            at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90)
            ... 34 more
            2011-12-14 08:57:59,645 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/jmx-console
            2011-12-14 08:58:00,022 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

            DEPLOYMENTS MISSING DEPENDENCIES:
              Deployment "persistence.unit:unitName=#org.jbpm.persistence.jpa" is missing the following dependencies:
                Dependency "jboss.jca:name=jdbc/testDS1,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=jdbc/testDS1,service=DataSourceBinding' **")

            DEPLOYMENTS IN ERROR:
              Deployment "vfszip:/usr/local/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/jbpm-gwt-console1.war/" is in error due to the following reason(s): java.lang.IllegalStateException: jboss.web.deployment:war=/jbpm-console is already installed.
              Deployment "jboss.jca:name=jdbc/testDS1,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=jdbc/testDS1,service=DataSourceBinding' **

            2011-12-14 08:58:00,060 INFO  [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-0.0.0.0-8080
            2011-12-14 08:58:00,260 INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009
            2011-12-14 08:58:00,320 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 2m:46s:272ms
            2011-12-14 08:58:06,641 INFO  [org.eclipse.birt.report.model.metadata.StructRefPropertyType] (BirtService-Init) The value of the structure property is a string
            2011-12-14 08:58:11,014 INFO  [org.eclipse.birt.report.model.metadata.StructRefPropertyType] (BirtService-Init) The value of the structure property is a string
            2011-12-14 08:58:11,143 INFO  [STDOUT] (BirtService-Init) 08:58:11,143 INFO  [BirtService] Service created: org.eclipse.birt.report.engine.api.impl.ReportEngine@12773a6
            2011-12-14 09:22:17,444 INFO  [STDOUT] (http-0.0.0.0-8080-3) 09:22:17,410 INFO  [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite
            2011-12-14 09:22:17,562 INFO  [STDOUT] (http-0.0.0.0-8080-3) 09:22:17,562 INFO  [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.GraphViewerPlugin': class org.jbpm.integration.console.graph.GraphViewerPluginImpl
            2011-12-14 09:22:17,727 INFO  [STDOUT] (http-0.0.0.0-8080-3) 09:22:17,727 WARN  [PluginMgr] Unable to load plugin: 'org.jboss.bpm.console.server.plugin.ProcessEnginePlugin'
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user jason:
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user john:
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,362 INFO  [STDOUT] (http-0.0.0.0-8080-3)  PM
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user william:
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user daniel:
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,363 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user marvin:
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user eric:
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user yuri:
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,364 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user krisv:
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user mary:
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,365 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  HR
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user sales-rep:
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  sales
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user admin:
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,366 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user jimmy:
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user hawis:
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loaded user kim:
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  admin
            2011-12-14 09:22:24,367 INFO  [STDOUT] (http-0.0.0.0-8080-3)  manager
            2011-12-14 09:22:24,368 INFO  [STDOUT] (http-0.0.0.0-8080-3)  user
            2011-12-14 09:22:25,336 INFO  [STDOUT] (http-0.0.0.0-8080-3) 09:22:25,336 INFO  [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite
            2011-12-14 09:22:51,794 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,794 (NilAuthenticator.java:authenticate:35)   All users are guests.
            2011-12-14 09:22:51,840 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,839 (RepositoryServlet.java:allowUser:114)   admin authenticated for rest api
            2011-12-14 09:22:51,840 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,840 (PackageDeploymentServlet.java:execute:141)   PackageName: defaultPackage
            2011-12-14 09:22:51,841 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,840 (PackageDeploymentServlet.java:execute:142)   PackageVersion: LATEST
            2011-12-14 09:22:51,841 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,841 (PackageDeploymentServlet.java:execute:143)   PackageIsLatest: true
            2011-12-14 09:22:51,842 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:22:51,841 (PackageDeploymentServlet.java:execute:144)   PackageIsSource: false
            2011-12-14 09:22:52,742 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loading process from Guvnor: com.opmex
            2011-12-14 09:22:52,742 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loading process from Guvnor: com.opmex.test2
            2011-12-14 09:22:52,743 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loading process from Guvnor: com.sample.bpmn.sampleHTformvariables
            2011-12-14 09:22:55,934 INFO  [STDOUT] (http-0.0.0.0-8080-3) Loading process from file system: Evaluation.bpmn
            2011-12-14 09:22:57,242 INFO  [STDOUT] (http-0.0.0.0-8080-3) (null: 18, 63): cvc-id.2: There are multiple occurrences of ID value '_2_ContentInput'.
            2011-12-14 09:22:57,242 INFO  [STDOUT] (http-0.0.0.0-8080-3) (null: 18, 63): cvc-attribute.3: The value '_2_ContentInput' of attribute 'id' on element 'bpmn2:dataInput' is not valid with respect to its type, 'ID'.
            2011-12-14 09:22:57,259 INFO  [STDOUT] (http-0.0.0.0-8080-3) (null: 137, 67): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:property'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
            2011-12-14 09:22:59,067 INFO  [org.hibernate.cfg.annotations.Version] (http-0.0.0.0-8080-3) Hibernate Annotations 3.4.0.GA
            2011-12-14 09:22:59,180 INFO  [org.hibernate.cfg.Environment] (http-0.0.0.0-8080-3) Hibernate 3.3.1.GA
            2011-12-14 09:22:59,203 INFO  [org.hibernate.cfg.Environment] (http-0.0.0.0-8080-3) hibernate.properties not found
            2011-12-14 09:22:59,380 INFO  [org.hibernate.cfg.Environment] (http-0.0.0.0-8080-3) Bytecode provider name : javassist
            2011-12-14 09:22:59,428 INFO  [org.hibernate.cfg.Environment] (http-0.0.0.0-8080-3) using JDK 1.4 java.sql.Timestamp handling
            2011-12-14 09:22:59,865 INFO  [org.hibernate.annotations.common.Version] (http-0.0.0.0-8080-3) Hibernate Commons Annotations 3.1.0.GA
            2011-12-14 09:22:59,879 INFO  [org.hibernate.ejb.Version] (http-0.0.0.0-8080-3) Hibernate EntityManager 3.4.0.GA
            2011-12-14 09:23:00,920 INFO  [org.hibernate.cfg.Configuration] (http-0.0.0.0-8080-3) Reading mappings from resource : META-INF/JBPMorm.xml
            2011-12-14 09:23:01,247 INFO  [STDOUT] (http-0.0.0.0-8080-4) INFO  14-12 09:23:01,246 (NilAuthenticator.java:authenticate:35)   All users are guests.
            2011-12-14 09:23:01,420 INFO  [org.hibernate.cfg.annotations.QueryBinder] (http-0.0.0.0-8080-3) Binding Named query: ProcessInstancesWaitingForEvent => select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)
            2011-12-14 09:23:01,424 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-3) Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
            2011-12-14 09:23:01,933 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-3) Bind entity org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
            2011-12-14 09:23:03,788 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-3) Binding entity from annotated class: org.drools.persistence.info.SessionInfo
            2011-12-14 09:23:03,804 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-3) Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
            2011-12-14 09:23:03,821 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-3) Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
            2011-12-14 09:23:03,821 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-3) Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
            2011-12-14 09:23:03,946 INFO  [org.hibernate.validator.Version] (http-0.0.0.0-8080-3) Hibernate Validator 3.1.0.GA
            2011-12-14 09:23:03,987 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (http-0.0.0.0-8080-3) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
            2011-12-14 09:23:04,202 INFO  [org.hibernate.util.NamingHelper] (http-0.0.0.0-8080-3) JNDI InitialContext properties:{}
            2011-12-14 09:23:04,202 ERROR [org.hibernate.connection.DatasourceConnectionProvider] (http-0.0.0.0-8080-3) Could not find datasource: java:jdbc/testDS1
            javax.naming.NameNotFoundException: jdbc not bound
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
            at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
            at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
            at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
            at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
            at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
            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.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
            at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
            at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
            at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
            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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
            at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
            at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
            2011-12-14 09:23:04,206 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-0.0.0.0-8080-3) Servlet.service() for servlet Resteasy threw exception
            org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
            at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
            at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
            at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
            at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
            at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
            at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
            at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
            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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
            at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
            at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
            ... 28 more
            Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] 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.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
            ... 45 more
            Caused by: org.hibernate.HibernateException: Could not find datasource
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
            at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
            at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
            at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
            at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
            at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
            ... 49 more
            Caused by: javax.naming.NameNotFoundException: jdbc not bound
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
            ... 56 more
            2011-12-14 09:24:37,757 INFO  [STDOUT] (http-0.0.0.0-8080-1) INFO  14-12 09:24:37,752 (LoggingHelper.java:info:50)   Following assets have been included in package build: drools, com.sample.bpmn.sampleHTformvariables-image, com.sample.bpmn.sampleHTformvariables, ProcessOrder, SampleApprovalTask, SampleHumanTaskFormVariables, AssignTask, com.opmex.test2, CompleteTask, CreateTask, ProcessReview, ReviewTask, com.opmex.test2-image, wholeProcess,
            2011-12-14 09:24:42,143 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,134 (NilAuthenticator.java:authenticate:35)   All users are guests.
            2011-12-14 09:24:42,143 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,143 (RepositoryServlet.java:allowUser:114)   admin authenticated for rest api
            2011-12-14 09:24:42,144 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,143 (PackageDeploymentServlet.java:execute:141)   PackageName: defaultPackage
            2011-12-14 09:24:42,144 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,144 (PackageDeploymentServlet.java:execute:142)   PackageVersion: LATEST
            2011-12-14 09:24:42,144 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,144 (PackageDeploymentServlet.java:execute:143)   PackageIsLatest: true
            2011-12-14 09:24:42,145 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:42,144 (PackageDeploymentServlet.java:execute:144)   PackageIsSource: false
            2011-12-14 09:24:42,263 ERROR [STDERR] (Thread-31) no visitor implementation for : class org.jbpm.ruleflow.core.RuleFlowProcess : org.jbpm.ruleflow.core.RuleFlowProcess@b3d0dd16
            2011-12-14 09:24:42,263 ERROR [STDERR] (Thread-31) no visitor implementation for : class org.jbpm.ruleflow.core.RuleFlowProcess : org.jbpm.ruleflow.core.RuleFlowProcess@e3f3e3ec
            2011-12-14 09:24:42,263 ERROR [STDERR] (Thread-31) no visitor implementation for : class org.jbpm.ruleflow.core.RuleFlowProcess : org.jbpm.ruleflow.core.RuleFlowProcess@6c460c3f
            2011-12-14 09:24:43,573 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,572 (NilAuthenticator.java:authenticate:35)   All users are guests.
            2011-12-14 09:24:43,581 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,581 (RepositoryServlet.java:allowUser:114)   admin authenticated for rest api
            2011-12-14 09:24:43,582 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,582 (PackageDeploymentServlet.java:execute:141)   PackageName: defaultPackage
            2011-12-14 09:24:43,583 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,582 (PackageDeploymentServlet.java:execute:142)   PackageVersion: LATEST
            2011-12-14 09:24:43,584 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,583 (PackageDeploymentServlet.java:execute:143)   PackageIsLatest: true
            2011-12-14 09:24:43,584 INFO  [STDOUT] (http-0.0.0.0-8080-2) INFO  14-12 09:24:43,584 (PackageDeploymentServlet.java:execute:144)   PackageIsSource: false
            2011-12-14 09:24:43,672 INFO  [STDOUT] (http-0.0.0.0-8080-1) Loading process from Guvnor: com.opmex.test2
            2011-12-14 09:24:43,672 INFO  [STDOUT] (http-0.0.0.0-8080-1) Loading process from Guvnor: com.sample.bpmn.sampleHTformvariables
            2011-12-14 09:24:43,681 INFO  [STDOUT] (http-0.0.0.0-8080-1) Loading process from file system: Evaluation.bpmn
            2011-12-14 09:24:43,703 INFO  [STDOUT] (http-0.0.0.0-8080-1) (null: 18, 63): cvc-id.2: There are multiple occurrences of ID value '_2_ContentInput'.
            2011-12-14 09:24:43,704 INFO  [STDOUT] (http-0.0.0.0-8080-1) (null: 18, 63): cvc-attribute.3: The value '_2_ContentInput' of attribute 'id' on element 'bpmn2:dataInput' is not valid with respect to its type, 'ID'.
            2011-12-14 09:24:43,708 INFO  [STDOUT] (http-0.0.0.0-8080-1) (null: 137, 67): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:property'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
            2011-12-14 09:24:43,733 INFO  [org.hibernate.cfg.Configuration] (http-0.0.0.0-8080-1) Reading mappings from resource : META-INF/JBPMorm.xml
            2011-12-14 09:24:43,763 INFO  [org.hibernate.cfg.annotations.QueryBinder] (http-0.0.0.0-8080-1) Binding Named query: ProcessInstancesWaitingForEvent => select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)
            2011-12-14 09:24:43,763 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-1) Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
            2011-12-14 09:24:43,763 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-1) Bind entity org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
            2011-12-14 09:24:43,778 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-1) Binding entity from annotated class: org.drools.persistence.info.SessionInfo
            2011-12-14 09:24:43,778 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-1) Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
            2011-12-14 09:24:43,779 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-1) Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
            2011-12-14 09:24:43,780 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-1) Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
            2011-12-14 09:24:43,819 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (http-0.0.0.0-8080-1) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
            2011-12-14 09:24:43,825 INFO  [org.hibernate.util.NamingHelper] (http-0.0.0.0-8080-1) JNDI InitialContext properties:{}
            2011-12-14 09:24:43,825 ERROR [org.hibernate.connection.DatasourceConnectionProvider] (http-0.0.0.0-8080-1) Could not find datasource: java:jdbc/testDS1
            javax.naming.NameNotFoundException: jdbc not bound
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
            at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
            at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
            at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
            at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
            at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
            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.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
            at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
            at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
            at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
            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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
            at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
            at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
            2011-12-14 09:24:43,826 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-0.0.0.0-8080-1) Servlet.service() for servlet Resteasy threw exception
            org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
            at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
            at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
            at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
            at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
            at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
            at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
            at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
            at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
            at java.lang.Thread.run(Thread.java:662)
            Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
            at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
            at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
            at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
            at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
            at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
            at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
            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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
            at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
            at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
            at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
            ... 28 more
            Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] 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.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
            ... 45 more
            Caused by: org.hibernate.HibernateException: Could not find datasource
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:79)
            at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:137)
            at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29)
            at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:89)
            at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2101)
            at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1325)
            at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
            at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
            ... 49 more
            Caused by: javax.naming.NameNotFoundException: jdbc not bound
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
            at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
            at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
            at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726)
            at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
            at javax.naming.InitialContext.lookup(InitialContext.java:392)
            at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:75)
            ... 56 more

            • 3. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
              Demian Calcaprina Master

              Could you please try adding the mysql driver in jboss lib directory?

               

              Hope this helps

               

              Demian

              • 4. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                Jimmy dong Newbie

                Yes,just now I found the datasource of jboss is wrong,I modified testDS1-ds.xml and the datasource is ok,but it also has something wrong:

                2011-12-14 10:08:53,640 INFO  [STDOUT] (http-0.0.0.0-8080-4) 10:08:53,639 INFO  [PluginMgr] Successfully loaded plugin 'org.jboss.bpm.console.server.plugin.FormDispatcherPlugin': class org.jbpm.integration.console.forms.FormDispatcherComposite
                2011-12-14 10:09:02,231 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,230 (NilAuthenticator.java:authenticate:35)   All users are guests.
                2011-12-14 10:09:02,233 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,233 (RepositoryServlet.java:allowUser:114)   admin authenticated for rest api
                2011-12-14 10:09:02,234 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,234 (PackageDeploymentServlet.java:execute:141)   PackageName: defaultPackage
                2011-12-14 10:09:02,234 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,234 (PackageDeploymentServlet.java:execute:142)   PackageVersion: LATEST
                2011-12-14 10:09:02,235 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,235 (PackageDeploymentServlet.java:execute:143)   PackageIsLatest: true
                2011-12-14 10:09:02,235 INFO  [STDOUT] (http-0.0.0.0-8080-5) INFO  14-12 10:09:02,235 (PackageDeploymentServlet.java:execute:144)   PackageIsSource: false
                2011-12-14 10:09:02,534 INFO  [STDOUT] (http-0.0.0.0-8080-4) Loading process from Guvnor: com.opmex.test2
                2011-12-14 10:09:02,534 INFO  [STDOUT] (http-0.0.0.0-8080-4) Loading process from Guvnor: com.sample.bpmn.sampleHTformvariables
                2011-12-14 10:09:03,060 INFO  [STDOUT] (http-0.0.0.0-8080-4) Loading process from file system: Evaluation.bpmn
                2011-12-14 10:09:04,430 INFO  [STDOUT] (http-0.0.0.0-8080-4) (null: 18, 63): cvc-id.2: There are multiple occurrences of ID value '_2_ContentInput'.
                2011-12-14 10:09:04,430 INFO  [STDOUT] (http-0.0.0.0-8080-4) (null: 18, 63): cvc-attribute.3: The value '_2_ContentInput' of attribute 'id' on element 'bpmn2:dataInput' is not valid with respect to its type, 'ID'.
                2011-12-14 10:09:04,448 INFO  [STDOUT] (http-0.0.0.0-8080-4) (null: 137, 67): cvc-complex-type.2.4.a: Invalid content was found starting with element 'bpmn2:property'. One of '{"http://www.omg.org/spec/BPMN/20100524/MODEL":flowElement, "http://www.omg.org/spec/BPMN/20100524/MODEL":artifact, "http://www.omg.org/spec/BPMN/20100524/MODEL":resourceRole, "http://www.omg.org/spec/BPMN/20100524/MODEL":correlationSubscription, "http://www.omg.org/spec/BPMN/20100524/MODEL":supports}' is expected.
                2011-12-14 10:09:04,993 INFO  [org.hibernate.cfg.Configuration] (http-0.0.0.0-8080-4) Reading mappings from resource : META-INF/JBPMorm.xml
                2011-12-14 10:09:05,042 INFO  [org.hibernate.cfg.annotations.QueryBinder] (http-0.0.0.0-8080-4) Binding Named query: ProcessInstancesWaitingForEvent => select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo where :type in elements(processInstanceInfo.eventTypes)
                2011-12-14 10:09:05,042 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-4) Binding entity from annotated class: org.jbpm.persistence.processinstance.ProcessInstanceInfo
                2011-12-14 10:09:05,042 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-4) Bind entity org.jbpm.persistence.processinstance.ProcessInstanceInfo on table ProcessInstanceInfo
                2011-12-14 10:09:05,051 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-4) Binding entity from annotated class: org.drools.persistence.info.SessionInfo
                2011-12-14 10:09:05,057 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-4) Bind entity org.drools.persistence.info.SessionInfo on table SessionInfo
                2011-12-14 10:09:05,058 INFO  [org.hibernate.cfg.AnnotationBinder] (http-0.0.0.0-8080-4) Binding entity from annotated class: org.drools.persistence.info.WorkItemInfo
                2011-12-14 10:09:05,058 INFO  [org.hibernate.cfg.annotations.EntityBinder] (http-0.0.0.0-8080-4) Bind entity org.drools.persistence.info.WorkItemInfo on table WorkItemInfo
                2011-12-14 10:09:05,089 INFO  [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (http-0.0.0.0-8080-4) Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
                2011-12-14 10:09:05,102 INFO  [org.hibernate.util.NamingHelper] (http-0.0.0.0-8080-4) JNDI InitialContext properties:{}
                2011-12-14 10:09:05,103 INFO  [org.hibernate.connection.DatasourceConnectionProvider] (http-0.0.0.0-8080-4) Using datasource: java:jdbc/testDS1
                2011-12-14 10:09:05,110 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) RDBMS: MySQL, version: 5.1.52
                2011-12-14 10:09:05,110 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.18 ( Revision: tonci.grgin@oracle.com-20110930151701-jfj14ddfq48ifkfq )
                2011-12-14 10:09:05,110 INFO  [org.hibernate.dialect.Dialect] (http-0.0.0.0-8080-4) Using dialect: org.hibernate.dialect.MySQLDialect
                2011-12-14 10:09:05,110 INFO  [org.hibernate.transaction.TransactionFactoryFactory] (http-0.0.0.0-8080-4) Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
                2011-12-14 10:09:05,111 INFO  [org.hibernate.transaction.TransactionManagerLookupFactory] (http-0.0.0.0-8080-4) No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Automatic flush during beforeCompletion(): disabled
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Automatic session close at end of transaction: disabled
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) JDBC batch size: 15
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) JDBC batch updates for versioned data: disabled
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Scrollable result sets: enabled
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) JDBC3 getGeneratedKeys(): enabled
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Connection release mode: auto
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Maximum outer join fetch depth: 3
                2011-12-14 10:09:05,111 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Default batch fetch size: 1
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Generate SQL with comments: disabled
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Order SQL updates by primary key: disabled
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Order SQL inserts for batching: disabled
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
                2011-12-14 10:09:05,117 INFO  [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (http-0.0.0.0-8080-4) Using ASTQueryTranslatorFactory
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Query language substitutions: {}
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) JPA-QL strict compliance: enabled
                2011-12-14 10:09:05,117 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Second-level cache: enabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Query cache: disabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Cache region factory : org.hibernate.cache.impl.NoCachingRegionFactory
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Optimize cache for minimal puts: disabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Structured second-level cache entries: disabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Statistics: disabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Deleted entity synthetic identifier rollback: disabled
                2011-12-14 10:09:05,118 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Default entity-mode: pojo
                2011-12-14 10:09:05,119 INFO  [org.hibernate.cfg.SettingsFactory] (http-0.0.0.0-8080-4) Named query checking : enabled
                2011-12-14 10:09:05,132 INFO  [org.hibernate.impl.SessionFactoryImpl] (http-0.0.0.0-8080-4) building session factory
                2011-12-14 10:09:05,148 INFO  [org.hibernate.impl.SessionFactoryObjectFactory] (http-0.0.0.0-8080-4) Not binding factory to JNDI, no JNDI name configured
                2011-12-14 10:09:05,163 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (http-0.0.0.0-8080-4) Running hbm2ddl schema export
                2011-12-14 10:09:05,163 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (http-0.0.0.0-8080-4) exporting generated schema to database
                2011-12-14 10:09:05,211 INFO  [org.hibernate.tool.hbm2ddl.SchemaExport] (http-0.0.0.0-8080-4) schema export complete
                2011-12-14 10:09:05,213 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/gwt-console-server].[Resteasy]] (http-0.0.0.0-8080-4) Servlet.service() for servlet Resteasy threw exception
                org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
                at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)
                at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)
                at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)
                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)
                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
                at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                at java.lang.Thread.run(Thread.java:662)
                Caused by: java.lang.RuntimeException: Could not initialize stateful knowledge session: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory
                at org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
                at org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
                at org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
                at org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
                at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
                at org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
                at org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
                at org.jboss.bpm.console.server.ProcessMgmtFacade.getDefinitionsJSON(ProcessMgmtFacade.java:122)
                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.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
                at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
                at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
                at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
                at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
                ... 28 more
                Caused by: javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] 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.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:131)
                ... 45 more
                Caused by: org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager
                at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:361)
                at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)
                at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
                at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)
                ... 49 more

                • 5. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                  Demian Calcaprina Master

                  Could you please share your persistence.xml and test-ds.xml?

                   

                  Demian

                  • 6. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                    Demian Calcaprina Master

                    Make sure you are using mysql XA datasource. I think it is MysqlXADataSource.

                     

                    Demian

                    • 7. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                      Jimmy dong Newbie

                      OK! It 's very kind of your patience!

                      testDS1-ds.xml:

                       

                      <?xml version="1.0" encoding="UTF-8"?>
                      <datasources>
                          <local-tx-datasource>
                          <jndi-name>jdbc/testDS1</jndi-name>
                          <connection-url>jdbc:mysql://localhost:3306/jbpm</connection-url>
                          <!--connection-url>jdbc:h2:mem:mydb</connection-url-->
                          <driver-class>com.mysql.jdbc.Driver</driver-class>
                          <user-name>root</user-name>
                          <password></password>
                          </local-tx-datasource>
                      </datasources>

                      persistence.xml in jbpm-gwt-console-server-war/WEB-INF/classes/META-INF and  jbpm-installer/db:

                      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                      <persistence version="1.0"
                                   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
                                                       http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
                                                       http://java.sun.com/xml/ns/persistence/orm
                                                       http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
                                   xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
                                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                   xmlns="http://java.sun.com/xml/ns/persistence">

                        <persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
                          <provider>org.hibernate.ejb.HibernatePersistence</provider>
                          <jta-data-source>java:jdbc/testDS1</jta-data-source>      
                          <mapping-file>META-INF/JBPMorm.xml</mapping-file>
                          <class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
                          <class>org.drools.persistence.info.SessionInfo</class>
                          <class>org.drools.persistence.info.WorkItemInfo</class>
                           <properties>
                            <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>        
                            <property name="hibernate.max_fetch_depth" value="3"/>
                            <property name="hibernate.hbm2ddl.auto" value="create" />
                            <property name="hibernate.show_sql" value="false" />
                            <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/jbpm" /> 
                            <property name="hibernate.connection.username" value="root"/> 
                            <property name="hibernate.connection.password" value=""/> 
                            <property name="hibernate.connection.autocommit" value="true" /> 
                            <property name="hibernate.max_fetch_depth" value="3"/> 
                            <property name="hibernate.hbm2ddl.auto" value="create" /> 
                            <property name="hibernate.show_sql" value="false" /> 
                          </properties>       
                        </persistence-unit>
                         
                      </persistence>

                      persistance.xml in jbpm-gwt-console-server.war/lib/jbpm-human-task-5.1.0.Final.jar ,and in runtime/lib/jbpm-human-task-5.1.0.Final.jar:

                       

                      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
                      <persistence version="1.0"
                                   xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
                                                       http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd
                                                       http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
                                   xmlns:orm="http://java.sun.com/xml/ns/persistence/orm"
                                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                                   xmlns="http://java.sun.com/xml/ns/persistence">
                        <persistence-unit name="org.jbpm.task">
                          <provider>org.hibernate.ejb.HibernatePersistence</provider>
                          <class>org.jbpm.task.Attachment</class>
                          <class>org.jbpm.task.Content</class>
                          <class>org.jbpm.task.BooleanExpression</class>
                          <class>org.jbpm.task.Comment</class>
                          <class>org.jbpm.task.Deadline</class>
                          <class>org.jbpm.task.Comment</class>
                          <class>org.jbpm.task.Deadline</class>
                          <class>org.jbpm.task.Delegation</class>
                          <class>org.jbpm.task.Escalation</class>
                          <class>org.jbpm.task.Group</class>
                          <class>org.jbpm.task.I18NText</class>
                          <class>org.jbpm.task.Notification</class>
                          <class>org.jbpm.task.EmailNotification</class>
                          <class>org.jbpm.task.EmailNotificationHeader</class>
                          <class>org.jbpm.task.PeopleAssignments</class>
                          <class>org.jbpm.task.Reassignment</class>
                          <class>org.jbpm.task.Status</class>
                          <class>org.jbpm.task.Task</class>
                          <class>org.jbpm.task.TaskData</class>
                          <class>org.jbpm.task.SubTasksStrategy</class>
                          <class>org.jbpm.task.OnParentAbortAllSubTasksEndStrategy</class>
                          <class>org.jbpm.task.OnAllSubTasksEndParentEndStrategy</class>
                          <class>org.jbpm.task.User</class>
                           <properties>
                            <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
                            <property name="hibernate.max_fetch_depth" value="3"/>
                            <property name="hibernate.hbm2ddl.auto" value="create" />
                            <property name="hibernate.show_sql" value="false" />
                            <property name="hibernate.connection.url" value="jdbc:mysql://localhost:3306/jbpm" />
                            <property name="hibernate.connection.username" value="root"/>
                            <property name="hibernate.connection.password" value=""/>
                            <property name="hibernate.connection.autocommit" value="true" />
                            <property name="hibernate.max_fetch_depth" value="3"/>
                            <property name="hibernate.hbm2ddl.auto" value="create" />
                            <property name="hibernate.show_sql" value="false" />
                          </properties>
                        </persistence-unit>
                      </persistence>

                      • 8. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                        Demian Calcaprina Master

                         

                        Could you try changing this:

                        <driver-class>com.mysql.jdbc.Driver</driver-class>

                        with this:

                        <driver-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</driver-class>

                        ?

                        Demian

                        • 9. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                          Jimmy dong Newbie

                          I am sorry, I am a green man to java,what is XA datasource?How to set?

                          • 10. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                            Demian Calcaprina Master

                            Green man? http://www.spiritandflesh.com/Green-man.gif (it is late here, forgive me hehe).

                             

                            XA datasource is a datasource that can be managed by the transaction manager. As jbpm5 uses JPA transactions, you need to use a data source that supports xa interfaces (xadatasource, xaconnection, etc).

                             

                            You can try with the configuration I posted in the last message.

                             

                            Demian

                            • 11. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                              Jimmy dong Newbie

                              OK.I will try it !

                              And I want to know what should be do if need change database?

                              After changing database,the original tables can't be used,when and how tables of jbpm created in new database?

                              • 12. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                                Demian Calcaprina Master

                                If you change the database, you have to find the XA datasource of this db.

                                 

                                If you see in your persistence.xml, the property hibernate.hbm2ddl.auto=create indicates that each time the application is started the database will be recreated. This will make you loose all data each time you restart the application. If you set it to update, it will only update the changes (for example, if you add a column in hibernate, when you start the application the column will be added to the database.

                                 

                                Demian

                                • 13. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                                  Jimmy dong Newbie

                                  Hi Demian!

                                  Yestoday I solved this problem, the root reason is the persistence.xml in jbpm-human-task-5.1.0.Final.jar, it is different from persistence.xml in db.

                                  So if anyone want to change database should be carefully more and more!

                                  And I heartfeltly thanks for your effort!

                                  • 14. Re: Help!After replacing H2 to mysql,getting errors in the process tab!
                                    Demian Calcaprina Master

                                    Great! I'm glad you solved it.

                                     

                                    In jbpm 5.2 this persistence.xml was removed from human tasks jar

                                     

                                    Thanks

                                     

                                    Demian

                                    1 2 Previous Next