This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Migration of jboss 4.0.0 to 5.0.1

 
sarvan kumar
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to migrate jboss 4.0.0 to jboss 5.0.1 can anyone explain

Thanks,
K.Saravanan
 
Peter Johnson
author
Bartender
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here are some guidelines.

Use 5.1.0.GA, do not use 5.0.1.GA.

If you have made any changes to the JBoss AS configuration files, you will have to track down the exact changes you made. You did place the config files under version control so that you could track this, right? If not, download the exact same version of JBoss AS you are using and use a diff utility to tell you what you changed. For each change that you made, you need to determine how to make a similar change in 5.1.0. This usually means reading up about how 5.1.0 is configured. The biggest issue you will run into here is that many of the services that were configured using MBeans are now configured using POJOs in the microcontainer.

Any *-ds.xml files you have will probably work as-is in 5.1.0. There were no significant changes to *-ds.xml files. Unless you have declared various MBeans within them, in which case see the prior paragraph.

If you use messaging, you need to change how your destinations are declared. Look at the examples in docs/examples/jms/example-destinations-service.xml.

If you have any web services, you will need to regenerate the stubs and recompile the web service server and client code.

For your app itself, recompile it with the JARs from 5.1.0 and then deploy it and see what errors you get and then track them down and fix them.

If you have standalone apps, they will have to be recompiled with the JARs in the 5.1.0 client directory.

I probably forgot something, but for most apps this should be reasonably complete.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic