You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Martin Grigorov <mg...@apache.org> on 2012/12/05 14:27:05 UTC

Re: Wicket 1.5.8 + Weblogic 9

What is the url/mount of the of the page where this error happens ?


On Wed, Dec 5, 2012 at 2:22 PM, sitseva <di...@gmail.com> wrote:

> Hello,
>
> I recently migrated an application from wicket 1.4.13 to 1.5.8. Everything
> was fine in development and test environment (Tomcat 6/7 , Weblogic 11g )
> but when i deployed my app to acceptance-testing environment (Weblogic 9),
> i
> have some issues with consecutive ajax calls (ex. navigating through Page
> with many AjaxTabs). Weblogic seems to be trying to load resources (ex.
> wicket-event.js) but i get 404 because for some reason the '/wicket' word
> is
> added in the context-path twice after the ajax response for the specific
> resource.  ex. the first time the page is rendered i see on the FireBug Net
> :
>
>
> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
>
> after the tab is pressed the resource is requested again but through the
> path:
>
>
> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
>
>
> Any ideas? Can i work around this somehow?
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Wicket 1.5.8 + Weblogic 9

Posted by sitseva <di...@gmail.com>.
Nope, tried it. Works for the Page url but Weblogic 9 messes up content in
consecutive ajax calls.

I have a Page with many AjaxTabs that render panels . Each tab panel
includes a modal window also and has a form that submits with an
AjaxSubmitLink. On weblogic 9 only there seems to be a request for
wicket-event.js that fails with 404 after each ajax response.


On Wed, Dec 5, 2012 at 2:46 PM, Dimitris Asvestis <
dimitris.asvestis@gmail.com> wrote:

> many thanx, I ll try this and see
>
>
>
> On Wed, Dec 5, 2012 at 2:43 PM, Martin Grigorov-4 [via Apache Wicket] <
> ml-node+s1842946n4654515h89@n4.nabble.com> wrote:
>
>> I'm not sure what is the reason for the problem but I think it will
>> disappear if you explicitly mount this page at some path.
>>
>> I.e.: MyApp:
>> mountPage("path", ThePage.class)
>>
>> In MyOtherPage.java:
>> setResponsePage(thePageInstance)
>>
>>
>> On Wed, Dec 5, 2012 at 2:39 PM, sitseva <[hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=0>>
>> wrote:
>>
>> > I am not sure if this is what you mean but when i first load the page
>> the
>> > url requested is just:
>> >
>> > [server]/[context-path]/wicket/page?12.
>> >
>> > I use an subclass of a simple Link to get there with
>> > setResponsePage(pageInstance);
>> >
>> >
>> > On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket] <
>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4654515&i=1>>
>> wrote:
>> >
>> > > What is the url/mount of the of the page where this error happens ?
>> > >
>> > >
>> > > On Wed, Dec 5, 2012 at 2:22 PM, sitseva <[hidden email]<
>> > http://user/SendEmail.jtp?type=node&node=4654513&i=0>>
>> > > wrote:
>> > >
>> > > > Hello,
>> > > >
>> > > > I recently migrated an application from wicket 1.4.13 to 1.5.8.
>> > > Everything
>> > > > was fine in development and test environment (Tomcat 6/7 , Weblogic
>> 11g
>> > > )
>> > > > but when i deployed my app to acceptance-testing environment
>> (Weblogic
>> > > 9),
>> > > > i
>> > > > have some issues with consecutive ajax calls (ex. navigating
>> through
>> > > Page
>> > > > with many AjaxTabs). Weblogic seems to be trying to load resources
>> (ex.
>> > > > wicket-event.js) but i get 404 because for some reason the
>> '/wicket'
>> > > word
>> > > > is
>> > > > added in the context-path twice after the ajax response for the
>> > specific
>> > > > resource.  ex. the first time the page is rendered i see on the
>> FireBug
>> > > Net
>> > > > :
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
>>
>> > >
>> > > >
>> > > > after the tab is pressed the resource is requested again but
>> through
>> > the
>> > > > path:
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
>>
>> > >
>> > > >
>> > > >
>> > > > Any ideas? Can i work around this somehow?
>> > > >
>> > > >
>> > > >
>> > > >
>> > > >
>> > > > --
>> > > > View this message in context:
>> > > >
>> > >
>> >
>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
>> > > > Sent from the Users forum mailing list archive at Nabble.com.
>> > > >
>> > > >
>> ---------------------------------------------------------------------
>> > > > To unsubscribe, e-mail: [hidden email]<
>> > http://user/SendEmail.jtp?type=node&node=4654513&i=1>
>> > > > For additional commands, e-mail: [hidden email]<
>> > http://user/SendEmail.jtp?type=node&node=4654513&i=2>
>> > > >
>> > > >
>> > >
>> > >
>> > > --
>> > > Martin Grigorov
>> > > jWeekend
>> > > Training, Consulting, Development
>> > > http://jWeekend.com <http://jweekend.com/>
>> > >
>> > >
>> > > ------------------------------
>> > >  If you reply to this email, your message will be added to the
>> discussion
>> > > below:
>> > >
>> > >
>> >
>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654513.html
>> > >  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<
>> >
>> >
>> > > .
>> > > NAML<
>> >
>> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>
>> > >
>> > >
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> >
>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654514.html
>>
>> > Sent from the Users forum mailing list archive at Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=2>
>> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=3>
>> >
>> >
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com <http://jweekend.com/>
>>
>>
>> ------------------------------
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654515.html
>>  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4654512&code=ZGltaXRyaXMuYXN2ZXN0aXNAZ21haWwuY29tfDQ2NTQ1MTJ8NTMwNTY1NTk0>
>> .
>> NAML<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654520.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5.8 + Weblogic 9

