Announcement Announcement Module
Collapse
No announcement yet.
XLMReader Spring Security Error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • XLMReader Spring Security Error

    Hello,

    This is my first Thread, I hope you could help me with my error.

    I Built a Spring security Project to use it on an Unix /Tomcat 5.5 machine. It worked great for a period of a year or so; but the last week it started to fail with the following stacktrace:

    java.lang.RuntimeException: Unable to create XMLReader
    at org.jasig.cas.client.util.XmlUtils.getXmlReader(Xm lUtils.java:44)
    at org.jasig.cas.client.util.XmlUtils.getTextForEleme nt(XmlUtils.java:116)
    at org.jasig.cas.client.validation.Cas20ServiceTicket Validator.parseResponseFromServer(Cas20ServiceTick etValidator.java:69)
    at org.jasig.cas.client.validation.AbstractUrlBasedTi cketValidator.validate(AbstractUrlBasedTicketValid ator.java:188)
    at org.springframework.security.cas.authentication.Ca sAuthenticationProvider.authenticateNow(CasAuthent icationProvider.java:131)
    at org.springframework.security.cas.authentication.Ca sAuthenticationProvider.authenticate(CasAuthentica tionProvider.java:117)
    at org.springframework.security.authentication.Provid erManager.doAuthentication(ProviderManager.java:13 0)
    at org.springframework.security.authentication.Abstra ctAuthenticationManager.authenticate(AbstractAuthe nticationManager.java:48)
    at org.springframework.security.cas.web.CasAuthentica tionFilter.attemptAuthentication(CasAuthentication Filter.java:104)
    at org.springframework.security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:199)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.jasig.cas.client.session.SingleSignOutFilter.d oFilter(SingleSignOutFilter.java:110)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:105)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:79)
    at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 380)
    at org.springframework.security.web.FilterChainProxy. doFilter(FilterChainProxy.java:169)
    at org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:237)
    at org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:167)
    at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invo ke(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.invok e(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:174)
    at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11 ConnectionHandler.processConnection(Http11BaseProt ocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.process Socket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThr ead.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.ClassNotFoundException: org/apache/crimson/parser/XMLReaderImpl
    at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unk nown Source)
    at org.xml.sax.helpers.XMLReaderFactory.createXMLRead er(Unknown Source)
    at org.jasig.cas.client.util.XmlUtils.getXmlReader(Xm lUtils.java:42)
    ... 33 more

    More details of the machine:

    Server version: Apache Tomcat/5.5.26
    Server built: Jan 28 2008 01:35:23
    Server number: 5.5.26.0
    OS Name: Linux
    OS Version: 2.6.9-5.EL
    Architecture: i386
    JVM Version: 1.6.0_21-b06
    JVM Vendor: Sun Microsystems Inc.

    I absolutely have no idea of what have caused the error so Any help would be greatly appreciated. Thanks in advance.

  • #2
    Please use [ code][/code ] tags when posting code. Also have you read the stacktrace?

    Code:
    java.lang.ClassNotFoundException: org/apache/crimson/parser/XMLReaderImpl
    You are missing a library, so probablyl something changed, a library updated, jdk change or something else.

    Comment

    Working...
    X