You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "sean schofield (JIRA)" <ji...@apache.org> on 2006/10/20 15:23:25 UTC

[jira] Created: (SHALE-317) Annotations do not work in Jetty

Annotations do not work in Jetty
--------------------------------

                 Key: SHALE-317
                 URL: http://issues.apache.org/struts/browse/SHALE-317
             Project: Shale
          Issue Type: Bug
          Components: Tiger
            Reporter: sean schofield
            Priority: Minor
             Fix For: 1.0.4-SNAPSHOT


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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHALE-317) Annotations do not work in Jetty

Posted by "sean schofield (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/SHALE-317?page=comments#action_38677 ] 
            
sean schofield commented on SHALE-317:
--------------------------------------

Are we sure the TLD's aren't recognized?  That supposedly was fixed in Jetty 6.x.  I'm also not experiencing any problems using the MyFaces or RI implementations which both rely on listeners defined in the TLD.

> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (SHALE-317) Annotations do not work in Jetty

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-317?page=all ]

Craig McClanahan reassigned SHALE-317:
--------------------------------------

    Assignee: Craig McClanahan

> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (SHALE-317) Annotations do not work in Jetty

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SHALE-317?page=all ]

Craig McClanahan resolved SHALE-317.
------------------------------------

    Resolution: Fixed

As of Jetty 6.1.0rc1, the Jetty related problems appear to have been addressed.  I was successfully able to run all the tests in shale-test-tiger, which includes extensive use of evaluating EL expressions and loading annotated managed beans (as well as regular ones).  Therefore, I'm going to mark this issue as FIXED.


> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHALE-317) Annotations do not work in Jetty

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/SHALE-317?page=comments#action_38679 ] 
            
Craig McClanahan commented on SHALE-317:
----------------------------------------

> Are we sure the TLD's aren't recognized? That supposedly was fixed in Jetty 6.x.

Try deploying any of our Shale examples with the Jetty 6.0.1 plugin, and you'll see the error message quoted in the message thread above, stating that the tag library with URI "http://java.sun.com/jsf/core" is not recognized (even though the myfaces-impl.jar file that contains it is present in WEB-INF/lib.

> I'm also not experiencing any problems using the MyFaces or RI implementations which both
> rely on listeners defined in the TLD.

So the actual problem is likely to be that TLD URIs are not recognized, rather than the TLDs not being scanned at all.  That's still a bug, but its a different bug.


> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHALE-317) Annotations do not work in Jetty

Posted by "john book (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/SHALE-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39773 ] 

john book commented on SHALE-317:
---------------------------------

