So it looks like it has a problem rendering your stylesheet in the header of
the page. The exception is really due to:
Caused by: java.lang.IllegalArgumentException:
../../../../../../resources/ca.uwo.owl.gradeexport.PublicPage/style.css
at
com.iplanet.ias.web.connector.nsapi.NSAPIResponse.toAbsolute(NSAPIResponse.java:355)
at
com.iplanet.ias.web.connector.nsapi.NSAPIResponse.encodeURL(NSAPIResponse.java:423)
at
org.apache.catalina.connector.HttpResponseFacade.encodeURL(HttpResponseFacade.java:122
[11/Aug/2009:11:49:12] SEVERE (13977): )
Is that stylesheet on the ResultPage or the home page. can you remove it?
can you load the style sheet with that path from the browser address bar?
Just some thoughts of things to try.
Jeff Longland-2 wrote:
>
> In my quest to solve this problem, I'm mounting all my pages using
> HybridUrlCodingStrategy to see if that will negate the extra ?wicket
> param in the URL. Worked fine on GlassFish, but as soon as I moved it
> over to Sun App Server 7 I got:
>
> Exception in rendering component: [MarkupContainer [Component id =
> stylesheet]]
> org.apache.wicket.WicketRuntimeException: Exception in rendering
> component: [MarkupContainer [Component id = stylesheet]]
> at org.apache.wicket.Component.renderComponent(Component.java:2564)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1504)
> at org.apache.wicket.Component.render(Component.java:2361)
> at
> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1387)
> at
> org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1569)
> at
> org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1493)
> at
> org.apache.wicket.markup.html.internal.HtmlHeaderContainer.onComponentTagBody(HtmlHeaderContainer.java:135)
> at org.apache.wicket.Component.renderComponent(Component.java:2525)
> at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1504)
> at org.apache.wicket.Component.render(Component.java:2361)
> at org.apache.wicket.MarkupContainer.autoAdd(MarkupContainer.java:232)
> at
> org.apache.wicket.markup.resolver.HtmlHeaderResolver.resolve(HtmlHeaderResolver.java:78)
> at
> org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1414)
> at
> org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1520)
> at org.apache.wicket.Page.onRender(Page.java:1502)
> at org.apache.wicket.Component.render(Component.java:2361)
> at org.apache.wicket.Page.renderPage(Page.java:906)
> at
> org.apache.wicket.protocol.http.WebRequestCycle.redirectTo(WebRequestCycle.java:166)
> at
> org.apache.wicket.request.target.coding.HybridUrlCodingStrategy$HybridBookmarkablePageRequestTarget.respond(HybridUrlCodingStrategy.java:872)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1194)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1265)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1366)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:498)
> at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:444)
> at
> org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
> at
> com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:158)
> at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
> Caused by: java.lang.IllegalArgumentException:
> ../../../../../../resources/ca.uwo.owl.gradeexport.PublicPage/style.css
> at
> com.iplanet.ias.web.connector.nsapi.NSAPIResponse.toAbsolute(NSAPIResponse.java:355)
> at
> com.iplanet.ias.web.connector.nsapi.NSAPIResponse.encodeURL(NSAPIResponse.java:423)
> at
> org.apache.catalina.connector.HttpResponseFacade.encodeURL(HttpResponseFacade.java:122
> [11/Aug/2009:11:49:12] SEVERE (13977): )
> at
> org.apache.wicket.protocol.http.WebResponse.encodeURL(WebResponse.java:146)
> at
> org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.encode(WebRequestCodingStrategy.java:362)
> at org.apache.wicket.RequestCycle.encodeUrlFor(RequestCycle.java:761)
> at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:1034)
> at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:1003)
> at org.apache.wicket.Component.urlFor(Component.java:3258)
> at
> org.apache.wicket.markup.html.resources.PackagedResourceReference$1.getObject(PackagedResourceReference.java:103)
> at
> org.apache.wicket.markup.html.resources.PackagedResourceReference$1.getObject(PackagedResourceReference.java:89)
> at
> org.apache.wicket.AttributeModifier.getReplacementOrNull(AttributeModifier.java:378)
> at
> org.apache.wicket.AttributeModifier.replaceAttributeValue(AttributeModifier.java:280)
> at
> org.apache.wicket.AttributeModifier.onComponentTag(AttributeModifier.java:243)
> at org.apache.wicket.Component.renderComponentTag(Component.java:3901)
> at org.apache.wicket.Component.renderComponent(Component.java:2516)
> ... 36 more
>
> Do I need to mount all my resources as well???
>
> Any help would be much appreciated.
>
> Jeff
>
> On Tue, Aug 11, 2009 at 8:20 AM, Jeff Longland<[email protected]>
> wrote:
>> It doesn't seem to be a session problem. If I take off the first
>> ?wicket: in the URL, it will correctly load the ResultPage - so the
>> session is still valid. I'm continuing to scratch my head as to why
>> there are two ?wicket params in the URL... Very frustrating.
>>
>> On Mon, Aug 10, 2009 at 4:32 PM, Aiszone<[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> Just a thought, could it be, that your session times out - so that the
>>> request get's a new sessionID and therefore is sendt to the homepage
>>> (which
>>> I assume is your normal start page for your wicket app).
>>> --
>>> View this message in context:
>>> http://www.nabble.com/setResponsePage%28%29-Not-Working-tp24900715p24907004.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
>
--
View this message in context:
http://www.nabble.com/setResponsePage%28%29-Not-Working-tp24900715p24922170.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]