Improve war deployer in order to provide the WebApp-context
-----------------------------------------------------------

                 Key: SMX4KNL-256
                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-256
             Project: ServiceMix Kernel
          Issue Type: Improvement
    Affects Versions: 1.2.0
            Reporter: Charles Moulliard


Hi,

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 : 

install war:file:///d:/temp/sample.war?Webapp-Context=sample

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