Oracle errors using struts

From: milkyway (d0mufasa_at_hotmail.com)
Date: 01/21/05


Date: 20 Jan 2005 23:19:26 -0800

Hello,

I have a small program whereby some data is being fetched from the
database (Oracle). As part of the program, I have "try .... catch"
statements just in case something strange happens. The statement is
something like (BTW, it is just pseudocode, not actual code):

TRY.
execute_query( l_query ).

CATCH cx_sql_exception.

ENDTRY.

As of now, if an error happens (using tomcat webserver) the whole
server shuts down. What can I do to this statement to forward it to an
error page or some other type of page? How is error handling with an
Oracle database (or data bases in general) done?



Relevant Pages

  • Oracle errors using struts
    ... I have a small program whereby some data is being fetched from the ... Oracle database (or data bases in general) done? ...
    (comp.lang.java.programmer)
  • Oracle errors using struts
    ... I have a small program whereby some data is being fetched from the ... Oracle database (or data bases in general) done? ...
    (comp.lang.java.softwaretools)
  • Re: What so special about PostgreSQL and other RDBMS?
    ... That's exactly the link the licence agreement for the database points to when it ... comes to what wecan expect for paying support. ... > "Oracle may provide additional releases or versions of its programs ... If the requirements are volatile I'd do a long term contract detailing what ...
    (comp.lang.php)
  • A cool DBA job wanted
    ... 7, Oracle 6, Sybase, SQL Server ... Proposed proactive database monitoring through ... strategies to administer remote Oracle databases ... Trained installation and support personnel in basic ...
    (comp.databases.oracle.server)
  • Re: I want to add to myknowledge
    ... 7, Oracle 6, Sybase, SQL Server ... Oracle Database Administrator ... Trained installation and support personnel in basic ... Senior Oracle Database Administrator ...
    (comp.databases.oracle.server)