2 Replies Latest reply on Feb 7, 2009 2:43 PM by Fidel Lagos

    Configuring JBoss Portal with JBPM

    Walter Barrow Newbie

      Hello,

      I am working on a project where we want to use the latest version of JBoss Portal (currently 2.6-ALPHA2) along with the latest version of JBoss JBPM (currently 3.2-Beta2). I have create a JBoss app-server configuration which includes JBoss Portal and a simple WAR file application which uses JBPM-3.2-Beta2. As long as I have the flags set in tomcat?s jboss-service.xml to turn off UseJBossWebLoader and java2ClassLoadingCompliance, I can get the app-server to come up with no apparent problems. As soon as I set the UseJBossWebLoader flag to true, I start having problems. This is because JBoss Portal uses JBPM-3.1.2 and my app uses JBPM-3.2-Beta2 and I?m getting classloader issues.

      So, I decided to try to configure JBoss Portal to work with JBPM-3.2-Beta2. This is where I start to get on shaky ground. Here?s what I did. I replaced the JBPM JAR files in the boss-portal.sar\portal-cms.sar\portal-workflow.sar directory and update the hibernate.cfg.xml file in boss-portal.sar\portal-cms.sar\portal-workflow.sar\conf\hibernate\workflow. In this file I simply replaced the lower portion of the file with the equivalent lines from the 3.2-Beta2 hibernate.cfg.xml file.

      When I run the app-server I get an exception stating ?no jbpm tx service configured? (see below) I?ve tried to figure out what this error means, but so far I can?t do it.

      If anyone can give me any advice on how to replace JBPM in JBoss Portal with the newer version I would be eternally grateful.

      Thanks!

      Walt Barrow

      [configuration]

      JBoss-4.0.5.GA
      JBossPortal-2.6-ALPHA2
      Jbpm-3.2-Beta2
      Windows XP

      [hibernate.cfg.xml]

      <?xml version='1.0' encoding='utf-8'?>

      <!DOCTYPE hibernate-configuration PUBLIC
      "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
      "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">

      <hibernate-configuration>
      <session-factory>
      <!-- jdbc connection properties -->
      java:PortalDS

      <!-- other hibernate properties -->
      false
      true
      true

      <!-- caching properties -->
      true
      true
      conf/hibernate/cms/ehcache.xml
      org.hibernate.cache.EhCacheProvider

      <!-- managed environment transaction configuration -->
      org.hibernate.transaction.JBossTransactionManagerLookup
      org.hibernate.transaction.JTATransactionFactory

      <!-- ############################################ -->
      <!-- # mapping files with external dependencies # -->
      <!-- ############################################ -->

      <!-- following mapping file has a dependendy on -->
      <!-- 'bsh-{version}.jar'. -->
      <!-- uncomment this if you don't have bsh on your -->
      <!-- classpath. you won't be able to use the -->
      <!-- script element in process definition files -->


      <!-- following mapping files have a dependendy on -->
      <!-- 'jbpm-identity.jar', mapping files -->
      <!-- of the pluggable jbpm identity component. -->
      <!-- Uncomment the following 3 lines if you -->
      <!-- want to use the jBPM identity mgmgt -->
      <!-- component. -->
      <!-- identity mappings (begin) -->



      <!-- identity mappings (end) -->

      <!-- following mapping files have a dependendy on -->
      <!-- the JCR API -->
      <!-- jcr mappings (begin) ===

      ==== jcr mappings (end) -->


      <!-- ###################### -->
      <!-- # jbpm mapping files # -->
      <!-- ###################### -->

      <!-- hql queries and type defs -->


      <!-- graph.def mapping files -->









      <!-- graph.node mapping files -->









      <!-- context.def mapping files -->



      <!-- taskmgmt.def mapping files -->





      <!-- module.def mapping files -->


      <!-- bytes mapping files -->


      <!-- file.def mapping files -->


      <!-- scheduler.def mapping files -->



      <!-- graph.exe mapping files -->





      <!-- module.exe mapping files -->


      <!-- context.exe mapping files -->












      <!-- job mapping files -->





      <!-- taskmgmt.exe mapping files -->





      <!-- logging mapping files -->































      </session-factory>
      </hibernate-configuration>

      [server.log exerpt]

      15:04:00,970 DEBUG [MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.hibernate.cache.UpdateTimestampsCache
      15:04:00,970 DEBUG [LruMemoryStore] org.hibernate.cache.UpdateTimestampsCache Cache: Using SpoolingLinkedHashMap implementation
      15:04:00,970 DEBUG [Cache] Initialised cache: org.hibernate.cache.UpdateTimestampsCache
      15:04:00,970 INFO [StandardQueryCache] starting query cache at region: org.hibernate.cache.StandardQueryCache
      15:04:00,970 WARN [EhCacheProvider] Could not find configuration [org.hibernate.cache.StandardQueryCache]; using defaults.
      15:04:00,970 DEBUG [MemoryStore] Initialized net.sf.ehcache.store.LruMemoryStore for org.hibernate.cache.StandardQueryCache
      15:04:00,970 DEBUG [LruMemoryStore] org.hibernate.cache.StandardQueryCache Cache: Using SpoolingLinkedHashMap implementation
      15:04:00,970 DEBUG [Cache] Initialised cache: org.hibernate.cache.StandardQueryCache
      15:04:00,970 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
      15:04:00,970 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:04:00,970 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:04:00,986 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])]
      15:04:01,001 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
      15:04:01,314 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])]
      15:04:01,329 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])]
      15:04:01,423 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])]
      15:04:01,439 DEBUG [DbPersistenceService] creating hibernate session
      15:04:01,439 DEBUG [DbPersistenceService] beginning hibernate transaction
      15:04:01,532 DEBUG [NodeTypes] node 'page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded
      15:04:01,532 DEBUG [NodeTypes] node 'start-page' will not be available. class 'org.jboss.seam.pageflow.Page' couldn't be loaded
      15:04:01,673 DEBUG [JbpmContext] closing JbpmContext
      15:04:01,673 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@372ef8
      15:04:01,673 ERROR [STDERR] org.jbpm.JbpmException: no jbpm tx service configured
      15:04:01,673 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:317)
      15:04:01,673 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:220)
      15:04:01,673 ERROR [STDERR] at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:170)
      15:04:01,673 ERROR [STDERR] at org.jbpm.svc.Services.close(Services.java:222)
      15:04:01,673 ERROR [STDERR] at org.jbpm.JbpmContext.close(JbpmContext.java:139)
      15:04:01,673 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:04:01,673 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:04:01,673 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,673 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,673 ERROR [STDERR] at org.jboss.portal.common.util.Tools.safeClose(Tools.java:102)
      15:04:01,673 ERROR [STDERR] at org.jboss.portal.workflow.cms.ApprovePublishImpl.startService(ApprovePublishImpl.java:159)
      15:04:01,673 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      15:04:01,673 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      15:04:01,673 ERROR [STDERR] at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
      15:04:01,673 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      15:04:01,673 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,673 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.jav
      a:142)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,704 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,704 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
      15:04:01,720 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      15:04:01,720 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      15:04:01,720 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,720 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,720 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,720 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,735 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,735 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:435)
      15:04:01,735 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      15:04:01,735 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,735 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,735 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,751 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,751 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      15:04:01,751 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,751 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,751 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:04:01,751 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      15:04:01,767 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      15:04:01,767 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:04:01,767 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:04:01,767 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,767 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,767 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,782 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,782 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      15:04:01,782 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,782 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.jav
      a:142)
      15:04:01,782 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,798 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,798 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,798 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:04:01,798 ERROR [STDERR] at $Proxy165.start(Unknown Source)
      15:04:01,798 ERROR [STDERR] at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      15:04:01,798 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      15:04:01,814 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      15:04:01,814 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      15:04:01,814 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      15:04:01,814 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,814 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,814 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,829 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,829 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      15:04:01,829 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,829 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.jav
      a:142)
      15:04:01,829 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,845 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,845 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,845 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:04:01,845 ERROR [STDERR] at $Proxy8.deploy(Unknown Source)
      15:04:01,845 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      15:04:01,845 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      15:04:01,860 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentSca
      nner.java:263)
      15:04:01,860 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.jav
      a:336)
      15:04:01,860 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      15:04:01,860 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      15:04:01,876 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      15:04:01,876 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,876 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,876 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,876 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,876 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      15:04:01,892 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,892 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,892 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      15:04:01,892 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      15:04:01,892 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
      15:04:01,892 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      15:04:01,907 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,907 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,907 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,907 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,907 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      15:04:01,907 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,923 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,923 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:04:01,923 ERROR [STDERR] at $Proxy4.start(Unknown Source)
      15:04:01,923 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      15:04:01,923 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      15:04:01,923 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      15:04:01,923 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      15:04:01,923 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      15:04:01,954 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      15:04:01,954 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      15:04:01,954 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      15:04:01,954 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.jav
      a:142)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      15:04:01,954 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      15:04:01,985 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      15:04:01,985 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      15:04:01,985 ERROR [STDERR] at $Proxy5.deploy(Unknown Source)
      15:04:01,985 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      15:04:01,985 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      15:04:01,985 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200)
      15:04:01,985 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:490)
      15:04:01,985 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      15:04:01,985 ERROR [Services] problem closing service 'persistence'
      org.jbpm.JbpmException: no jbpm tx service configured
      at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:317)
      at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:220)
      at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:170)
      at org.jbpm.svc.Services.close(Services.java:222)
      at org.jbpm.JbpmContext.close(JbpmContext.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.portal.common.util.Tools.safeClose(Tools.java:102)
      at org.jboss.portal.workflow.cms.ApprovePublishImpl.startService(ApprovePublishImpl.java:159)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy165.start(Unknown Source)
      at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:595)
      15:04:02,313 ERROR [Tools] The close() method threw an exception
      org.jbpm.JbpmException: problem closing services {persistence=org.jbpm.JbpmException: no jbpm tx service configured}
      at org.jbpm.svc.Services.close(Services.java:235)
      at org.jbpm.JbpmContext.close(JbpmContext.java:139)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.portal.common.util.Tools.safeClose(Tools.java:102)
      at org.jboss.portal.workflow.cms.ApprovePublishImpl.startService(ApprovePublishImpl.java:159)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
      at org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at org.jboss.system.ServiceController.start(ServiceController.java:435)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy165.start(Unknown Source)
      at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy8.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:417)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
      at org.jboss.Main.boot(Main.java:200)
      at org.jboss.Main$1.run(Main.java:490)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jbpm.JbpmException: no jbpm tx service configured
      at org.jbpm.persistence.db.DbPersistenceService.isRollbackOnly(DbPersistenceService.java:317)
      at org.jbpm.persistence.db.DbPersistenceService.endTransaction(DbPersistenceService.java:220)
      at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:170)
      at org.jbpm.svc.Services.close(Services.java:222)
      ... 123 more
      15:04:02,642 INFO [ACLInterceptor] AuthorizationManager initialized=MBeanProxyExt[portal:service=AuthorizationManager,type=cms]