Clifford, Does the log tell you whether this exception is coming from the client application. As CAS doesn't do any callbacks (unless proxying is involved) its not likely to be from the CAS server (unless you have proxying configured).
-Scott On 9/10/07, Clifford Bryant <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am trying to set up CAS. I have been using a simple Hello World web > page. When I try to access the page, I am redirected to the CAS login > page. The CAS login page is currently configured to use the > SimpleTestUsernamePasswordAuthenticationHandler authentication handler. I > am using CAS 3.0.7. I enter the username and password. The log says that > I am authenticated OK, but I get a connection refused exception. > > > > 2007-09-10 15:35:35,114 INFO [ > org.jasig.cas.web.flow.AutomaticCookiePathSetterAc > > tion] - <Setting ContextPath for cookies to: /cas> > > 2007-09-10 15:35:41,424 INFO [ > org.jasig.cas.authentication.AuthenticationManager > > Impl] - <AuthenticationHandler: > org.jasig.cas.authentication.handler.support.Sim > > pleTestUsernamePasswordAuthenticationHandler successfully authenticated > the user > > which provided the following credentials: pass> > > 2007-09-10 15:35:41,444 INFO [ > org.jasig.cas.CentralAuthenticationServiceImpl] - > > <Granted service ticket [ST-2-20Sb7yaMqRESdHBywht2iz1WzwIAso2vMXk-20] for > servic > > e [https://localhost:8443/examples/servlets/helloworld.html] for user > [pass]> > > > > Sep 10, 2007 3:35:42 PM org.apache.catalina.core.StandardWrapperValveinvoke > > SEVERE: Servlet.service() for servlet default threw exception > > java.net.ConnectException: Connection refused: connect > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) > > at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java > :171) > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) > > at java.net.Socket.connect(Socket.java:461) > > at java.net.Socket.connect(Socket.java:411) > > at sun.net.NetworkClient.doConnect(NetworkClient.java:139) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:402) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:618) > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:306) > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:267) > > at sun.net.www.http.HttpClient.New(HttpClient.java:339) > > at sun.net.www.http.HttpClient.New(HttpClient.java:320) > > at sun.net.www.http.HttpClient.New(HttpClient.java:315) > > at sun.net.www.protocol.http.HttpURLConnection.plainConnect( > HttpURLConnection.java:521) > > at sun.net.www.protocol.http.HttpURLConnection.connect( > HttpURLConnection.java:498) > > at sun.net.www.protocol.http.HttpURLConnection.getInputStream( > HttpURLConnection.java:626) > > at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown > Source) > > at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > Source) > > at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown > Source) > > at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown > Source) > > at > org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown > Source) > > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > Source) > > at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown > Source) > > at edu.yale.its.tp.cas.client.ServiceTicketValidator.validate( > ServiceTicketValidator.java:221) > > at edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser > (CASFilter.java:219) > > at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter( > CASFilter.java:184) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > (ApplicationFilterChain.java:215) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter( > ApplicationFilterChain.java:188) > > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:210) > > at org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:174) > > at org.apache.catalina.core.StandardHostValve.invoke( > StandardHostValve.java:127) > > at org.apache.catalina.valves.ErrorReportValve.invoke( > ErrorReportValve.java:117) > > at org.apache.catalina.core.StandardEngineValve.invoke( > StandardEngineValve.java:108) > > at org.apache.catalina.connector.CoyoteAdapter.service( > CoyoteAdapter.java:151) > > at org.apache.coyote.http11.Http11Processor.process( > Http11Processor.java:870) > > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection > (Http11BaseProtocol.java:665) > > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( > PoolTcpEndpoint.java:528) > > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( > LeaderFollowerWorkerThread.java:81) > > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.java:685) > > at java.lang.Thread.run(Thread.java:534) > > > > Clifford Bryant, Senior Developer > > Edgewater Technology, Inc. > > ------------------------------------------------------------- > > 20 Harvard Mill Square > > Wakefield, MA 01880 > > Direct (: 781.213.9885 > > Cell (: 617.417.6704 > > Fax 6: 781.246.5903 > > *: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > ΓΌ: www.edgewater.com > > > > This e-mail and any files transmitted with it are confidential and are > intended solely for the use of the individual or entity to whom they are > addressed. This communication may contain information that is protected from > disclosure by applicable law. If you are not the intended recipient, or the > employee or agent responsible for delivering this communication to the > intended recipient, be advised that you have received this e-mail in error > and any use, dissemination, forwarding, printing or copying of this e-mail is > strictly prohibited. If you believe that you have received this e-mail in > error, please immediately notify Edgewater Technology by telephone at (781) > 246-3343 and delete the communication from all e-mail files. > > > _______________________________________________ > Yale CAS mailing list > [email protected] > http://tp.its.yale.edu/mailman/listinfo/cas > > -- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
