Hi folks finally i found the problem.

 It's neccesary my DB is started in order to run my application.

 I'm using struts datasource to connect my db.

 The point is i have a SQLException in case db is not started... But
it doesn't work because if i don't start the DB so my app won't run...

 Do u know how to solve this problem? I mean. How to manage exception
in case my db isn't started.

 I have my SQLException inside actionmapping.

 <action path="/Empleados"
type="com.sancristobal.Actions.EmpleadoAction" name="empleadoForm"
scope="session" input="/pages/Empleados.jsp" validate="true"
parameter="method">
        <exception type="java.sql.SQLException"
key="EmpleadosExcepcion.sql.excepcion"
path="/pages/Empleados-Exception.jsp" />
        <forward name="actualizacionOK"
path="/pages/Empleados-Editar-ActualizacionOK.jsp" redirect="false" />
        <forward name="edicionEmpleado"
path="/pages/Empleados-Editar.jsp" redirect="false" />
        <forward name="registroOK"
path="/pages/Empleados-Nuevo-RegistroOK.jsp" redirect="false" />
    </action>

 But it works only after i start DB and then start my app.. only when
i start tomcat with my app i can shutdown my db and my SQLException
works... But not at the beginnings..

 Please, do u had the same problem?? how to solve it??

 thanks so much

-- 

 Rafael Taboada

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to