sounds like the update hosed the SQL driver. -----Original Message----- From: Søren Blidorf [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 6:12 AM To: Tomcat Users List; Struts Users Mailing List Subject: Realm problems - security issues?
Hi. I am having trouble setting up my application on a new laptop running XP. Every thing works perfectly on my old laptop with the same software versions. Only change is microsoft update upgrades. So I think that it could be security issues. Any Idears??? BR Soren, DK <Context path="/um" docBase="c:/projects/um_fsik/um" debug="0" reloadable="true"> <Realm name="UMRealm" className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver" connectionURL="jdbc:microsoft:sqlserver://127.0.0.1;DatabaseName=XXX;ProgramName=XXX;SelectMethod=cursor" connectionName="XXX" connectionPassword="XXX" userTable="users" userNameCol="username" userCredCol="password" userRoleTable="user_roles" roleNameCol="rolename" /> </Context> *************************FROM LOG********************************* [ERROR] um] - Exception performing authentication <java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.>java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket. at com.microsoft.jdbc.base.BaseExceptions.createException (Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException (Unknown Source) at com.microsoft.jdbc.base.BaseExceptions.getException (Unknown Source) at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init> (Unknown Source) at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open (Unknown Source) at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection (Unknown Source) at com.microsoft.jdbc.base.BaseConnection.open (Unknown Source) at com.microsoft.jdbc.base.BaseDriver.connect (Unknown Source) at org.apache.catalina.realm.JDBCRealm.open (JDBCRealm.java:699) at org.apache.catalina.realm.JDBCRealm.authenticate (JDBCRealm.java:344) at org.apache.catalina.authenticator.FormAuthenticator.authent icate(FormAuthenticator.java:257) at org.apache.catalina.authenticator.AuthenticatorBase.invoke (AuthenticatorBase.java:416) at org.apache.catalina.core.StandardHostValve.invoke (StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke (StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process (Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11Connectio nHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket (PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt (LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.r un(ThreadPool.java:684) at java.lang.Thread.run(Unknown Source) [DEBUG] ApplicationDispatcher - servletPath=/public/loginError.jsp, pathInfo=null, queryString=null, name=null [DEBUG] ApplicationDispatcher - Path Based Forward [DEBUG] JspServlet - JspEngine --> /public/loginError.jsp [DEBUG] JspServlet - ServletPath: /public/loginError.jsp [DEBUG] JspServlet - PathInfo: null [DEBUG] JspServlet - RealPath: C:\projects\um_fsik\um\public\loginError.jsp [DEBUG] JspServlet - RequestURI: /um/public/loginError.jsp [DEBUG] JspServlet - QueryString: null [DEBUG] JspServlet - Request Params: [DEBUG] JspServlet - j_username = XXX [DEBUG] JspServlet - j_password = XXX [DEBUG] ApplicationDispatcher - Disabling the response for futher output [DEBUG] AuthenticatorBase - Failed authenticate() test ??/um/login/j_security_check [DEBUG] AuthenticatorBase - Security checking request GET /um/login/um.jsp [DEBUG] AuthenticatorBase - Calling hasUserDataPermission () [DEBUG] AuthenticatorBase - Calling authenticate() [DEBUG] FormAuthenticator - Save request in session '69C7CDF7181DB575FAECF7D04492F180' [DEBUG] ApplicationDispatcher - servletPath=/public/login.jsp, pathInfo=null, queryString=null, name=null [DEBUG] ApplicationDispatcher - Path Based Forward [DEBUG] JspServlet - JspEngine --> /public/login.jsp [DEBUG] JspServlet - ServletPath: /public/login.jsp [DEBUG] JspServlet - PathInfo: null [DEBUG] JspServlet - RealPath: C:\projects\um_fsik\um\public\login.jsp [DEBUG] JspServlet - RequestURI: /um/public/login.jsp [DEBUG] JspServlet - QueryString: null [DEBUG] JspServlet - Request Params: [DEBUG] ApplicationDispatcher - Disabling the response for futher output [DEBUG] AuthenticatorBase - Failed authenticate() test ******************************************************************************** Med venlig hilsen Søren Blidorf Nolas Consulting Web: http://www.nolas.dk Mobil: +45 61676513 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]