My logs reveal a rather interesting resource loading error:

ERROR - haredResourceRequestTarget - unable to lazily register shared
resource
org.apache.wicket.markup.html.wicketeventreference/wicket-event.js
java.lang.ClassNotFoundException:
org.apache.wicket.markup.html.wicketeventreference
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1387)



The request log reveals the cause:

Here's a request for wicket-event.js that fails (404):

"GET
/resources/org.apache.wicket.markup.html.wicketeventreference/wicket-eve
nt.js HTTP/1.0" 404 952

Here's a request for wicket-event.js that succeeds (200):

"GET
/resources/org.apache.wicket.markup.html.WicketEventReference/wicket-eve
nt.js HTTP/1.1" 200 2317

Note the difference: The case is different for the word
[W|w]icket[E|e]vent[R|r]eference in each case. Tomcat is running on a
Linux server so obviously case will be an issue. This bug probably does
not reveal itself on a Windows server.

Why would wicket make two different types of requests to get the same
resource?

I'm using only wicket and wicket-extensions, built from sources taken
from SVN 1.4.x trunk on May 24, 2010.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to