OC4J to WebLogic Server Migration5


Published on

1 Comment
1 Like
No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

OC4J to WebLogic Server Migration5

  1. 1.
  2. 2. LiranZelkha VP BD ScaleBase<br />
  3. 3. OC4J to WLS Migration<br />
  4. 4. Agenda<br />What do we gain<br />How to do it<br />
  5. 5. What Do We Gain<br />
  6. 6. Should We Migrate<br />OC4J is dying, if not dead<br />WLS is the new king<br />WLS is so much better<br />Better management<br />More features<br />Migration is difficult<br />Takes a long time<br />Doesn’t have to…<br />
  7. 7. How Do We Do It<br />
  8. 8. The Process<br />
  9. 9. Choose Easiest Application<br />Try to answer the following questions:<br />OC4J version:<br />iAS version:<br />Java<br />Java version?<br />Does the application open internal threads?<br />JDBC?<br />J2EE Technologies in use:<br />Servlets<br />JSP<br />JSF<br />EJB<br />Version<br />XML<br />Does the application parse XML files on its own?<br />If yes, how?<br />XSL?<br />JMS<br />JNDI lookup<br />JCA<br />
  10. 10. Choose Easiest Application – Cont’<br />Security:<br />Single Sign On?<br />JAZN?<br />Build a custom JAZN module?<br />ADF<br />ADF?<br />BC4J?<br />TopLink? <br />Database<br />Oracle version?<br />RAC enabled?<br />OC4J configuration<br />Custom start parameters for the OC4J instance?<br />Shared libraries?<br />JARs in LIB directory?<br />Management tool integration?<br />Deployment?<br />WAR<br />JAR<br />EAR<br />
  11. 11. Choose Easiest Application – Cont’<br />Choose the application with the minimal number of proprietary features used<br />Some applications can’t be migrated easily<br />Old (not supported Java version, ADF migration)<br />Proprietary features (will be discussed later)<br />
  12. 12. Move To JDev11g<br />Great tool<br />Integrated with WLS<br />Can generate EAR, JAR, WAR files for WLS for you<br />Including proprietary files<br />Remember to have enough RAM on your developers machines<br />Note:<br />If you use ADF – migration might be necessary (depending on your ADF version)<br />
  13. 13. Try To Move To WLS11g<br />Configuration<br />Data sources<br />JMS sources<br />Security<br />Just run your app<br />Probably deployment issues will arise…<br />
  14. 14. Fix Problems<br />Deploy<br />Keep your fingers crossed<br />Identifying failures<br />Failed to start app in WLS<br />Exceptions in server console<br />Can’t access web application<br />Can’t see EJBs in JNDI view<br />
  15. 15. Fix Problems – Class Path<br />Classpath issues<br />Are you using app-inf/lib?<br />Are you using lib/endorsed?<br />XML libraries issues<br />Have you used standard XML parser or Oracle?<br />
  16. 16. Deployment Descriptors<br />Missing info in weblogic.xml, weblogic-ejb-jar.xml files<br />Weblogic.xml replaces orion-web.xml<br />Needed for resource/ejb references<br />Class loader management<br />Context root for standalone WAR files<br />
  17. 17. Deployment Descriptors – Cont’<br />Weblogic-ejb-jar.xml replaces orion-ejb-jar.xml<br />Used for JNDI naming<br />Needed for resource/ejb references<br />MDB configuration<br />weblogic-cmp-rdbms.xml used for CMP beans<br />
  18. 18. Libraries<br />Toplink<br />XML libraries<br />Libraries that come with WLS might collide with your app<br />JSF<br />Log4J<br />
  19. 19. Web App<br />OC4J auto exposed servlets<br />WLS does not. Make sure servlet and servlet-mapping tags exist in your web.xml file<br />SSO configuration<br />No more jazn<br />Configuration is done at WLS level, not web-app<br />SSL configuration<br />
  20. 20. EJB App<br />CMP beans migration is a pain<br />EJB3 migration is much easier…<br />JNDI naming is different<br />JNDI tree is different<br />Use JNDI view to recognize names<br />If app client is used<br />Classpath is different<br />new InitialContext() parameters are different<br />
  21. 21. Run Full QA<br />Make sure full tests run on the web application<br />Same as releasing a new version<br />
  22. 22. 2 Words On WLS Terminology<br />Domain<br />Managed Server<br />Admin Server<br />Managed Server<br />
  23. 23. Eco System<br />Scripts<br />Management – install app, start server, stop server, etc.<br />WLST against domain server – vs. opmnctl<br />Security<br />SSL certificates, users<br />
  24. 24. Eco System<br />Admin training<br />Forms/Reports/BI<br />
  25. 25. Q<br />&<br />A<br />