Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-04 Thread Scott Hasse
Patrick, Thanks for the advice. I dug into the JDBCRealm myself, and found that same problem (among others). I rewrote it, and the problems are now gone. However, I think a more elegant solution is to have true integrated security by using Dain Sundstrom's realm module: http://www.mail-archive

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-04 Thread Patrick Buchinger
Scott Hasse wrote: > I started to watch JBoss' stderr (which doesn't get traced to the log file > with my setup), and did notice the following errors. I have tried > refreshing this many times, but still have the same problem. > > 2001-05-03 02:51:39 - ContextManager: JDBCRealm: The database co

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy - solved

2001-05-03 Thread Scott Hasse
All, I was able to resolve this issue. The problem was some bugs in the JDBCRealm.java file in the tomcat distribution. Basically, if you use the and directives, and need to restart, it doesn't work properly. There were also some other issues with restarting and prepared statements. I have

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-03 Thread Scott Hasse
I started to watch JBoss' stderr (which doesn't get traced to the log file with my setup), and did notice the following errors. I have tried refreshing this many times, but still have the same problem. 2001-05-03 02:51:39 - ContextManager: JDBCRealm: The database connection is null or was found

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-03 Thread Scott Hasse
Yeah, I am watching the jboss log, and do not see any new information traced. Are you using postgres? If so, I'm curious about the version and the driver version. Thanks, Scott > It would be logged to the JBoss logging system (it's either stderr or stdout) so, check your JBoss logs... _

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-02 Thread Dewayne McNair
It would be logged to the JBoss logging system (it's either stderr or stdout) so, check your JBoss logs... - Original Message - From: Scott Hasse To: [EMAIL PROTECTED] Sent: Wednesday, May 02, 2001 10:37 PM Subject: Re: [JBoss-user] tomcat JDBCRealm brea

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-02 Thread Scott Hasse
  I have set debug="99", and still don't get any useful information traced.  The snippet in my server.xml file is:           className="org.apache.tomcat.request.JDBCRealm"    debug="99"    driverName="org.postgresql.Driver"    connectionURL="jdbc:postg

Re: [JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-02 Thread Dewayne McNair
CTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 02, 2001 6:06 PM Subject: [JBoss-user] tomcat JDBCRealm breaks on redeploy > I am currently seeing a problem with the 2.21 integrated Tomcat > distribution. I have correctly configured Tomcat to use a JDBCRealm for > authent

[JBoss-user] tomcat JDBCRealm breaks on redeploy

2001-05-02 Thread Scott Hasse
I am currently seeing a problem with the 2.21 integrated Tomcat distribution. I have correctly configured Tomcat to use a JDBCRealm for authenticating users. However, if I redeploy the web application (war file), the JDBCRealm seems to stop working. No errors are logged in either the Tomcat log