On 29 May 2009, at 23:03, Brian Eaton wrote:
On Fri, May 29, 2009 at 2:22 PM, Wenjun Wu <[email protected]>
wrote:
I found that the WAR file of the Shindig snapshot 1.1 doesn't
include the
juel-2.1.0.jar. That prevented the shindig from working correctly
in the
Tomcat.
It takes time for people to figure out the problem if they just
follow the
instruction from the Shindig's download page.
Could this issue be fixed in the release package?
OK, we just landed in jar hell [1].
If we include the javax.el.* APIs in the shindig war, it breaks
compatibility with jetty and (I think) some versions with Tomcat.
If we don't include the javax.el.* APIs in the shindig war, it breaks
compatibility with other versions of Tomcat.
It's easier for deployers to add jars than remove them, so I'm
inclined not to ship the javax.el.* APIs.
One other option would be to use reflection for this, but that gets
messy very quickly.
[1] http://en.wikipedia.org/wiki/Classloader#JAR_hell
+1
The exception comes from the JSP compiler, which is part of the
container,
without the API in the containers shared space, it probably cant
compile any EL, pointing to a container config issue.
Ian