Women in Technology

Hear us Roar



Article:
  Using Tomcat 4 Security Realms
Subject:   Error in connection string
Date:   2001-10-23 09:48:48
From:   sonofseven
Hi,


The following text contains error.


<realm classname="org.apache.catalina.realm.JDBCRealm" debug="99"
drivername="org.gjt.mm.mysql.Driver"
connectionurl="jdbc:mysql://localhost/tomcatusers?user=test;password=test"
usertable="users" usernamecol="user_name" usercredcol="user_pass"
userroletable="user_roles" rolenamecol="role_name"/>


The connection string is incorrect. It should not used ';' but '&apm;' instead.


RP

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Error in connection string
    2001-10-23 09:50:01  sonofseven [View]

    ups, it shuld be '&' not '&apm;' :)
    • Error in connection string
      2007-07-20 14:59:27  dereck27 [View]

      http://www.google.com (http://www.google.com)