CAS Problems

Kevin Jordan kmj7777 at gmail.com
Mon Sep 25 18:08:30 EDT 2006


At the time, around 10 or less, and it idles that high as well.  We're
running it on Tomcat 5.5 with Java 1.4.2 on Gentoo Linux.

On 9/25/06, Scott Battaglia <scott.battaglia at gmail.com> wrote:
>
> That seems very high.  How many authentications are you doing?  What type
> of machine is it?
>
> On 9/25/06, Kevin Jordan < kmj7777 at gmail.com> wrote:
> >
> > I ended up just deleting the cas directory and having it restore itself
> > from the war file and it seems to work now.  However, java is still at
> > 99-100% CPU usage.
> >
> > On 9/25/06, Scott Battaglia <scott.battaglia at gmail.com> wrote:
> > >
> > > Are there any errors in your Tomcat log?   Did you do a thread dump
> > > before you restarted the server?  If so, please pass those along.
> > >
> > > Thanks
> > > -Scott
> > >
> > > On 9/25/06, Kevin Jordan <kmj7777 at gmail.com> wrote:
> > >
> > > >  My CAS was working well up until Friday and then Java started
> > > > taking 100% of the CPU (still is, and I changed JDKs and upgraded Tomcat and
> > > > CAS) which interferred with my LDAP on the same machine.  Now I've moved
> > > > LDAP off and that's fine, and it worked for the first couple logins, but now
> > > > I'm getting this error:
> > > >
> > > > 5AE5 .START ****************** [CAS.php:396]
> > > > 5AE5 .=> phpCAS::client('2.0', 'cerberus.xteconline.com ', 443,
> > > > '/cas', true) [headerCAS.php:32]
> > > > 5AE5 .|    => CASClient::CASClient(' 2.0', false, '
> > > > cerberus.xteconline.com', 443, '/cas', true) [CAS.php:297]
> > > > 5AE5 .|    |    ST 'ST-14-eIdaNesjRgYwnbA6PRQgl11vRiOfKtFiH6k-20'
> > > > found [ client.php:537]
> > > > 5AE5 .|    <= ''
> > > > 5AE5 .<= ''
> > > > 5AE5 .=> phpCAS::forceAuthentication() [headerCAS.php:33]
> > > > 5AE5 .|    => CASClient::forceAuthentication() [CAS.php:873]
> > > > 5AE5 .|    |    => CASClient::isAuthenticated() [client.php:615]
> > > > 5AE5 .|    |    |    => CASClient::wasPreviouslyAuthenticated() [
> > > > client.php:670]
> > > > 5AE5 .|    |    |    |    no user found [client.php:771]
> > > > 5AE5 .|    |    |    <= false
> > > > 5AE5 .|    |    |    ST
> > > > `ST-14-eIdaNesjRgYwnbA6PRQgl11vRiOfKtFiH6k-20' is present [
> > > > client.php:677]
> > > > 5AE5 .|    |    |    => CASClient::validateST('', NULL, NULL) [
> > > > client.php:678]
> > > > 5AE5 .|    |    |    |    => CASClient::getURL() [client.php:366]
> > > > 5AE5 .|    |    |    |    <= ' http://apache01.xteconline.com/dmt/'
> > > > 5AE5 .|    |    |    |    => CASClient::readURL('https://cerberus.xteconline.com:443/cas/serviceValidate?service=http://apache0
> > > >
> > > > 1.xteconline.com/dmt/&ticket=ST-14-eIdaNesjRgYwnbA6PRQgl11vRiOfKtFiH6k-20
> > > > ', '', NULL, NULL, NULL) [client.php:905]
> > > > 5AE5 .|    |    |    |    <= true
> > > > 5AE5 .|    |    |    |    bad XML root node (should be
> > > > `serviceResponse' instead of `' [client.php:956]
> > > > 5AE5 .|    |    |    |    => CASClient::authError('ST not
> > > > validated', '
> > > > https://cerberus.xteconline.com:443/cas/serviceValidate?
> > > > service=http://apache01.xteconline.com/dmt/&ticket=ST-14-eIdaNesjRgYwnbA6PRQgl11vRiOfKtFiH6k-20',
> > > > false, true, false) [client.p
> > > > hp:961]
> > > > 5AE5 .|    |    |    |    |    => CASClient::getURL() [client.php
> > > > :1967]
> > > > 5AE5 .|    |    |    |    |    <= '
> > > > http://apache01.xteconline.com/dmt/'
> > > > 5AE5 .|    |    |    |    |    CAS URL:
> > > > https://cerberus.xteconline.com:443/cas/serviceValidate?service=http://apache01.xteconl
> > > > ine.com/dmt/&ticket=ST-14-eIdaNesjRgYwnbA6PRQgl11vRiOfKtFiH6k-20 [
> > > > client.php:1968]
> > > > 5AE5 .|    |    |    |    |    Authentication failure: ST not
> > > > validated [client.php:1969]
> > > > 5AE5 .|    |    |    |    |    Reason: bad response from the CAS
> > > > server [client.php:1974]
> > > > 5AE5 .|    |    |    |    |    CAS response:  [ client.php:1988]
> > > > 5AE5 .|    |    |    |    |    exit()
> > > > 5AE5 .|    |    |    |    |    -
> > > > 5AE5 .|    |    |    |    -
> > > > 5AE5 .|    |    |    -
> > > > 5AE5 .|    |    -
> > > > 5AE5 .|    -
> > > >
> > > > What happened?  Why am I getting an empty serviceReponse?  I've
> > > > upgraded phpCAS as well and I still get that error...
> > > >
> > > > --
> > > > Kevin Jordan
> > > > _______________________________________________
> > > > 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
> > >
> > >
> > >
> >
> >
> > --
> > Kevin Jordan
> > _______________________________________________
> > 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
>
>
>


-- 
Kevin Jordan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20060925/6862f9e6/attachment.html


More information about the cas mailing list