You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stefan Hedtfeld (JIRA)" <de...@myfaces.apache.org> on 2008/07/18 20:18:33 UTC

[jira] Created: (TOBAGO-688) Support for new protocol vfszip: introduced by JBoss 5.0.0

Support for new protocol vfszip: introduced by JBoss 5.0.0
----------------------------------------------------------

                 Key: TOBAGO-688
                 URL: https://issues.apache.org/jira/browse/TOBAGO-688
             Project: MyFaces Tobago
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: JBoss AS 5.0.0.CR1, openSuse 11.0 amd64, Java sun sdk 1.6.0_06
            Reporter: Stefan Hedtfeld
         Attachments: ResourceLocator.java.diff

I'm using tobago-1.1.0-SNAPSHOT on JBoss 5.0.0.CR1. Deploying my application failed due to an exception in ResourceLocator because JBoss introduced a new protocol vfszip: for accessing archives. It gives a warning "Unknown protocol 'vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear/tobago-theme-speyside-1.1.0-SNAPSHOT.jar/META-INF/tobago-theme.xml'" and then fails when creating a File instance without the file: protocol.

I tried several ways to access the file correctly, the only way seems to be to handle this like an archive but going up to directories. I've attached a diff to give you an impression - I'm not sure if it is the correct approach to handle this in tobago as I would think if JBoss introduces a new protocol then this should not impact tobago.


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


[jira] Commented: (TOBAGO-688) Support for new protocol vfszip: introduced by JBoss 5.0.0

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614854#action_12614854 ] 

Bernd Bohmann commented on TOBAGO-688:
--------------------------------------

Can you send a list of the content for the directory vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear.
Or is vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear a file?

> Support for new protocol vfszip: introduced by JBoss 5.0.0
> ----------------------------------------------------------
>
>                 Key: TOBAGO-688
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-688
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: JBoss AS 5.0.0.CR1, openSuse 11.0 amd64, Java sun sdk 1.6.0_06
>            Reporter: Stefan Hedtfeld
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.18, 1.1.0
>
>         Attachments: ResourceLocator.java.diff
>
>
> I'm using tobago-1.1.0-SNAPSHOT on JBoss 5.0.0.CR1. Deploying my application failed due to an exception in ResourceLocator because JBoss introduced a new protocol vfszip: for accessing archives. It gives a warning "Unknown protocol 'vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear/tobago-theme-speyside-1.1.0-SNAPSHOT.jar/META-INF/tobago-theme.xml'" and then fails when creating a File instance without the file: protocol.
> I tried several ways to access the file correctly, the only way seems to be to handle this like an archive but going up to directories. I've attached a diff to give you an impression - I'm not sure if it is the correct approach to handle this in tobago as I would think if JBoss introduces a new protocol then this should not impact tobago.

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


[jira] Commented: (TOBAGO-688) Support for new protocol vfszip: introduced by JBoss 5.0.0

Posted by "Stefan Hedtfeld (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615076#action_12615076 ] 

Stefan Hedtfeld commented on TOBAGO-688:
----------------------------------------

You are right, it is an ear file which contains the libs needed by an web application (war) in its root directory.

> Support for new protocol vfszip: introduced by JBoss 5.0.0
> ----------------------------------------------------------
>
>                 Key: TOBAGO-688
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-688
>             Project: MyFaces Tobago
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>         Environment: JBoss AS 5.0.0.CR1, openSuse 11.0 amd64, Java sun sdk 1.6.0_06
>            Reporter: Stefan Hedtfeld
>            Assignee: Bernd Bohmann
>             Fix For: 1.0.18, 1.1.0
>
>         Attachments: ResourceLocator.java.diff
>
>
> I'm using tobago-1.1.0-SNAPSHOT on JBoss 5.0.0.CR1. Deploying my application failed due to an exception in ResourceLocator because JBoss introduced a new protocol vfszip: for accessing archives. It gives a warning "Unknown protocol 'vfszip:/home/stefan/as/jboss-5.0.0.CR1/server/devel/deploy/myapp.ear/tobago-theme-speyside-1.1.0-SNAPSHOT.jar/META-INF/tobago-theme.xml'" and then fails when creating a File instance without the file: protocol.
> I tried several ways to access the file correctly, the only way seems to be to handle this like an archive but going up to directories. I've attached a diff to give you an impression - I'm not sure if it is the correct approach to handle this in tobago as I would think if JBoss introduces a new protocol then this should not impact tobago.

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