[ 
http://jira.codehaus.org/browse/MWAS-38?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=170751#action_170751
 ] 

Chris Graham commented on MWAS-38:
----------------------------------

That's a horrid fix.

I raised a PMR with IBM to fix it.

PMR: 78051,999,616

This was fixed in APAR JR32145 (WID/WPS 6.0).

You'll have to ask for the same fix for WID 6.1/6.2.

The work around is to set <ignoreErrors>true</ignoreErrors>

The bug in the underlying service deploy code is that this value is used to set 
the underlying ant java task failOnError. The bug is that it needs to be 
javaAntTask.setFailonerror(!ignoreErrors). That is what the APAR fixes.

-Chris

> ServiceDeploy failOnError ignored
> ---------------------------------
>
>                 Key: MWAS-38
>                 URL: http://jira.codehaus.org/browse/MWAS-38
>             Project: Maven 2.x WebSphere 6 Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1, 1.1.1
>         Environment: Maven 2.0.9
> WID 6.1.2.2 
>            Reporter: Jason Pell
>            Assignee: David J. M. Karlsen
>            Priority: Critical
>         Attachments: ServiceDeployMojo.java.patch
>
>
> A servicedeploy error which fails to generate the EAR file does not cause the 
> maven build process to fail.
> [INFO] [servicedeploy] A warning message was reported during deployment:
> [INFO] 
> [INFO] [servicedeploy] Severity:        [warning]
> [INFO] [servicedeploy] Description:     CWLBS0003E: The monitored map is not 
> found.
> [INFO] [servicedeploy] Resource:        RetrieveAccountMap_map.mon
> [INFO] [servicedeploy] Folder:  AccountService
> [INFO] [servicedeploy] Location:        2
> [INFO] 
> [INFO] [servicedeploy] An error message was reported during deployment:
> [INFO] 
> [INFO] [servicedeploy] Severity:        [error]
> [INFO] [servicedeploy] Description:     The process does not implement the 
> operation 'ValidateCardNumber' of the port type 
> 'http://someurl.com/Service/0.5/AccountService:AccountServicePortType'.
> [INFO] [servicedeploy] Resource:        AccountServiceProcess.bpel
> [INFO] [servicedeploy] Folder:  AccountService
> [INFO] 
> [INFO] [servicedeploy] Due to errors, 
> /home/developr/Projects/trunk/sca/AccountServiceApp/target/AccountServiceApp-0.1-SNAPSHOT.ear
>  was not created. Run with -ignoreErrors to override.
> [INFO] [servicedeploy] Deployment has completed
> [INFO] [servicedeploy] Waiting for background jobs
> [INFO] [servicedeploy] Deleting workspace
> [ERROR] [servicedeploy] Java Result: 2
> [INFO] 
> [INFO] BUILD SUCCESSFUL
> [INFO] Total time: 1 minute 5 seconds
> [INFO] Return code: 0
> My suggestion would be to apply the same fix as for ejbdeploy
> Verify that the outputApplication exists

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to