You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Daniel Kehoe <ke...@fortuity.com> on 2000/10/18 21:46:36 UTC
[catalina] JDBCRealm connectionName and connectionPassword
JDBCRealm in TC3.2b took a connectionName and connectionPassword from the
server.xml file but these are gone in Catalina's JDBCRealm.
I used HypersonicSQL previously with TC3.2b2 and it worked fine with the
following:
driverName="org.hsql.jdbcDriver"
connectionURL="jdbc:HypersonicSQL:../webapps/weblock/web-inf/db/authori
connectionURL="jdbc:HypersonicSQL:../webapps/weblock/web-inf/db/authority"
connectionName="sa"
connectionPassword=""
There seems to be no way to pass connectionName and connectionPassword to
TC4.0m2
and I get an exception when TC4.0m2 starts:
java.sql.SQLException: User not found
thrown at JDBCRealm line 649
Daniel
kehoe@fortuity.com
Tomcat 3.x nightly builds are zero K
Posted by Daniel Kehoe <ke...@fortuity.com>.
The nightly builds for the Tomcat 3.x Development Tree are all 0K in size.
I followed the link "Tomcat 3.x Development Tree" on the
"Binary Downloads" page at
http://jakarta.apache.org/downloads/binindex.html
I wanted to try a newer build than TC3.2b6.
Daniel
kehoe@fortuity.com
Re: [catalina] JDBCRealm connectionName and connectionPassword
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Daniel Kehoe wrote:
> JDBCRealm in TC3.2b took a connectionName and connectionPassword from the
> server.xml file but these are gone in Catalina's JDBCRealm.
>
> I used HypersonicSQL previously with TC3.2b2 and it worked fine with the
> following:
> driverName="org.hsql.jdbcDriver"
> connectionURL="jdbc:HypersonicSQL:../webapps/weblock/web-inf/db/authori
> connectionURL="jdbc:HypersonicSQL:../webapps/weblock/web-inf/db/authority"
> connectionName="sa"
> connectionPassword=""
>
> There seems to be no way to pass connectionName and connectionPassword to
> TC4.0m2
> and I get an exception when TC4.0m2 starts:
> java.sql.SQLException: User not found
> thrown at JDBCRealm line 649
>
The Tomcat 4 version of JDBCRealm was ported before these properties were added to the
3.x version. I'd be happy to commit a patch to bring this up to date if anyone would
volunteer to create it ....
>
> Daniel
> kehoe@fortuity.com
>
Craig
====================
See you at ApacheCon Europe <http://www.apachecon.com>!
Session VS01 (23-Oct 13h00-17h00): Sun Technical Briefing
Session T06 (24-Oct 14h00-15h00): Migrating Apache JServ
Applications to Tomcat