Sie sind auf Seite 1von 168

Agenda

Technology stack
• Overview
• E-Business Suite Technology Stack
• User Interface
• Integration Repository (iRep)
• Applications System Management

1 Copyright © 2006, Oracle. All rights reserved.


Overview

Copyright © 2006, Oracle. All rights reserved.


Overview of R12 Technology Highlights
Superior Ownership Experience Greatest Business Insight
• Simpler deployments with updated • Improved knowledge worker
10g Tech Stack productivity with SWAN interface
• Expanded systems management and simplified personalization
with deeper Enterprise Manager • DBI: Extensible and customizable
integration framework, with Expanded content
• Provisioning in DBI in R12
• Patching and Maintenance • Improved XML Publisher, and with
• Monitoring expanded content in R12
• Diagnostics and Troubleshooting
Adaptive Business Process
• New Web Service Provider to create,
test and deploy web services
• iRep Shipped in R12
• Faster time to value and increased
reusability with Model, View,
Controller paradigm

3 Copyright © 2006, Oracle. All rights reserved.


E-Business Suite Architecture
Overview

Client Application Database

Web Server Java Engine

User Interface
Global Single
Data Model Model

BI & Reporting
Excel Business
Add-In Intelligence

User Interface Application logic Database logic

4 Copyright © 2006, Oracle. All rights reserved.


E-Business Suite Architecture
Detail

Oracle Application Server Oracle Database

Materialized Views
Java Engine

Client Web Server: Apache Data Guard

User Interface
Partitioning

BI & Reporting OLAP


HTTP/S

JDBC/SQL Net
Personalization Spatial

Business Event Grid

Excel Global Single


Add-In Data Model
Concurrent
Manager
Workflow

5 Copyright © 2006, Oracle. All rights reserved.


Technology Stack

Copyright © 2006, Oracle. All rights reserved.


3-Tier Logical Architecture – Reminder
R11i Technology Stack

Client Application Database


JInitiator 9iAS 1.0.2.2
Servlet
9i or 10g
Engine

Web Listener
JSP

BC4J

UIX
Reports 9iR2 &
Forms 10g (Optional)

iAS 1.0.2.2.2
User Interface Application logic Database logic
3-Tier Logical Architecture
R12 Technology Stack

Client Application Database


9iAS 1.0.2.2
9i or 10g
OC4J

Web Listener
JSP

BC4J

UIX
Reports
Forms

User Interface Application logic Database logic


Desktop Client Tier

• Moving from JInitiator to Native Sun Java plug-in


• Native Sun J2SE 1.5 (5.0)

• Supported Browsers:

Browser Version Client OS


Browser - IE 6.0 Windows 2000 and XP
Browser - Netscape 7.2 Windows 2000 and XP
Browser - FireFox 1.5 Windows 2000 and XP
Browser - Safari 2.0 Macintosh OSX 10.4
Application Server Tier

• OracleAS 10g 10.1.2 for Forms & Reports Services


• Replaces the 8.0.6-based Oracle_Home provided by iAS
1.0.2.2 in 11i
• OracleAS 10g 10.1.3 for Oracle Containers for Java
(OC4J)
• Replaces the 8.1.7-based Oracle_Home provided by iAS
1.0.2.2 in 11i
• Oracle JDeveloper 10.1.3
• JDBC 10.2
• JDK 5.0 for web & concurrent processing
• OracleAS 10.1.3 web services infrastructure
• Compliant with latest industry standards (WS-*
specifications)
Database Server Tier

• 10g Database 10.2


• XDK Database 10.1.0.4
Benefits of Release 12 Technology Stack

• Latest technologies certified with EBS Release 12


• Applications get benefit of latest platform features
• Customers can use same current versions in EBS and for
custom development
• Support for Latest Platforms
• Itanium 64 bit
• Customers gain experience with Fusion Middleware
environment that will be basis for Fusion Applications

Copyright © 2006, Oracle. All rights reserved.


User Interface

Copyright © 2006, Oracle. All rights reserved.


New “Swan” User Interface

• Dramatically improve the look of Oracle E-Business Suite


• Focuses on ‘Fit and Finish’
• Creates consistency between the Oracle EBS UI and
Peoplesoft UI
• Does not dramatically change transaction content or end
user actions
• Does not disturb existing tests

Copyright © 2006, Oracle. All rights reserved.


New “Swan” User Interface
Scope

• Forms Applications
• OAF Applications
• CRM/JTT Applications

Copyright © 2006, Oracle. All rights reserved.


Application Login

16 Copyright © 2006, Oracle. All rights reserved.


Application Navigator

17 Copyright © 2006, Oracle. All rights reserved.


Contact Center (Forms)

18 Copyright © 2006, Oracle. All rights reserved.


iExpense (OAF)

19 Copyright © 2006, Oracle. All rights reserved.


Customer Support (OAF)

20 Copyright © 2006, Oracle. All rights reserved.


iSupport (JTT)

21 Copyright © 2006, Oracle. All rights reserved.


Overview of Stack Changes

New Versions of Mid Tier Technology


• Application Server: 1.0 -> 10.1
• Servlet Container: Jserv -> OC4J
• Apache: 1.3.19 -> 1.3.31 (or 2.0)
• Forms: 6 -> 10
R12 File System Change:
• The two 11i middle tier Oracle homes are replaced with
newer versions
• Instance Home vs Source Home

22 Copyright © 2006, Oracle. All rights reserved.


11i Installed & Managed File System

iAS 1.0.2.2 Developer6i Database Major Components:


ORACLE HOME ORACLE HOME ORACLE HOME
•Java Home: 8.1.7-based
iAS 1.0.2
RSF 8.1.7 RSF 8.0.6 RSF 10.2
•C Home: 8.0.6-based
Apache 1.3 Forms 6 Developer 6
RDBMS
Components
•Database Home: 10.2
Jserv Reports 6
•Appl Top: Applications’
code staging area

APPL TOP •Common Top: Runtime


location for Java, HTML,
run-time generated files
COMMON TOP

23 Copyright © 2006, Oracle. All rights reserved.


R12 Installed & Managed File System

iAS 10.1.3 Developer10.1.2 Database Major Components:


ORACLE HOME ORACLE HOME ORACLE HOME
•Java Home: 10.1-based
iAS 10.1.3 –new
RSF 10.1 RSF 10.1 RSF 10.2
•C Home: 10.1-based
Apache 1.3 Forms 10 Developer 10 standalone
RDBMS install of AS 10.1.2
Components phase2 –new
OC4J Reports 10
•Database Home: 10.2
•Appl Top: Applications’
APPL TOP code staging area
•Common Top: Runtime
COMMON TOP location for Java, HTML
•Instance Top:
configuration and run-
INSTANCE TOP time generated files –new

24 Copyright © 2006, Oracle. All rights reserved.


Technologies Inside R12
Highlights

AS 10.1.3 J2EE JDK 1.5.0_06 on apps server


AS 10.1.2 Forms JDK 1.5.0_07 on desktop
DB 10.2.0.2 New shared file system with
Many one-offs Oracle Config Home so that
XDK 10.2 Appl Top and Oracle Homes are
read only
OJSP 10.1.3
Newer versions of everything
JDBC 10.2.0.2
JEWT 2.3.36 without fix for
Scripting & GL

25 Copyright © 2006, Oracle. All rights reserved.


Technologies External to R12
Highlights

Installed and integrated separately from Rapid Install


• Discoverer 10.1.2
• SSO/OID 10.1.2
• Portal 10.1.4
• WebCache 10.1.2
• Collab Suite 10.1.2
• WB 10gR1
• EM 10.1.2
• Integration Server 10.1.3

26 Copyright © 2006, Oracle. All rights reserved.


Database 10.2

Component R12.0 Version Used By

Database Tier
Oracle Database (EE) 10.2.0.2 ALL
XDK -Database 10.2.0.2 ALL
XDB - Database 10.2.0.2 ALL
Workflow 2.6 ALL
InterMedia option 10.2.0.2 ALL
Spatial option 10.2.0.2 CSF
Data Mining option 10.2.0.2 AMS
Database JVM 1.4.2 ALL
JDK for AutoConfig on DB tier 5.0 ALL
Oracle Configuration Manager 10.2.3 n/a
(OCM) in Database Oracle
Home

Apps Middle Tier


27 Copyright © 2006, Oracle. All rights reserved.
AS 10.1.3 Java Stack
Apps Middle Tier

Apps Middle Tier (Run-time Java Components)


Apache 1.3.33 ALL
OC4J Container 10.1.3 ALL
JDK for web tier (including jsp 5.0 ALL
compilation)
JDK for concurrent processing 5.0 ALL
tier
JDK for AD Utilities (including 5.0 ALL
jar signing)
Info-Zip 5.50 AD

Apps Middle Tier (Java)


