portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: AW: [jira] Commented: (JS2-353) JetspeedServletContainer throws ServletException when called for jetspeed web app context
Date Thu, 08 Sep 2005 18:37:14 GMT
Bock, Richard wrote:
> Hi David,
> 
> We get an exception, may be the web.xml of jetspeed is not configured
> properly in our M3 release we use. The web.xml starts the servlet
> 
> <servlet> <servlet-name>JetspeedContainer</servlet-name> 
> <display-name>Jetspeed Container</display-name> <description>MVC
> Servlet for Jetspeed Portlet Applications</description> 
> <servlet-class>org.apache.jetspeed.container.JetspeedContainerServlet</servlet-class>
>  <load-on-startup>1</load-on-startup> </servlet>
> 

The JetspeedContainer is no longer added to the web.xml in M4 (SVN head).

However, looking at other M3 deployments, I haven't seen the stack track 
for the NPE.

Could you send the stack trace?


> 
> The servlet JetspeedContainer will check for the parameters set for
> the portlet. As it gets started with web.xml of jetspeed there are
> currently no parameters set. I guess as jetspeed itself does not
> support portlets in the webapp. In this case a null pointer exception
> occurs.
> 
> My first guess is, that we just need to remove the JetspeedContainer,
> in case jetspeed is not supporting itself as portlet. In case I am
> wrong a check in the JetspeedContainer is required.
>
Yes, you can remove it, but it appears to be re-inserted at some point 
during servlet startup. I need to research this and see how it was 
happening. I think we should have the container in the /jetspeed 
context, as it allows for portlets to run inside the default portal 
context, which might be desirable for some users or even for admin portlets


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message