ticket error

Aaron Burton awburton at yahoo.com
Thu Feb 22 15:59:29 EST 2007


You are correct.  It has something to do with the view.  I was using the simple view, thinking it would be easier to customize.  When I switched back the to default view it started working correctly.

Thank you


----- Original Message ----
From: Scott Battaglia <scott.battaglia at gmail.com>
To: Yale CAS mailing list <cas at tp.its.yale.edu>
Sent: Thursday, February 22, 2007 2:30:25 PM
Subject: Re: ticket error

Something is misconfigured.  That response is from the login page (i.e. when you tried to validate the ticket it returned the login page).  Either you are pointing to the wrong validation endpoint or the the views on the server side point to the wrong JSP pages.


-Scott

On 2/22/07, Aaron Burton <awburton at yahoo.com> wrote:
After authenticating I'm getting an unable to validate ProxyTicketValidator error.  I was having the trust issue but I think I worked through that am now getting another error.  In the log I believe this is the root of the error:


org.xml.sax.SAXParseException: The reference to entity "ticket" must end with the ';' delimiter.


I tried searching the mail list but couldn't come up with anything like this.  Any ideas?  Here is the full text in the log:



Feb 22, 2007 1:39:51 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet hwbw000 threw exception
edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate ProxyTicketValidator [[
edu.yale.its.tp.cas.client
.ProxyTicketValidator proxyList=[null]
 [edu.yale.its.tp.cas.client.ServiceTicketValidator casValidateUrl=[https://cas-cwp.m

izehouser.com:8443/cas/serviceValidate] ticket=[ST-2-nQpLv3kUVafukj0wE161sahbxaT2fOogd01-20] service=[http%3A%2F%2F10.10.1.
105%2Fcwp1%2Fservlet%2Fhwbw000%3Fmenu%3B] renew=false entireResponse=[


http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- Minimal Web pages, starting point for Web Designers -->



        <head>
                <title>JA-SIG  Central  Authentication  Service (CAS)</title>

        </head>
  <body>
        <form method="post"
 action="login;jsessionid=B87E0AA489BF36F89F7639C797DDE9A6?service=http%3A%2F%2F10.10.1.105%2Fcw
p1%2Fservlet%2Fhwbw000%3Fmenu%3B&ticket=ST-2-nQpLv3kUVafukj0wE161sahbxaT2fOogd01-20;">

        <!-- Begin error message generating Server-Side tags -->


        <!-- End error message generating Server-Side tags -->

        <p>Userid
                <input id="username" name="username" size="32" tabindex="1" accesskey="n" />

        </p>

        <p>Password
                <input type="password" id="password" name="password" size="32" tabindex="2" accesskey="p"
 />
        </p>

        <p><input type="checkbox" id="warn" name="warn" value="false" tabindex="3" />
           Warn me before logging me into other sites.


        <!-- The following hidden field must be part of the submitted Form -->
                        <input type="hidden" name="lt" value="_c42038115-FA98-2A42-73DB-BE83D15BC427_kF6AECF16-2C87-E2B1-92

62-9B3305BE1DCA" />
                        <input type="hidden" name="_eventId" value="submit" />


       
 </p>

        <p>
        <input type="submit" class="button" accesskey="l" value="LOGIN" tabindex="4" />
        </p>
        </form>

</body>
</html>

]]]]
        at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:52)
        at edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java
:455)
        at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:378)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
        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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java
:767)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:619)
Caused by: org.xml.sax.SAXParseException: The reference to entity "ticket" must end with the ';' delimiter.
        at
 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
        at 
edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:221)
        at edu.yale.its.tp.cas.client.CASReceipt.getReceipt(CASReceipt.java:50)
        ... 17 more









Food fight? Enjoy some healthy debate
in the 
Yahoo! Answers Food & Drink Q&A.

_______________________________________________
Yale CAS mailing list

cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas





_______________________________________________
Yale CAS mailing list
cas at tp.its.yale.edu
http://tp.its.yale.edu/mailman/listinfo/cas







 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070222/b7f32157/attachment.html 


More information about the cas mailing list