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

More Related Content

What's hot

Robot Framework Introduction & Sauce Labs Integration
Robot Framework Introduction & Sauce Labs IntegrationRobot Framework Introduction & Sauce Labs Integration
Robot Framework Introduction & Sauce Labs IntegrationSauce Labs
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningMichel Schildmeijer
 
Authorization and Authentication in Microservice Environments
Authorization and Authentication in Microservice EnvironmentsAuthorization and Authentication in Microservice Environments
Authorization and Authentication in Microservice EnvironmentsLeanIX GmbH
 
Web API authentication and authorization
Web API authentication and authorization Web API authentication and authorization
Web API authentication and authorization Chalermpon Areepong
 
Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)Lars Thorup
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker, Inc.
 
리눅스 커널 기초 태스크관리
리눅스 커널 기초 태스크관리리눅스 커널 기초 태스크관리
리눅스 커널 기초 태스크관리Seungyong Lee
 
Unit testing in JavaScript with Jasmine and Karma
Unit testing in JavaScript with Jasmine and KarmaUnit testing in JavaScript with Jasmine and Karma
Unit testing in JavaScript with Jasmine and KarmaAndrey Kolodnitsky
 
Windows Registered I/O (RIO) vs IOCP
Windows Registered I/O (RIO) vs IOCPWindows Registered I/O (RIO) vs IOCP
Windows Registered I/O (RIO) vs IOCPSeungmo Koo
 
Robot framework
Robot frameworkRobot framework
Robot frameworkboriau
 
Introduction to jest
Introduction to jestIntroduction to jest
Introduction to jestpksjce
 
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise UsersApache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise UsersDataWorks Summit
 
Gatling overview
Gatling overviewGatling overview
Gatling overviewViral Jain
 
[오픈소스컨설팅]Tomcat6&7 How To
[오픈소스컨설팅]Tomcat6&7 How To[오픈소스컨설팅]Tomcat6&7 How To
[오픈소스컨설팅]Tomcat6&7 How ToJi-Woong Choi
 
Java troubleshooting thread dump
Java troubleshooting thread dumpJava troubleshooting thread dump
Java troubleshooting thread dumpejlp12
 
Spring Framework - Spring Security
Spring Framework - Spring SecuritySpring Framework - Spring Security
Spring Framework - Spring SecurityDzmitry Naskou
 

What's hot (20)

Robot Framework Introduction & Sauce Labs Integration
Robot Framework Introduction & Sauce Labs IntegrationRobot Framework Introduction & Sauce Labs Integration
Robot Framework Introduction & Sauce Labs Integration
 
Oracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuningOracle WebLogic Diagnostics & Perfomance tuning
Oracle WebLogic Diagnostics & Perfomance tuning
 
Authorization and Authentication in Microservice Environments
Authorization and Authentication in Microservice EnvironmentsAuthorization and Authentication in Microservice Environments
Authorization and Authentication in Microservice Environments
 
Web API authentication and authorization
Web API authentication and authorization Web API authentication and authorization
Web API authentication and authorization
 
Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)Test and Behaviour Driven Development (TDD/BDD)
Test and Behaviour Driven Development (TDD/BDD)
 
Spring data jpa
Spring data jpaSpring data jpa
Spring data jpa
 
Docker 101 - Nov 2016
Docker 101 - Nov 2016Docker 101 - Nov 2016
Docker 101 - Nov 2016
 
리눅스 커널 기초 태스크관리
리눅스 커널 기초 태스크관리리눅스 커널 기초 태스크관리
리눅스 커널 기초 태스크관리
 
Unit testing in JavaScript with Jasmine and Karma
Unit testing in JavaScript with Jasmine and KarmaUnit testing in JavaScript with Jasmine and Karma
Unit testing in JavaScript with Jasmine and Karma
 
Windows Registered I/O (RIO) vs IOCP
Windows Registered I/O (RIO) vs IOCPWindows Registered I/O (RIO) vs IOCP
Windows Registered I/O (RIO) vs IOCP
 
QSpiders - Selenium Webdriver
QSpiders - Selenium WebdriverQSpiders - Selenium Webdriver
QSpiders - Selenium Webdriver
 
Spring Security 5
Spring Security 5Spring Security 5
Spring Security 5
 
Robot framework
Robot frameworkRobot framework
Robot framework
 
Introduction to jest
Introduction to jestIntroduction to jest
Introduction to jest
 
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise UsersApache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
Apache Knox Gateway "Single Sign On" expands the reach of the Enterprise Users
 
Gatling overview
Gatling overviewGatling overview
Gatling overview
 
[오픈소스컨설팅]Tomcat6&7 How To
[오픈소스컨설팅]Tomcat6&7 How To[오픈소스컨설팅]Tomcat6&7 How To
[오픈소스컨설팅]Tomcat6&7 How To
 
