I downloaded the latest Jetspeed2 release (2.1.2) and Tomcat 5.5.23 onto Redhat 
Linux. Using Maven 2 I could successfully compile and install Jetspeed 2. The 
Tomcat logs indicated that the container name Jetspeed is not unique I handled 
this by modifying the code as follows:
components/portal/src/java/org/apache/jetspeed/container/JetspeedPortletContainerWrapper.java:
        this(pluto, containerId+Math.round(Math.random()*100000000), 
servletConfig, env, new Properties());

After Tomcat is started up properly, when I do http://localhost/jetspeed I get

javax.servlet.ServletException: Fatal error encountered while processing portal 
request: org.apache.jetspeed.pipeline.PipelineException: 
org.apache.jetspeed.pipeline.PipelineException: 
org.apache.jetspeed.pipeline.PipelineException: 
java.lang.IllegalStateException: Cannot call getRequestContext() before it has 
been created and set for this thread.
        
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:280)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        
org.apache.jetspeed.engine.servlet.XXSUrlAttackFilter.doFilter(XXSUrlAttackFilter.java:52)

I also did http://localhost/jpetstore and it worked fine.

I tried to look this up in FAQ but I couldn't get a hold of it in time. I have 
also searched on WWW without any hits. Some Nabble users reported similar 
errors but in a different context.

I'd appreciate your help.

Thanks
Murthy

Reply via email to