JD Edwards: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
Line 74: Line 74:
</pre>
</pre>
# Run P9603
# Run P9603
# In Own Check out
# In Own  
## Test a Build
### Check Out
<pre>
<pre>
   JP000006
   JP000006
Line 83: Line 85:
   J0900010
   J0900010
</pre>
</pre>
 
### Go to design JP000006
### Invoke jdeveloper
### "confirm Import preferences" No
### Initialise E1 Workspaces
### Expend JP000006 until to see BusinessUnitManager.java
### Right click and Rebuild
## Validate Check In
### Select JP000006
### Check in
</div>
</div>
</div>
</div>
Line 89: Line 99:


<div class="toccolours mw-collapsible mw-collapsed">
<div class="toccolours mw-collapsible mw-collapsed">
=== ServerManager ===
=== ServerManager ===
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">

Revision as of 02:12, 7 June 2017

Deployment Server

Prerequisites

  1. Remove/Disable Ipv6
  2. Use 7-Zip to decompress zip file (Not windows)
  3. Use a short path like c:\jdedep\disk to decompress installation file
  4. Stop firewall
  5. Stop antivirus (windows defender)


Oracle Client 32 bit

From Oracle Edelivery

  1. Search Oracle Database Client 12.1.0.2.0
  2. Select palteform Microsoft Windows x64 (64Bits)
  3. Accept terms
  4. Download windows (32-bit) version V47124-01.zip file


Local Database

From Oracle Edelivery

  1. Download
  2. Run Install ServerManager
  3. Reboot


Deployment Server

From Oracle Edelivery

  1. Rename import and export program (impdp.exe, expdp.exe)
    1. cd <32-bit_db_client_install_dir>\bin
    2. Rename impdp.exe impdp.exe.bak
    3. Rename expdp.exe expdp.exe.bak
    4. Check the PATH Oracle32 must be in first position
  2. Install Deployment Server
    1. Copy tnsnames.ora from\\<deployment server name>\<release>\client to <32-bit Oracle Client Install Dir>\network\admin
    2. Install under d: drive


Jdeveloper

From Oracle Edelivery

  1. Install 32bits jdk 1.7 to directory D:\Java32\jdk1.7.0_80
  2. Download Jdeveloper Studio Edition 12.1.3.0.0 Generic (Size: 1.8GB) (not windows 64 and not Linux 64)
    1. jdev_suite_121300.jar
  3. Install Jdeveloper
    1. D:\Java32\jdk1.7.0_80\bin\java.exe -jar jdev_suite_121300.jar
    2. Installation location: D:\Jdev1213\Oracle_Home
    3. Update jde.ini
[MTR VALIDATION]
BusobjInMB=350
CDiskInMB=200
DeployDiskInMB=5000
NMakeVersion=6.00.8168.0
MDACVersion=2.60.6526.2
LiteRecords=12
JDeveloperVersion=12.1.3
JDeveloperInstallPath=D:\Jdev1213\Oracle_Home
WebSphereVersion=6.1
BuildForJAXWSWLS=1
BuildForJAXWSWAS=0
  1. Run P9603
  2. In Own
    1. Test a Build
      1. Check Out
  JP000006
  J0000120
  J0000130
  J0100010
  J0000010
  J0900010
      1. Go to design JP000006
      2. Invoke jdeveloper
      3. "confirm Import preferences" No
      4. Initialise E1 Workspaces
      5. Expend JP000006 until to see BusinessUnitManager.java
      6. Right click and Rebuild
    1. Validate Check In
      1. Select JP000006
      2. Check in


ServerManager

From Oracle Edelivery

  1. Install Weblogic
  2. Install ServerManager
  3. Upload jdbc drivers et software into ServerManager
  4. Install Agent Management on Enterprise and Deployment
  5. Record Existing Deployment server
  6. Record Existing Enterprise Server
  7. Distribute Software and Jdbc drivers
  8. Record Enterprise Weblogic Html Enterprise Server
  9. Record Html servers and other type of server


Structure

  1. Java32 : Jdk1.7.0_80
  2. jde_home_1: server Manager directory
  3. jde_home_2: Agent directory for this deployment server
  4. JDEdwards : Jd Edwards install directory
  5. jdev123: JDeveloper Studio 12.3 (32Bits)
  6. oracle:
    1. E1Local: E1Local Database Engine
    2. oradata: E1Local Database File
    3. middleware:
      1. Oracle_Home: Weblogic directory

Linux Setup

Enterprise Server

sysctl.conf

/etc/sysclt.conf

net.ipv4.ip_forward=0
###Nr001
fs.file-max=6815744
kernel.sem=1024 32000 100 142
kernel.shmmni=4096
kernel.shmall=1073741824
kernel.shmmax=4398046511104
net.core.rmem_default=262144
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=1048586
fs.aio-max-nr=1048576
net.ipv4.ip_local_port_range=9000 65500

/etc/security/limits.conf

oracle soft nproc 2047 
oracle hard nproc 16384 
oracle hard nofile 65536 
oracle soft nofile 1024 

Oracle Setup

  • To enable remote connections for your Oracle database

Edit the init.ora file, and set the remote condition by adding this line:

REMOTE_LOGIN_PASSWORDFILE=SHARED

After Install

Create Table

  • with OMW crete the following table

F989999 : Java Persistent Objetcs in Central Objects - PY910 F986020 : Business Service Temporary Artifacts F686030 : Business Service Temporary Published Methods


Error

