2 Replies Latest reply on Oct 2, 2007 5:55 AM by Benson Fung

    Server Deployer field in GPD

    Benson Fung Newbie

      Hi,

      I am using GPD to deploy the process archive into the jBPM engine. Actually, I am currently using jBPM starter kit with jbpm.war pre-installed.

      However, I don't understand the Server Deployer field is hard-coded to '/jbpm/upload'. I can't find where '/jbpm/upload' is honestly. But I can deployed my process archive there successfully. Why isn't Server Deployed field set '/jbpm/deploy' instead of '/jbpm/upload'. Please help tell me the mechanism of the deployment mechanism in GPD.


      Thanks
      Benson

        • 1. Re: Server Deployer field in GPD
          David Roberts Apprentice

          It is a servlet. Deployed in jbpm-console\WEB-INF\web.xml

          <!-- This is the GDP's deployer servlet -->
           <servlet>
           <servlet-name>GDP Deployer Servlet</servlet-name>
           <servlet-class>org.jbpm.web.ProcessUploadServlet</servlet-class>
           <load-on-startup>1</load-on-startup>
           </servlet>
          
           <servlet-mapping>
           <servlet-name>GDP Deployer Servlet</servlet-name>
           <url-pattern>/upload/*</url-pattern>
           </servlet-mapping>


          The source code for that servlet is found at: jbpm-jpdl-3.2.x\src\jpdl\org\jbpm\web\ProcessUploadServlet.java

          The compiled class sits in the jbpm-jpdl.jar file.

          If you make changes to your web.xml and change the servlet mapping to something else, or you have jbpm deployed in your own webapp, you can change the default eclipse deployment path by clicking Windows-->Preferences-->JBoss Jbpm-->Server Deployment and change the relevant field.

          Hope this helps.

          • 2. Re: Server Deployer field in GPD
            Benson Fung Newbie

            Thanks for your help.

            Benson