090046. Use case - Create work environment during Migration of Java version and Weblogic

What you’ll need

Conventions: Not Applicable.

Table of contents

 

1. Install JDKs

 First of all we have to install the jdk for all versions we need to work with
Install java 1.8 and check the existing ones.
  • C:\pgm\java\jdk1.6.0_27
  • C:\pgm\java\jdk1.8.0_112

 

2. Install Mavens

Then we have to install 2 versions of Maven as we would like to work with different repositories depending of the version we are working with.

Thereby we will have for instance one version of maven on:
D:\dp\apache-maven-3.1.0
D:\dp\apache-maven-3.5.4

And two repositories:
D:\dp\re\defis-mig16
D:\dp\re\defis-mig18


3. Install Application servers

3.1 Install weblogic 10.3.6 and Domains

Install weblogic 10.3.6
Weblogic 10.3.6 folder:
   D:\as\oracle1036
Application Server folder:
   D:\as\oracle1036\midware\wlserver_10.3
3.1.1 Create domains 1.6
 Now we have to create all the domain environments.
 As we have to work with two environments (JDK1.6/JDK1.8), we always have to check our current settings before start working with an specific environment.

In order to check the settings, we click on cmd and then we type "set".

We have to choose the settings to work with Weblogic 10.3.6 and JDK 1.6.
Once we have check that the settings are correct , we have to create our Domain.
"C:\pgm\bea106\wlserver_10.3\common\bin\config.cmd"
Click on the link for further information.

We have to create a domain in All system for current release (10.6)

We have to create a domain in All system for release in production(10.6)

The domain must be created under the folder /domains/
<servername><version><dev><systemname>
<servername><version><prod><systemname>

 We are going to have two installation of the same server Bea Weblogic 10.3.6 in different locations, once for the current development and another one for the migration.
 With the current installation we get an error when we want to create a new domain.


CFGFWK-64057There were no standard components found in your installation, browse to custom component ----- Please help. Aamir.
https://community.oracle.com/thread/2522693

 As mentioned below we install we install the new application server in the next location:
 Weblogic 10.3.6 folder:

 D:\as\oracle1036

In our case:
 D:\domains\bea1036\weblogic1036dev\SWIM   (ports 10001, 10002)
 D:\domains\bea1036\weblogic1036proc\SWIM  (ports 10001, 10002)
 Error as we have omitted the name of the system.

3.2 Install Weblogic 12C and domains

3.2.1 Install Oracle12c

Install Oracle12c 

(From now on it shouldbe under the folder /as/ so c:\pgm\as\Oracle12c\oracle_common\common\bin\config.cmd)

3.2.2 Install Domains

oracle12\dev\<system>
oracle12\prod\<system>

For further information about how to create a domain see the next link:
Create a new Domain Oracle12c

In our case:
 D:\domains\oracle12c\dev\swim
 D:\domains\oracle12c\prod\swim (Pending)

 D:\domains\oracle12c\dev\defis
 D:\domains\oracle12c\prod\defis (Pending)


For oracle12c the configuration wizard is located in the next server:
C:\pgm\Oracle12c\oracle_common\common\bin\config.cmd


3. Setup the Domain for our system

 For each system the configuration is different, usually we have to setup
  •    The Datasource
  •    Realms authentication
  •    Email server
  •    Security
  •    Others

 

4.Setup the Source save (SVN,GIT)

Usually we will create the next structure to work with the SVN.
trunk to work with our current release

 

5. Install IDE (Eclipse)

Now we have to install Eclipse, we will have the next version of Eclipse.

Indigo:      Current development environment.
Kepler:     Eclipse created for releases purpose.
Luna:        New instances Weblogic 10.3.6, JDK 1.6
Neon:       Oracle12, JDK 1.8
Oxigene:  Publigrant migration (Rest Service publigrant)

In our case we have to install 

Next we have to create the workspaces:
Under the folder \ws\  we create for the Luna environment the next workspaces

For the Luna environment we create:
\ws\wlogic1036dev
\ws\wlogic1036prod
Tunning eclipse for Jdk 1.6 and Weblogic 10.3.6

For the Neon environment we create:
\ws\oracle12dev
\ws\oracle12prod
/*******************************  Body *****************************************/

Information:

Example



Warning:
Example


Errors:
Example


Coding or settings

Section for add coding or settings


/*******************************  Foot *****************************************/

See Also in the Blog:

The following reference may also be helpful:
References

Pending task/Challengues:

Not Applicable.

Next steps:



***************************************************
Labeling the page
***************************************************

Labels:

 Status: 00. DraftNotStarted, 01. WorkingOn, 02. Done.

 Main Categories: 07. Deployment, 08. Security, 04. Development, 200.Database, 300.Application server, 400.Operative System, 500. VM,Dockers,OS, 600. Programing languages

 Subcategories: 

 04. Development
 01.Ide , 02.Programming Language


Decision makers:



Reasons:

Advantage:

Disadvantage:

Alternatives: 


Reasons: Impose by the client.

Advantage: Not applicable

Disadvantage:

Alternatives: Not study any alternative.



Comments