Bug 1051459 - The first time call of a web service task is always unsuccessful
Summary: The first time call of a web service task is always unsuccessful
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER1
: 6.0.1
Assignee: Maciej Swiderski
QA Contact: Ivo Bek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-10 10:29 UTC by Ivo Bek
Modified: 2014-08-06 20:03 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:03:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
server log (13.21 KB, text/x-log)
2014-01-10 10:29 UTC, Ivo Bek
no flags Details

Description Ivo Bek 2014-01-10 10:29:23 UTC
Created attachment 848128 [details]
server log

Description of problem:

The first time I call a web service task, a classes from wsdl are generated but the proxy objects cause some exceptions. I have to send an another request to start a new process instance which will have the right proxy objects and the operations are done. Then it works until I restart the applications server where the processes run.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Start a process with a web service task
2. See the server log for exceptions.
3. Start a new process once again - this will pass

Actual results:


Expected results:


Additional info:

Comment 2 Maciej Swiderski 2014-01-15 12:51:28 UTC
issue was caused by cached class loader that was taken while application was starting and thus using main jboss class loader instead of deployment's one. Fix was to get class loader on request basis if it was not given - when users might setup their own class loaders.

jbpm
master:
https://github.com/droolsjbpm/jbpm/commit/162c419c551439a587601fbf9fdb3f09f909ceea

6.0.x:
https://github.com/droolsjbpm/jbpm/commit/5456377c09a8c87b7137442333bf0f87f0b2994b

Comment 3 Lukáš Petrovický 2014-02-07 16:19:08 UTC
This no longer has a target release of 6.0.0.

Comment 4 Ivo Bek 2014-02-24 09:43:23 UTC
Verified in BPMS 6.0.1.ER1


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