Tuesday, March 16, 2010

WAS Migration from 6.1 to 7.0 - Steps

Websphere Application Server Migration from 6.1 to 7.0

I faced lot of issues while migrating our application from Application Server 6.1 to websphere Application Server 7.0. Our Application is build on Spring 2.5.4, JSF 1.1, Richfaces, JPA. I was finally able to fix the issues and make the application up and running in WAS 7.0.

Basically we need to do is Jar file need to be used appropriately to migrate from 6.1 to 7.0.
WAS 7.0 support JSF 1.2 in default. So if you are pointing to 1.1 jar please remove it.

Following are core steps taken to migrate
1. Use Websphere 7.0 runtime server configuration and JRE.
2. Use ojdbc6.jar instead of ojdbc14.jar
3. Remove JSF 1.2 from lib and use the default JSF 1.2 from WAS 7.0
4. Upgrade Fecelets for JSF 1.2 (facelets-1.1.15-jsf1.2)
5. Upgrade Richfaces to
        > richfaces-ui-3.3.1.GA.jar
        > richfaces-impl-3.3.1.GA.jar
        > richfaces-api-3.3.1.GA.jar
6. Add all the spring 2.5.6 dependent jars in your workspace including jar files  given in step 7
7. Add following Jar files
        > spring-agent.jar
        > spring-aspects.jar

If you are coming across below exception please follow above steps to resolve it. Basically issue is in jar file conflict in your working environment. Once dependency jars are fixed you are good go.


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.context.annotation.internalPersistenceAnnotationProcessor': Initialization of bean failed; nested exception is java.lang.NullPointerException

12 comments:

  1. Hi,


    Am using the Websphere Application Server6.1,
    now i want to migrate my server from 6.1 to 7

    can you please provide the Detailed steps for migration.


    Regrads

    Raju

    ReplyDelete
  2. I love your blog.. very nice colors & theme. Did you design this website yourself or did
    you hire someone to do it for you? Plz respond as I'm looking to design my own blog and would like to find out where u got this from. thanks
    Also see my web site - http://s231342755.onlinehome.us/

    ReplyDelete
  3. Have you ever considered about adding a little bit more than just your articles?
    I mean, what you say is fundamental and everything.
    But think of if you added some great visuals or video clips to give your
    posts more, "pop"! Your content is excellent but with images and clips, this site
    could undeniably be one of the very best in its field.
    Terrific blog!
    Take a look at my web blog ... make mon

    ReplyDelete
  4. Thank you for some other excellent article. The place else
    may anybody get that kind of information in such a perfect means of writing?
    I have a presentation next week, and I'm at the search for such information.
    Feel free to visit my web blog - clearer skin

    ReplyDelete
  5. Every weekend i used to pay a quick visit this web page, as i want
    enjoyment, since this this web page conations in fact pleasant
    funny material too.
    Feel free to visit my blog - news-asahi.com

    ReplyDelete
  6. Thank you a bunch for sharing this with all folks you really know
    what you're talking about! Bookmarked. Please also talk over with my web site =). We could have a link exchange contract between us

    Here is my webpage - get followers

    ReplyDelete
  7. I truly love your site.. Excellent colors & theme. Did you
    develop this site yourself? Please reply back as
    I'm hoping to create my own personal blog and would like to find out where you got this from or just what the theme is called. Cheers!

    Feel free to visit my page; plataformas opciones binarias

    ReplyDelete
  8. Great post. I used to be checking continuously this weblog and I am impressed!
    Very helpful info particularly the ultimate phase :) I handle such information much.
    I was seeking this certain info for a long time. Thank you and best of luck.


    My website :: get followers
    My web page - get followers

    ReplyDelete
  9. Hurrah, that's what I was seeking for, what a stuff! existing here at this weblog, thanks admin of this website.

    Also visit my blog post: zulutrade

    ReplyDelete
  10. Can you tell us more about this? I'd love to find out more details.

    Also visit my web-site: get followers

    ReplyDelete
  11. I used to be suggested this website by means of my cousin.
    I am now not sure whether this put up is written by
    him as no one else know such targeted approximately my difficulty.
    You are wonderful! Thanks!

    Here is my homepage: squeeze page

    ReplyDelete
  12. bookmarked!!, I like your site!

    Look at my site ... trade forex online
    Also see my page > account online trading

    ReplyDelete