Posted by sitseva <di...@gmail.com>.
UPDATE,

your solution works fine with weblogic 9 , i just had to put a string
without dashes like you did. ex. "path" works, "path/something" does not
work. Thanx a lot


On Wed, Dec 5, 2012 at 5:04 PM, Dimitris Asvestis <
dimitris.asvestis@gmail.com> wrote:

> Nope, tried it. Works for the Page url but Weblogic 9 messes up content in
> consecutive ajax calls.
>
> I have a Page with many AjaxTabs that render panels . Each tab panel
> includes a modal window also and has a form that submits with an
> AjaxSubmitLink. On weblogic 9 only there seems to be a request for
> wicket-event.js that fails with 404 after each ajax response.
>
>
> On Wed, Dec 5, 2012 at 2:46 PM, Dimitris Asvestis <
> dimitris.asvestis@gmail.com> wrote:
>
>> many thanx, I ll try this and see
>>
>>
>>
>> On Wed, Dec 5, 2012 at 2:43 PM, Martin Grigorov-4 [via Apache Wicket] <
>> ml-node+s1842946n4654515h89@n4.nabble.com> wrote:
>>
>>> I'm not sure what is the reason for the problem but I think it will
>>> disappear if you explicitly mount this page at some path.
>>>
>>> I.e.: MyApp:
>>> mountPage("path", ThePage.class)
>>>
>>> In MyOtherPage.java:
>>> setResponsePage(thePageInstance)
>>>
>>>
>>> On Wed, Dec 5, 2012 at 2:39 PM, sitseva <[hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=0>>
>>> wrote:
>>>
>>> > I am not sure if this is what you mean but when i first load the page
>>> the
>>> > url requested is just:
>>> >
>>> > [server]/[context-path]/wicket/page?12.
>>> >
>>> > I use an subclass of a simple Link to get there with
>>> > setResponsePage(pageInstance);
>>> >
>>> >
>>> > On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket]
>>> <
>>> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4654515&i=1>>
>>> wrote:
>>> >
>>> > > What is the url/mount of the of the page where this error happens ?
>>> > >
>>> > >
>>> > > On Wed, Dec 5, 2012 at 2:22 PM, sitseva <[hidden email]<
>>> > http://user/SendEmail.jtp?type=node&node=4654513&i=0>>
>>> > > wrote:
>>> > >
>>> > > > Hello,
>>> > > >
>>> > > > I recently migrated an application from wicket 1.4.13 to 1.5.8.
>>> > > Everything
>>> > > > was fine in development and test environment (Tomcat 6/7 ,
>>> Weblogic 11g
>>> > > )
>>> > > > but when i deployed my app to acceptance-testing environment
>>> (Weblogic
>>> > > 9),
>>> > > > i
>>> > > > have some issues with consecutive ajax calls (ex. navigating
>>> through
>>> > > Page
>>> > > > with many AjaxTabs). Weblogic seems to be trying to load resources
>>> (ex.
>>> > > > wicket-event.js) but i get 404 because for some reason the
>>> '/wicket'
>>> > > word
>>> > > > is
>>> > > > added in the context-path twice after the ajax response for the
>>> > specific
>>> > > > resource.  ex. the first time the page is rendered i see on the
>>> FireBug
>>> > > Net
>>> > > > :
>>> > > >
>>> > > >
>>> > > >
>>> > >
>>> >
>>> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
>>>
>>> > >
>>> > > >
>>> > > > after the tab is pressed the resource is requested again but
>>> through
>>> > the
>>> > > > path:
>>> > > >
>>> > > >
>>> > > >
>>> > >
>>> >
>>> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
>>>
>>> > >
>>> > > >
>>> > > >
>>> > > > Any ideas? Can i work around this somehow?
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > >
>>> > > > --
>>> > > > View this message in context:
>>> > > >
>>> > >
>>> >
>>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
>>> > > > Sent from the Users forum mailing list archive at Nabble.com.
>>> > > >
>>> > > >
>>> ---------------------------------------------------------------------
>>> > > > To unsubscribe, e-mail: [hidden email]<
>>> > http://user/SendEmail.jtp?type=node&node=4654513&i=1>
>>> > > > For additional commands, e-mail: [hidden email]<
>>> > http://user/SendEmail.jtp?type=node&node=4654513&i=2>
>>> > > >
>>> > > >
>>> > >
>>> > >
>>> > > --
>>> > > Martin Grigorov
>>> > > jWeekend
>>> > > Training, Consulting, Development
>>> > > http://jWeekend.com <http://jweekend.com/>
>>> > >
>>> > >
>>> > > ------------------------------
>>> > >  If you reply to this email, your message will be added to the
>>> discussion
>>> > > below:
>>> > >
>>> > >
>>> >
>>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654513.html
>>> > >  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<
>>> >
>>> >
>>> > > .
>>> > > NAML<
>>> >
>>> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>>>
>>> > >
>>> > >
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > View this message in context:
>>> >
>>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654514.html
>>>
>>> > Sent from the Users forum mailing list archive at Nabble.com.
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=2>
>>> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=3>
>>> >
>>> >
>>>
>>>
>>> --
>>> Martin Grigorov
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com <http://jweekend.com/>
>>>
>>>
>>> ------------------------------
>>>  If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654515.html
>>>  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4654512&code=ZGltaXRyaXMuYXN2ZXN0aXNAZ21haWwuY29tfDQ2NTQ1MTJ8NTMwNTY1NTk0>
>>> .
>>> NAML<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654530.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5.8 + Weblogic 9

