The problem is with this statement in WeblogEdit.jsp:

            <jsp:include page="<%=
"/roller-ui/authoring/editors/"+model.getEditorPage() %>" />

Websphere JSP container doesn't like double quotes within double quotes and
considers this JSP construct invalid. A quick fix to change outer double
quotes to single:

            <jsp:include page='<%=
"/roller-ui/authoring/editors/"+model.getEditorPage() %>' />

Another minor issue running 3.0 RC2 on WAS 6.1 is this exception thrown at
the application sturtup:

FATAL 2006-09-29 14:36:57,054 RollerContext:contextInitialized -
RollerContext initialization failed
java.lang.IllegalStateException: Cannot initialize context because there is
already a root application context present - check whether you have multiple
ContextLoader* definitions in your web.xml!
        at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:173)
        at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
        at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:179)
...

I haven't noticed any consequences of this exception. Everythings seems to
be working fine. It looks like Sping Framework and WAS 6.1 issue as it goes
away with replacing spring.jar 1.2.8 by spring.jar 1.2.6.

Andrei



Hello Nicolas,

I have this problem too and I'm currently investigating what is wrong. My
environment is WAS 6.1 and Derby. It looks like a problem with the context
because when WeblogEdit.jsp tries to retrieve newly created
WeblogEntryPageMode from HTTPRequest null is returned.

Btw, I can run Roller 2.3 on WAS 6.1 without a problem. Just add 
   <servlet>
      <servlet-name>ContextServlet</servlet-name>
     
<servlet-class>org.springframework.web.context.ContextLoaderServlet</servlet-class>
      <load-on-startup>0</load-on-startup>
   </servlet>
to web.xml to resolve acegi filter problem.

Andrei


nicolas muller wrote:
> 
> 
>         Hello,
> 
>   I am using Roller 3.0 RC2 (compiled with Netbeans and IBM J9) and I 
> meet an error when I want to create a new entry. My environnement is 
> WebSphere 6.1.
> So I would like to know if there is a workaround for this problem.
> 
> PS  : I am not able to run Roller 2.3 with websphere because acegi 
> security filter does not run. I fear that acegi security causes this 
> problem.
> 
>  Thank you very much.
> 
> 
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Roller-3.0-RC2-tf2343083s12275.html#a6571938
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to