Pages

Monday, March 11, 2013

Oracle Fusion Middleware Components Important Files Name, Locations and their Purpose



Recently I have complied the list of important files of Oracle Fusion Middleware Components, thought to share the same-

Please find below all Important files and folder location of Oracle Fusion Middleware Components. I took this information from Oracle Fusion Middlweare 11.1.1.6.0 version

FMW Componants
Path for Important Locations
Purpose.
Important Files Present
OSB
$MW_HOME/fmw/soa11.1.1.6/Oracle_OSB1/dbscripts/oracle
OSB has reporting components but in order to use the 'Report' action in OSB Proxy service first you need to create tables in SOAP_SOAINFRA schema. This sql script contains the defination of OSB reporting tables.  In Earlier version 10g manually these script required to run but I believe as part of 11g RCU utility tables for reporting will be created as part of RCU execution itself.
reporting_runtime.sql
OSB
$MW_HOME/fmw/soa11.1.1.6/Oracle_OSB1/OPatch
If you want to install any patch to OSB_HOME then you need to run the opatch utility given in OSB_HOME only.
opatch
SOA
/u01/app/oracle/product/fmw/soa11.1.1.6/Oracle_SOA1/rcu/integration/soainfra/oracle/soa_purge
Contains purge script for various components.
purge_bpel_oracle.sql
purge_mediator_oracle.sql
SOA
$MW_HOME/fmw/soa11.1.1.6/Oracle_SOA1/rcu/integration/bam/sql/oracle
Contains sql script for BAM schema.
createschema_bam_oracle.sql
createuser_bam_oracle.sql
SOA
$MW_HOME/fmw/soa11.1.1.6/Oracle_SOA1/rcu/integration/soainfra/oracle
Contains SQL script for SOAINFRA schema
createschema_soainfra_oracle.sql
Weblogic
$MW_HOME/fmw/soa11.1.1.6/wlserver_10.3/common/bin
Contains useful script to create,manage and monitor domain functionality.
wlst.sh, config.sh, pack.sh
Weblogic
$MW_HOME/fmw/soa11.1.1.6/utils/bsu
This shell script been used to apply the Weblogic Server Patch. Note this is different than OPATCH utilitity, opatch we are using for SOA, OSB and Common components but for Weblogic level patches we need to use bsu utility.
bsu.sh
oracle common
$MW_HOME/fmw/soa11.1.1.6/oracle_common/OPatch
If you want to install any patch to Oracle_common then you need to run the opatch utility given in Oracle_common only.
opatch
oracle common
$MW_HOME/fmw/soa11.1.1.6/oracle_common/rcu/integration/mds
Contains various .sql scrip for MDS schema.
cremds.sql

Oracle Weblogic Server Important Files Name, Locations and their Purpose

Recently I have complied the list of important files of Oracle Weblogic Server, thought to share the same-

Please find below all Important files and folder location of Oracle Weblogic Server. I took this information from Oracle Weblogic 10.3.6 version but previous version also more or less will be having same files at same location.



PATH For Admin Server
Purpose
Important Files Present
$DomainHome/$serverName/bin
Contains all the shell script files which is being used to start/stop and contains configuration for Admin and Managed servers.
setDomainEnv.sh
startWebLogic.sh
stopWebLogic.sh
$DomainHome/$serverName/config
Contains configuration files all important components e.g.  Domain configurtaion,  JMS, JDBC etc
config.xml
jdbc config files
jms config files
fmwconfig files etc
$DomainHome/$serverName/osb/config
This directory mainly contains all the OSB artifats e.g. Proxy Services, business Services, XSD, Xquery etc, whatever we do from OSB console, most of stuff get store here only.
All the OSB artifacts
$DomainHome/$serverName/osb/config/core/_static/Ref_Store
This folder contains files having reference to OSB proxy and business services which are tagged with JMS as consumer. This directory helps during cleanup process of OSB deployment. There could be multiple OSB services get tagged with queue which could cause issues, this directory contents will help to clean that.
.str files for JMS MDB artifacts
$DomainHome/$serverName/sbgen
This folder contains MDBs for JMS queues, which could be used for any OSB  Proxy service or JAVA application. 
ear files e.g. _ALSB_1341965872872.ear
$DomainHome/$serverName/sbgen/alsbTempJars
This folder contains the .jar files which Proxy services are using via JAVA Callout action.
jar files  e.g. tempCreateProcess8557633063030887848.jar
$DomainHome/$serverName/servers/$serverName/adr
Contains all diagnostic related data, if you have configured the Weblogic Diagnostic Framework e.g. In the event of server crash a report get generated etc, in this case a thread dumps file will generated here, also contains JMS, Datasource stats etc,  good for investigation purpose.
jvm_threads.txt, dms_metrics.txt
$DomainHome/$serverName/servers/$serverName/data/store
This directory contains the persistent file store for weblogic servers which is used for normal functionality and diagnostic functionality. Weblogic has 7 internal components e.g. JMS Messages, JTA logs, EJB Timer services, Diagnostic services etc. which uses these persistent file store.
_WLS_$serverName000000.DAT
_WLS_DIAGNOSTICS000000.DAT
$DomainHome/$serverName/servers/$serverName/data/ldap
Contains LDAP related files, contains security realm details etc.  If you delete this folder, you will lose all security realm users details exist in Weblogic Admin console.
EmbeddedLDAP.data
changelog.data
changelog.index etc
$DomainHome/$serverName/servers/$serverName/data/console
Store the Admin console preference.
ConsolePreferences.xml
$DomainHome/$serverName/servers/$serverName/security
This file contains encrypted weblogic username and password, used while starting the server.
boot.properties
$DomainHome/$serverName/servers/$serverName/tmp
This folder contains all the artifacts which is been deployed in servers, alternatively can be seen from "deployment" section from Weblogic Admin Server console, included JMS MDB artifacts as well.
All the Library like this
adf.oracle.businesseditor
adf.oracle.domain etc
ALSB Logging
ALSB Publish
em
File Transport Provider components etc
$DomainHome/$serverName/servers/stage
This is stagging directory, during server startup process, JMS MDB, J2EE, War application get copied from Admin server to Managed server at this stage directory and then Managed server refer to local stage directory for deployment and things moved from Stage to 'tmp' directory. Note: for admin server you will not see this directory.
_ALSB_1352464196062 etc
$DomainHome/$serverName/servers/$serverName/logs
Contains all the logs files for troubleshooting purpose.
access.log,
AdminServer.log
ManagedServer.log
gc.log
domain.log
AdminServer.out
ManagedServer.out files
$DomainHome/$serverName/servers/sysman/log
Contains Management Service logs and trace file for troubleshooting purpose.
emoms.log
emoms.trc
$DomainHome/$serverName/servers/cache
Contains all the cached information weblogic uses directory to store cache for various components e.g. web tire related cache, JMS cache, data sources, EJB cache etc.
.class files
$DomainHome/$serverName/config/osb/transports/sftp
This location have known_hosts file contains rss/dss ssh keys for external servers which OSB try to connect using SFTP business service and use KEY as authentication
known_hosts