Posted by sitseva <di...@gmail.com>.
many thanx, I ll try this and see


On Wed, Dec 5, 2012 at 2:43 PM, Martin Grigorov-4 [via Apache Wicket] <
ml-node+s1842946n4654515h89@n4.nabble.com> wrote:

> I'm not sure what is the reason for the problem but I think it will
> disappear if you explicitly mount this page at some path.
>
> I.e.: MyApp:
> mountPage("path", ThePage.class)
>
> In MyOtherPage.java:
> setResponsePage(thePageInstance)
>
>
> On Wed, Dec 5, 2012 at 2:39 PM, sitseva <[hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=0>>
> wrote:
>
> > I am not sure if this is what you mean but when i first load the page
> the
> > url requested is just:
> >
> > [server]/[context-path]/wicket/page?12.
> >
> > I use an subclass of a simple Link to get there with
> > setResponsePage(pageInstance);
> >
> >
> > On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket] <
> > [hidden email] <http://user/SendEmail.jtp?type=node&node=4654515&i=1>>
> wrote:
> >
> > > What is the url/mount of the of the page where this error happens ?
> > >
> > >
> > > On Wed, Dec 5, 2012 at 2:22 PM, sitseva <[hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4654513&i=0>>
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > I recently migrated an application from wicket 1.4.13 to 1.5.8.
> > > Everything
> > > > was fine in development and test environment (Tomcat 6/7 , Weblogic
> 11g
> > > )
> > > > but when i deployed my app to acceptance-testing environment
> (Weblogic
> > > 9),
> > > > i
> > > > have some issues with consecutive ajax calls (ex. navigating through
> > > Page
> > > > with many AjaxTabs). Weblogic seems to be trying to load resources
> (ex.
> > > > wicket-event.js) but i get 404 because for some reason the '/wicket'
> > > word
> > > > is
> > > > added in the context-path twice after the ajax response for the
> > specific
> > > > resource.  ex. the first time the page is rendered i see on the
> FireBug
> > > Net
> > > > :
> > > >
> > > >
> > > >
> > >
> >
> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
>
> > >
> > > >
> > > > after the tab is pressed the resource is requested again but through
> > the
> > > > path:
> > > >
> > > >
> > > >
> > >
> >
> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
>
> > >
> > > >
> > > >
> > > > Any ideas? Can i work around this somehow?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context:
> > > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
> > > > Sent from the Users forum mailing list archive at Nabble.com.
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4654513&i=1>
> > > > For additional commands, e-mail: [hidden email]<
> > http://user/SendEmail.jtp?type=node&node=4654513&i=2>
> > > >
> > > >
> > >
> > >
> > > --
> > > Martin Grigorov
> > > jWeekend
> > > Training, Consulting, Development
> > > http://jWeekend.com <http://jweekend.com/>
> > >
> > >
> > > ------------------------------
> > >  If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654513.html
> > >  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<
> >
> >
> > > .
> > > NAML<
> >
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>
> > >
> > >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654514.html
>
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=2>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654515&i=3>
> >
> >
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654515.html
>  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4654512&code=ZGltaXRyaXMuYXN2ZXN0aXNAZ21haWwuY29tfDQ2NTQ1MTJ8NTMwNTY1NTk0>
> .
> NAML<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654516.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Wicket 1.5.8 + Weblogic 9

Posted by Martin Grigorov <mg...@apache.org>.
I'm not sure what is the reason for the problem but I think it will
disappear if you explicitly mount this page at some path.

I.e.: MyApp:
mountPage("path", ThePage.class)

In MyOtherPage.java:
setResponsePage(thePageInstance)


On Wed, Dec 5, 2012 at 2:39 PM, sitseva <di...@gmail.com> wrote:

> I am not sure if this is what you mean but when i first load the page the
> url requested is just:
>
> [server]/[context-path]/wicket/page?12.
>
> I use an subclass of a simple Link to get there with
> setResponsePage(pageInstance);
>
>
> On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket] <
> ml-node+s1842946n4654513h27@n4.nabble.com> wrote:
>
> > What is the url/mount of the of the page where this error happens ?
> >
> >
> > On Wed, Dec 5, 2012 at 2:22 PM, sitseva <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=4654513&i=0>>
> > wrote:
> >
> > > Hello,
> > >
> > > I recently migrated an application from wicket 1.4.13 to 1.5.8.
> > Everything
> > > was fine in development and test environment (Tomcat 6/7 , Weblogic 11g
> > )
> > > but when i deployed my app to acceptance-testing environment (Weblogic
> > 9),
> > > i
> > > have some issues with consecutive ajax calls (ex. navigating through
> > Page
> > > with many AjaxTabs). Weblogic seems to be trying to load resources (ex.
> > > wicket-event.js) but i get 404 because for some reason the '/wicket'
> > word
> > > is
> > > added in the context-path twice after the ajax response for the
> specific
> > > resource.  ex. the first time the page is rendered i see on the FireBug
> > Net
> > > :
> > >
> > >
> > >
> >
> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
> >
> > >
> > > after the tab is pressed the resource is requested again but through
> the
> > > path:
> > >
> > >
> > >
> >
> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
> >
> > >
> > >
> > > Any ideas? Can i work around this somehow?
> > >
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
> > > Sent from the Users forum mailing list archive at Nabble.com.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=4654513&i=1>
> > > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=4654513&i=2>
> > >
> > >
> >
> >
> > --
> > Martin Grigorov
> > jWeekend
> > Training, Consulting, Development
> > http://jWeekend.com <http://jweekend.com/>
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654513.html
> >  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4654512&code=ZGltaXRyaXMuYXN2ZXN0aXNAZ21haWwuY29tfDQ2NTQ1MTJ8NTMwNTY1NTk0
> >
> > .
> > NAML<
> http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654514.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Re: Wicket 1.5.8 + Weblogic 9