ELFCLASS64

libclntsh.so.11.1: wrong ELF Class: ELFCLASS64: No such file or directory

  • Create directory lib32 inside ORACLE_HOME (/u1/app/oracle/product/11.2.0/db_home)
  • Download Oracle Client 32bit Linux
  • Copy libclntsh.so.11.1 and libnnz11.so into lib32
  • Validate the path of jde910 (echo $PATH)

OH4A JDK Install Error

On the Deployment Server, create a directory called \JDK under the folder that contains the Web Client installation program. For example:

\\<deployment server name>\<release>\OneWorld Client Install\ThirdParty\WebDevFeature\OH4A\JDK


Enterprise Install

Name:

 JDE_PPack910_Home_1

Path:

/u01/jdedwardsppack/e910_1

Error

Linux 6 (oracle) ..jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory -> Install LibXext-1.3.2-2.1.el6.i686 yum install

..jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory -­> Install LibXtst-1.2.2-2.1.el6.i686 yum install

Cheat Sheet

Start-Stop

  • Start Listner: under oracle profile:
lsnrctl start
  • Start Dabase: under oracle profile:
sqlplus /nolog
SQL> connect sys/admin as sysdba;
SQL> startup;
  • Start Oracle Enterprise Manager
 emctl start dbconsole
  • Start Jde: under jde910
RunOneWorld

or

/u01/jdedwardsppack/e910_1/system/bin32/RunOneWorld.sh
  • Start Weblogic under oracle profile
/u01/app/oracle/Middleware/Weblogic/user_projects/domains/base_domain/startWebLogic.sh
  • Start Node Manager
/u01/app/oracle/Middleware/Weblogic/user_projects/domains/base_domain/bin/startNodeManager.sh

or

/u01/app/weblogic/wlserver_10.3/server/bin/startNodeManager.sh
  • Start Managed WebLogic Server
/u01/app/oracle/Middleware/Weblogic/user_projects/domains/base_domain/bin/startManagedWebLogic.sh Jde-PS
  • Start Agent
/u01/app/agent_1/SCFHA/bin/startAgent

Windows Setup

Prerequisites

  1. Remove/Disable Ipv6
  2. Use 7-Zip to decompress zip file (Not windows)
  3. Use a short path like c:\jdedep\disk to decompress installation file
  4. Stop firewall
  5. Stop antivirus


Cheat Sheet

Start-Stop

On the Enterprise Server

  • Start WebLogic
C:\Oracle\Middleware\weblogic\domains\base_domain\startWebLogic.cmd
  • Start NodeManager
C:\Oracle\Middleware\weblogic\domains\base_domain\bin\startNodeManager.cmd

On the deployment server

  • Start WebLogic
C:\Oracle\Middleware\weblogic\domains\base_domain\startWebLogic.cmd
  • Start NodeManager
C:\Oracle\Middleware\weblogic\domains\base_domain\bin\startNodeManager.cmd

Ports

Jdeveloper

D Edwards EnterpriseOne Tools Release 9.1 Update 4 introduces JDeveloper 12c for developing JAX-WS business services. With JDeveloper 12c, extensions and plugins are not loaded during JDeveloper startup. Plugins and extensions are loaded in JDeveloper 12c only when you use a feature provided by the extension. For loading EnterpriseOne development extensions on JDeveloper 12c, select the option Initialize E1 Workspace under the Tools menu after launching JDeveloper 12c from OMW.

Web Logic Setup

Reset Password

FireFox Issue

  1. Increase key strength of WLS certificates to 1024 bits:
  2. Open firefox browser and type ‘about:config’ in URL field
  3. Search for ‘security.ssl3.dhe_rsa_aes_128_sha’ and ‘security.ssl3.dhe_rsa_aes_256_sha’
  4. Double click (Toggle) on ‘security.ssl3.dhe_rsa_aes_128_sha’ and ‘security.ssl3.dhe_rsa_aes_256_sha’ so that their value gets changed to ‘false’
  5. Close the firefox and open new firefox window
  6. Access OEM Weblogic Admin Server Console

Bssv

Test

WebLogic Jax-ws

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:orac="http://oracle.e1.bssv.JP010000/">
<soapenv:Header> 
   <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
     xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
     soapenv:mustUnderstand="1">
     <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
       xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
       <wsse:Username>JDE</wsse:Username>   
       <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>  
     </wsse:UsernameToken>
   </wsse:Security>
 </soapenv:Header>
   <soapenv:Body>
      <orac:getAddressBook>
         <entity>
            <entityId>50</entityId>
         </entity>
      </orac:getAddressBook>
   </soapenv:Body>
</soapenv:Envelope>

WebLogic Jax-Rpc (old)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:orac="http://oracle.e1.bssv.JP010000/" xmlns:java="java:oracle.e1.bssv.JP010000.valueobject" xmlns:java1="java:oracle.e1.bssv.util.J0100010.valueobject">
<soapenv:Header> 
   <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
     xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
     xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" 
     soapenv:mustUnderstand="1">
     <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" 
       xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
       <wsse:Username>JDE</wsse:Username>   
       <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>  
     </wsse:UsernameToken>
   </wsse:Security>
 </soapenv:Header>
   <soapenv:Body>
      <orac:getAddressBookElement>
         <java:Entity>
            <java1:EntityId>1</java1:EntityId>
         </java:Entity>
      </orac:getAddressBookElement>
   </soapenv:Body>
</soapenv:Envelope>