Bug 778897 (SOA-1339) - Upload servlet path is not aligned with the GPD defaults
Summary: Upload servlet path is not aligned with the GPD defaults
Keywords:
Status: CLOSED WONTFIX
Alias: SOA-1339
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBPM - within SOA
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.3 CP04 ER1
Assignee: Alejandro Guizar
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-28 10:22 UTC by trev
Modified: 2010-03-26 18:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-26 18:09:48 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 777801 0 urgent CLOSED jBPM security documentation update 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 779192 0 high CLOSED Can't deploy jBPM process from JBDS 2.1 or 3.0 with SOA-P 5.0 OOTB 'default' server configuration 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-1339 0 None None None Never

Internal Links: 777801 779192

Description trev 2009-05-28 10:22:17 UTC
Date of First Response: 2009-06-10 04:44:51
project_key: SOA

The default configuration in the jbpm-jpdl-3.2.5SP5 package defines the path to the GPD deployer servlet as /app/upload in /deploy/server/default/deploy/jbpm/jsf-console.war/WEB-INF/web.xml:

  <servlet-mapping>
    <servlet-name>GDP Deployer Servlet</servlet-name>
    <url-pattern>/app/upload/*</url-pattern>
  </servlet-mapping>

This doesn't match with the defaults in the GPD/JBDS, and should thus be changed to <url-pattern>/upload/*</url-pattern>.

Comment 1 trev 2009-05-28 10:23:08 UTC
Link: Added: This issue depends JBPM-2289


Comment 2 Alejandro Guizar 2009-06-10 08:44:51 UTC
Done, for resolution details see JBPM-2289.

Comment 3 Alejandro Guizar 2009-06-12 18:52:16 UTC
The resolution had to be reverted for security issues.

Comment 4 Alejandro Guizar 2009-06-12 18:53:27 UTC
The SOA distribution of jBPM is tuned for production deployment and maps this servlet to a URL pattern in the secured area. In consequence, the upload servlet is no longer able to accept GPD deployment requests, as GPD does not support authentication.

To reenable GPD deployment, map the servlet to the path expected by the GPD, namely "/upload/*".

Comment 5 Dana Mison 2009-08-10 08:35:59 UTC
documented as known issue in 4.3.CP02

Comment 6 Dana Mison 2009-08-13 02:20:04 UTC
Known issue:

Cannot upload to the default SOA jBPM Configuration

The jBPM package upload servlet included in the JBoss Enterprise SOA Platform is configured to use an path that requires authentication. The GPD does not support authentication and so this path must be updated if you wish to use JBoss Developer Studio or any other IDE to deploy using GPD.

This can be done by editing jbpm/jsf-console.war/WEB-INF/web.xml and updating the servlet-mapping url-pattern parameter.  The value expected by GPD is /upload/* .

<servlet-mapping>
    <servlet-name>GDP Deployer Servlet</servlet-name>
    <url-pattern>/upload/*</url-pattern>
</servlet-mapping>

Comment 7 Len DiMaggio 2009-09-10 16:08:36 UTC
As of 4.3 CP02 CR3, the file to be edited is:

jboss-soa-p.4.3.0/jboss-as/server/production/deploy/jbpm.esb/jbpm-console.war/WEB-INF/web.xml



Comment 8 Alejandro Guizar 2009-11-10 16:14:48 UTC
Assigning to Len as I don't have access to the enterprise documentation for jBPM to make the required change.

Comment 10 Len DiMaggio 2009-11-10 17:40:38 UTC
Link: Added: This issue related SOA-1586


Comment 11 Len DiMaggio 2009-11-30 18:42:20 UTC
In 5.0 ER4 - the code is unchanged:

  <servlet-mapping>
      <servlet-name>GDP Deployer Servlet</servlet-name>
      <url-pattern>/app/upload/*</url-pattern>
  </servlet-mapping>

Can we get this fixed with SOA-P 5.0 and JBDS 3.0? 



Comment 13 Len DiMaggio 2009-12-15 18:37:06 UTC
Link: Added: This issue is related to SOA-327


Comment 14 Alejandro Guizar 2010-01-14 16:04:41 UTC
Won't fix since SOA-1586 (secure GPD deployer) superseded this issue.

Comment 15 Len DiMaggio 2010-03-26 18:09:48 UTC
Fix for https://jira.jboss.org/jira/browse/SOA-1586 verified in 4.3 CP03 ER1 during review of the Getting Started Guide:

   https://jira.jboss.org/jira/browse/SOA-2001?focusedCommentId=12522128#action_12522128




Note You need to log in before you can comment on or make changes to this bug.