Issue Details (XML | Word | Printable)

Key: SHALE-317
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Craig McClanahan
Reporter: sean schofield
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Shale

Annotations do not work in Jetty

Created: 20/Oct/06 01:22 PM   Updated: 23/Jan/07 04:40 PM
Return to search
Component/s: Tiger
Affects Version/s: None
Fix Version/s: 1.0.4


 Description  « Hide
Matthias was reporting problems with the Tiger annotations a while back and now I'm having problems with them when using the Jetty plugin. The managed beans are not available in EL expressions. Its most likely a problem on the Jetty side of things but if we can figure out what's going on here we could help users who are using Jetty.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #473867 Sun Nov 12 04:00:53 UTC 2006 craigmcc In order to investigate SHALE-317 (Annotations do not work in Jetty),
and to enable easy testing of Shale webapps with Jetty, add the
maven-jetty-plugin to the shale-apps-parent pom. So far, however,
I haven't had much luck ... trying to run shale-usecases gives a
403 (FORBIDDEN) error, while most other apps give an error of:

  The absolute uri: http://java.sun.com/jsf/core cannot be
  resolved in either web.xml or the jar files deployed with
  this application.

This tag library URI is defined in the MyFaces implementation JAR that
is included in the application, so it is not at all clear why this
error message is being reported.
Files Changed
MODIFY /shale/framework/trunk/shale-apps/pom.xml

Repository Revision Date User Message
ASF #473877 Sun Nov 12 04:50:50 UTC 2006 craigmcc Working further on SHALE-317, modify the Jetty plugin registration the way
that the MyFaces Tomahawk trunk does it, defining a "jetty" profile that
(among other things) *replaces* the Jetty JSP compilation environment with
one from Tomcat 5.5.9 (!). That does ***not*** give me much confidence
about Jetty, but at least the shale-test-tiger application works (including
tests that require the annotations to be recognized).

I'm going to leave the issue open for the moment, because shale-sql-browser
fails on an EL evaluation error. Will probably require more hackery to
work around the combination of JSF and Jetty.
Files Changed
MODIFY /shale/framework/trunk/shale-apps/pom.xml