Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-6895

Add servlet configuration to web.xml for welcome app

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.6.0, 7.6.0-alpha6
    • None
    • engine, webapp
    • None

      The following servlet configuration

      <servlet>
        <servlet-name>Welcome Api</servlet-name>
        <servlet-class&gt;org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</servlet-class&gt;
        <init-param>
          <param-name>javax.ws.rs.Application</param-name>
          <param-value>org.camunda.bpm.welcome.impl.web.WelcomeApplication</param-value>
        </init-param>
        <init-param>
          <param-name>resteasy.servlet.mapping.prefix</param-name>
          <param-value>/api/welcome</param-value>
          </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>Welcome Api</servlet-name>
        <url-pattern>/api/welcome/*</url-pattern>
      </servlet-mapping>
      

      must be added to the following web.xml

      Furthermore, the security filter rules [1] must be adjusted accordingly.

      [1]: https://github.com/camunda/camunda-bpm-webapp/blob/master/src/main/webapp/WEB-INF/securityFilterRules.json

        This is the controller panel for Smart Panels app

              roman.smirnov Roman Smirnov
              roman.smirnov Roman Smirnov
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: