[ https://issues.apache.org/jira/browse/KARAF-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-45. ---------------------------------- Assignee: Guillaume Nodet Fix Version/s: 2.0.0 Resolution: Fixed Committing to https://svn.apache.org/repos/asf/karaf/trunk ... M deployer/war/src/main/java/org/apache/karaf/deployer/war/WarDeploymentListener.java Committed r961734 Thx a lot for this patch. Keep up the good work ! Btw, I've added you to the contributors page of Karaf (http://karaf.apache.org/team.html) > 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 > Assignee: Guillaume Nodet > Fix For: 2.0.0 > > 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.