[ 
https://issues.apache.org/jira/browse/KARAF-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883810#action_12883810
 ] 

Guillaume Nodet commented on KARAF-45:
--------------------------------------

Thx a lot for this patch.   I think though that there is a slight problem with 
it.
Felix fileinstall supports exploded artifacts, so that the url given for the 
artifact is not necessarily a file based url (in that case, the url is 
jardir:xxx).  It would be safer to modify the patch so that it would work with 
any kind of url, not only files.

> Improve war deployer in order to provide the WebApp-context
> -----------------------------------------------------------
>
>                 Key: KARAF-45
>                 URL: https://issues.apache.org/jira/browse/KARAF-45
>             Project: Karaf
>          Issue Type: Improvement
>            Reporter: Guillaume Nodet
>         Attachments: org.apache.karaf.deployer.war.patch
>
>
> I have deployed a sample.war file top of SMX4 Kernel. The war is well 
> deployed. Unfortunately, I cannot reach the web site
> http://localhost:8080/file__D__Dvlpt_Java_workspace-ganymede_esb_apache-servicemix-kernel-1.2.0-SNAPSHOT_deploy_sample.war/index.html
> It seemed that the webapp-context generated by default by PAX
> {code}
> file__D__Dvlpt_Java_workspace-ganymede_esb_apache-servicemix-kernel-1.2.0-SNAPSHOT_deploy_sample.war
> {code}
> is the cause of this issue :
> By the way, If I install manually the war using the following command :
> {code}
> install war:file:///d:/temp/sample.war?Webapp-Context=sample
> {code}
> the web site is reachable with the following address : 
> http://localhost:8080/sample/index.html
> Suggestion : Allow the user to provide the webapp context in order to avoid 
> weird name 

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

Reply via email to