How can I debug Camunda Webapps in eclipse?

I want to debug Camunda Webapps in Eclipse.

How do I set this up?

+3


source to share


2 answers


For my solution, I used Camunda Tomcat distribution. The steps may be different for other application servers.

Requirements:

  • Eclipse IDE for Java EE Developers


Actions

  • Create a new server in your workspace.
    • Select Apache Tomcat 7 server (new -> other -> Server, server type Apache Tomcat 7.0.
    • Select the server installation directory on Camunda BPM platform (for example \camunda-bpm-tomcat-7.1.0-Final\server\apache-tomcat-7.0.50\

      )
  • Copy the Camunda-specific config files (found in \conf

    your distribution folder , for example \camunda-bpm-tomcat-7.1.0-Final\server\apache-tomcat-7.0.50\conf\

    ) to the server directory
    • server.xml
    • ud-platform.xml
  • Add webapp as Maven project with camunda-webapp-tomcat dependency

    • Pom.xml content:

      <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.camunda.consulting</groupId> <artifactId>debugging-webapp</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <dependencies> <dependency> <groupId>org.camunda.bpm.webapp</groupId> <artifactId>camunda-webapp-tomcat</artifactId> <version>7.1.0-Final</version> <type>war</type> </dependency> </dependencies> <repositories> <repository> <id>camunda-bpm-nexus</id> <name>camunda-bpm-nexus</name> <url>https://app.camunda.com/nexus/content/groups/public</url> </repository> </repositories> </project>

  • Deploy this webapp to the server by clicking Run As> Run On Server
    • Select a configured server.
    • Adjust the display of the web module as needed
  • Start the server in debug mode
  • Open webapp in your browser.
+1


source




If you don't know how to install maven in eclipse. Just download the Spring framework ** strong text **

0


source







All Articles