tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido Medina <gmed...@mercantil.com.do>
Subject RE: JDBC Realm not working with NT service
Date Wed, 02 Jan 2002 17:15:41 GMT
copy the jsse 1.0.2 jar files inside C:\Program Files\JavaSoft\JRE\lib\Ext

that's it...

-----Original Message-----
From: gman [mailto:gjlloyd@yahoo.com]
Sent: Wednesday, January 02, 2002 1:16 PM
To: tomcat-user@jakarta.apache.org
Subject: JDBC Realm not working with NT service


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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message