Hi
Please check you portlet application lib, It* should not* contain
jetspeed-common or jetspeed-api jars.
Jetspeed-common and api should be provided via shared lib.
Vivek
laxmiraghu wrote:
I've developed a portal using spring portal mvc and deployed it on jetspeed
portal server. Everything was fine until recently (say for the past 1
month), when we try to access the portal it gives "Null media Type" error on
the browser.
My portal front page (index page) has some images and a flash animation on
it.
One more thing is i modified portal features from jetspeed (i modified
header.vm, footer.vm etc) to arrive at my desired page layout. It works
perfectly fine and suddeenly it gives the following error. Once we receive
this error, only way to get out of it is to restart the server. Since we are
going to release the alpha very soon, i need to fix this error at the
earliest. So, any help/clue in this regard is highly appreciable.
The error thrown on the browser is as below:
********************************
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: Fatal error encountered while processing
portal request: org.apache.jetspeed.pipeline.PipelineException:
CapabilityMap returned a null media type
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:251)
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)
root cause
org.apache.jetspeed.pipeline.PipelineException: CapabilityMap returned a
null media type
org.apache.jetspeed.capabilities.impl.CapabilityValveImpl.invoke(CapabilityValveImpl.java:78)
org.apache.jetspeed.pipeline.JetspeedPipeline$Invocation.invokeNext(JetspeedPipeline.java:167)
org.apache.jetspeed.pipeline.JetspeedPipeline.invoke(JetspeedPipeline.java:146)
org.apache.jetspeed.engine.JetspeedEngine.service(JetspeedEngine.java:227)
org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:242)
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)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.23 logs.
********************************
Can anybody tell me what is causing this error? If you need any further info
on the code/architecture, pls tell me. I ready to provide the info.
Please help me to solve this error at the earliest.
Thanks so much.