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

Add servlet configuration to web.xml for welcome app

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha6
    • Component/s: engine, webapp
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: