As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Caused by: java.sql.SQLException: Transaction (Process ID 65) was deadlocked on {lock} resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
What kind of transaction handling are you using?
Is there something complex happening in the service tasks?
<br>public class SiebelTask extends C4ServiceTask{<br> private static final Logger LOG = LoggerFactory.make();<br> private Expression partnerSystem;<br><br> public void execute(ActivityExecution execution) throws Exception {<br> PvmTransition transition = null;<br> Map<String, Object> variables = new HashMap<String, Object>();<br><br> String partnerSystemStr = (String) partnerSystem.getValue(execution);<br><br> if (execution.hasVariables()) {<br> try {<br> LOG.info("Starting siebel task. ThreadID: "<br> + Thread.currentThread().getId());<br><br> variables = execution.getVariables();<br> <br> byte[] startupByte = (byte[]) variables.get("startup");<br> String startupXml = new String(startupByte);<br><br> Startup startup = new JaxbStartup(startupXml);<br> ConnectorBusinessData data = loadDataXml(variables.get("data"));<br><br> SiebelStartup siebelStartup = new SiebelStartup(startup);<br><br> SiebelRunner sr = new SiebelRunner(siebelStartup,<br> partnerSystemStr);<br><br> Properties props = new Properties();<br><br> CallbackProperties callbackProperties = new CallbackProperties();<br> callbackProperties.setProperties(props);<br><br> sr.execute(new BusinessServiceInvoker(data, callbackProperties<br> .getProperties()));<br> <br> transition = execution.getActivity().findOutgoingTransition(<br> "siebel-no-exception");<br> LOG.info("Siebel task was succesfully completed. ThreadID: "<br> + Thread.currentThread().getId());<br> } catch (Exception e) {<br><br> LOG.severe("ThreadID: " + Thread.currentThread().getId()<br> + "\nEs gibt ein Problem bei siebel task: " <br> + e.getMessage());<br> transition = execution.getActivity().findOutgoingTransition(<br> "siebel-exception");<br> }<br> execution.take(transition);<br> <br> } else {<br> LOG.severe("Es gibt folgendes Problem: Die Processvariablen konnten nicht gesetzt werden.");<br> }<br><br> }<br>