You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lu Jiang (JIRA)" <ji...@apache.org> on 2010/05/10 10:16:47 UTC

[jira] Created: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
-----------------------------------------------------------------------------------------

                 Key: GERONIMO-5292
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: deployment
    Affects Versions: 3.0
         Environment: OS: Win XP SP2
Server:Geronimo 3.0 2010.5.6 build
JDK:1.6
            Reporter: Lu Jiang
             Fix For: 1.1.2



I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Posted by "Lu Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lu Jiang closed GERONIMO-5292.
------------------------------

    Fix Version/s: 3.0
                       (was: 1.1.2)
       Resolution: Fixed

Fixed after verification.Currently It works on geronimo-tomcat-assembly,but fails on geronimo-jetty-assembly.Refer to GERONIMO-5508.

> Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5292
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS: Win XP SP2
> Server:Geronimo 3.0 2010.5.6 build
> JDK:1.6
>            Reporter: Lu Jiang
>            Assignee: Ivan
>             Fix For: 3.0
>
>
> I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
> Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
> But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866509#action_12866509 ] 

Ivan commented on GERONIMO-5292:
--------------------------------

Commit some changes to trunk at revision: 943409 Before I figure out whether or not need to flush the directories, currently, we always refresh the files to avoid some issues.
Hi, David, osgi framework does extract those files in its cache folder, however, I did not find a standard way to find them, although I could duduce the path rule for Felix :-( Will continue to investigate it. Thanks !

> Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5292
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS: Win XP SP2
> Server:Geronimo 3.0 2010.5.6 build
> JDK:1.6
>            Reporter: Lu Jiang
>            Assignee: Ivan
>             Fix For: 1.1.2
>
>
> I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
> Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
> But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866197#action_12866197 ] 

David Jencks commented on GERONIMO-5292:
----------------------------------------

I think that osgi provides a data area for the bundle and wonder if it would be better to extract to that data area.  I thought we were putting generated config.ser files there when we deploy a war as a bundle using rfc-66.

Also, I would think that the osgi framework would have to put these embedded jars somewhere and wonder if there is some way to use the framework's copy or at least the same mechanism.  Of course the framework may hide this too well :-)

> Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5292
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS: Win XP SP2
> Server:Geronimo 3.0 2010.5.6 build
> JDK:1.6
>            Reporter: Lu Jiang
>            Assignee: Ivan
>             Fix For: 1.1.2
>
>
> I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
> Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
> But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Posted by "Ivan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan reassigned GERONIMO-5292:
------------------------------

    Assignee: Ivan

> Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5292
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS: Win XP SP2
> Server:Geronimo 3.0 2010.5.6 build
> JDK:1.6
>            Reporter: Lu Jiang
>            Assignee: Ivan
>             Fix For: 1.1.2
>
>
> I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
> Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
> But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (GERONIMO-5292) Resources inside WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-5292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866112#action_12866112 ] 

Ivan commented on GERONIMO-5292:
--------------------------------

Commit changes to trunk rev.943066
Currently, the server will extract those static resources to the var/catalina/${servicename}/${enginename}/${hostname}/${contextname} when the applications are startup at first time. 
Thanks for any comment !

> Resources inside  WEB-INF/lib/ [*.jar]/META-INF/resources directory can not be recognized
> -----------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5292
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5292
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: deployment
>    Affects Versions: 3.0
>         Environment: OS: Win XP SP2
> Server:Geronimo 3.0 2010.5.6 build
> JDK:1.6
>            Reporter: Lu Jiang
>            Assignee: Ivan
>             Fix For: 1.1.2
>
>
> I tried the jarresource-javaee6-war-3.0-SNAPSHOT sample .Refer to https://issues.apache.org/jira/browse/GERONIMO-5237.
> Not confined to document root of web application,all html and jsp resources are inside WEB-INF\lib\jarresource-javaee6-jar-3.0-SNAPSHOT.jar\META-INF\resources\ directory.
> But server seems not recognize index.html,head,jsp,jarresource.jsp,thus will return a 404 error .

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.