JBoss Community

Re: Using jbpm-human-task-war.war instead of DemoTaskService.class

created by Junaid Mohammed in jBPM - View the full discussion

My apologies, I think the WAR file was not structured properly - I added a top-level folder by mistake:

 

  • jbpm-human-task-war.war
    • jbpm-human-task-war
      • META-INF
      • WEB-INF

 

 

So I removed the top-level folder but, unfortunately, the WAR no longer deploys.

Here is the new folder structure:

 

  • jbpm-human-task-war.war
    • META-INF
      • MANIFEST.MF
    • WEB-INF
      • web.xml
      • classes
        • META-INF
          • persistence.xml
            • <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" />

            • <property name="hibernate.transaction.manager_lookup_class" value="org.jbpm.integration.console.JBPMTransactionManager" />

        • org

          • jbpm

            • task

              • servlet

                • HumanTaskServiceServlet.class

                • LoadGroups.mvel

                • LoadUsers.mvel

                • jbpm.usergroup.callback.properties (EMPTY)

      • lib

        • activation-1.1.jar

        • antlr-2.7.7.jar

        • commons-collections-3.1.jar

        • commons-compress-1.0.jar

        • commons-exec-1.0.1.jar

        • commons-io-1.4.jar

        • commons-net-2.0.jar

        • dom4j-1.6.1.jar

        • drools-core-5.3.1.Final.jar

        • ejb3-persistence-1.0.2.GA.jar

        • el-api-1.2.jar

        • hibernate-annotations-3.4.0.GA.jar

        • hibernate-commons-annotations-3.1.0.GA.jar

        • hibernate-core-3.3.2.GA.jar

        • hibernate-entitymanager-3.4.0.GA.jar

        • hornetq-core-2.0.0.GA.jar

        • javassist-3.14.0-GA.jar

        • javassist-3.4.GA.jar

        • jboss-el-1.0_02.CR5.jar

        • jboss-seam-2.2.2.Final.jar

        • jbpm-flow-5.2.0.Final.jar

        • jbpm-human-task-5.2.0.Final.jar

        • jbpm-tm.jar

        • jbpm-workitems-5.2.0.Final.jar

        • jdom-1.0.jar

        • jta-1.1.jar

        • knowledge-api-5.3.1.Final.jar

        • log4j-1.2.14.jar

        • mail-1.4.jar

        • mina-core-2.0.1.jar

        • mvel2-2.1.0.drools4.jar

        • persistence-api-1.0.jar

        • rome-0.9.jar

        • slf4j-api-1.6.0.jar

        • slf4j-log4j12-1.6.0.jar

        • smack-3.0.4.jar

        • xml-apis-1.3.04.jar

        • xmlpull-1.1.3.1.jar

        • xpp3_min-1.1.3.4.O.jar

        • xstream-1.4.1.jar

When trying to deploy through the JBoss Administrator, the following error is presented:

 

Unknown error

 

Unexpected HTTP response: 500

Request
{
    "address" => [("deployment" => "jbpm-human-task-war.war")],
    "operation" => "deploy"
}

Response

Internal Server Error
{
    "outcome" => "failed",
    "failure-description" => {
        "Failed services" => {"jboss.deployment.unit.\"jbpm-human-task-war.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"jbpm-human-task-war.war\".INSTALL: Failed to process phase INSTALL of deployment \"jbpm-human-task-war.war\""},
        "Services with missing/unavailable dependencies" => [
            "jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war.ValidatorFactory missing [ jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war ]",
            "jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war.Validator missing [ jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war ]"
        ]
    },
    "rolled-back" => true
}


 

Is there a missing JAR library which usually contains jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war.ValidatorFactory and jboss.naming.context.java.module.jbpm-human-task-war.jbpm-human-task-war.Validator?

Or is it that the namespaces are not correct?

Reply to this message by going to Community

Start a new discussion in jBPM at Community