Migrating to JBoss 7

For those who have an existing JBoss 4/5/6 installation, migrating to JBoss 7 will take slightly more time, as the new archicture of JBoss has a completely new directory layout and configuration mechanism.

For starters, you should set up your datasources. This is described in the following article:


when you’ve done that and setup your MySQL or Oracle datasource bindings and modules, you’ll have to configure your application for usage in a JBoss 7 / JEE 6 Environment.

First of all, you’ll have to check your persistence.xml and your references to see if they comply with the new JEE 6 specs. This is explained in depth in the following section of the JBoss 7 guides:


Next, you will have to check your application for external dependencies, i.e. all libs that were formerly deployed to the /server/<instance>/lib directory need to be installed as modules and declared as dependencies in the


Depending on which components your application uses, you may need to add one or more dependencies to this file. There is more information about these dependencies in the following paragraphs.

NOTE: If you modify this file, make sure to include a newline character at the end of the file.

If you need to port your Resteasy application parts, please observe this excellent and short tutorial:


This entry was posted in Enterprise Java, Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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