Posted by sitseva <di...@gmail.com>.
I am not sure if this is what you mean but when i first load the page the
url requested is just:

[server]/[context-path]/wicket/page?12.

I use an subclass of a simple Link to get there with
setResponsePage(pageInstance);


On Wed, Dec 5, 2012 at 2:28 PM, Martin Grigorov-4 [via Apache Wicket] <
ml-node+s1842946n4654513h27@n4.nabble.com> wrote:

> What is the url/mount of the of the page where this error happens ?
>
>
> On Wed, Dec 5, 2012 at 2:22 PM, sitseva <[hidden email]<http://user/SendEmail.jtp?type=node&node=4654513&i=0>>
> wrote:
>
> > Hello,
> >
> > I recently migrated an application from wicket 1.4.13 to 1.5.8.
> Everything
> > was fine in development and test environment (Tomcat 6/7 , Weblogic 11g
> )
> > but when i deployed my app to acceptance-testing environment (Weblogic
> 9),
> > i
> > have some issues with consecutive ajax calls (ex. navigating through
> Page
> > with many AjaxTabs). Weblogic seems to be trying to load resources (ex.
> > wicket-event.js) but i get 404 because for some reason the '/wicket'
> word
> > is
> > added in the context-path twice after the ajax response for the specific
> > resource.  ex. the first time the page is rendered i see on the FireBug
> Net
> > :
> >
> >
> >
> [server]/[context-path]/wicket/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js.
>
> >
> > after the tab is pressed the resource is requested again but through the
> > path:
> >
> >
> >
> [server]/[context-path]/wicket//wicket/*wicket*/resource/org.apache.wicket.markup.html.WicketEventReference/wicket-event-ver-B0439F858745C84EA46792F9AC42B6CF.js
>
> >
> >
> > Any ideas? Can i work around this somehow?
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512.html
> > Sent from the Users forum mailing list archive at Nabble.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654513&i=1>
> > For additional commands, e-mail: [hidden email]<http://user/SendEmail.jtp?type=node&node=4654513&i=2>
> >
> >
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com <http://jweekend.com/>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654513.html
>  To unsubscribe from Wicket 1.5.8 + Weblogic 9, click here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4654512&code=ZGltaXRyaXMuYXN2ZXN0aXNAZ21haWwuY29tfDQ2NTQ1MTJ8NTMwNTY1NTk0>
> .
> NAML<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-Weblogic-9-tp4654512p4654514.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org