TOMCAT REALM dosn't work after DB was down

From: Frank Hartel (F_at_Hartel-Net.de)
Date: 10/16/03


Date: Thu, 16 Oct 2003 21:25:17 +0200

Hello everybody,

I work with Tomcat 4.1.18 and an Oracle DB 8i. My JSP-Application needs
authentication via BASIC-Authentification.

Everytime when the database is halted an restarted again, the users can't
logon to my applicatons.
After restarting Tomcat everything works fine again.
I think that the JDBC-Realm of Tomcat is not able to reconnect to the
database.

Is that right?

What are my possibilities?
I want to run a failovercluster with a round-robin router, two hw-servers,
one Apache Web-Server running on each and 2 Tomcats on every hw-server,
session-replicated by javagroups.
So if the database was down, many processes have to be reactivated.

I would appreciate any help.
Best Regards

Frank

PGP: A0CD 6C7E 696D BEBC 5929 E7F6 2615 A61E 1988 9653

F@Hartel-Net.de



Relevant Pages

  • Re: TOMCAT REALM dosnt work after DB was down
    ... > After restarting Tomcat everything works fine again. ... > JDBC-Realm of Tomcat is not able to reconnect to the database. ... I think its because the jdbc connection which it creates to do the ...
    (comp.lang.java.databases)
  • Re: Please Help...
    ... After battling with config files, and reading and reading of various ... which mentioned using the Tomcat Admin tool. ... > database that is configured in the server.xml file. ... > connection which says to me server.xml entries are correct. ...
    (comp.lang.java.databases)
  • Please Help...
    ... I cannot connect to my database using JNDI., ... but the tomcat 5.5.7 installation is not playing. ... Resource reference to a factory for java.sql.Connection ... connection which says to me server.xml entries are correct. ...
    (comp.lang.java.databases)
  • Re: A2LL ist tot...
    ... | mit Tomcat als Servlet Container. ... | # Bugs - You think you have a bug or there is a difference in behavior with another servlet container. ... | # Database - Getting tomcat to talk to a database. ...
    (de.talk.tagesgeschehen)
  • Re: Connecting db through odbc bridge in tomcat 5.5
    ... I'm not able to clearly underdstand the steps in tomcat docs (JNDI ... database and the changes to be made in different files. ... access database through jsp using ODBC bridge? ...
    (comp.lang.java.programmer)