11 Replies Latest reply on May 12, 2006 5:59 PM by Meghana Joglekar

    Problem installing BPEL extension

    Meghana Joglekar Novice

      I downloaded JBoss 4.0.3sp1 and jBPM 3.1.1 with BPEL extension 1.0alpha4. I followed the build and deployment instructions given in the BPEL docs. After copying the 'jbpm-bpel.sar' file to deploy folder of JBoss, it tries to deploy it but throws following error -

      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.jbpm:name=JbpmBpel,service=JbpmService
      State: CONFIGURED
      I Depend On:
      jboss.jca:name=JbpmBpelDS,service=DataSourceBinding

      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.jca:name=JbpmBpelDS,service=DataSourceBinding
      State: NOTYETINSTALLED
      Depends On Me:
      jboss.jbpm:name=JbpmBpel,service=JbpmService

      what am I doing wrong here?

        • 1. Re: Problem installing BPEL extension
          Alejandro Guizar Master

          Please post the exception stack trace.

          • 2. Re: Problem installing BPEL extension
            Meghana Joglekar Novice

            I don't get any exception stack trace only that MBean error. Here is full output. In the BPEL docs, it says that I should see a message something like this -

            22:59:33,781 INFO [JbpmService] binding JbpmSessionFactory 'java:/jbpm/BpelSessionFactory' into JNDI...

            I don't get that message. Full output -

            ===============================================================================
            .
            JBoss Bootstrap Environment
            .
            JBOSS_HOME: D:\jboss-4.0.3SP1\bin\\..
            .
            JAVA: C:\dev\collagetrunk\common\java1.4.2_07\bin\java
            .
            JAVA_OPTS: -Dprogram.name=run.bat -Xms128m -Xmx512m
            .
            CLASSPATH: C:\dev\collagetrunk\common\java1.4.2_07\lib\tools.jar;D:\jboss-4.0.
            3SP1\bin\\run.jar
            .
            ===============================================================================
            .
            15:14:22,474 INFO [Server] Starting JBoss (MX MicroKernel)...
            15:14:22,474 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBo
            ss_4_0_3_SP1 date=200510231751)
            15:14:22,474 INFO [Server] Home Dir: D:\jboss-4.0.3SP1
            15:14:22,474 INFO [Server] Home URL: file:/D:/jboss-4.0.3SP1/
            15:14:22,484 INFO [Server] Patch URL: null
            15:14:22,484 INFO [Server] Server Name: default
            15:14:22,484 INFO [Server] Server Home Dir: D:\jboss-4.0.3SP1\server\default
            15:14:22,484 INFO [Server] Server Home URL: file:/D:/jboss-4.0.3SP1/server/defa
            ult/
            15:14:22,484 INFO [Server] Server Temp Dir: D:\jboss-4.0.3SP1\server\default\tm
            p
            15:14:22,484 INFO [Server] Root Deployment Filename: jboss-service.xml
            15:14:22,805 INFO [ServerInfo] Java version: 1.4.2_07,Sun Microsystems Inc.
            15:14:22,805 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2_07-b05
            ,Sun Microsystems Inc.
            15:14:22,805 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
            15:14:23,165 INFO [Server] Core system initialized
            15:14:23,706 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
            ce:log4j.xml
            15:14:25,378 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=
            1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server Socket
            Factory=org.jboss.net.sockets.DefaultSocketFactory@ad093076
            15:14:26,049 INFO [Embedded] Catalina naming disabled
            15:14:26,450 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0
            -8080
            15:14:26,450 INFO [Catalina] Initialization processed in 341 ms
            15:14:26,450 INFO [StandardService] Starting service jboss.web
            15:14:26,460 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5
            15:14:26,500 INFO [StandardHost] XML validation disabled
            15:14:26,540 INFO [Catalina] Server startup in 90 ms
            15:14:26,690 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
            b-tomcat55.sar/ROOT.war/
            15:14:27,011 INFO [WebappLoader] Dual registration of jndi stream handler: fact
            ory already defined
            15:14:27,441 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-bpel, warUrl=.../tmp/d
            eploy/tmp8624jbpm-bpel.sar-contents/jbpm-bpel-exp.war/
            15:14:27,572 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../dep
            loy/jmx-console.war/
            15:14:27,652 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

            --- Packages waiting for a deployer ---
            org.jboss.deployment.DeploymentInfo@33695933 { url=file:/D:/jboss-4.0.3SP1/serve
            r/default/tmp/deploy/tmp8624jbpm-bpel.sar-contents/jbpm-bpel-ds.xml }
            deployer: null
            status: Starting
            state: INIT_WAITING_DEPLOYER
            watch: file:/D:/jboss-4.0.3SP1/server/default/tmp/deploy/tmp8624jbpm-bpel.sar-
            contents/jbpm-bpel-ds.xml
            altDD: null
            lastDeployed: 1147212867331
            lastModified: 1147212864768
            mbeans:

            --- MBeans waiting for other MBeans ---
            ObjectName: jboss.jbpm:name=JbpmBpel,service=JbpmService
            State: CONFIGURED
            I Depend On:
            jboss.jca:name=JbpmBpelDS,service=DataSourceBinding

            --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
            ObjectName: jboss.jca:name=JbpmBpelDS,service=DataSourceBinding
            State: NOTYETINSTALLED
            Depends On Me:
            jboss.jbpm:name=JbpmBpel,service=JbpmService


            15:14:27,672 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
            0
            15:14:27,982 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
            15:14:27,992 INFO [JkMain] Jk running ID=0 time=0/180 config=null
            15:14:27,992 INFO [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: CVSTag=JBos
            s_4_0_3_SP1 date=200510231751)] Started in 5s:508ms

            - Meghana

            • 3. Re: Problem installing BPEL extension
              Alejandro Guizar Master

              I just realized you mentioned jBPM 3.1.1. Did you replace the version shipped with jBPM BPEL alpha 4? If you did, it won't work. jBPM 3.0.x is required.

              • 4. Re: Problem installing BPEL extension
                Meghana Joglekar Novice

                I installed jBPM core 3.1.1 to a folder called jBPM3.1.1 and then installed BPEL extension 1.0alpha4 on top of that. Should I get jBPM3.0.x first and then install extension?

                Thanks for your prompt replies.

                - Meghana

                • 5. Re: Problem installing BPEL extension
                  Meghana Joglekar Novice

                  Can you please tell me what is wrong here? What does the error mean? Why is DataSourceBinding MBean is not installed? How can I install that?

                  Meghana

                  • 6. Re: Problem installing BPEL extension
                    Alejandro Guizar Master

                    No. As stated in section 2.1 of the jBPM BPEL documentation, jBPM 3.0.2 is already included with the and you don't need to install it separately.

                    • 7. Re: Problem installing BPEL extension
                      Meghana Joglekar Novice

                      I am trying different settings in my jbpm-bpel-ds.xml but still get that same error. Here is my current xml file -
                      ------------------------------------------------------------------------------------
                      <?xml version="1.0" encoding="UTF-8"?>


                      <local-tx-datasource>

                      <!-- The jndi name of the DataSource, it is prefixed with java:/ -->
                      <!-- Datasources are not available outside the virtual machine -->
                      <jndi-name>JbpmBpelDS</jndi-name>

                      <!-- for tcp connection, allowing other processes to use the hsqldb
                      database. This requires the org.jboss.jdbc.HypersonicDatabase mbean.-->
                      <connection-url>jdbc:hsqldb:hsql://localhost:1701</connection-url>

                      <!-- for totally in-memory db, not saved when jboss stops.
                      The org.jboss.jdbc.HypersonicDatabase mbean necessary

                      <connection-url>jdbc:hsqldb:.</connection-url>
                      -->
                      <!-- for in-process persistent db, saved when jboss stops. The
                      org.jboss.jdbc.HypersonicDatabase mbean is necessary for properly db shutdown

                      <connection-url>
                      jdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}bpel
                      </connection-url>-->

                      <!-- The driver class -->
                      <driver-class>org.hsqldb.jdbcDriver</driver-class>

                      <!-- The login and password -->
                      <user-name>sa</user-name>


                      <!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
                      <min-pool-size>5</min-pool-size>

                      <!-- The maximum connections in a pool/sub-pool -->
                      <max-pool-size>20</max-pool-size>

                      <!-- The time before an unused connection is destroyed -->
                      <!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
                      <!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
                      <idle-timeout-minutes>0</idle-timeout-minutes>

                      <!-- Whether to check all statements are closed when the connection is returned to the pool,
                      this is a debugging feature that should be turned off in production -->
                      <track-statements />

                      <!-- Use the security domain defined in conf/login-config.xml
                      <security-domain>HsqlDbRealm</security-domain>
                      -->

                      <!-- Use the security domain defined in conf/login-config.xml or the
                      getConnection(user, pw) for logins. The security domain takes precedence.
                      <security-domain-and-application>HsqlDbRealm</security-domain-and-application>
                      -->

                      <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -->

                      <type-mapping>Hypersonic SQL</type-mapping>


                      <!-- This mbean can be used when using in process persistent hypersonic
                      jboss:service=Hypersonic,database=bpelDB-->
                      </local-tx-datasource>

                      <!-- This mbean should be used only when using tcp connections. Uncomment
                      when the tcp based connection-url is used.-->

                      1701
                      true
                      default
                      false
                      true



                      <!-- This mbean can be used when using in process persistent db
                      --><!--

                      bpel
                      true
                      -->


                      -----------------------------------------------------------------------------------

                      I always get that JbpmBpelDS object is not installed. There are no exceptions thrown. Is it possible that even if I get this message it will run the BPEL service?

                      It is very important that I get this running asap for my project. Btw I am using extension separately now. So JBPM version is 3.0.2
                      -Meghana

                      • 8. Re: Problem installing BPEL extension
                        Alejandro Guizar Master

                        I'm sorry, but I cannot reproduce this issue.

                        I need you to tell me how did you install jBPM BPEL and exactly what changes you made.

                        I'd suggest you first tried getting it to run without making any changes.

                        • 9. Re: Problem installing BPEL extension
                          Meghana Joglekar Novice

                          ok now I tested jBPEL1.0alpha4 fresh install with JBoss4.0.2 freshly installed too. I get following stack trace. I had not modifed anything in jBPEL except JBOSS home property in build.properties file and I use appropriate target in ant.
                          ----------------------------------------------------------------------------------

                          10:01:12,373 INFO [Configuration] Configuration resource: /hibernate.cfg.xml
                          10:01:12,393 INFO [Configuration] Mapping resource: org/jbpm/bpel/def/BpelDefin
                          ition.hbm.xml
                          10:01:12,514 INFO [HbmBinder] Mapping class: org.jbpm.graph.def.ProcessDefiniti
                          on -> JBPM_PROCESSDEFINITION
                          10:01:12,775 INFO [HbmBinder] Mapping subclass: org.jbpm.bpel.def.BpelDefinitio
                          n -> JBPM_PROCESSDEFINITION
                          10:01:12,785 ERROR [Configuration] Could not compile the mapping document
                          org.hibernate.MappingException: class org.jbpm.bpel.def.BpelDefinition not found
                          while looking for property: targetNamespace
                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:81)
                          at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.
                          java:275)
                          at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:1798)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1787
                          )
                          at org.hibernate.cfg.HbmBinder.bindSubclass(HbmBinder.java:742)
                          at org.hibernate.cfg.HbmBinder.handleSubclass(HbmBinder.java:1844)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1774
                          )
                          at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBi
                          nder.java:317)
                          at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235)
                          at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151)
                          at org.hibernate.cfg.Configuration.add(Configuration.java:360)
                          at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397
                          )
                          at org.hibernate.cfg.Configuration.addResource(Configuration.java:446)
                          at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.jav
                          a:1313)
                          at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.jav
                          a:1285)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1148)
                          at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory
                          .java:114)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:90)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:86)
                          at org.jbpm.db.jmx.JbpmService.startService(JbpmService.java:18)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy32.start(Unknown Source)
                          at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubD
                          eployerSupport.java:378)
                          at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployer
                          Support.java:141)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy8.deploy(Unknown Source)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                          tScanner.java:325)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                          canner.java:501)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                          doScan(AbstractDeploymentScanner.java:204)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
                          bstractDeploymentScanner.java:277)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy4.start(Unknown Source)
                          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy5.deploy(Unknown Source)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
                          at org.jboss.Main.boot(Main.java:195)
                          at org.jboss.Main$1.run(Main.java:463)
                          at java.lang.Thread.run(Thread.java:534)
                          Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: or
                          g.jbpm.bpel.def.BpelDefinition, msg=org/jbpm/bpel/def/BpelDefinition (Unsupporte
                          d major.minor version 49.0)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
                          assLoader.java:512)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
                          oader.java:377)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
                          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
                          at java.lang.Class.forName0(Native Method)
                          at java.lang.Class.forName(Class.java:141)
                          at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)

                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:77)
                          ... 119 more
                          10:01:12,795 ERROR [JbpmService] Starting failed jboss.jbpm:name=JbpmBpel,servic
                          e=JbpmService
                          org.hibernate.MappingException: Error reading resource: org/jbpm/bpel/def/BpelDe
                          finition.hbm.xml
                          at org.hibernate.cfg.Configuration.addResource(Configuration.java:449)
                          at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.jav
                          a:1313)
                          at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.jav
                          a:1285)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1148)
                          at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory
                          .java:114)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:90)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:86)
                          at org.jbpm.db.jmx.JbpmService.startService(JbpmService.java:18)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy32.start(Unknown Source)
                          at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubD
                          eployerSupport.java:378)
                          at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployer
                          Support.java:141)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy8.deploy(Unknown Source)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                          tScanner.java:325)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                          canner.java:501)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                          doScan(AbstractDeploymentScanner.java:204)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
                          bstractDeploymentScanner.java:277)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy4.start(Unknown Source)
                          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy5.deploy(Unknown Source)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
                          at org.jboss.Main.boot(Main.java:195)
                          at org.jboss.Main$1.run(Main.java:463)
                          at java.lang.Thread.run(Thread.java:534)
                          Caused by: org.hibernate.MappingException: class org.jbpm.bpel.def.BpelDefinitio
                          n not found while looking for property: targetNamespace
                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:81)
                          at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.
                          java:275)
                          at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:1798)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1787
                          )
                          at org.hibernate.cfg.HbmBinder.bindSubclass(HbmBinder.java:742)
                          at org.hibernate.cfg.HbmBinder.handleSubclass(HbmBinder.java:1844)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1774
                          )
                          at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBi
                          nder.java:317)
                          at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235)
                          at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151)
                          at org.hibernate.cfg.Configuration.add(Configuration.java:360)
                          at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397
                          )
                          at org.hibernate.cfg.Configuration.addResource(Configuration.java:446)
                          ... 107 more
                          Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: or
                          g.jbpm.bpel.def.BpelDefinition, msg=org/jbpm/bpel/def/BpelDefinition (Unsupporte
                          d major.minor version 49.0)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
                          assLoader.java:512)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
                          oader.java:377)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
                          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
                          at java.lang.Class.forName0(Native Method)
                          at java.lang.Class.forName(Class.java:141)
                          at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)

                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:77)
                          ... 119 more
                          10:01:12,805 WARN [ServiceController] Problem starting service jboss.jbpm:name=
                          JbpmBpel,service=JbpmService
                          org.hibernate.MappingException: Error reading resource: org/jbpm/bpel/def/BpelDe
                          finition.hbm.xml
                          at org.hibernate.cfg.Configuration.addResource(Configuration.java:449)
                          at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.jav
                          a:1313)
                          at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.jav
                          a:1285)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1267)
                          at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1234)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1162)
                          at org.hibernate.cfg.Configuration.configure(Configuration.java:1148)
                          at org.jbpm.db.JbpmSessionFactory.createConfiguration(JbpmSessionFactory
                          .java:114)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:90)
                          at org.jbpm.db.JbpmSessionFactory.buildJbpmSessionFactory(JbpmSessionFac
                          tory.java:86)
                          at org.jbpm.db.jmx.JbpmService.startService(JbpmService.java:18)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at org.jboss.system.ServiceController.start(ServiceController.java:440)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy32.start(Unknown Source)
                          at org.jboss.deployment.SimpleSubDeployerSupport.startService(SimpleSubD
                          eployerSupport.java:378)
                          at org.jboss.deployment.SimpleSubDeployerSupport.start(SimpleSubDeployer
                          Support.java:141)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy8.deploy(Unknown Source)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
                          tScanner.java:325)
                          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
                          canner.java:501)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
                          doScan(AbstractDeploymentScanner.java:204)
                          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
                          bstractDeploymentScanner.java:277)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
                          upport.java:272)
                          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
                          eanSupport.java:222)
                          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
                          ler.java:897)
                          at $Proxy0.start(Unknown Source)
                          at org.jboss.system.ServiceController.start(ServiceController.java:418)
                          at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy4.start(Unknown Source)
                          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
                          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
                          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
                          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                          java:39)
                          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                          sorImpl.java:25)
                          at java.lang.reflect.Method.invoke(Method.java:324)
                          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                          er.java:141)
                          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
                          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
                          or.java:121)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
                          BeanOperationInterceptor.java:127)
                          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
                          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                          java:249)
                          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
                          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
                          at $Proxy5.deploy(Unknown Source)
                          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
                          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
                          at org.jboss.Main.boot(Main.java:195)
                          at org.jboss.Main$1.run(Main.java:463)
                          at java.lang.Thread.run(Thread.java:534)
                          Caused by: org.hibernate.MappingException: class org.jbpm.bpel.def.BpelDefinitio
                          n not found while looking for property: targetNamespace
                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:81)
                          at org.hibernate.mapping.SimpleValue.setTypeUsingReflection(SimpleValue.
                          java:275)
                          at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:1798)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1787
                          )
                          at org.hibernate.cfg.HbmBinder.bindSubclass(HbmBinder.java:742)
                          at org.hibernate.cfg.HbmBinder.handleSubclass(HbmBinder.java:1844)
                          at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1774
                          )
                          at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBi
                          nder.java:317)
                          at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235)
                          at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151)
                          at org.hibernate.cfg.Configuration.add(Configuration.java:360)
                          at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397
                          )
                          at org.hibernate.cfg.Configuration.addResource(Configuration.java:446)
                          ... 107 more
                          Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: or
                          g.jbpm.bpel.def.BpelDefinition, msg=org/jbpm/bpel/def/BpelDefinition (Unsupporte
                          d major.minor version 49.0)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
                          assLoader.java:512)
                          at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
                          oader.java:377)
                          at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
                          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
                          at java.lang.Class.forName0(Native Method)
                          at java.lang.Class.forName(Class.java:141)
                          at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)

                          at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper
                          .java:77)
                          ... 119 more
                          10:01:12,885 INFO [RARDeployment] Required license terms exist view the META-IN
                          F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jboss-xa-jdbc.rar
                          10:01:12,976 INFO [RARDeployment] Required license terms exist view the META-IN
                          F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/jms/jms-ra.rar
                          10:01:13,046 INFO [RARDeployment] Required license terms exist view the META-IN
                          F/ra.xml: file:/D:/jboss-4.0.2/server/default/deploy/mail-ra.rar
                          10:01:13,347 INFO [WrapperDataSourceService] Bound connection factory for resou
                          rce adapter for ConnectionManager 'jboss.jca:name=DefaultDS,service=DataSourceBi
                          nding to JNDI name 'java:DefaultDS'
                          10:01:13,648 INFO [A] Bound to JNDI name: queue/A
                          10:01:13,658 INFO [B] Bound to JNDI name: queue/B
                          10:01:13,658 INFO [C] Bound to JNDI name: queue/C
                          10:01:13,658 INFO [D] Bound to JNDI name: queue/D
                          10:01:13,658 INFO [ex] Bound to JNDI name: queue/ex
                          10:01:13,678 INFO [testTopic] Bound to JNDI name: topic/testTopic
                          10:01:13,688 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
                          10:01:13,688 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

                          10:01:13,688 INFO [testQueue] Bound to JNDI name: queue/testQueue
                          10:01:13,749 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
                          0.0:8093
                          10:01:13,799 INFO [DLQ] Bound to JNDI name: queue/DLQ
                          10:01:13,969 INFO [ConnectionFactoryBindingService] Bound connection factory fo
                          r resource adapter for ConnectionManager 'jboss.jca:name=JmsXA,service=Connectio
                          nFactoryBinding to JNDI name 'java:JmsXA'
                          10:01:13,990 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/D
                          :/jboss-4.0.2/server/default/deploy/jmx-console.war/
                          10:01:14,100 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

                          --- MBeans waiting for other MBeans ---
                          ObjectName: jboss.jbpm:name=JbpmBpel,service=JbpmService
                          State: FAILED
                          Reason: org.hibernate.MappingException: Error reading resource: org/jbpm/bpel/
                          def/BpelDefinition.hbm.xml
                          I Depend On:
                          jboss.jca:name=JbpmBpelDS,service=DataSourceBinding

                          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
                          ObjectName: jboss.jbpm:name=JbpmBpel,service=JbpmService
                          State: FAILED
                          Reason: org.hibernate.MappingException: Error reading resource: org/jbpm/bpel/
                          def/BpelDefinition.hbm.xml
                          I Depend On:
                          jboss.jca:name=JbpmBpelDS,service=DataSourceBinding


                          10:01:14,200 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808
                          0
                          10:01:14,321 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
                          10:01:14,341 INFO [JkMain] Jk running ID=0 time=0/80 config=null
                          10:01:14,351 INFO [Server] JBoss (MX MicroKernel) [4.0.2 (build: CVSTag=JBoss_4
                          _0_2 date=200505022023)] Started in 13s:754ms
                          -------------------------------------------------------------------------------------

                          It is not able to find BpelDefinition class while building mapping BpelDefinition.hbm.xml. Both files are bundled in the jBPEL jar and it is inside 'sar' file. I verified that the class and xml are there.

                          Any idea?

                          - Meghana

                          • 10. Re: Problem installing BPEL extension
                            Alejandro Guizar Master

                             

                            Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.jbpm.bpel.def.BpelDefinition, msg=org/jbpm/bpel/def/BpelDefinition (Unsupported major.minor version 49.0)


                            The class files in alpha 4 were compiled against JDK 1.5. To deploy in 1.4.2, you need to recompile the sources. To do so, take the build.xml file in the base directory of the distribution and run the build target. This target will compile and build the jBPM BPEL library.

                            By the way, this has nothing to do with the data source error above. That's a problem with your configuration.

                            • 11. Re: Problem installing BPEL extension - Found problem
                              Meghana Joglekar Novice

                              I had JBoss4.0.3SP1 and jdk was 1.4.2_07. This combination throws MBean not yet installed error. When I switch to jdk1.5.0_06 it works. Thought I would share with the community so that someone else knows how to work around my original problem.

                              Now I have new issue though. My jBPM-BPEL is installed on JBoss and I am working on the 'Hello' example. When I try to run create-schema target I get following exception -

                              java.lang.UnsupportedClassVersionError: org/jbpm/bpel/ant/WebDBSchemaTask (Unsup
                              ported major.minor version 49.0)
                              at java.lang.ClassLoader.defineClass0(Native Method)
                              at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                              java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                              sorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader
                              .java:1003)
                              at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoa
                              der.java:1065)
                              at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:103
                              7)
                              at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:926
                              )
                              at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
                              at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:230)

                              at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
                              at org.apache.tools.ant.helper.ProjectHelperImpl$TaskHandler.finished(Pr
                              ojectHelperImpl.java:821)
                              at org.apache.tools.ant.helper.ProjectHelperImpl$AbstractHandler.endElem
                              ent(ProjectHelperImpl.java:300)
                              at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
                              )
                              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
                              Unknown Source)
                              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
                              Dispatcher.dispatch(Unknown Source)
                              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
                              known Source)
                              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                              at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
                              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                              at org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelperImpl
                              .java:155)
                              at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
                              a:117)
                              at org.apache.tools.ant.Main.runBuild(Main.java:597)
                              at org.apache.tools.ant.Main.start(Main.java:196)
                              at org.apache.tools.ant.Main.main(Main.java:235)


                              From the error description it seems like mismatch in version number of jdk. I am going to try to run ant with jdk1.4. Please let me know if there some other fix.

                              Thank you
                              Meghana