Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CollabConnException not being caught by Exception

Status
Not open for further replies.

JamesNicholls

Vendor
Nov 28, 2002
8
GB
Anyone have any ideas why a CollabConnException is not caught by catch (Exception e), i.e.:

try
{
bSibRet = getSiebelOutEtd().postSiebelForm();
}
catch(Exception e)
{
xxx
}

The CollabConnException seems to be generated by postSiebelForm()
 
James,

postSiebelForm() throws a CollabDataException.
So your collabConnException is coming from somewhere else and even outside your try-catch.

Regards,
Madere.
 
Cheers, Madere. I'm sure it's coming from within the try catch, which onlyu surrounds the postSiebelForm(). The full stack trace, which does contain a CollabDataException as well, is:

11:52:48.735 COL I 6 (initialize.cxx:302): JCS: Java collaboration translate threw a com.stc.common.collabService.CollabConnException!
11:52:48.735 COL I 6 (java_extensions.cxx:1040): *************** Exception occurred **************
11:52:48.736 COL I 6 (java_extensions.cxx:1040): toString: com.stc.common.collabService.CollabConnException: [col_SibOutboundAsynchronousUpdates] JCCollabControllerImpl (translate) Error in executing translate method

11:52:48.736 COL I 6 (java_extensions.cxx:1040):
11:52:48.736 COL I 6 (java_extensions.cxx:1040): getMessage: [col_SibOutboundAsynchronousUpdates] JCCollabControllerImpl (translate) Error in executing translate method

11:52:48.736 COL I 6 (java_extensions.cxx:1040):
11:52:48.761 COL I 6 (java_extensions.cxx:1040): StackTrace:
com.stc.common.collabService.CollabDataException: java.net.ConnectException: Connection refused
at com.stc.eways.siebel2000.Siebel2000.postSiebelForm(Siebel2000.java:814)
at crj_SibHttp.executeBusinessRulesJupiter(crj_SibHttp.java:98)
at uk.co.centrica.jupiter.eai.collabhelper.JupiterCollabHandler.execute(Unknown Source)
at crj_SibHttp.executeBusinessRules(crj_SibHttp.java:132)
at com.stc.jcsre.JCollaboration.translate(JCollaboration.java:144)
at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:518)
com.stc.common.collabService.CollabConnException: [col_SibOutboundAsynchronousUpdates] JCCollabControllerImpl (translate) Error on calling translate method of USER CLASS class crj_SibHttp

at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:539)
com.stc.common.collabService.CollabConnException: [col_SibOutboundAsynchronousUpdates] JCCollabControllerImpl (translate) Error in executing translate method

at com.stc.common.collabService.JCCollabControllerImpl.translate(JCCollabControllerImpl.java:587)

11:52:48.762 COL I 6 (java_extensions.cxx:1040): *************************************************
 
Ok,

indead it looks like it is coming from the postSiebelForm().
But it is also clear you have some connection parameters to Siebel wrong ==> connection refused.
I assume your are handling the exception in the catch part with some own logging?
There is not a previuos postSiebleForm() in your translation which is not CATCHed?
I have worked with the Siebel EAI e*Way and got sometimes the same error, but I can not recall if the excpetion was caught or not.
Regards,
Madere.
 
I should have explained that, I'm diliberately breaking the connection. What I don't understand is why the try / catch doesn't catch it - perhaps because collabconnexception is not a sub class of exception?

There is coding to handle the exception, yes. I chopped it out because it's lengthy and dull, it catches and throws as a bespoke exception type.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top