Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Migration of jboss 4.0.0 to 5.0.1

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
How to migrate jboss 4.0.0 to jboss 5.0.1 can anyone explain

Thanks,
K.Saravanan
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic