How to change the default deploy folder in JBoss EAP 5?

Solution Verified - Updated -

Issue

  • We are migrating from JBoss 4.3 EAP to 5.2 EAP. In the older version, we have configured different deploy folders to development applications (deploy_dev) and JBoss internal services (deploy_serv). I'm trying to do the same in JBoss 5. I have modified $HOME_DIR/conf/bootstrap/profile.xml and vfs.xml to do the same, but I'm having the following errors after renaming the default deploy directory to deploy_serv:
Deployment "WarDeployer" is in error due to the following reason(s): java.io.FileNotFoundException: /opt/jboss-eap-5.2/jboss-as/server/profile/deploy/jbossweb.sar/server.xml, **ERROR**

Environment

  • JBoss Enterprise Application Platform (EAP) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content