iAS PatchSet 10.1.3.0 ALL
Oracle Configuration Manager 10.2.3 n/a
(OCM) in iAS Oracle Home
OC4J 10.1.3 ALL
OJSP 10.1.3 (ojsp 2.0 ALL
spec)
Servlet 10.1.3 (servlet ALL
2.4 spec)
SOAP 10.1.3 (SOAP ATG
1.2 spec)
HTTPClient library 10.1.3 ALL
(Database
28 10.1.0.5© 2006, Oracle. All rights reserved.
Copyright
AS 10.1.3 Java Stack
HTTPClient library 10.1.3 ALL
(Database
10.1.0.5
patchset)
AQ APIs 10.1.3 ALL
JMS 10.1.3 (JMS 1.1 ALL
spec)
SQL Utilities 10.1.3 ALL
XML Parser for PL/SQL 10.1.3 ALL
XML Parser for Java 10.1.3 ALL
XML Translation for Forms 10.1.2.0.2 OAM
Trace Files
XDB library (xdb.jar) 10.1.3 ALL
Java Object Cache 10.1.3 ALL
OSDT libraries 10.1.3 ALL
SSL library 10.1.3 ALL
Java Mail 10.1.3 (Java Mail ALL
1.3.1 spec)
EJB 10.1.3 (2.1) ALL
JNDI 10.1.3 (1.2) ALL
JAX-RPC 10.1.3 (1.1) ATG
Java libraries for Forms 10.1.2.0.2 ALL
Oracle Data Mining middle tier 10.2.0.2 AMS
jar file

Apps Middle Tier (Rehosting Oracle Java Lib raries)


JDBC Thin Drivers 10.2.0.2 ALL
29 Copyright © 2006, Oracle. All rights reserved.
AS 10.1.3 Java Stack

Apps Middle Tier (Rehosting Oracle Java Lib raries)


JDBC Thin Drivers 10.2.0.2 ALL
Load Java / Aurora 10.2.0.2 AD
BI Beans 3.1 ALL
BC4J 10.1.3 ALL
UIX 2.3 ALL
JEWT 10.1.3 (4.2.36) ALL
Jdev libraries 10.1.3 ALL
Jrad libraries 10.1.3 ALL
MDS libraries 9.0.5 ALL
Digital Signature Library 10.1.2.0.2 FND-WorkFlow
Oracle PKI library 10.1.2.0.2 FND-WorkFlow,
IBY
XDO Parser 10.2.0.1 XDO
Oracle Help for Web 2.0.11 FND-AOL/J
MapViewer 10.1.2 CSF,
Transportation
Planning
Oracle Lite 10.2.0.2 ASG, CSF
30 Oracle Graph BuilderCopyright © 2006, Oracle. All rights reserved.
1.0.4
AS 10.1.3 Java Stack
MapViewer 10.1.2 CSF,
Transportation
Planning
Oracle Lite 10.2.0.2 ASG, CSF
Oracle Graph Builder 1.0.4
Oracle OLAP Web Agent 9.2.1 Demand Planning
WSRP Portlet Container 10.1.3 ALL
JPDK JPDK 10.1.2 ALL
SSO Development Kit mod_osso ALL
10.1.3
Oracle RTC Messenger 10.1.2 DBI
AW XML jar files 10.2.0.2 DBI

Apps Middle Tier (Rehosting non-Oracle Java Lib raries)


Sun Collections 1.2 ALL
Formula One e.Spreadsheet 8.0 BSC
Engine

31 Copyright © 2006, Oracle. All rights reserved.


AS 10.1.3 Java & C Stack
Apps Middle Tier (Rehosting non-Oracle Java Lib raries)
Sun Collections 1.2 ALL
Formula One e.Spreadsheet 8.0 BSC
Engine
D&B Global Access 2.4 TCA
Sentry Spell Checker Engine 5.9 IEM
for Java
JGL 3.1 IEU

Apps Middle Tier (Forms/Reports/C)


iAS patchset 10.1.2.0.2 ALL
Oracle Developer - Forms 10.1.2.0.2 ALL
Oracle Developer - Reports 10.1.2.0.2 ALL
Oracle Developer Client 10.1.0.5 ALL
Libraries

Apps Middle Tier (non-Oracle C/C++ Rehosting Lib raries)


iLog Solver/ Scheduler 6.2 MRP, MSO, MSR,
MTO, WPS
CPLEX 10.0 MSC, MST, MSR,
32 Copyright © 2006, Oracle. All rightsMSO, MTO, WPS
reserved.
AS 10.1.2 C Stack & External Stack
Apps Middle Tier (non-Oracle C/C++ Rehosting Lib raries)
iLog Solver/ Scheduler 6.2 MRP, MSO, MSR,
MTO, WPS
CPLEX 10.0 MSC, MST, MSR,
MSO, MTO, WPS
Quantum C 2.7.1 PAY
tools.h++ 7.0.8 FEM, FTP, PFT

Other Middle Tier (Non-Emb edded Applications Integration)


Oracle AS10g SSO/OID 10.1.2 ALL
Oracle AS10g Portal 10.1.4 ALL
Oracle WebCache 10.1.2 ALL
Oracle Discoverer 10g 10.1.2.0.2 ALL
Integration Server 10.1.3.1
Collaboration Suite 10g 10.1.2
Warehouse Builder 10gR1
Enterprise Manager 10.2.0.2 ALL
Oracle Content DB 10.2.0.0 PLM
Oracle Data Vault 10.2.0.2 ALL

Client Tier

33 Client Tier (Rehosting non-Oracle Java Lib raries)


Copyright © 2006, Oracle. All rights reserved.
Desktop Stack

Client Tier (Rehosting non-Oracle Java Lib raries)


Tom Sawyer Graph Editor 3.1 IES
Toolkit
Perspective for Java (with 1.1 MRP,MSC, AST,
EWT) CSC, CSF

Client Tier (Run-time Java Components)


Desktop Java Plug-in 5.0 ALL
Browser - IE 6.0 ALL
Browser - Netscape 7.2 ALL
Browser - FireFox 1.5 ALL
Browser - Safari 2.0 ALL

Internal (Development Tools/Components)


Oracle Jdeveoper 10.1.3 ALL
ARU Java compiler 5.0 ALL
34 Copyright © 2006, Oracle. All rights reserved.
Development Stack & Obsolete Stack

Internal (Development Tools/Components)


Oracle Jdeveoper 10.1.3 ALL
ARU Java compiler 5.0 ALL
ARU C compiler icc 7.1.032 ALL
ARU C++ compiler g++ 3.2.3 ALL

Deprecated Java Technology


NetCharts 3.7 MRP, BOM
Perspective for Java (with 1.1 MRP,MSC, AST,
WET) CSC, CSF

Obsolete Java Technology


Personalization (dropped) AMS
iFS Java libraries n/a ALL
SAX Parser (sax2.zip) (dropped) FND

35 Copyright © 2006, Oracle. All rights reserved.


Your Questions – External Technology

Will Portal, LDAP, Wireless, BI, BPEL will be included as


available options during the installation?
A: No – these external technologies are installed
separately

In order to enable the optional components of 10gAS


(Portal, SSO etc.) can I use the 10gAS bundle with the
R12 eBS (licensing what is needed) or I have to install a
separate 10gAS on a different Oracle_Home?
A: No – use new separate installs in different
Oracle_Home, so that you can patch & update them
separately / asynchronously

36 Copyright © 2006, Oracle. All rights reserved.


Your Questions - Certification

What is the plan for Windows Vista certification for both


server and client?
A: Intent is to certify both, but no detailed dates are
available.

R12 is certified to run in client Linux?


A: Based on the early adopters program for R11i, we will
certify this at a later date. No date exists, since we depend
on third party bugs being fixed.

37 Copyright © 2006, Oracle. All rights reserved.


Your Questions - JInitiator

How will FORMS function without Jinitiator? How is the


performance?
A: Oracle Forms client will run using the native Sun JVM.
Performance is comparable (network, memory, cpu). Note
the native JVM settings might need to be manually
adjusted
Simplifies situations with multiple Java client applications
Should be cheaper for customers, not more expensive

38 Copyright © 2006, Oracle. All rights reserved.


Your Questions – Fusion Middleware

When will AS 10.1.2.2 and AS 10.1.3.1 patchsets be


certified?
A: In the same timeframe as base release R12.0

Will sessions on some AP node of OAF be able to replicate


to other AP node for high availability?
A: Believed to be still under investigation. Check with
George Kellner on Wed.

39 Copyright © 2006, Oracle. All rights reserved.


Your Questions - Database Features

How easy will it be to implement the RAC option to the


database?
A: Easier – Apps now leverages native DB RAC setup tools

Can TAF(Transparent application failover) feature for RAC


be used in R12?
A: Should not work since although db connection will
failover, some of the Apps required states might not
Can 10g DB service function be used in R12 in order to use
dynamic load balancing of GRID?
A: Should work, not certified
Does R12 uptake of any DB 10g new feature like Data vault,
Audit Vault, TDE, Secure Enterprise Search...etc?
A: Yes, work in progress on certifying SES, DB Vault, TDE.
40 Copyright © 2006, Oracle. All rights reserved.
Your Questions - Platforms

Which are the OS platform that will be released with the


first R12 release?What is a plan for new platform support
for middle tier since we're released from old tech stack
for mid tier? When HP-UX Itanium will be available, the
first R12 release? How about Linux Itanium, Linux x86-
64, Windows Itanium and Windows x86-64?

A: Current plans, subject to change:

R12 first phase plan is 4 full port platforms (application


and database tiers): Linux x86 and the three RISC
platforms, HP UX PA-RISC, IBM AIX, and Sun Solaris
Operating System (SPARC).
41 Copyright © 2006, Oracle. All rights reserved.
Your Questions - Platforms

The currently committed platforms for R12 (delivered in


two phases) are: HP-UX PA-RISC, HP-UX Itanium, IBM
AIX, Linux x86, Linux x86-64, Microsoft Windows Server
2003, and Sun Solaris Operating System (SPARC).

Split config database tier platforms planned:


The split configurations database tiers platforms are not
yet on a schedule, but we assume any other 11.5.10.2
split config platform certified by end of the year with
10gR2 database tier will also be able to be certified for
R12. Thus for R12 split configs would be (though no date
yet): Linux Itanium, Microsoft Windows Server 2003 x64,
Microsoft Windows Server 2003 Itanium, IBM Linux on
System z, Sun Solaris Operating System (x64).
42 Copyright © 2006, Oracle. All rights reserved.
Your Questions - Configuration

Which kind of built-in configuration capabilities will be


provided by Oracle Application Manager or OEM (like SSL
implementation via a wizard, ...)?
A: No UI wizards will be available for base R12.0, but will
have command line wizards and doc

For Load Balancing and High-availability is 3rd party


hardware (BIG IP, CISCO, F5, etc) necessary or i can use
webcache only?
A: Base R12.0 will have only BigIP certified, and we believe
others should work

43 Copyright © 2006, Oracle. All rights reserved.


<Insert Picture Here>

Configuration Changes

44 Copyright © 2006, Oracle. All rights reserved.


Configuration Solutions

Root level separation of code from the run-time instance


files (configuration)
Improved AutoConfig configuration management
infrastructure
Central profile management
Support for OC4J application deployment

Custom subdirectory for customizations

Outstanding features: No DB Write and Preview Mode

45 Copyright © 2006, Oracle. All rights reserved.


Config Features Beyond 12.0

Full EBS SSL support


• Available in 11.5.10 ; not in 12.0
• Some traffic between servers might still be non-SSL, even
though all browser bound traffic would use SSL
• Customer Impact: Defense and Financial industry
customers who insist on SSL anywhere, would not be able
to used SSL for
– WebServices & Transport Agent which have special requirements for
client authentication
– Configurator, Order Management, iStore, Order Capture, Quoting,
iPayment, and Pricing establish SSL connections outbound from the
Database tier
• Plan: provide this feature after 12.0

46 Copyright © 2006, Oracle. All rights reserved.


Config Features Beyond 12.0

More Flavors of Mid Tier Load Balancing


• Available in 11.5.10 ; not in 12.0
• Only BigIP will be certified initially
• Customer Impact: customers with multiple middle tier nodes
would have to implement load balancing via BigIP, or wait for
documentation
– GE uses DNS layer load balancing;
– Cisco uses web and JVM layer (OC4J) load balancing
– Native OC4J doc will likely conflict with AutoConfig
• Plan: certify and provide doc after 12.0

47 Copyright © 2006, Oracle. All rights reserved.


<Insert Picture Here>

File System Changes

48 Copyright © 2006, Oracle. All rights reserved.


Release 12 File System Changes

Rapid Install/Rapid Clone layout


• db, apps, inst
Instance Home
• Configuration, logs, certificates
JAVA_TOP
• lib and classes directories
OA_HTML
• j2ee structure changes
• webapps/oacore/html/WEB-INF

49 Copyright © 2006, Oracle. All rights reserved.


Release 12 Filesystem

Rapid Install/Rapid Clone will implement (xbuild6)


• <apps_base>/db/tech_st/10.2.0
• <apps_base>/db/apps_st/data

• <apps_base>/apps/tech_st/10.1.2
• <apps_base>/apps/tech_st/10.1.3
• <apps_base>/apps/apps_st/appl
• <apps_base>/apps/apps_st/comn

• <apps_base>/inst/apps/<context_name>

50 Copyright © 2006, Oracle. All rights reserved.


Instance Home Advantages…

Configuration and log files are centrally located in a config


home
Clear distinction between location of code, configuration
and logs
Ability to place the config home on a Network or a local file
system for performance improvement

51 Copyright © 2006, Oracle. All rights reserved.


Instance Home More…

Ability to share code (Apps, Techstack) among multiple


instances ( Dev,Test, Production)
Collection of configuration and logs is much easier since
they are centrally located
Ability to split ownership of apps and technology stack file
systems

52 Copyright © 2006, Oracle. All rights reserved.


Instance Home

Instance or Configuration Home


Contains instance specific files
• Configuration
• Logs
• Scripts
• Default location
– <apps_base>/inst/apps/<context_name>
Implementation of shared file system and/or read-only
ORACLE_HOME’s and APPL_TOP
Standalone instance also implemented this way

53 Copyright © 2006, Oracle. All rights reserved.


Instance Home - structure

<apps_base>/inst/apps/<context_name> ($INST_TOP)
– /admin
— /scripts ($ADMIN_SCRIPTS_HOME)
– /appl ($APPL_CONFIG_HOME)
— /fnd/12.0.0/secure ($FND_SECURE)
– /certs
– /logs ($LOG_HOME)
– /ora ($ORA_CONFIG_HOME)
— /10.1.2
— /10.1.3 ($ORACLE_CONFIG_HOME)
– /pids
– /portal

54 Copyright © 2006, Oracle. All rights reserved.


Instance Home - admin

<apps_base>/inst/apps/<context_name> /admin
– /install
– /log … AutoConifg writes logs here
– /out
– /scripts

adautocfg.sh - run autoconfig


adstpall.sh - stop all services
adstrtal.sh - start all services
adapcctl.sh - start/stop/status Apache only
adformsctl.sh - start/stop/status OC4J Forms
adoacorectl.sh - start/stop/status OC4J oacore
adopmnctl.sh - start/stop/status opmn
adalnctl.sh - start/stop RPC listeners (FNDFS/FNDSM)
adcmctl.sh - start/stop Concurrent Manager
gsmstart.sh - start/stop FNDSM
jtffmctl.sh - start/stop Fulfillment Server
adpreclone.pl - Cloning preparation script
adexecsql.pl - Execute sql scripts that update the profiles in an AutoConfig run
java.sh - Call java executable with additional args, (used by opmn, Conc. Mgr)

55 Copyright © 2006, Oracle. All rights reserved.


Instance Home - appl

<apps_base>/inst/apps/<context_name> /appl $APPL_CONFIG_HOME *

• /admin
– Empty in standalone instance where APPL_CONFIG_HOME value is APPL_TOP
– Contains these files if APPL_CONFIG_HOME value is not APPL_TOP
topfile.txt, adjareas.txt, adjborg2.txt, adjborg.txt,
adovars.env, adconfig.txt, <CONTEXT_FILE>.xml

• /fnd/12.0.0/secure $FND_SECURE

* For a standalone instance APPL_CONFIG_HOME will be set to $APPL_TOP


A small set of files created by AutoConfig that are used by adpatch are still
required in APPL_TOP. (Context variable s_appl_config_home)
In a multi node environment, only the node where adpatch is run is
APPL_CONFIG_HOME set to APPL_TOP. Other nodes are set to
s_config_home/appl in the context file.
(AD bug 4915840 closed status 44)

56 Copyright © 2006, Oracle. All rights reserved.


Instance Home - certs

<apps_base>/inst/apps/<context_name> /certs
– /Apache
— ewallet.p12
– /opmn
— cwallet.sso
— ewallet.p12

certs is the default directory for SSL or other certificate files used
by this instance. To use a centrally stage certificate change the
appropriate context file variables and run AutoConfig

57 Copyright © 2006, Oracle. All rights reserved.


Instance Home - logs

<apps_base>/inst/apps/<context_name> /logs $LOG_HOME


• /appl
– /admin
— /conc $APPLCSF
— /oam
— /rgf $APPLRGF

• /ora
— /10.1.2/network
— /10.1.3
— /Apache
— /j2ee/forms
/oacore
— /javacache

adpatch logs still created in $APPL_TOP


AutoConfig logs created in $INST_TOP/admin/logs

58 Copyright © 2006, Oracle. All rights reserved.


Instance Home – ora/10.1.2

<apps_base>/inst/apps/<context_name> /ora/10.1.2
• <context_name>.env
• /forms/server
– appsweb.cfg
– default.env
/network/admin $TNS_ADMIN
– listener.ora
– tnsnames.ora

This is the configuration for the ‘C’ ORACLE_HOME, set when running
Concurrent Managers and AD utilities.

59 Copyright © 2006, Oracle. All rights reserved.


Instance Home – ora/10.1.3

<apps_base>/inst/apps/<context_name> /ora/10.1.3
$ORACLE_CONFIG_HOME

• <context_name>.env
• /Apache/Apache/conf
– apps.conf, httpd.conf, oracle_apache.conf, ssl.conf
– dms.conf, mod_oc4j.conf, security.conf, url_fw.conf
• /config
– ias.properties (used by EM agent)
• /j2ee/forms/config (same files as for oacore)
• /j2ee/oacore/config
– applications.xml, default-web-site.xml, global-web-application.xml
– j2ee-logging.xml, jms.xml, oc4j-connectors.xml, oc4j.properties,
– rmi.xml, server.xml, system-application.xml, system-jazn-data.xml
• /j2ee/oacore /application-deployments/oacore
– orion-application.xml
• /j2ee/oacore /application-deployments/oacore/html
– orion-web.xml

60 Copyright © 2006, Oracle. All rights reserved.


Instance Home – ora/10.1.3

<apps_base>/inst/apps/<context_name> /ora/10.1.3 (continued…)


• /javacache
• /network/admin $TNS_ADMIN
– listener.ora, tnsnames.ora
• /opmn
– /bin/opmnctl
– /conf/opmn.xml …. root of 10.1.3 configuration
– /logs *
— HTTP_Server~1
— OC4J~forms~default_group~1
— OC4J~oacore~default_group~1

* opmn/logs directory cannot be moved from here.

61 Copyright © 2006, Oracle. All rights reserved.


Instance Home – pids

<apps_base>/inst/apps/<context_name> /pids *
• /10.1.3/Apache
— httpd.pid
— httpd.lock

• /appl
— reviver.sh_<context_name>.pid (for Conc. Manager)

* pids directory should be located on machines local disk

<apps_base>/inst/apps/<context_name> /portal
– aplogin.html, index.html, etc

62 Copyright © 2006, Oracle. All rights reserved.


COMMON_TOP Changes - java

$COMMON_TOP/java ($JAVA_BASE)
– /classes ($JAVA_TOP)
— Contains expanded class file directories
– /lib ($AF_JLIB)
— Contains zip and jar files

adovars.env changed to implement these changes.

The reason for this change is due to the way OC4J automatically includes zip and
jar files into the CLASSPATH. Before making this change, including $JAVA_TOP to
pick up the expanded classes directories picked all the zip and jar files causing class
version conflicts at OC4J startup.

63 Copyright © 2006, Oracle. All rights reserved.


COMMON_TOP Changes - html

$COMMON_TOP/webapps
• /oacore/html ($OA_HTML)
— Contains all the .html, .jsp, .css, .xml files
— This change made to meet J2EE requirements

• Extra files to meet J2EE requirements


— /webapps/oacore/html/WEB-INF/web.xml
— web.xml normally contains servlet definitions and mappings. To implement shared file system, this
information is configured in $ORACLE_CONFIG_HOME/j2ee/oacore /application-
deployments/oacore/html/orion-web.xml
— web.xml is a basic file with no servlet definitions, shared by all instances
— /webapps/oacore/META-INF/application.xml

64 Copyright © 2006, Oracle. All rights reserved.


References

Cheat Sheet available at http://www-


apps.us.oracle.com:1100/%7Efinops/R12/R12_Techstack_File_Sy
stem_Changes.html
More training materials at TXK DDR R12 training page
R12 Apps Division New Stack Web Site:
• http://www-apps.us.oracle.com/techstack/r12index
Support for Upgrade:
• File bug with TechStack prod 1745

Forms
• Release 12 uses only the Forms Listener Servlet which does not require a
separate certificate.

Oracle Wallet Manager


• Command Line Interface (CLI)
65 Copyright © 2006, Oracle. All rights reserved.
<Insert Picture Here>

OC4J Primer

66 Copyright © 2006, Oracle. All rights reserved.


Latest Standards-Based Technology

Oracle Application Sever (AS) includes Oracle's Containers for


J2EE (OC4J)
Through OC4J you can execute Servlets, Java Server Pages
(JSP), Enterprise Java Beans (EJB)
OC4J replaces the older JServ implementation for running
servlets on the web server
Oracle Application Server 10gR3 (10.1.3) is the latest production
version
OC4J is based on J2EE standards:
• Specific directory structure
• File requirements (content & naming convention)
• XML file definition
R12 creates 3 OC4J instances:
• Oacore (runs OA Framework-based applications), Forms (runs
Forms-base applications), OAFM (ws, mapviewer, ascontrol)

67 Copyright © 2006, Oracle. All rights reserved.


10.1.3 Components

10.1.3 Components
Oracle HTTP Server 10.1.3.0.0 (Apache 1.3.34)
OC4J
OPMN
Does not include:
Forms and Reports
Portal (included in 10.1.2 and 10.1.4)
Discoverer
Web Cache (included in 9.0.4, 10.1.2)
Identity Management (OID,SSO included in9.0.4
and 10.1.2)

68 Copyright © 2006, Oracle. All rights reserved.


Top Level Directory

10.1.3/...env file:
ORACLE_HOME, LD_LIBRARY_PATH, PATH, TNS_ADMIN, TWOTASK ..

/Apache/Apache/conf/apps.conf, httpd.conf ...


OC4J: oacore & forms
/application (application deployed from this directory.)
/application-deployment (oc4j deploys to application-
deployments and uses these when starting and
restarting your application.)
/config (common settings for all J2EE applications for this
instance.)

69 Copyright © 2006, Oracle. All rights reserved.


OC4J Deployment

Servlet deployed to OC4J server must adhere to J2EE


specification
Deployment is through an Enterprise Archive (ear) file, includes
the application code (JAR) and Web Application (WAR files,
servlets, jsp code)
Formsapps.ear 10.1.2 is deployed to the 10.1.3

70 Copyright © 2006, Oracle. All rights reserved.


OC4J oacore deployment

Apps application is pre-deployed by Rapid install and


maintained by adpatch which performs file level
patching.
To redeploy this as an .ear file would create an 800MB
file.A single file change would require a new .ear file to
be deployed.
To workaround this a dummy .ear file is deployed which
contains no code. This creates the correct OC4J
structure and other services such as opmn to manage.
This is then modified to remove the dummy ear with
oacore. Shared libraries are also added.

71 Copyright © 2006, Oracle. All rights reserved.


Server.xml

OC4J server configuration file.


J2EE application specification.
10.1.3/j2ee/oacore/config/server.xml
<shared-library name="oracle.jdbc" version="12.0.0" library-
compatible="
true">
<code-source
path="/d1/home/user2/r12/visr12comn/java/jdbc14.zip"/>
<application name="oacore" path="/d1/home/user2/r12/visr12comn"
start="true" />
</shared-library>

10.1.3/j2ee/forms/config/server.xml
<application name="forms" path="../applications/forms.ear"
parent="default" start="true" />
72 Copyright © 2006, Oracle. All rights reserved.
Forms.ear

-bash-2.05b$ unzip -l forms.ear


689 04-29-04 14:01 META-INF/application.xml
197180 07-14-05 01:33 formsweb.war

-bash-2.05b$ unzip -l formsweb.war


Archive: formsweb.war
0 07-14-05 01:33 WEB-INF/
0 07-14-05 01:33 WEB-INF/lib/
204444 07-14-05 01:33 WEB-INF/lib/frmsrv.jar
691 07-14-05 01:33 WEB-INF/orion-web.xml
3165 07-14-05 01:33 WEB-INF/web.xml

73 Copyright © 2006, Oracle. All rights reserved.


OC4J.properties

Parameters for OC4J


10.1.3/j2ee/oacore/config/oc4j.properties

oracle.home <full path>/visr12ora/10.1.3


APPL_TOP=../visr12appl
FND_TOP=../visr12appl/fnd/12.0.0
FND_SECURE=../visr12appl/fnd/12.0.0/secure/VISR12_ap6001atg
COMMON_TOP=../visr12comn
OA_HTML=../visr12comn/html
OA_MEDIA=../visr12comn/java/oracle/apps/media
EXTERNAL_URL=http://....us.oracle.com:601

74 Copyright © 2006, Oracle. All rights reserved.


Orion-application.xml

OC4J definition.

10.1.3/j2ee/oacore/application-deployments/oacore/orion-application.xml
Location of apps classes:
<library path="/d1/home/user2/r12/visr12comn/java/classes" />

10.1.3/j2ee/forms/application-deployments/forms
<web-module id="formsweb" path="formsweb.war" />

75 Copyright © 2006, Oracle. All rights reserved.


Orion–web.xml

• Servlet configuration file:


j2ee/forms/application-deployments/forms/formsweb/orion-
web.xml
<context-param-mapping
name="configFileName">/d1/home/user2/r12/visr12comn/
config/VISR12_ap6001atg/forms/server/formsweb.cfg</cont
ext-param-mapping>
<virtual-directory virtual-path="/html" real-
path="/d1/home/user2/r12/visr12ora/10.1.2/tools/web/html"
/>
<virtual-directory virtual-path="/java" real-
path="/d1/home/user2/r12/visr12ora/10.1.2/forms/java" />
<virtual-directory virtual-path="/webutil" real-
path="/d1/home/user2/r12/visr12ora/10.1.2/forms/webutil"
/>
<virtual-directory virtual-path="/jinitiator" real-
76 path="/d1/home/user2/r12/visr12ora/10.1.2/jinit"
Copyright © 2006, Oracle. All rights reserved. />
Application Server Control ASC

Runs as a J2EE application (ascontrol) that runs within


every OC4J container created.
Oracle HTTP Server port(:7777/em user oc4jadmin).

Prior releases (10.1.2, 9.0.4.. ) required a separate agent.


Start emctl start iasconsole. Different Port no.
Uses less disk space and fewer system resources
UI to deploy J2EE applications
Configure auditing, logging, security, performance
Role-Based Administration

77 Copyright © 2006, Oracle. All rights reserved.


OPMN

Oracle Process Manager and Notification Server (OPMN) is


used to manage AS components.
Consists of:
Oracle Notification Server (ONS)
Delivers notification between components
OHS<->OPMN<->OC4J
Process Manager (PM)
start,stop, restart, death detection
Core
Core logic, parses config files, launch scripts.

78 Copyright © 2006, Oracle. All rights reserved.


OPMN Status

opmnctl can be used to query the status of running


components.
10.1.3/bin/opmnctl status
Processes in Instance: VISR12_ap6001atg.ap6001atg.us.oracle.com
------------------------+----------------------+-----------+---------
ias-component | process-type | pid | status
------------------------+----------------------+-----------+---------
OC4J | forms | 16711 | Alive
OC4J | oacore | 8964 | Alive
OC4J | home | 8943 | Alive
HTTP_Server | HTTP_Server | 8942 | Alive

79 Copyright © 2006, Oracle. All rights reserved.


OPMN Start/Stop

opmnctl stopall/startall
opmnctl stopproc type=oc4j
instancename=oacore
opmnctl: stopping opmn managed processes...
opmnctl status
Processes in Instance: VISR12_ap6001atg.ap6001atg.us.oracle.com
--------------------------+-------------------------+------------+---------
ias-component | process-type | pid | status
--------------------------+-------------------------+------------+---------
OC4J | forms | 20985 | Alive
OC4J | oacore | N/A | Down
OC4J | home | 20947 | Alive
HTTP_Server | HTTP_Server | 20946 | Alive

opmnctl stopproc ias-component=HTTP_Server


opmnctl status –l (-l display ports)
80 Copyright © 2006, Oracle. All rights reserved.
Log Files

Logs files can be configured to generate:


Plain text (default)
No log rotation, need to be manually removed.

Oracle Diagnostics Logging (ODL)


XML format, logs rotation, based on
file size and directory size.

81 Copyright © 2006, Oracle. All rights reserved.


ODL Output

Sample output for Apache (Apache/Apache/logs/oracle/log.xml).


<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2006-02-14T11:53:34.3871Z</TSTZ_ORIGINATING>
<ORG_ID>oracle.com</ORG_ID>
<COMPONENT_ID>OHS</COMPONENT_ID>
<MSG_TYPE TYPE="NOTIFICATION"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>ap6001atg</HOST_ID>
<MODULE_ID>mod_ossl.c</MODULE_ID>
<PROCESS_ID>5271</PROCESS_ID>
</HEADER>
<PAYLOAD>
<MSG_TEXT>Server: Oracle-HTTP-Server/1.3.34, Interface: mod_ossl/10.1.3.0.0,
Library: </MSG_TEXT>
</PAYLOAD>
</MESSAGE>

82 Copyright © 2006, Oracle. All rights reserved.


OPMN Log Files

Only generates plain text log files.


opmn.log commands, exit status process, log rotation.
opmn.dbg debug log messages (english text only)
opmn.out stdout & stderr messages, log rotation
Logging is enabled per component (internal, ons or pm).
Levels are (component codes)
none, fatal, error, warn, notify (written to .log)
debug1, debug2, debug3, debug4 (written to .dbg)

83 Copyright © 2006, Oracle. All rights reserved.


OPMN Setting Log Level

Edit configuration file to permanently set level:


10.1.3/opmn/conf/opmn.xml
<opmn xmlns="http://www.oracle.com/ias-instance">
<log path="$ORACLE_HOME/opmn/logs/opmn.log" comp="internal;ons;pm" rotation-
size="1500000"/>
<debug path="$ORACLE_HOME/opmn/logs/opmn.dbg" comp="" rotation-
size="1500000"
/>

84 Copyright © 2006, Oracle. All rights reserved.


OPMN Setting Log Level

Set level for a running opmn.

opmnctl query target=log


internal;ons;pm

opmnctl set target=log comp=warn


opmnctl set target=debug comp=debug1

85 Copyright © 2006, Oracle. All rights reserved.


Apache Log Level

Log Levels
emerg Emergencies, system is not useable
alert Action must be taken
crit Critical conditions
error Error conditions
warn Warning conditions
notice Normal but significant condition
info Information
debug Debug level messages

/10.1.3/Apache/Apache/conf/httpd.conf
LogLevel warn

86 Copyright © 2006, Oracle. All rights reserved.


Apache Plain Text Log Files

Error Log (error messages and diagnostics):


ErrorLog
"/d1/home/user2/r12/visr12ora/10.1.3/Apache/Apache/bin/rotat
elogs
/d1/home/user2/r12/visr12ora/10.1.3/Apache/Apache/logs/error
_log 86400“
Access Log (all requests processed by the server)
CustomLog
"/d1/home/user2/r12/visr12ora/10.1.3/Apache/Apache/bin/rotat
elogs /d1
/home/user2/r12/visr12ora/10.1.3/Apache/Apache/logs/access_log
43200“

Server Console, can also be used to view these logs,


87 search, regular Copyright
expressions.
© 2006, Oracle. All rights reserved.
Apache ODL Log files

To enable HTTP Server to use ODL set the Log


Mode:
oracle Multi line log records in XML format,
provides the most information.
odl Standard apache log format and ECID info.
apache Standard apache log format.

Log Severity used with oracle Log Mode


(LogLevel is ignored in httpd.conf file)
INTERNAL_ERROR
ERROR
WARNING
NOTIFICATION
TRACE
88 Copyright © 2006, Oracle. All rights reserved.
Apache ODL Log files

Specify message level :


1-32 (1 most severe, 32 least)
These equate to Apache Log Levels as follows
debug TRACE:32
info NOTIFICATION:32
error ERROR:32
Create 'Oracle‘ directory
/Apache/Apache/logs/oracle
/Apache/Apache/logs/Oracle/Apache/Apache/conf/httpd.conf
add:
OraLogMode oracle
OraLogSeverity NOTIFICATION
89 Copyright © 2006, Oracle. All rights reserved.
OC4J Plain Text Log files

Each OC4J is configured to generate a log file.


10.1.3/j2ee/forms/application-deployments/forms/orion-application.xml
<log>
<file path="application.log" />
</log>

Logged to
10.1.3/j2ee/forms/application-
deployments/forms/forms_default_group_1/application.log

90 Copyright © 2006, Oracle. All rights reserved.


OC4J ODL (XML Format)

Logging configuration:
10.1.3/j2ee/oacore/config/j2ee-logging.xml

<property name='maxFileSize' value='10485760'/>


<property name='maxLogSize' value='104857600'/>
<logger name='oracle' level='NOTIFICATION:1' useParentHandlers='false'>

91 Copyright © 2006, Oracle. All rights reserved.


OC4J ODL Log Levels

Various logging levels

ODL Message Type Java Log Level


ERROR:1 errors requiring attention from sys admin
SEVERE
WARNING:1 actions discovered to be reviewed before errors occur
WARNING
NOTIFICATION:1 Normal actions/events logged i.e user operations login. INFO
NOTIFICATION:16 Logs config related messages CONFIG
TRACE:1 Debug message for debugging or perf monitoring FINE
TRACE:16 More detailed trace/debug info
FINER
TRACE:32 Highest detail or debug messages
FINEST

92 Copyright © 2006, Oracle. All rights reserved.


OC4J Enabling ODL

10.1.3/j2ee/oacore/application-deployments/oacore/orion-
application.xml

<log>
<!-- file path="application.log" /-->
<odl path="../log/oacore/" max-file-size="1000" max-directory-size="10000"/>
</log>

Logged to 10.1.3/j2ee/oacore/log/oacore_default_group_1/oc4j/log.xml

93 Copyright © 2006, Oracle. All rights reserved.


Execution Context ID ECID

The Execution Context ID Allows message correlation


between components.
ECID is a unique identifier associated with a thread of
operation.

Format:
request_id (unique for each request)
sequence_no (hop num incremented as it moves
through components).

94 Copyright © 2006, Oracle. All rights reserved.


ECID

Plain text based logs:


[Tue Feb 14 05:05:57 2006] [error] [client 138.3.31.60]
[ecid: 1139922357:140.87.92.101:10006:0:1,0] …
ODL logs:
<MESSAGE>

<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>140.87.92.101:9555
2:1139916112776:1</UNIQUE_ID><
SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
..
95 Copyright © 2006, Oracle. All rights reserved.
Health Check Pages

Health Check ...:port/j2ee/


JSP Test Page (Large list of test to run)
Servlet Test Page
Hello World Execute Source
Request Info Execute Source
Request Headers Execute Source
Request Parameters Execute Source
Cookies Execute Source
Sessions Execute Source
Snoop Execute Source
ToJSPServlet Execute Source

96 Copyright © 2006, Oracle. All rights reserved.


97 Copyright © 2006, Oracle. All rights reserved.
<Insert Picture Here>

Forms10 Primer

98 Copyright © 2006, Oracle. All rights reserved.


What’s New in Forms 10

Forms Servlet Listener is default. There is no Forms


Server Listener or Client/Server mode
Customers with severe WAN performance problems will
be allowed to use Forms Server with hardware for ssl &
loadbalancing
Native forms runtime executable with shared library for
user exits, replaces the statically linked Applications
runtime executable
Forms Trace in addition to Forms Runtime Diagnostics
(FRD)
Updated Swan UI

99 Copyright © 2006, Oracle. All rights reserved.


What’s New in Forms10

FORMS_ environment variables replace FORMS60_.


New environment variables e.g. FORMS_TRACE_DIR.
The forms builder is not installed as part of the 10.1.2
home.
The forms builder needs to be installed separately as part
of the Developer Suite (may change based on outcome
of 4758443).
• $ORACLE_HOME/bin/frmbld.sh replaces f60desm for
design.
• Modify the frmbld.sh shell script to customize settings e.g.
FORMS_PATH.
Generation tools are delivered as part of the Runtime
Services and Developer Suite installations.
• frmcmp.sh and frmcmp_batch for generation.
• Modify the shell script to customize settings.
100 Copyright © 2006, Oracle. All rights reserved.
Deployment Decisions
Forms Servlet vs. Server

Forms10 is deployed in 10.1.3 oc4j container


By default configured as servlet
• Pros: standards-based servlet communication enables
easy networking (firewalls, load balancing, proxies)
• Cons: socket communication performs better over WAN
Manual instructions on configuring Forms Server
• Minimal AutoConfig support
• No native SSL – must use hardware solution
• No native load balancing – must use hardware solution

101 Copyright © 2006, Oracle. All rights reserved.


Architecture Overview

10.1.3 Home delivers


• Currently Two OC4J instances one for oacore and the other for forms.
• Service Management.
10.1.2 Home delivers
• Runtime (10.1.2.0.2) executable $ORACLE_HOME_1012/bin/frmweb.
• Forms generator.
• Forms diagnostics and translation utility.
Applications delivers
• Configuration Files via the COMMON_TOP *1.
• Shared library for the user exits $FND_TOP/bin/libfmxit. This is
referenced by the FORMS_USEREXITS environment variable.

*1 Subject to Change

102 Copyright © 2006, Oracle. All rights reserved.


Configuration Files

Reference Advanced Configuration and Deployment.


ORACLE_CONFIG_HOME/j2ee/forms/config/server.xml
• Describes the applications deployed for OC4j
ORACLE_CONFIG_HOME/j2ee/forms/orion-application.xml
• Contains local data sources, local security, and OC4J-specific
application configuration.
ORACLE_CONFIG_HOME/j2ee/forms/application-
deployments/forms/formsweb/orion-web.xml
• Configuration file for forms application.
• Autoconfig generated from forms_orion_web_xml_1013.tmp.

If the shared Oracle Home Patch is not installed the


ORACLE_CONFIG_HOME = ORACLE_HOME_1013

103 Copyright © 2006, Oracle. All rights reserved.


Configuration Files

$COMMON_TOP/config/<identifier>/forms/server/

• default.env
– Equivalent of formservlet.ini from 11i
– Defines the runtime environment variables e.g.
FORMS_USEREXITS=libfmxit.so
– Autoconfig generated from txkGenDefaultEnv.tmp
– Example File

• formsweb.cfg (may change to appsweb.cfg)


– Equivalent to the appsbase_<identifier>.cfg from 11i
– Defines parameter values used by the Forms Servlet
– Autoconfig generated from forms_web_1012_cfg.tmp.
– Custom sections to define specific sections.
– Example File

104 Copyright © 2006, Oracle. All rights reserved.


Service Management

Applications scripts adstrtal.sh and adstpall.sh will be


used to make a call to the Oracle Process Monitoring
and Notification (OPMN).
Direct call to OPMN to stop and start through
• $ORACLE_HOME_1013/bin/opmnctl startall
• $ORACLE_HOME_1013/bin/opmnctl stopall
Manually start and stop forms via
• $ORACLE_HOME_1013/bin/opmnctl startproc type=oc4j
instancename=forms
• $ORACLE_HOME_1013/bin/opmnctl stopproc type=oc4j
instancename=forms
Component, process-type, pid and status can be viewed
using
• $ORACLE_HOME_1013/bin/opmnctl status
105 Copyright © 2006, Oracle. All rights reserved.
Forms Trace – An Overview

Replacement for FRD and PECS.


Events based with the concept of trace groups.
Ability to record debugging and performance data.
Two step process
1. Activate/Record .trc file which is binary and is not port specific.
2. Translate to provide XML or HTML output
– OAM provides “automated” translation.
– Manual command line translation through Xlate utility.
Enabled via URL by passing record=forms or from Start Trace in OAM.

106 Copyright © 2006, Oracle. All rights reserved.


Forms Trace – Events

Events.
• Events 0 – 199.
• Each event has a specific meaning.
• A Complete Listing of Events.
• Tracing event 99 may cause CPU to spin or an exception during
translation of FNDSCSGN – reference bug4962273.
• Some events listed in tracing documentation are not
implemented or have defects e.g.
– PL/SQL Tracing – events 65, 195, 196 have not been implemented
yet.
– ATTACHEDLIBRARIES, ATTACHEDMENUS and PATH TO MODULE
are null (reference bug4347620).
Three categories of events
• Point : An event as a result of a user action or internal signal for which
there is no discernible duration e.g. displaying an error.
• Duration : An event with a start and end e.g. a trigger.
• Built-in : An event associated with a built-in e.g. argument values.

107 Copyright © 2006, Oracle. All rights reserved.


Activating Forms Trace URL

On the URL add ?record=forms&tracegroup=<trace group>


• Currently using the + seperator instead of & see
bug4950948.
• If no tracegroup is specified then the default is error level.
• By default the trace files (.trc) are written to
$ORACLE_HOME_1012/forms/trace.
• Location of trace files can be customized by setting
TRACE_PATH_DIR in default.env
• Can also pass log= to specify a file name
Trace group can be a list, range, trace group name from
ftrace.cfg or a combination e.g. 0-3,33,41,90-199.
• Ftrace.cfg location and name can be customized by the
forms orion-web.xml configuration file and the parameter
traceFileName.

108 Copyright © 2006, Oracle. All rights reserved.


Translating the Trace File

Handled by the Xlate utility supplied with both the Developer


and Runtime Installations.
To translate use the frmxlate.jar utility i.e.
• JAVA_HOME/bin/java -cp
$ORACLE_HOME_1012/forms/java/frmxlate.jar
oracle.forms.diagnostics.Xlate datafile=in.trc outputfile=out.html
outputclass=WriteOutHTML
Output
• For HTML output use outputclass=WriteOutHTML.
• For XML output use outputclass=WriteOut.
Undocumented flag debug=true which will write to the console.

109 Copyright © 2006, Oracle. All rights reserved.


Forms Trace Via AS Control

Information only, 10.1.2 AS Control is not active for R12 but it


is likely that OAM will provide the equivalent functionality.
• Access the EM console http://ap6001atg.us.oracle.com:1156/
(ias_admin/*******). Password is specified during install.
• Navigate : Forms -> Configuration : Select “Default” radio
group, edit and set em_mode=1 and enable_debug=true :
Apply
• Start the forms session.
• Navigate : Forms -> User Sessions : Select the session :
Select the required trace group : Press Trace On Button.
• View the trace file by clicking on the View Trace Icon. (If
prompted for password try admin/welcome).
• Output is in XML.

110 Copyright © 2006, Oracle. All rights reserved.


Forms Trace Via AS Control

What happens behind the scenes when activating


• .rti is updated with the tracefile and the tracegroup
• .rti location specified in default.env
• .rti variable is FORMS_RTI_DIR

listener = 1 listener = 1
config = default config = default
pid = 20263 Trace On pid = 20263
connect = Tue Jan 31 connect = Tue Jan 31 10:21:07 2006 GMT
10:21:07 2006 GMT ip = 138.3.60.112
ip = 138.3.60.112 tracefile =
/d1/frmservices/forms/trace/forms_20263.trc
tracing = 0-199

111 Copyright © 2006, Oracle. All rights reserved.


Forms Trace Output

Key output from Forms Trace


• Environment settings.
• More details on built-in arguments.
• Start and end event markers.
• Performance information e.g client connect, client handshake etc.
State Deltas are only available in XML output not HTML.
Example Output

112 Copyright © 2006, Oracle. All rights reserved.


Servlet Logging Tools

Invoked from URL or addition to the forms web


configuration file e.g.
?serverURL=/forms/lservlet/debug
$ORACLE_HOME_1013/j2ee/forms/application-
deployments/forms/forms_default_group_1/application.
log
Default: No log messages except an entry stating the
bash-2.05b$
name and morepath
application.log
of the configuration file being used i.e.
06/02/02 06:38:59.125 10.1.3.0.0 Started
06/02/02 06:39:04.533 formsweb: FormsServlet init():
configFileName: /d1/home/user2/r12/visr12comn/config/VISR12_ap6001atg/fo
rms/server/formsweb.cfg
testMode: false
06/02/02 06:39:04.569 formsweb: 10.1.3.0.0 Started

113 Copyright © 2006, Oracle. All rights reserved.


Servlet Logging Tools

/session --the host name and IP address of the client, the


runtime process id, and a unique internal session id number.
/sessionperf --Performance summary statistics are included with
the session end message.
/perf --A performance message is written for every request from
the client.
/debug --Full debug messages.

114 Copyright © 2006, Oracle. All rights reserved.


Crashes

As per 6i code line.


By default frmweb_dump_<pid> will be written to
$ORACLE_HOME_1012/forms/trace
Can be customized using FORMS_TRACE_PATH

115 Copyright © 2006, Oracle. All rights reserved.


Bugs and Possible Enhancements

Formatting of Trace Output.


Missing Functionality Implemented.
Bugs
• 4950948 : MODIFY APPSBASE.HTM TO PASS THROUGH
TRACEGROUP
• 4950674 : MODIFY TXKGENDEFAULTENV.TMP TO USE
FORMS_TRACE_DIR
• 4893006 : NEWTECHSTACK10G: REQUIRED FORMS
TRACING EVENTS IN FTRACE.CFG FOR REL 12 10.1.2
• 5001920 : R12:10.1.2/10.1.3: NEED FRMXLATE.JAR IN THE
OC4J 10.1.3 CLASSPATH
• 5010914 : TRACE EVENT #193 DELTA IS NOT OUTPUT
WHEN USING OUTPUTCLASS=WRITEOUTHTML.

116 Copyright © 2006, Oracle. All rights reserved.


Additional References

Technology Integration Release 12 Project Web Site


Maxine Zasowski’s Swan Web Site.
Application Server Forms Services Deployment Guide Chapter
8, Tracing and Diagnostics.
Will Post this presentation on the DDR Web Site

117 Copyright © 2006, Oracle. All rights reserved.


118 Copyright © 2006, Oracle. All rights reserved.
<Insert Picture Here>

Upgrading
Customizations

119 Copyright © 2006, Oracle. All rights reserved.


Upgrading Customizations
Agenda

Overview
Upgrade Process
Issues Summary
Development Process
Additional Information
Q&A

120 Copyright © 2006, Oracle. All rights reserved.


Analysis & Planning
Custom Code Requiring Changes

Forms
Reports
C code
Java code
AutoConfig Configuration Customizations
Development Tools: compilers, Forms/Reports Builder
10.1.2, JDev 10.1.3
User Interfaces: new look & feel

121 Copyright © 2006, Oracle. All rights reserved.


Analysis & Planning
Identify and Train Team

How to overcome build issues


• Planning sessions
– Participants learn how to: identify tasks for their team;
resource the tasks (skill set & timeframe); understand task
dependencies
– For example, you can use old stack (Forms6i) to perform
most Forms changes, while C code changes require a stage
of new technology stack
• Training sessions
– Participants learn how to: understand architecture and
technical details of each issue category; the types of
historical, detailed technical knowledge they might find
handy; engage technology resources

122 Copyright © 2006, Oracle. All rights reserved.


Analysis & Planning
Workload Estimates

Code changes for 10.1.2:


• Forms – ~10% of forms and libraries needs touching
• Reports – ~1% of reports needs touching
• C code – ~20% of c code needs touching
Code changes for 10.1.3:
• Java code – ~1% of overall java code needs touching
• JSP’s – ~50% of jsp’s needs touching

The above are estimates and might not reflect the


application/customization being upgraded. They should
be used as a high level data point.

123 Copyright © 2006, Oracle. All rights reserved.


Agenda

Overview
Upgrade Process
Issues Summary
Development Process
Additional Information
Q&A

124 Copyright © 2006, Oracle. All rights reserved.


Upgrade Phases

Plan uptake project


Perform build of customizations to identify failures
Make changes which DO NOT require new stack
Roll out central infrastructure for development with the
new techstack
Make changes that DO require new stack
Complete switch to new code and technology
Perform run time testing

125 Copyright © 2006, Oracle. All rights reserved.


Plan Uptake Project

Name Your Team’s Primary Technical Point of Contact.

Training of the technical team. Identify documentaion and


additional resources

Plan for development


• Maintain dual checkins, or break them?
• Timing of code changes (technology/functional)

126 Copyright © 2006, Oracle. All rights reserved.


Project Planning (cont’d)

Allocate resources
• Environments (number/type/reuse) needed
• Type of people needed
• Project duration

Update QA process for new Release


• Review amount of new code
• Possible RT changes needed

127 Copyright © 2006, Oracle. All rights reserved.


Making 6i Compatible Changes

Train developers using central resource pages


www-apps/techstack/r12index.html
Make all 6i compatible changes in the 6i techstack
Changes can be checked into source control and tested with
the 6i infrastructure
Triage run-time issues for functional or technology cause
For confirmed technology issues, file a bug with product id
1745:Forms 1745:Reports 1745:Triage (C-Code)

128 Copyright © 2006, Oracle. All rights reserved.


Making 10g-Only Changes If Needed

Make all 10g-only compatible changes by branching if


necessary
Use upgraded central tools to test & check code in dev
environment source control
Submit patches with 10g-Only changes to be applied
in central environments
Upgrade RTs and run tests with other products
changes

129 Copyright © 2006, Oracle. All rights reserved.


Switch R12 to Use 10g

Merge branched code into mainline if branches were


necessary
Update all patches to pick up the new 10g techstack and
updated code
Central tools switch to the new 10g techstack
Division-wide R12 QA

130 Copyright © 2006, Oracle. All rights reserved.


Agenda

Overview
Upgrade Process
Issues Summary
Development Process
Additional Information
Q&A

131 Copyright © 2006, Oracle. All rights reserved.


Forms Changes

Issue Build Time Runtime

Mirror Items Yes Yes

Forms built-in and Property Obsolescence Yes No

Client side PLSQL upgrade Yes No

Validation and Navigation No Yes

FORMS60_* env variables No Yes

Forms Calling Graphics No Yes

132 Copyright © 2006, Oracle. All rights reserved.


Mirror Items

Result of changing compatibility mode (4.5 → 5.0)


The initial value and the ON-SEQUENCE trigger is now taken from
the master item of the mirror group only
The Required, Copy Value From Item, RANGE_HIGH, and
RANGE_LOW item properties are taken from the master mirror
item
The initial value of a Poplist, T-list, radio group, or checkbox item
which does not allow other values is ignored if any of the items
in the mirror group cannot display it

133 Copyright © 2006, Oracle. All rights reserved.


Obsolete Forms Built-ins and Properties

The trigger WHEN-NEW-FORM-INSTANCE can only be defined at


Form level
The triggers WHEN-CLEAR-BLOCK, WHEN-CREATE-RECORD, and
WHEN-NEW-RECORD-INSTANCE can only be defined at Block or
Form level
The Fixed Length property is obsolete
The SHOW_MENU, CHANGE_ALERT_MESSAGE, and ROLLBACK_FORM
Built-ins are obsolete
DATE_FORMAT_COMPATIBILITY_MODE is obsolete
RUN_PRODUCT calls should be removed

134 Copyright © 2006, Oracle. All rights reserved.


Client side PL/SQL upgrade

Implementation Restriction: 'FND_API.G_MISS_xxx': Cannot


directly access remote package variable or cursor
Compiler checks that the default value of parameter in
package body matches the package specification.
Wrong number or type in call to NVL
Number precision exceeds 38
Variable Declared Twice in Declaration Section

135 Copyright © 2006, Oracle. All rights reserved.


Validation and Navigation

Result of changing compatibility mode (4.5 → 5.0)


Only the origin item is validated when the user navigates from
item A to item Z by invoking the next_item built-in or by
pressing Tab
When positioning the cursor at the first navigable item in a
block the earlier items are not validated
POST-CHANGE trigger is never fired for a null value

136 Copyright © 2006, Oracle. All rights reserved.


Validation and Navigation (cont’d)

Item-level validation of a required item that had a value and


was changed to NULL will cause WHEN-VALIDATE-ITEM to fire,
but no additional item-level validation will occur

Navigating into block which contains a single initialized


record will cause the record to be retained

137 Copyright © 2006, Oracle. All rights reserved.


FORMS60_ Environment Variables

In Forms 6i, environment variables are prefixed with


FORMS60_ and 10.1.2 uses just FORMS_

Note that these code changes will pick up dependency on


Forms 10.1.2 if the FORMS60_ environment variables are
removed.

138 Copyright © 2006, Oracle. All rights reserved.


Forms Calling Graphics

Oracle Graphics has been removed from AS 10.1.2


Flow Manufacturing (FLM) has removed integration with
Graphics for R12
Quality (QA) - Still uses Forms/Graphics integrations
• Only 1 pll is affected
• Only 1 form would need to be redesigned to replace the
Graphics charting output canvas

139 Copyright © 2006, Oracle. All rights reserved.


Forms Changes Summary

Issue Risk Time Compatibility

Mirror Items High 2 hr – 1 day 6i


Forms built-in and Property Low 0.5 – 1 hr 6i
Obsolescence
Client side PLSQL upgrade Low 0.5 – 1 hr 6i

Validation and Navigation High 2 hr – 1 day 6i

FORMS60_* env variables Low 30 min 6i

Forms Calling Graphics High TBD 6i

140 Copyright © 2006, Oracle. All rights reserved.


Reports Changes

Reports must not be used for generating HTML output.


Convert to XML Publisher
Reports Server will only be accessible from the Concurrent
Manager
Oracle Graphics has been replaced by OAF/BI Beans

141 Copyright © 2006, Oracle. All rights reserved.


Reports Changes Summary

Issue Risk Time Compatibility

Use of DAY, LANGUAGE, or Low 30 min 6i


TIMESTAMP as a variable

Number precision exceeds 38 Low 30 min 6i

REPORTS60_ environment variable Low 30 min 6i


changed to REPORTS_

Note: This summary excludes rewriting efforts for HTML and Graphics reports

142 Copyright © 2006, Oracle. All rights reserved.


C-code Changes

Build Information:
• C compiler: icc 7.1.032
• C++ compiler: g++ 2.96
• RSF Level: 10.1
• Platform: Linux AS 2.1

Centrally fixed issues:


• Newer versions of the glibc headers make use of the ISO
C99 "restrict" keyword
• Pro*C grammar rule is not properly set up to accept naked
pointer types as a valid type.

143 Copyright © 2006, Oracle. All rights reserved.


C-code Changes Summary

Issue Risk Time Compatibility

bitvec macro and ub8 and sb8 types are no Low 30 min 6i
longer in oratypes.h
Untyped variable declarations Low 30 min 6i

Network APIs changed in 10.1 RSFs Low 30 min 6i

Third party libraries are not compatible High TBD 10g


with gcc2.96

144 Copyright © 2006, Oracle. All rights reserved.


Agenda

Overview
Upgrade Process
Issues Summary
Development Process
Additional Information
Q&A

145 Copyright © 2006, Oracle. All rights reserved.


R12 Development Cycle
Compilation Environments Link & Test Environments
Development
Environment
(chenv, genmake)

WGS EMS/PTS Quik Apache


adrelink
arcs build

Patches
Source
Control

ARU compilation ARU


(APF Workers) Checkin
R12 10gR2 DB

Old stack R12 10g stack

146 Copyright © 2006, Oracle. All rights reserved.


Upgrading Libraries

Three choices:
Builder:
– Open then save library using $ORACLE_HOME/bin/frmbld.sh
ARCS source control:
– arcs build resource/<filename.pld>
Standalone:
– To convert from pld to pll:
frmcmp.sh module=<filename.pld> userid=apps/apps
module_type=library parse=yes
– To convert from pll to plx:
frmcmp.sh module=<filename.pll> userid=apps/apps
module_type=library compile_all=yes

147 Copyright © 2006, Oracle. All rights reserved.


Upgrading Forms

Also, three choices:


Builder:
– Open then save form using $ORACLE_HOME/bin/frmbld.sh
ARCS source control:
– arcs build forms/US/<filename.fmb>
Standalone:
– frmcmp.sh module=<filename.fmb> userid=apps/apps
module_type=form compile_all=yes

148 Copyright © 2006, Oracle. All rights reserved.


Testing Forms

To test library changes:


• Pre-append the location of the modified libraries to
FORMS_PATH

To test form changes:


• Set the profile ‘APPLWRK’ under Help→Diagnostic→Examine
to the directory where the modified form is located

149 Copyright © 2006, Oracle. All rights reserved.


Upgrading and Testing Reports

Convert reports:
• Open then save the report using
$ORACLE_HOME/bin/rwbuilder.sh
• rwconverter.sh source=<filename.rdf> dtype=repfile
userid=apps/apps compile_all=yes

Run reports:
• Standalone: for example,
– rwrun.sh report=<filename.rdf> userid=apps/apps
destype=file desname=/tmp<filename.html> desformat=html
• Concurrent Manager

150 Copyright © 2006, Oracle. All rights reserved.


Building C-code

Compile:
• Use genmake or make
Link:
• arcs build libfnd.a

Build user exit shared libraries: libfmxit.so (forms),


librwxit.so (reports) which will be dynamically loaded by
the Forms and Reports executables

151 Copyright © 2006, Oracle. All rights reserved.


Agenda

Overview
Upgrade Process
Issues Summary
Development Process
Additional Information
Q&A

152 Copyright © 2006, Oracle. All rights reserved.


Additional Reading

Information for this project:


www-apps/techstack/r12index.html

FAQ:
www-apps/techstack/r12/r12faq.html

This presentation chapter:


www-apps/techstack/r12/Dev10g_Upgrade.ppt

153 Copyright © 2006, Oracle. All rights reserved.


New External Oracle Blog

New avenue for public communication -- post to our team’s


blog hosted by Steven Chan
Most identified requirements have been addressed

154 Copyright © 2006, Oracle. All rights reserved.


Integration Repository (iRep)
Updates

Copyright © 2006, Oracle. All rights reserved.


Integration Repository
11i10 - Reminder

• Single, Complete Source of Truth for existing


supported interfaces
• Standardized Annotation at source
• Catalogued by Product & Type
• Simple Interface and Navigation
• Hosted Today

• Better integration planning


• Reduced cost of implementing integrations with the E-Business Suite
Benefits
• Reduced Maintenance Costs

iRep is available at http://irep.oracle.com

156 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
R12 - Introduction

• In Release 12, the Oracle Integration Repository will


ship as part of the E-Business Suite
– As your instance is patched, the repository will
automatically be updated with content appropriate for the
precise revisions of interfaces in your environment.

157 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – Interface Types

• Interface Types supported:


– PL/SQL APIs
– Open Interface Tables
– Interface Views
– Concurrent Programs
– Java
– Web Service
– XML Gateway Messages
– eCommerce Gateway Messages

158 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – Navigate By Product Family

159 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – Navigate By Interface Type

160 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – Navigate By Standard

161 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – Search the Interface

162 Copyright © 2006, Oracle. All rights reserved.


Integration Repository
Process – View Interface Details

163 Copyright © 2006, Oracle. All rights reserved.


Applications System Management

Copyright © 2006, Oracle. All rights reserved.


Overview: E-Business Suite Management Solution
OAM, Grid Control and EM Plug-in

Oracle Simplified Administration


Applications
Manager Automated Maintenance
Grid Control Pro-active Monitoring
10gR2
Diagnostics and Troubleshooting
+
Enterprise Views
Plug-in for
Applications Centralized Access

165 Copyright © 2006, Oracle. All rights reserved.


OAM in “SWAN”

166 Copyright © 2006, Oracle. All rights reserved.


Enhanced Monitoring

RAC Enhancements
• Key performance and activity metrics for the entire system are displayed
such as online activities, batch activities and workflow activities as well
as system settings
Security Dashboard Enhancements
• Configure and view possible security violations
– Example: duplicate logins

167 Copyright © 2006, Oracle. All rights reserved.


Enhanced Patching and Maintenance

Patch Management Enhancements


• Reduce risk - Patch Analyzer, Customization tracking, Language patch
tracking and finally OAF Function/Menus impact analyzer
• Accelerate - enhanced visual compare, enable parallel processing for data
conversion
Cloning Automation Enhancements
• Automate the copy, pre-clone, post-clone configurations actions
• Obscure sensitive applications data when cloning
Enhanced Implementation Process
• Enhanced reporting and comparing of setup data

168 Copyright © 2006, Oracle. All rights reserved.

Das könnte Ihnen auch gefallen