You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Lars-Erik Helander (JIRA)" <ji...@apache.org> on 2012/07/30 22:25:34 UTC

[jira] [Created] (KARAF-1692) Deployment of unpacked WAR does not work

Lars-Erik Helander created KARAF-1692:
-----------------------------------------

             Summary: Deployment of unpacked WAR does not work
                 Key: KARAF-1692
                 URL: https://issues.apache.org/jira/browse/KARAF-1692
             Project: Karaf
          Issue Type: Bug
          Components: karaf-core
    Affects Versions: 2.2.8
         Environment: Karaf 2.2.8 on Windows
            Reporter: Lars-Erik Helander


A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-1692) Deployment of unpacked WAR does not work

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

Achim Nierbeck reassigned KARAF-1692:
-------------------------------------

    Assignee: Achim Nierbeck
    
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-1692) Deployment of unpacked WAR does not work

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

Achim Nierbeck reassigned KARAF-1692:
-------------------------------------

    Assignee:     (was: Achim Nierbeck)
    
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (KARAF-1692) Deployment of unpacked WAR does not work

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504165#comment-13504165 ] 

Achim Nierbeck commented on KARAF-1692:
---------------------------------------

see also [PAXWEB-457|http://team.ops4j.org/browse/PAXWEB-457]
                
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1692) Deployment of unpacked WAR does not work

Posted by "Achim Nierbeck (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504065#comment-13504065 ] 

Achim Nierbeck commented on KARAF-1692:
---------------------------------------

Looks like one of the reasons for this not to work any longer is this fix. https://github.com/ops4j/org.ops4j.pax.web/commit/83c42c0d5c69bea5ecada78e82feeb94c909faca

                
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-1692) Deployment of unpacked WAR does not work

Posted by "Michael Prieß (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431693#comment-13431693 ] 

Michael Prieß commented on KARAF-1692:
--------------------------------------

There are different behaviors between linux and windows. It's possible to reproduce the problem described by lars with a exploded war under windows. For testing I used this war http://mirrors.jenkins-ci.org/war/latest/jenkins.war. Seems like the path used in the Parser class is not correct under windows. Under linux the path looks fine, but the bundle cannot be generated. But this is maybe another problem which should also occur under windows after fixing the path.

org.ops4j.pax.url.wrap.internal.Parser

*Linux Path:*
jardir:/home/mpriess/Arbeitsfläche/apache-karaf-2.2.8/deploy/jenkins.war$Bundle-SymbolicName=jenkins.war&Bundle-Version=0.0.0

*Windows Path:*
jardir:C:\\Users\\mpriess\\Downloads\\apache-karaf-2.2.8\\apache-karaf-2.2.8\\deploy\\jenkins.war$Bundle-SymbolicName=C:\\Users\\xonix\\Downloads\\apache-karaf-2.2.8\\apache-karaf&Bundle-Version=2.2.8.deployjenkins"
                
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-1692) Deployment of unpacked WAR does not work

Posted by "Lars-Erik Helander (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425193#comment-13425193 ] 

Lars-Erik Helander commented on KARAF-1692:
-------------------------------------------

LOG:


2012-07-30 22:04:53,595 | ERROR | araf-home/deploy | fileinstall                      | 6 - org.apache.felix.fileinstall - 3.2.4 | Failed to install artifact: C:\Users\lars-erik.helander\WSROUTER\system\CARMSYS\karaf-home\deploy\xxxx.war
java.net.MalformedURLException: Invalid syntax for instruction [Bundle-SymbolicName=C:\Users\lars-erik.helander\WSROUTER\system\CARMSYS\karaf-home\deploy\xxxx.war]. Take a look at http://www.aqute.biz/Code/Bnd.
	at org.ops4j.pax.swissbox.bnd.BndUtils.parseInstructions(BndUtils.java:270)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.ops4j.pax.url.wrap.internal.Parser.<init>(Parser.java:116)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.ops4j.pax.url.wrap.internal.Connection.<init>(Connection.java:67)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.ops4j.pax.url.wrap.internal.Activator$1.createConection(Activator.java:59)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.ops4j.pax.url.wrap.internal.Activator$1.createConection(Activator.java:49)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.ops4j.pax.url.commons.handler.HandlerActivator$Handler.openConnection(HandlerActivator.java:217)[1:org.ops4j.pax.url.wrap:1.2.8]
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:271)[org.apache.felix.framework-3.0.9.jar:]
	at java.net.URL.openConnection(URL.java:945)[:1.6.0_25]
	at java.net.URL.openStream(URL.java:1010)[:1.6.0_25]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:938)[6:org.apache.felix.fileinstall:3.2.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.install(DirectoryWatcher.java:854)[6:org.apache.felix.fileinstall:3.2.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:483)[6:org.apache.felix.fileinstall:3.2.4]
	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[6:org.apache.felix.fileinstall:3.2.4]

                
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Comment Edited] (KARAF-1692) Deployment of unpacked WAR does not work

Posted by "Michael Prieß (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431693#comment-13431693 ] 

Michael Prieß edited comment on KARAF-1692 at 8/9/12 9:10 AM:
--------------------------------------------------------------

There are different behaviors between linux and windows. It's possible to reproduce the problem described by lars with a exploded war under windows. For testing I used this war http://mirrors.jenkins-ci.org/war/latest/jenkins.war. Seems like the path used in the Parser class is not correct under windows. Under linux the path looks fine, but the bundle cannot be generated. But this is maybe another problem which should also occur under windows after fixing the path.

org.ops4j.pax.url.wrap.internal.Parser

*Linux Path:*
jardir:/home/mpriess/Arbeitsfläche/apache-karaf-2.2.8/deploy/jenkins.war$Bundle-SymbolicName=jenkins.war&Bundle-Version=0.0.0

*Windows Path:*
jardir:C:\\Users\\mpriess\\Downloads\\apache-karaf-2.2.8\\apache-karaf-2.2.8\\deploy\\jenkins.war$Bundle-SymbolicName=C:\\Users\\mpriess\\Downloads\\apache-karaf-2.2.8\\apache-karaf&Bundle-Version=2.2.8.deployjenkins"
                
      was (Author: mpriess):
    There are different behaviors between linux and windows. It's possible to reproduce the problem described by lars with a exploded war under windows. For testing I used this war http://mirrors.jenkins-ci.org/war/latest/jenkins.war. Seems like the path used in the Parser class is not correct under windows. Under linux the path looks fine, but the bundle cannot be generated. But this is maybe another problem which should also occur under windows after fixing the path.

org.ops4j.pax.url.wrap.internal.Parser

*Linux Path:*
jardir:/home/mpriess/Arbeitsfläche/apache-karaf-2.2.8/deploy/jenkins.war$Bundle-SymbolicName=jenkins.war&Bundle-Version=0.0.0

*Windows Path:*
jardir:C:\\Users\\mpriess\\Downloads\\apache-karaf-2.2.8\\apache-karaf-2.2.8\\deploy\\jenkins.war$Bundle-SymbolicName=C:\\Users\\xonix\\Downloads\\apache-karaf-2.2.8\\apache-karaf&Bundle-Version=2.2.8.deployjenkins"
                  
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Assigned] (KARAF-1692) Deployment of unpacked WAR does not work

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

Andreas Pieber reassigned KARAF-1692:
-------------------------------------

    Assignee: Achim Nierbeck
    
> Deployment of unpacked WAR does not work
> ----------------------------------------
>
>                 Key: KARAF-1692
>                 URL: https://issues.apache.org/jira/browse/KARAF-1692
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8 on Windows
>            Reporter: Lars-Erik Helander
>            Assignee: Achim Nierbeck
>
> A WAR that deploys properly when put into the deploy directory, is not deployable as an unpacked WAR (WAR content put into a folder with .war extension) in the deploy directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira