Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4591

ClassNotFoundException occurs from kie-server when starting a container from a managed intelligent process server.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • None
    • 6.4.0
    • None
    • Hide

      1. configure the managed intelligent process server following the guide [1].
      <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/>
      <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/>
      <property name="org.kie.server.controller.user" value="bpmsAdmin"/>
      <property name="org.kie.server.controller.pwd" value="xxx"/>
      <property name="org.kie.server.user" value="controllerUser"/>
      <property name="org.kie.server.pwd" value="xxxx"/>
      <property name="org.kie.server.id" value="default-kieserver"/>
      <property name="org.kie.executor.jms.queue" value="queue/KIE.SERVER.EXECUTOR"/>
      <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/ExampleDS"/>

      2. build the attached kjar by mvn clean install

      3. upload it to business central

      4. deploy it via business central
      <groupId>com.redhat.gss.bpms</groupId>
      <artifactId>bpms.01763014</artifactId>
      <version>1.0</version>

      5. create a container and start it from business central

      The container eventually gets started successfully but with tons of WARNs of ClassNotFoundException

      [1] [1] https://access.redhat.com/documentation/en/red-hat-jboss-bpm-suite/6.4/paged/administration-and-configuration-guide/chapter-3-intelligent-process-server

      Show
      1. configure the managed intelligent process server following the guide [1] . <property name="org.kie.server.location" value="http://localhost:8080/kie-server/services/rest/server"/> <property name="org.kie.server.controller" value="http://localhost:8080/business-central/rest/controller"/> <property name="org.kie.server.controller.user" value="bpmsAdmin"/> <property name="org.kie.server.controller.pwd" value="xxx"/> <property name="org.kie.server.user" value="controllerUser"/> <property name="org.kie.server.pwd" value="xxxx"/> <property name="org.kie.server.id" value="default-kieserver"/> <property name="org.kie.executor.jms.queue" value="queue/KIE.SERVER.EXECUTOR"/> <property name="org.kie.server.persistence.ds" value="java:jboss/datasources/ExampleDS"/> 2. build the attached kjar by mvn clean install 3. upload it to business central 4. deploy it via business central <groupId>com.redhat.gss.bpms</groupId> <artifactId>bpms.01763014</artifactId> <version>1.0</version> 5. create a container and start it from business central The container eventually gets started successfully but with tons of WARNs of ClassNotFoundException [1] [1] https://access.redhat.com/documentation/en/red-hat-jboss-bpm-suite/6.4/paged/administration-and-configuration-guide/chapter-3-intelligent-process-server
    • 2018 Week 27-29, 2018 Week 30-32, 2018 Week 33-35, 2018 Week 36-38, 2018 Week 39-41, 2018 Week 42-44, 2018 Week 45-47, 2018 Week 48-50, 2019 Week 02-04, 2018 Week 51-01

      A managed intelligent process server is configured following the guide [1]..

      Tons of WARNs of ClassNotFoundException showing in the log when trying to start a container from business central as documented in [1].
      For example:
      WARN [org.jboss.modules] (http-127.0.0.1:8080-6) Failed to define class org.apache.cxf.binding.soap.tcp.SoapTcpDestination in Module "deployment.kie-server.war:main" from Service Module Loader: java.lang.LinkageError: Failed to link org/apache/cxf/binding/soap/tcp/SoapTcpDestination (Module "deployment.kie-server.war:main" from Service Module Loader)
      ...
      Caused by: java.lang.NoClassDefFoundError: org/apache/mina/core/service/IoHandler

      The kjar is uploaded to business central and could started successfully from business central.

      [1] https://access.redhat.com/documentation/en/red-hat-jboss-bpm-suite/6.4/paged/administration-and-configuration-guide/chapter-3-intelligent-process-server

              xiabai@redhat.com Xiaofeng Bai
              rhn-support-ghu Gary Hu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: