Source code build success, unable to deploy on wildfly

Hi, I have successfully built the source code camunda-bpm-platform locally by running the command mvn clean install -DskipTests.

But I am facing failure when trying to deploy the generated war file in the camunda-bpm-platform-master\webapps\assembly\target directory names ‘camunda-webapp.war’ on the wildfly console.
I have also tried deploying the camunda-webapp.war in camunda-bpm-platform-master\distro\wildfly\webapp\target directory.

Error details :

Dispatcher error: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"camunda-webapp.war\".undertow-deployment.UndertowDeploymentInfoService" => "Failed to start service
    Caused by: java.lang.NoClassDefFoundError: Failed to link org/camunda/bpm/webapp/impl/security/auth/AuthenticationFilter (Module \"deployment.camunda-webapp.war\" from Service Module Loader): javax/servlet/Filter"}}

Note : The build failed when trying to build with tests (using the command mvn clean install).
Why the deployment is failing or if I am trying to deploy the wrong file?

Maven Version : Apache Maven 3.8.8
Java version: 17.0.7
Wildfly version : 27.0.0
Camunda Platform 7
7.20.0 Snapshot

Any help would be appreciated.

Hi,

The webapps for Wildfly 27 are built by this module: camunda-bpm-platform/distro/wildfly/webapp at master · camunda/camunda-bpm-platform · GitHub

Note that this also requires that you install the shared engine on that Wildfly first.

Cheers,
Thorben

Hi Thorben,
As I mentioned I also tried to deploy the camunda-webapp.war in camunda-bpm-platform/distro/wildfly/webapp/target but it was failing.

Can you tell me how I can install the shared engine on Wildfly? Sorry I am new to this.

Thanks

Here is how you install a shared process engine in Wildfly: Install the Full Distribution on a JBoss EAP/WildFly Application Server manually | docs.camunda.org

Thanks a lot @thorben . :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.