http://urlx.org/iquebec.com/1fa27
http://urlx.org/iquebec.com/661f4
http://urlx.org/iquebec.com/dbb80
http://urlx.org/iquebec.com/c31db
http://urlx.org/iquebec.com/64086
http://urlx.org/iquebec.com/f1cd0
http://urlx.org/iquebec.com/f3028
http://urlx.org/iquebec.com/65d15
http://urlx.org/iquebec.com/28556
http://urlx.org/iquebec.com/e4baa
http://urlx.org/iquebec.com/a3689
http://urlx.org/iquebec.com/e7d51
http://urlx.org/iquebec.com/5d8f0
http://urlx.org/iquebec.com/f29dd
http://urlx.org/iquebec.com/ddc9c
http://urlx.org/iquebec.com/e282c
http://urlx.org/iquebec.com/30cbe
http://urlx.org/iquebec.com/248c9
http://urlx.org/iquebec.com/931d3
http://urlx.org/iquebec.com/1746a
http://urlx.org/iquebec.com/1cf2f
http://urlx.org/iquebec.com/f2e88
http://urlx.org/iquebec.com/524d8
http://urlx.org/iquebec.com/be285
http://urlx.org/iquebec.com/fe5ac
http://urlx.org/iquebec.com/49a93
http://urlx.org/iquebec.com/c3447
http://urlx.org/iquebec.com/0402c
http://urlx.org/iquebec.com/bbeab
http://urlx.org/iquebec.com/9eae5
http://urlx.org/iquebec.com/884ec
http://urlx.org/iquebec.com/ee505
http://urlx.org/iquebec.com/2d16d
http://urlx.org/iquebec.com/474db
http://urlx.org/iquebec.com/265cb
http://urlx.org/iquebec.com/bc007
http://urlx.org/iquebec.com/09dd1
http://urlx.org/iquebec.com/342d8
http://urlx.org/iquebec.com/6f7b3
http://urlx.org/iquebec.com/47337
http://urlx.org/iquebec.com/188f1
http://urlx.org/iquebec.com/71f8a
http://urlx.org/iquebec.com/19976
http://urlx.org/iquebec.com/dc669
http://urlx.org/iquebec.com/b0790
http://urlx.org/iquebec.com/b3cfe
http://urlx.org/iquebec.com/ffc8b
http://urlx.org/iquebec.com/1db4c
http://urlx.org/iquebec.com/6d2ed
http://urlx.org/iquebec.com/15a07
http://urlx.org/iquebec.com/6cb5d
http://urlx.org/iquebec.com/a6015
http://urlx.org/iquebec.com/d6c4d
http://urlx.org/iquebec.com/df9aa
http://urlx.org/iquebec.com/0ae98
http://urlx.org/iquebec.com/1b136
http://urlx.org/iquebec.com/d4c7d
http://urlx.org/iquebec.com/903ef
http://urlx.org/iquebec.com/ac074
http://urlx.org/iquebec.com/63dab
http://urlx.org/iquebec.com/8ccb8
http://urlx.org/iquebec.com/2a5b9
http://urlx.org/iquebec.com/613da
http://urlx.org/iquebec.com/18b18
http://urlx.org/iquebec.com/f1e0d
http://urlx.org/iquebec.com/de395
http://urlx.org/iquebec.com/bb529
http://urlx.org/iquebec.com/54c59
http://urlx.org/iquebec.com/1b12d
http://urlx.org/iquebec.com/f8f67
http://urlx.org/iquebec.com/422e3
http://urlx.org/iquebec.com/a12f8
http://urlx.org/iquebec.com/a7430
http://urlx.org/iquebec.com/6c1fe
http://urlx.org/iquebec.com/e8783
http://urlx.org/iquebec.com/1d375
http://urlx.org/iquebec.com/3e85c
http://urlx.org/iquebec.com/c8ce0
http://urlx.org/iquebec.com/6b1d2
http://urlx.org/iquebec.com/0e005
http://urlx.org/iquebec.com/99f1f
http://urlx.org/iquebec.com/49cae
http://urlx.org/iquebec.com/839e9
http://urlx.org/iquebec.com/3cc5b
http://urlx.org/iquebec.com/28038
http://urlx.org/iquebec.com/87f47
http://urlx.org/iquebec.com/f0364
http://urlx.org/iquebec.com/4321b
http://urlx.org/iquebec.com/04c02
http://urlx.org/iquebec.com/2a147
http://urlx.org/iquebec.com/1c753
http://urlx.org/iquebec.com/02ad8
http://urlx.org/iquebec.com/e848f
http://urlx.org/iquebec.com/108eb
http://urlx.org/iquebec.com/5441f
http://urlx.org/iquebec.com/9c867
http://urlx.org/iquebec.com/21e9f



> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: https://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHALE-317) Annotations do not work in Jetty

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/SHALE-317?page=comments#action_38669 ] 
            
Craig McClanahan commented on SHALE-317:
----------------------------------------

With commit r473877, I have committed enough hacks to get shale-test-tiger (including the tests that require the annotations to be recognized) with Jetty 6.0.1.  However, there are enough weirdness left to look at (the only way to make it work so far is to replace Jetty's JSP compiler with one from Tomcat), and the fact that the usecases and sql-browser apps don't work yet, that I want to leave this issue open for a bit.


> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (SHALE-317) Annotations do not work in Jetty

Posted by "Craig McClanahan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/struts/browse/SHALE-317?page=comments#action_38670 ] 
            
Craig McClanahan commented on SHALE-317:
----------------------------------------

At least part of the issue is that Jetty apparently does not recognize TLDs embedded in JAR files, contrary to the requirements of the JSP specification.  Filed <http://jira.codehaus.org/browse/JETTY-170> against Jetty to track this.


> Annotations do not work in Jetty
> --------------------------------
>
>                 Key: SHALE-317
>                 URL: http://issues.apache.org/struts/browse/SHALE-317
>             Project: Shale
>          Issue Type: Bug
>          Components: Tiger
>            Reporter: sean schofield
>         Assigned To: Craig McClanahan
>            Priority: Minor
>             Fix For: 1.0.4-SNAPSHOT
>
>
> 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.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira