roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Roller and WAS 6.1.0.15
Date Wed, 21 May 2008 13:28:28 GMT
On Wed, May 21, 2008 at 8:37 AM, uros kotnik <ukotnik@yahoo.com> wrote:
> I installed roller application succesfully, also I
> enabled this as suggested in another thread
> "The following WebContainer custom property must be
> set to
> 'true' for this new behaviour to be enabled:
> 'com.ibm.ws.webcontainer.invokeFiltersCompatibility'
>
> Application starts without any problems, I can create
> a new weblog, but after that when I try to access that
> newly created weblog I get this exception, same
> exception I get when I try to view newly created
> entry:
>
> [5/21/08 16:02:23:275 CEST] 0000007a ServletWrappe E
> SRVE0068E: Uncaught exception thrown in one of the
> service methods of the servlet: PageServlet. Exception
> thrown : java.lang.StringIndexOutOfBoundsException:
> String index out of range: 1
>        at java.lang.String.substring(String.java:1067)
>        at
> com.ibm.ws.webcontainer.webapp.WebApp.getMimeType(WebApp.java:2250)
>        at
> com.ibm.ws.webcontainer.facade.ServletContextFacade.getMimeType(ServletContextFacade.java:94)
>        at
> org.apache.roller.weblogger.ui.rendering.servlets.PageServlet.doGet(PageServlet.java:365)

Hmm... when Roller tries to look up a MIME type based on
file-extension, WebSphere blows a StringIndexOutOfBoundsException.
Looks like a bug in WebSphere's WebApp.getMimeType() method.  IBM tech
support might be able to give you some sort of work-around or fix.

- Dave

Mime
View raw message