Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1014319

Summary: more logging when creating JaxWS client in ServiceTaskHandler
Product: [Retired] JBoss BPMS Platform 6 Reporter: jbride <jbride>
Component: jBPM CoreAssignee: Kris Verlaenen <kverlaen>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Baluch <mbaluch>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 6.0.0   
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:06:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description jbride@redhat.com 2013-10-01 17:27:15 UTC
Hi.
  i'm smoke testing the BPMN2 ServiceTaskHandler to invoke remote SOAP service.
  So far so good.
  Request I have is to allow an option for logging of a stack trace exception that could occur when attempting to parse a remote WSDL and instantiate a JaxWSClient.  There are all kinds of potential problems that can arise in creating the JaxWSClient (ie:  security, network, wrong service/port names, etc).  Currently, the ServiceTaskHandler workItemHandler buries these exceptions when attempting to create the JaxWSClient such that the only way to view the exception is through a debugger.
  Request that the following be addeded :

https://github.com/droolsjbpm/jbpm/blob/master/jbpm-workitems/src/main/java/org/jbpm/process/workitem/bpmn2/ServiceTaskHandler.java#L184

    184                         return client;
    185                     } catch (Exception e) {
    186                         if(logger.isDebugEnabled()){
    187                             e.printStackTrace();
    188                         }
    189                         continue;
    190                     }


thanks!  jeff

Comment 3 Marek Baluch 2013-12-04 07:23:11 UTC
Verified on ER5.