-
1. Re: Can we deploy web application in ESB?
joe.luo Jul 2, 2009 5:00 AM (in response to ankit.vernekar)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
-
2. Re: Can we deploy web application in ESB?
ankit.vernekar Jul 3, 2009 2:27 AM (in response to joe.luo)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
Regards
Ankit Vernekar
-
3. Re: Can we deploy web application in ESB?
joe.luo Jul 6, 2009 5:22 AM (in response to ankit.vernekar)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.
-
4. Re: Can we deploy web application in ESB?
ankit.vernekar Jul 6, 2009 7:21 AM (in response to joe.luo)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?
-
5. Re: Can we deploy web application in ESB?
joe.luo Jul 7, 2009 6:27 AM (in response to ankit.vernekar)The discussion continues in this new thread