hello,
my tomcat 3.3 application works fine as a stand-alone
application using JDBC Realm authentication. When i
run it as an NT service using the supplied
jk_nt_service tool.. the authentication fails with the
message below. For some reason it is not sending the
user to the database, although it does correctly get
the user name in the error message (not last line
below). Anyone else have this problem?
thanks
Gareth
=============================================
2002-01-02 11:28:56 - JDBCRealm: There was an
SQLException while in checkConnection: {0} -
java.sql.SQLException: [Microsoft][ODBC SQL Server
Driver][SQL Server]Login failed for user '\'.
at
sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031)
at
sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
at
sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:2458)
at
sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:320)
at
sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:163)
at
java.sql.DriverManager.getConnection(DriverManager.java:517)
at
java.sql.DriverManager.getConnection(DriverManager.java:199)
at
org.apache.tomcat.modules.aaa.JDBCRealm.checkConnection(Unknown
Source)
at
org.apache.tomcat.modules.aaa.JDBCRealm.getCredentials(Unknown
Source)
at
org.apache.tomcat.modules.aaa.RealmBase.checkPassword(Unknown
Source)
at
org.apache.tomcat.modules.aaa.RealmBase.authenticate(Unknown
Source)
at
org.apache.tomcat.core.Request.getRemoteUser(Unknown
Source)
at
org.apache.tomcat.modules.aaa.AccessInterceptor.authorize(Unknown
Source)
at
org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
at
org.apache.tomcat.core.ContextManager.service(Unknown
Source)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
2002-01-02 11:28:56 - JDBCRealm: Authentication
unsuccessful for user lloydg
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>