2 Replies Latest reply: May 3, 2012 5:24 AM by New Gatein RSS

LocalizationFilter error when changing GateIn context root

New Gatein Newbie

I receive the following error when trying to change the context root in Gatein 3.1 following the instructions at "Change GateIn Context path | GateIn | JBoss Community"

 

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/epp5portal].[jsp]] (http-127.0.0.1-8080-1) Servlet.service() for servlet jsp threw exception

java.lang.RuntimeException: LocalizationFilter exception:

    at org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:183)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

    at java.lang.Thread.run(Thread.java:662)

Caused by: java.lang.NullPointerException

    at org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:143)

    org.exoplatform.portal.application.localization.LocalizationFilter.doFilter(LocalizationFilter.java:143)

      org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)

      org.exoplatform.container.web.PortalContainerFilter.doFilter(PortalContainerFilter.java:69)

      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

Please suggest a resolution.

Regards.