Java troubleshooting thread dump
Java troubleshooting thread dumpJava troubleshooting thread dump
Java troubleshooting thread dump
 
Spring Framework - Spring Security
Spring Framework - Spring SecuritySpring Framework - Spring Security
Spring Framework - Spring Security
 
L4교육자료
L4교육자료L4교육자료
L4교육자료
 

Similar to OC4J to WebLogic Server Migration5

Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3Oracle
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Arun Gupta
 
J2EE Batch Processing
J2EE Batch ProcessingJ2EE Batch Processing
J2EE Batch ProcessingChris Adkin
 
Greate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFGreate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFMohamed Shahpoup
 
java web framework standard.20180412
java web framework standard.20180412java web framework standard.20180412
java web framework standard.20180412FirmansyahIrma1
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seamashishkulkarni
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptKalsoomTahir2
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Succeding with the Apache SOA stack
Succeding with the Apache SOA stackSucceding with the Apache SOA stack
Succeding with the Apache SOA stackJohan Edstrom
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 

Similar to OC4J to WebLogic Server Migration5 (20)

Java Introduction
Java IntroductionJava Introduction
Java Introduction
 
Rollin onj Rubyv3
Rollin onj Rubyv3Rollin onj Rubyv3
Rollin onj Rubyv3
 
מתפ
מתפמתפ
מתפ
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011Java EE 6 workshop at Dallas Tech Fest 2011
Java EE 6 workshop at Dallas Tech Fest 2011
 
Spring Framework Rohit
Spring Framework RohitSpring Framework Rohit
Spring Framework Rohit
 
Migrating Beyond Java 8
Migrating Beyond Java 8Migrating Beyond Java 8
Migrating Beyond Java 8
 
J2EE Batch Processing
J2EE Batch ProcessingJ2EE Batch Processing
J2EE Batch Processing
 
Greate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFGreate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADF
 
java web framework standard.20180412
java web framework standard.20180412java web framework standard.20180412
java web framework standard.20180412
 
Introduction To J Boss Seam
Introduction To J Boss SeamIntroduction To J Boss Seam
Introduction To J Boss Seam
 
Laravel 4 presentation
Laravel 4 presentationLaravel 4 presentation
Laravel 4 presentation
 
01 java intro
01 java intro01 java intro
01 java intro
 
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.pptLecture 19 - Dynamic Web - JAVA - Part 1.ppt
Lecture 19 - Dynamic Web - JAVA - Part 1.ppt
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Month 3 report
Month 3 reportMonth 3 report
Month 3 report
 
Devjyotippt
DevjyotipptDevjyotippt
Devjyotippt
 
Succeding with the Apache SOA stack
Succeding with the Apache SOA stackSucceding with the Apache SOA stack
Succeding with the Apache SOA stack
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Introduction to Spring & Spring BootFramework
Introduction to Spring  & Spring BootFrameworkIntroduction to Spring  & Spring BootFramework
Introduction to Spring & Spring BootFramework
 

More from Liran Zelkha

Scaling data on public clouds
Scaling data on public cloudsScaling data on public clouds
Scaling data on public cloudsLiran Zelkha
 
Data SLA in the public cloud
Data SLA in the public cloudData SLA in the public cloud
Data SLA in the public cloudLiran Zelkha
 
שטפונות בנגב
שטפונות בנגבשטפונות בנגב
שטפונות בנגבLiran Zelkha
 
Social Networks Optimization
Social Networks OptimizationSocial Networks Optimization
Social Networks OptimizationLiran Zelkha
 
Technology Overview
Technology OverviewTechnology Overview
Technology OverviewLiran Zelkha
 
Building Eclipse Plugins
Building Eclipse PluginsBuilding Eclipse Plugins
Building Eclipse PluginsLiran Zelkha
 
Aluna Introduction
Aluna IntroductionAluna Introduction
Aluna IntroductionLiran Zelkha
 

More from Liran Zelkha (8)

Scaling data on public clouds
Scaling data on public cloudsScaling data on public clouds
Scaling data on public clouds
 
Data SLA in the public cloud
Data SLA in the public cloudData SLA in the public cloud
Data SLA in the public cloud
 
שטפונות בנגב
שטפונות בנגבשטפונות בנגב
שטפונות בנגב
 
Oracle Coherence
Oracle CoherenceOracle Coherence
Oracle Coherence
 
Social Networks Optimization
Social Networks OptimizationSocial Networks Optimization
Social Networks Optimization
 
Technology Overview
Technology OverviewTechnology Overview
Technology Overview
 
Building Eclipse Plugins
Building Eclipse PluginsBuilding Eclipse Plugins
Building Eclipse Plugins
 
Aluna Introduction
Aluna IntroductionAluna Introduction
Aluna Introduction
 

OC4J to WebLogic Server Migration5

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