How to deploy exploded war in JBoss?

If you’ve just started using JBoss, this question should have nagged you to search in google.

It’s simple. If you generally deploy mywebapp.war in JBOSS_HOME/server/default/deploy/ (or deploy directory in all/ or minimal/) to get your app working, just do this to deploy it as an exploded archive: Unzip it, rename the directory ‘mywebapp’ to mywebapp.war and deploy it instead of war file. That’s it! It works with JBoss 4.2.2 GA and hopefully should work in the recent versions too.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: