New JBPM process definitions in portal-identity.sar are not picked up
---------------------------------------------------------------------
Key: JBPORTAL-2189
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2189
Project: JBoss Portal
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Portal Identity
Affects Versions: 2.6.6 Final
Environment: JDK 1.6.07, JBoss AS 4.2.3.GA (using the all server config), JBoss
Portal 2.6.6 HA, CentOs 5.1
Reporter: Stephen Houston
New process definitions copied to the
server/all/deploy/jboss-portal-ha.sar/portal-identity.sar/conf directory are not picked
up. The original definition is used.
Steps to reproduce
* Stop the portal if its running
* Copy the attached com.test-0.0.1-SNAPSHOT.jar to jboss-portal-ha.sar/lib. This contains
two handler definitions, Handler1 prints out 1s and Handler2 prints out 2s
* Extract def1.zip to portal-identity.sar/conf/processes. This creates a new process
definition testprocess.xml
* Modify portal-identity.sar/conf/identity-ui-configuration.xml , adding the line
<admin-subscription-mode>testprocess</admin-subscription-mode>
* Start the portal. Login as admin, create a new user account. When submitted to the
process you will see 10 lines of 1's written to the console
* Stop the portal
* Extract def2.zip to portal-identity.sar/conf/processes. This will overwrite
testprocess.xml with one that uses Handler2 instead of handler 1.
* Start the portal. Login as admin, create a new user account. When submitted to the
process you will see 10 lines of 1's written to the console indicating that the old
process version was used instead of the updated on.
To work around the problem you need to change the process name, rename the file, and
update identity-ui-configuration.xml. It would be more desirable if the portal could
determine that the process has changed and that it needs to be picked up and redeployed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira