The answer is yes. You could use OPS4J Pax URL War for war deployment. The OPS4J Pax Web and Pax URL are already pre-installed in ESB 4 as OSGI bundles.
Basically, something like:
smx@jluo:/> osgi/install war:mvn:com.mycompany/examples/1.0-SNAPSHOT/war
or deploy it from a war file directly:
smx@jluo:/> osgi/install war:file:///F:/temp/myWarFile.war
Thank you very much.I got the registered bundle.
But I am unable to find a way to access this web application i.e. running it.
Can you please help me out with this.
Thanks in advance
The default HTTP port is 8080, so you could use something like:
to access your web app.
For more detail, please have a look at here
You could also change default http port and overwrite the web context for you web application. For more detail, please have a look at documentation on OPS4J web site.
Even though i have set the port no in org.ops4j.pax.web.cfg file.I am not able to access the deployed web application.Also required services have been set on.Am I going wrong somewhere?