Missing error properties

Hi All,

I’m in the process of creating an on_error processing sequence and wanted to display the error properties provided by Mediator. I am able to display some of the error properties, but not all of them (as described in the documentation). I’m able to access and display the following properties:


I’m not able to access:

Am I doing something wrong or are these properties only created under certain conditions? Any help would be appreciated.

I also logged the information available to the sequence; that information is listed below.


Message ID = 19e8329~fd9a362a647b6f@usatbexp
Time = 2004-07-08 13:03:47.875
Original Message ID = 19e8329~fd9a362a64
Sequence Line = 7, Statement = step
Sequence URL = http://localhost:8800/vrs/sequences/general_Error_Sequence.xml

xbd.logger.message = ====> Before Error Report

---- Properties -----
xbd.current.contentID = /19e8329~fd9a362a647b6f@usatbexp/94/
xbd.current.contentID.URL = cid:/19e8329~fd9a362a64
xbd.error.line = 7
xbd.error.sequence = http://localhost:8800/vrs/sequences/update_Customer_Address_Sequence.xml
xbd.error.text = com.softwareag.xbridge.exceptions.XException: mail.transport.host: undefined
xbd.factory.arrival = 2004-07-08 13:03:47.745
xbd.factory.name = DefaultComponentFactory
xbd.gatewayservlet.request.accept = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, /
xbd.gatewayservlet.request.accept-encoding = gzip, deflate
xbd.gatewayservlet.request.accept-language = en-us
xbd.gatewayservlet.request.cache-control = no-cache
xbd.gatewayservlet.request.connection = Keep-Alive
xbd.gatewayservlet.request.content-length = 643
xbd.gatewayservlet.request.content-type = application/x-www-form-urlencoded
xbd.gatewayservlet.request.host = localhost:8800
xbd.gatewayservlet.request.referer = http://localhost:8800/mediator/ServletPortal
xbd.gatewayservlet.request.user-agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
xbd.mail.body = yes
xbd.mail.subject = Update of Retirement Address Information
xbd.mail.to = user@softwareagusa.net
xbd.persist.message = false
xbd.persist.overwrite = no
xbd.persist.status = false
xbd.portal.client.address =
xbd.portal.client.host = localhost
xbd.portal.method = POST
xbd.portal.type = HTTP
xbd.transformer.stylesheets = http://localhost:8800/vrs/xslt/view.xslt
xbu.host.url = http://localhost:8800

----- Content Headers -----
Content-Type = application/x-www-form-urlencoded
Content-Length = 0
Message-ID = 19e8329~fd9a362a647b6f@usatbexp
Content-ID = </19e8329~fd9a362a64

----- Content -----


Hi Theo,

Some questions:
What version of Mediator are you using?
Do you have a debug log file, or know the details of the actual error?
Can you send the sequences?

Best regards,

Hi Mike,

I’m using v7.3.1 (the 5/17/2004 cut). Attached you will find a copy of the DefaultComponentFactory.xbd.log. Included you will also find a copy of the error sequence ( which doesn’t include the error properties) as well as the sequence which I caused to fail.

I have tested this sequence with several error conditions and I get the same results every time. In this instance I caused a SOAP Fault to occur.

On Error Sequence:


<?xml version="1.0" encoding="UTF-8"?>

Sequence which caused the error to occur:


<?xml version="1.0" encoding="UTF-8"?>

Let me know if you have any additional questions.

DefaultComponentFactory.xbd.log (358 KB)

Hi Theo,

Unfortunately there are some places in the code where the error properties are not being populated yet. We are addressing this and you should see improvements in the next release.

Best regards,

Hi Theo,

as far as I remember it is safe to assume that xbd.error.sequence, xbd.error.line, and xbd.error.text are always set when an error occurs.

The other properties are currently set only by some Mediator components.

Kind regards,