How to configure the jetty maven plugin to allow to deploy 2 apps under the same port?

I think you cannot do that. The best option for you will be to have an standalone jetty (or tomcat) server and deploy, redeploy and undeploy your apps directly on that server.

Up vote 0 down vote favorite share g+ share fb share tw.

I’ am starting to develop 2 web apps with maven&jetty. Does somebody know how to configure the jetty maven plugin to allow to deploy the 2 apps under the same port? When I do the mvn jetty:run for the second app I get the expected error: Address already in use: bind I want to be able to hit http://localhost:8080/appA and http://localhost:8080/appB Actually, this is what I have in the pom.

Xml for boths appA and appB: org.mortbay. Jetty maven-jetty-plugin 6.1.5 3 Thanks! Maven-jetty-plugin link|improve this question asked Apr 2 '11 at 8:21webmeiker1.

I think you cannot do that. The best option for you will be to have an standalone jetty (or tomcat) server and deploy, redeploy and undeploy your apps directly on that server. Check this Maven plugin that has that funcionality for almost all J2EE containers: Geronimo, Glassfish, JBoss, Jetty, Jonas, Resin, Tomcat and Weblogic.

cargo.codehaus.org/Maven2+plugin.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions