Author |
Message
|
giriraj.sharma |
Posted: Mon Jul 30, 2012 12:11 am Post subject: Failing DB entry in USER DEFINED EXCEPTION |
|
|
Newbie
Joined: 23 Jul 2012 Posts: 7
|
Hi,
I am throwing a user defined exception using esql code and i want to enter that code in DB. But the system is entering a diffrent code 500.
Please help me on this.
Thanks & Regards,
Giriraj |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Mon Jul 30, 2012 12:33 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi giriraj.sharma,
What is the version of your broker. Have you taken debug user trace from your ESQL execution? Can you post original error -messages? |
|
Back to top |
|
 |
giriraj.sharma |
Posted: Mon Jul 30, 2012 2:02 am Post subject: |
|
|
Newbie
Joined: 23 Jul 2012 Posts: 7
|
Hi,
There was no error message. I defined a code myself and a corresponding message to be entered in the DB if exception occurs.
But instead of my defined code, It entered 500 and a complete stack trace in the message column that must contain the corresponding error message as defined my me.
Thanks & Regards,
Giriraj |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 30, 2012 2:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
So you are not handling correctly the return of a soap request?
The 500 I suppose here is the http return code?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Mon Jul 30, 2012 2:39 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi giriraj.sharma,
Can you describe with more details what are trying to do and how you are doing it now or share your ESQL -code or relevant parts of debug user trace here so someone could point out the pain point for you?
--
Marko |
|
Back to top |
|
 |
giriraj.sharma |
Posted: Mon Jul 30, 2012 4:08 am Post subject: |
|
|
Newbie
Joined: 23 Jul 2012 Posts: 7
|
Hi,
Thanks. I got the solution.
--
Giriraj |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Jul 30, 2012 10:56 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Would you care to share it with us so that other 'newbies' may learn from it? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
|