×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

CollabConnException not being caught by Exception

CollabConnException not being caught by Exception

CollabConnException not being caught by Exception

(OP)
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()

RE: CollabConnException not being caught by Exception

James,

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

Regards,
Madere.

RE: CollabConnException not being caught by Exception

(OP)
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): *************************************************

RE: CollabConnException not being caught by Exception

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.

RE: CollabConnException not being caught by Exception

(OP)
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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close