integration CAS3.1.1 with Websphere 6.1 error

Scott Battaglia scott.battaglia at gmail.com
Wed Dec 26 13:16:47 EST 2007


It appears that for some reason WebSphere is attempting to convert
everything to an XML document.  Any way you can turn that off?  Otherwise,
just remove the code doing the replaceAll (its most likely the example code
to show languages).

-Scott

On Dec 26, 2007 7:25 AM, Ni, Yanshi <YNi at statestreet.com> wrote:

>  Hello:
>
> I am setting up CAS server 3.1.1 on Websphere6.1. When trying to access
> protected resource of another application I was successfully redirected to
> the cas login page. However the login page got an error like below.
>
> Could any one help me on this? I tested it on tomcat and succeeded but
> failed on Webshpere6.1.
>
> Thanks in advance.
>
> *Error Message:*
>
> /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,112) JSPG0055E: Unable to create an xml attribute from name [] value [ : request.getQueryString().replaceAll(]
>
> *Root Cause:*
>
> com.ibm.ws.jsp.JspCoreException: /WEB-INF/view/jsp/default/ui/casLoginView.jsp(48,112) JSPG0055E: Unable to create an xml attribute from name [] value [ : request.getQueryString().replaceAll(]
>
>         at com.ibm.ws.jsp.translator.document.Jsp2Dom.getJspDocumentAsJspPage(Jsp2Dom.java:300)
>
>         at com.ibm.ws.jsp.translator.document.Jsp2Dom.getJspDocument(Jsp2Dom.java:179)
>
>         at com.ibm.ws.jsp.translator.JspTranslator.<init>(JspTranslator.java:73)
>
>         at com.ibm.ws.jsp.translator.JspTranslatorFactory.createTranslator(JspTranslatorFactory.java:116)
>
>         at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJsp(JspTranslatorUtil.java:212)
>
>         at com.ibm.ws.jsp.translator.utils.JspTranslatorUtil.translateJspAndCompile(JspTranslatorUtil.java:99)
>
>         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.translateJsp(AbstractJSPExtensionServletWrapper.java:406)
>
>         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper._checkForTranslation(AbstractJSPExtensionServletWrapper.java:374)
>
>         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.checkForTranslation(AbstractJSPExtensionServletWrapper.java:283)
>
>         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:138)
>
>         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:278)
>
>         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
>
>         at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:142)
>
>         at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:243)
>
>         at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1141)
>
>         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:878)
>
>         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:792)
>
>         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:475)
>
>         at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:430)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
>
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>
>         at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:115)
>
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
>
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
>
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
>
>         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
>
>         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:766)
>
>         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:674)
>
>         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
>
>         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
>
>         at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
>
>         at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
>
>         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
>
>         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
>
>         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
>
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
>
>         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
>
>         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
>
>         at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)
>
>         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
>
>         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
>
>         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
>
>         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
>
>         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
>
>         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
>
>         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
>
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
>
>
>
>
>
>
>
> Thanks and Regards
>
> Ni Yanshi
>
> 86-571-89935684
>
>
>
>
>
>
>
> Thanks and Regards
>
> Ni Yanshi
>
> 86-571-89935684
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>


-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20071226/9718c83d/attachment.html 


More information about the cas mailing list