This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am trying to deploy to war files to one instance of jboss-5.1.0.GA. It returns the following error
Deployment "vfsfile:/C:/appservers/jboss-5.1.0.GA/server/xfunds/deploy/xfunds.war/" is in error due to the following reason(s): java.lang.IllegalStateException: jboss.web.deployment:war=/ is already installed.
xFunds.war deploys ok, its when i had yFunds.war that I get the above problem.
full stack trace
Is there any documentation that covers multiple war deployements, google just reveals this error but no solution
Are you trying to deploy the .war at root context? Do you have jboss-web.xml? What does it look like? JBoss AS by default ships with ROOT.war which deploys at root context, so you will have to do additional changes if you want to deploy your application at root context.
You can't deploy both xfunds and yfunds at the same (root) context. Each application should have a separate context. So you will have to change the context-root of either of those applications to something else.
Joined: Jun 29, 2002
The fix (I think) Since i have more deployment errors is: