You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Guido Medina <gm...@mercantil.com.do> on 2002/01/02 18:15:41 UTC
RE: JDBC Realm not working with NT service
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: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>
RE: JDBC Realm not working with NT service
Posted by gman <gj...@yahoo.com>.
i tried this, also put them in the jdk/lib that is my
JAVA_HOME, but i get the same problem. Did you run
into the same problem and solve it with that jar?
thanks
G
--- Guido Medina <gm...@mercantil.com.do> wrote:
> 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:
> <ma...@jakarta.apache.org>
> For additional commands:
> <ma...@jakarta.apache.org>
> Troubles with the list:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>