You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Mock <da...@yahoo.com> on 2003/05/26 22:45:53 UTC

need help with weird mysql JDBC Realm Problem

I'm running a standalone tomcat v.4.1.24 on redhat 9.0
with the com.mysql.jdbc.Driver (new mysql connector
3.0) JDBCRealm. 
here is my conf:

<Realm className="org.apache.catalina.realm.JDBCRealm"
debug="99"
      	         digest="SHA"
             driverName="com.mysql.jdbc.Driver"
         
connectionURL="jdbc:mysql://localhost/somedb"
         connectionName="usr" connectionPassword="pwd"
              userTable="user" userNameCol="usrnm" 
            userCredCol="pwd"
          userRoleTable="userrole"  
            roleNameCol="rolename" />

ok, now the weird stuff - every morning (over the
night) the security check process hangs and leave the
page on a blank j_security_check page. once again,
this only happens over the night. I haven't known
whether it happens when the date changes or when the
last authentication process was n hours before.
when i check the log:
- in context log:
2003-05-27 02:51:51 Authenticator[/thecontext]:
Authenticating username 'someuser'
is the last line logged
- and in catalina_log:
java.lang.StackOverflowError
        at
java.net.SocketOutputStream.socketWrite0(Native
Method)
        at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
        at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
        at
java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:69)
        at
java.io.BufferedOutputStream.flush(BufferedOutputStream.java:127)
**** more lines n the last line is ********
        at
com.mysql.jdbc.Connection.close(Connection.java:1028)

anybody has the idea what's going on here
it really confuses me. is it the mysql driver
prob,tomcat,or my application
 
any help (even comment =) would be appreciated

thx

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org