Shark Integration problems

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Shark Integration problems

Daniel Riquelme
While playing with the Shark Integration I found a few problems and tried to
solved them.
I used the example xpdl  file provided with the Shark integration.

1) There was an error regarding the absence of SharkWorkflowSeq entity.
I added the entity, with no attributes except for the PK, and the error went
away.

2) The History button in the Process Detail List wasn't working. After
pressing it I got a blank page and an error in the console with the
following line:
Target exception: org.enhydra.shark.api.client.wfbase.BaseException: In call
to getBytes the value is not a supported type, should be byte[] or
ByteWrapper, is: java.util.HashMap
I added the following lines to the file
org.ofbiz.shark.audit.DataEventAudit
method: getNewData
line: 87
, and the error disappeared.

Object object = dataEventAudit.get(org.ofbiz.shark.SharkConstants.newData);
        if(object instanceof Map) {
            return (Map)object;
}

3) There was another problem related to the execution of the test blocking
service. It looks like the method wanted to wait for 30 seconds, but the
service definition specified a transaction timeout of 20 seconds, so the
service would rollback every time.

Hope it helps.

Daniel Riquelme