[Openroad-users] Intercepting the OSCA error on sessiondisconnection.

Bodo Bergmann Bodo.Bergmann at ingres.com
Wed Dec 19 22:46:36 EST 2007


Could you tell where the web browser comes into play?
The OpenROAD Server does not write to a web browser.
 
So, I assume it's rather the error printing on the client.
Are you using a mode 0 eClient application ?
 
See the "OpenROAD Server Reference Guide", Chapter "6: ASOLib",
Section "ASOLib User Classes", under "uc_osca (OpenROAD Client)" you
find:
CheckAndHandleError Method (OpenROAD Client)

This error handler method is invoked immediately after making a call to
a GSCP.
Its behavior depends on the type of error (or message) raised by the
OpenROAD Server application.
Error details are contained within the uc_osca instance.
...
User Error
Normally the error text is displayed to the user and GC_I_RESUME is
returned.
If global variable GV_V_OSCA_USERERROR_PROC has been set to a 4GL
procedurename,
that procedure will be called instead of displaying the error text.
(The procedure expects no parameters and must have an integer
returncode;
the returned value will be returned from this CheckAndHandleError
method).
...

Have you set the global variable "GV_V_OSCA_USERERROR_PROC"  to the name
of a 4GL procedure,
that does your error printing ?
 
Hope this helps,
Bodo.
 
Bodo Bergmann
Senior Software Engineer
OpenROAD Worldwide Development
Ingres Corp.
 

________________________________

From: openroad-users-bounces at peerlessit.com
[mailto:openroad-users-bounces at peerlessit.com] On Behalf Of Thomas, Doug
(PSD)
Sent: Wednesday, December 19, 2007 12:22 PM
To: openroad-users at sealion.peerlessit.com
Subject: [Openroad-users] Intercepting the OSCA error on
sessiondisconnection.



Dear All,

 

I'm trying to intercept the OSCA error following the session being
disconnected.  The error, which tells the world that we're using
OpenROAD Application Server, appears on the web browser.  I'm trying to
stop this happening.  This appears to happen at the define BPM stage and
before the error trapping that immediately follows it.

 

Has anyone got any suggestions?

 

Thanks,

 

Doug Thomas

Department for Environment, Food and Rural Affairs (Defra)

This email and any attachments is intended for the named recipient only.
If you have received it in error you have no authority to use, disclose,
store or copy any of its contents and you should destroy it and inform
the sender.
Whilst this email and associated attachments will have been checked
for known viruses whilst within Defra systems we can accept no
responsibility once it has left our systems.
Communications on Defra's computer systems may be monitored and/or
recorded to secure the effective operation of the system and for other
lawful purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.peerlessit.com/pipermail/openroad-users/attachments/20071219/2e8caee3/attachment.html 


More information about the Openroad-users mailing list