0 Replies Latest reply on Aug 13, 2009 3:17 PM by Victor Hugo Molinar

    Oracle Listener Exception Handling

    Victor Hugo Molinar Newbie

      Hello guys,
      I have an application that uses Seam, Spring and Hibernate for Model and Persistent layers.
      And I want to know if is possible to make an exception Handling on pages.xml for Listener connection refused sent by Oracle Listener, because if the Oracle Listener goes down I want to redirect the user for an error page.

      When the Oracle Listener is down and I try to request something from my application server, I get this following error:

      WARN  org.hibernate.util.JDBCExceptionReporter - SQL Error: 0, SQLState: null
      ERROR org.hibernate.util.JDBCExceptionReporter - Listener refused the connection with the following error:
      ORA-12514, TNS:listener does not currently know of service requested in connect descriptor

      So how can I do it? Which exception I have to put on pages.xml?