I guess you use that panel somewhere on a page near a shared resource,
maybe for an Image,
have you tried debugging the rendering of that page?

A side note, probably totally unrelated to your problem:
having 'head' tags inside a wicket:panel will probably result in
invalid html, you
should consider using wicket:head instead (see:
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html)

cheers,
Jonas

On Mon, Mar 15, 2010 at 10:11 AM, Xavier López <xavil...@gmail.com> wrote:
> I agree it's not a classloader issue, the classloader is being given a
> cobbled class name, so it's not its fault it cannot load it.
>
> Is it possible that due to some serialization error the class name gets
> messed with the html markup, so that the class name read in deserialization
> ends messed up ?
>
> I don't see where can this be messing with comments, here is the markup file
> (the only one with "fi usuari" in it)
>
> <html xmlns:wicket>
> <wicket:panel>
> <head>
> <script src="/accesnet/js/modal-message.js" type="text/javascript"></script>
> </head>
> <!-- usuari -->
> <div id="usuari">
>    <div class="caixaUser">
>        <div class="userdades">
>            <span class="wai"><wicket:message
> key="userpanel.nomusuari.wai"/></span><strong><span
> wicket:id="nomUsuari"></span></strong><br  />
>            <span class="noPopup"><a href="#" wicket:id="linkEditUsuari"
> wicket:message="title:userpanel.editusuari.title"><wicket:message
> key="userpanel.editusuari.text"/></a></span>
>            <span class="noPopup"><a href="#" wicket:id="linkHomeAdmin"
> wicket:message="title:userpanel.homeadmin.title"><wicket:message
> key="userpanel.homeadmin.text"/></a></span>
>        </div>
>        <div class="sessio">
>            <span><a href="#" class="botoE cancela"
> wicket:message="title:userpanel.fisessio.title"
> wicket:id="linkFiSessio"><wicket:message key="userpanel.desconnecta"/><span
> class="wai"><wicket:message
> key="userpanel.fisessio.text.wai"/></span></a></span>
>        </div>
>    </div>
> </div>
> <!-- fi usuari -->
> </wicket:panel>
> </html>
>
>
> Thanks for all your responses !
> Xavier
>
> 2010/3/14 Jonas <barney...@gmail.com>
>
>> As stated in my previous mail, I really doubt this is a classloader
>> issue, since the class name is
>> 'mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C'
>> which decodes to
>> 'mypackage.MyClass- fi usuari -->  <'
>> which obviously isn't just a class name, but a class name
>> plus some 'garbage', which will make any classloader choke.
>>
>> 2010/3/13 François Meillet <fm...@meillet.com>:
>> > sounds like a classloading effect.
>> >
>> > Have a look to the classloader hierarchy
>> >
>> > Here is a good doc:
>> >
>> http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html
>> >
>> > Especially this one : Resource Loading Order
>> >
>> http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html#wp1097288
>> >
>> > François
>> >
>> >
>> > Le 12 mars 2010 à 17:30, Igor Vaynberg a écrit :
>> >
>> >> ive seen this once before on the list. also with weblogic i think.
>> >> search the list.
>> >>
>> >> -igor
>> >>
>> >> On Fri, Mar 12, 2010 at 3:16 AM, Xavier López <xavil...@gmail.com>
>> wrote:
>> >>> Hi,
>> >>>
>> >>> From time to time I see the following error in my deployed
>> application's
>> >>> log. The application is running clustered on Weblogic 9.2 MP3.
>> >>>
>> >>> It seems to be messing up with the classloading of class
>> mypackage.MyClass
>> >>> (this error comes up in many different classes). I can guess from the
>> stack
>> >>> trace that something is going wrong maybe serializing that page, it can
>> be
>> >>> seen that the class name is being messed with some content of the page
>> (div
>> >>> tags, text displayed in the page,...).
>> >>>
>> >>> Has anyone been in this situation before ? Any tip on how to address
>> the
>> >>> issue ?
>> >>>
>> >>> 2010-03-11 22:31:10,506 ERROR ap16_s1_IX_II [[ACTIVE] ExecuteThread:
>> '2' for
>> >>> queue: 'weblogic.kernel.Default (self-tuning)']
>> >>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget
>> >>> 579910|vJS0LZhR01NKqxLWh6QbpWm77g3jHJ96Y4GYV6KB996NfHnHLb5t!-619140133!
>> >>> 1268343057...@192.168.131.142 - unable to lazily register shared
>> resource
>> >>> mypackage.MyClass%20fi%20usuari%20--%3E%20%20%3C/div%3E%3Cdiv%20id=
>> >>> java.lang.ClassNotFoundException:
>> >>> mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C
>> >>>    at
>> >>>
>> weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
>> >>>    at
>> >>>
>> weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
>> >>>    at
>> >>>
>> weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
>> >>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>> >>>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>> >>>    at
>> >>>
>> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
>> >>>    at
>> >>>
>> weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:35)
>> >>>    at
>> >>>
>> org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:103)
>> >>>    at
>> >>>
>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
>> >>>    at
>> >>>
>> org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
>> >>>    at
>> >>>
>> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1181)
>> >>>    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
>> >>>    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
>> >>>    at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
>> >>>    at
>> >>>
>> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
>> >>>    at
>> >>>
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
>> >>>    at mypacakge.MyFilter.doFilter(ANetFilter.java:37)
>> >>>    at
>> >>>
>> weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
>> >>>    at
>> >>>
>> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
>> >>>    at
>> >>>
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>> >>>    at
>> >>>
>> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>> >>>    at
>> >>>
>> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
>> >>>    at
>> >>>
>> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
>> >>>    at
>> >>>
>> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
>> >>>    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
>> >>>    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>> >>> 2010-03-11 22:31:10,511 ERROR ap16_s1_IX_II [[ACTIVE] ExecuteThread:
>> '2' for
>> >>> queue: 'weblogic.kernel.Default (self-tuning)']
>> >>> org.apache.wicket.request.target.resource.SharedResourceRequestTarget
>> >>> 579910|vJS0LZhR01NKqxLWh6QbpWm77g3jHJ96Y4GYV6KB996NfHnHLb5t!-619140133!
>> >>> 1268343057...@192.168.131.142 - shared resource
>> >>> mypackage.MyClass-%20fi%20usuari%20--%3E%20%20%3C/div%3E%3Cdiv%20id=
>> not
>> >>> found
>> >>>
>> >>> Thanks,
>> >>> Xavier
>> >>>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> >> For additional commands, e-mail: users-h...@wicket.apache.org
>> >>
>> >
>> >
>> >
>> >
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > For additional commands, e-mail: users-h...@wicket.apache.org
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>

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

Reply via email to