Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

Splash Forums Rewrite Users com.ocpsoft.pretty.PrettyException: Failed to load configuration Reply To: com.ocpsoft.pretty.PrettyException: Failed to load configuration

#25878

zozan
Participant

@lincoln when I clean my project, restart glassfish and rebuid and redeploy my project I don’t get that exception but rewrite does not work and my URLs don’t get filtered though it worked in glassfish 3.1.2. When I redeploy my project, I get that weird exception. I’ll check my recent library changes for that exception, but even with the following stacktrace which indicates rewrite filter has been initialized I don’t get rewrite to work:

INFO:   WELD-000900 2.0.0 (SP1)
WARNING:   Class 'javax.ejb.PostActivate' not found, interception based on it is not enabled
WARNING:   Class 'javax.ejb.PrePassivate' not found, interception based on it is not enabled
INFO:   Initializing Mojarra 2.2.0 ( 20130502-2118 https://svn.java.net/svn/mojarra~svn/tags/2.2.0@11930) for context '/resht'
WARNING:   WELD-001529 An InjectionTarget implementation is created for a class org.primefaces.context.PrimePartialViewContextFactory which does not have any appropriate constructor.
INFO:   RewritePhaseListener starting up.
INFO:   RewritePhaseListener starting up.
INFO:   Monitoring jndi:/server/resht/WEB-INF/faces-config.xml for modifications
INFO:   Running on PrimeFaces 3.5
INFO:   WebModule[null] ServletContext.log():Initializing Shiro environment
SEVERE:   [admin-listener(4)] INFO org.apache.shiro.web.env.EnvironmentLoader - Starting Shiro environment initialization.
SEVERE:   [admin-listener(4)] INFO org.apache.shiro.web.env.EnvironmentLoader - Shiro environment initialized in 1047 ms.
INFO:   RewriteFilter starting up...
INFO:   Loaded [12] org.ocpsoft.rewrite.servlet.spi.RewriteLifecycleListener [org.ocpsoft.rewrite.cdi.bridge.RewriteLifecycleEventBridge<-100>, org.ocpsoft.rewrite.cdi.bridge.RewriteLifecycleEventBridge<-100>, org.ocpsoft.rewrite.cdi.bridge.RewriteLifecycleEventBridge<-100>, org.ocpsoft.rewrite.cdi.bridge.RewriteLifecycleEventBridge<-100>, org.ocpsoft.rewrite.faces.FacesRewriteLifecycleListener<0>, org.ocpsoft.rewrite.faces.FacesRewriteLifecycleListener<0>, org.ocpsoft.rewrite.servlet.impl.DefaultRewriteLifecycleListener<2147483647>, org.ocpsoft.rewrite.servlet.impl.DefaultRewriteLifecycleListener<2147483647>, org.ocpsoft.rewrite.servlet.config.lifecycle.JoinRewriteLifecycleListener<2147483647>, org.ocpsoft.rewrite.servlet.config.lifecycle.JoinRewriteLifecycleListener<2147483647>, org.ocpsoft.rewrite.servlet.impl.DefaultRewriteLifecycleListener<2147483647>, org.ocpsoft.rewrite.servlet.config.lifecycle.JoinRewriteLifecycleListener<2147483647>]
INFO:   Loaded [7] org.ocpsoft.rewrite.servlet.spi.RequestCycleWrapper [org.ocpsoft.rewrite.servlet.impl.HttpRewriteRequestCycleWrapper<0>, org.ocpsoft.rewrite.cdi.bridge.RequestCycleWrapperBridge<0>, org.ocpsoft.rewrite.cdi.bridge.RequestCycleWrapperBridge<0>, org.ocpsoft.rewrite.cdi.bridge.RequestCycleWrapperBridge<0>, org.ocpsoft.rewrite.servlet.impl.HttpRewriteRequestCycleWrapper<0>, org.ocpsoft.rewrite.servlet.impl.HttpRewriteRequestCycleWrapper<0>, org.ocpsoft.rewrite.cdi.bridge.RequestCycleWrapperBridge<0>]
INFO:   Loaded [7] org.ocpsoft.rewrite.spi.RewriteProvider [org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider<0>, org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider<0>, org.ocpsoft.rewrite.servlet.impl.DefaultHttpRewriteProvider<0>, org.ocpsoft.rewrite.cdi.bridge.RewriteProviderBridge<100>, org.ocpsoft.rewrite.cdi.bridge.RewriteProviderBridge<100>, org.ocpsoft.rewrite.cdi.bridge.RewriteProviderBridge<100>, org.ocpsoft.rewrite.cdi.bridge.RewriteProviderBridge<100>]
INFO:   Loaded [3] org.ocpsoft.rewrite.spi.RewriteResultHandler [org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler<0>, org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler<0>, org.ocpsoft.rewrite.servlet.impl.HttpRewriteResultHandler<0>]
INFO:   Loaded [3] org.ocpsoft.rewrite.servlet.spi.InboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpInboundRewriteProducer<0>, org.ocpsoft.rewrite.servlet.impl.HttpInboundRewriteProducer<0>, org.ocpsoft.rewrite.servlet.impl.HttpInboundRewriteProducer<0>]
INFO:   Loaded [3] org.ocpsoft.rewrite.servlet.spi.OutboundRewriteProducer [org.ocpsoft.rewrite.servlet.impl.HttpOutboundRewriteProducer<0>, org.ocpsoft.rewrite.servlet.impl.HttpOutboundRewriteProducer<0>, org.ocpsoft.rewrite.servlet.impl.HttpOutboundRewriteProducer<0>]
INFO:   Loaded [0] org.ocpsoft.rewrite.servlet.spi.ContextListener []
INFO:   Loaded [0] org.ocpsoft.rewrite.servlet.spi.RequestListener []
INFO:   Loaded [0] org.ocpsoft.rewrite.servlet.spi.RequestParameterProvider []
INFO:   Loaded [7] org.ocpsoft.rewrite.el.spi.ExpressionLanguageProvider [org.ocpsoft.rewrite.cdi.CdiExpressionLanguageProvider<10>, org.ocpsoft.rewrite.cdi.CdiExpressionLanguageProvider<10>, org.ocpsoft.rewrite.faces.FacesExpressionLanguageProvider<30>, org.ocpsoft.rewrite.cdi.CdiExpressionLanguageProvider<10>, org.ocpsoft.rewrite.faces.FacesExpressionLanguageProvider<30>, org.ocpsoft.rewrite.cdi.CdiExpressionLanguageProvider<10>, org.ocpsoft.rewrite.cdi.CdiExpressionLanguageProvider<10>]
INFO:   Loaded [2] org.ocpsoft.rewrite.spi.InvocationResultHandler [org.ocpsoft.rewrite.faces.NavigatingInvocationResultHandler<100>, org.ocpsoft.rewrite.faces.NavigatingInvocationResultHandler<100>]
INFO:   Loaded [5] org.ocpsoft.common.spi.ServiceEnricher [org.ocpsoft.rewrite.cdi.CdiServiceEnricher, org.ocpsoft.rewrite.cdi.CdiServiceEnricher, org.ocpsoft.rewrite.cdi.CdiServiceEnricher, org.ocpsoft.rewrite.cdi.CdiServiceEnricher, org.ocpsoft.rewrite.cdi.CdiServiceEnricher]
INFO:   Loaded [3] org.ocpsoft.rewrite.spi.ConfigurationCacheProvider [org.ocpsoft.rewrite.servlet.impl.ServletContextConfigurationCacheProvider<0>, org.ocpsoft.rewrite.servlet.impl.ServletContextConfigurationCacheProvider<0>, org.ocpsoft.rewrite.servlet.impl.ServletContextConfigurationCacheProvider<0>]
INFO:   Loaded [3] org.ocpsoft.rewrite.config.ConfigurationProvider [org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider<100>, org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider<100>, org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider<100>]
INFO:   Loaded [0] org.ocpsoft.rewrite.spi.RuleCacheProvider []
INFO:   Loaded [0] org.ocpsoft.rewrite.spi.RuleCacheProvider []
INFO:   Loaded [0] org.ocpsoft.rewrite.spi.RuleCacheProvider []
INFO:   RewriteFilter initialized.
INFO:   Loading application [resht] at [/resht]
INFO:   resht was successfully deployed in 78,600 milliseconds.
  • This reply was modified 7 years, 11 months ago by  zozan. Reason: Added detail
  • This reply was modified 7 years, 11 months ago by  zozan.
  • This reply was modified 7 years, 11 months ago by  zozan.