- Oracle Weblogic Server 10.3.3
- Oracle JDeveloper 11g, ps2
- Oracle SOA Suite 11g ps2
- Oracle Service Bus 11g (through eDelivery.oracle.com)
http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html
This blog is all about Oracle SOA related products; SCA, OSB, BPEL, BPM, Rules, Workflow.
-Dcom.sun.management.jmxremote.port=3333 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
JAVA_HOME=/u01/appl/j1bplpe/product/wls/jdk150_12 export $JAVA_HOME cd $JAVA_HOME/bin vi jstatd.policy: grant codebase "file:${java.home}/../lib/tools.jar" { permission java.security.AllPermission; };
cd $JAVA_HOME/bin ./jstatd -J-Djava.security.policy=jstatd.policy -p 1099
start_jstatd.sh JAVA_HOME=/usr/lib/jvm/sun-java-1.6 export JAVA_HOME nohup $JAVA_HOME/bin/jstatd -J-Djava.security.policy=./jstatd.policy -p 1099 & echo $! > jstatd.pid echo Java Stats Deamon started: `cat jstatd.pid` stop_jstatd.sh #!/bin/bash JAVA_HOME=/usr/lib/jvm/sun-java-1.6 export JAVA_HOME if [ -f "jstatd.pid" ]; then pid=`cat jstatd.pid` echo "killing jstatd with pid $pid" kill -9 $pid else kill -9 `ps -ef | grep "jstatd" | grep -v grep | awk '{ print $2; }'` fi
Linux: ./visualvm Windows: visualvm.exe
vi $ORACLE_HOME/opmn/conf/opmn.xml ... -Daia.home=/fs01/app/oracle/esbacc01/aia ...
vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf ... <Directory /> Options FollowSymLinks MultiViews Indexes ... <Directory "/app/app/oracle/product/10g//soa/Apache/Apache/htdocs"> Options FollowSymLinks MultiViews Indexes ...
vi $AIA_HOME/bin/aiaenv.sh ... AIA_HOME=aia.home ORACLE_HOME=oracle.home AIA_INSTANCE=aiaapp.deploy.home PLATFORM=platforminto
AIA_HOME=/app/oracle/product/oracle/10g/aia ORACLE_HOME=/app/oracle/product/oracle/10g/soa JAVA_HOME=$ORACLE_HOME/jdk AIA_INSTANCE=/app/oracle/product/oracle/10g/soa/j2ee/oc4j_soa/applications PLATFORM=ias_10g
chmod 755 $AIA_HOME/bin/*
source aiaenv.sh
vi $ORACLE_HOME/integration/esb/config/esb_config.ini ... PingInterval=30 PingCount=30
$ORACLE_HOME/opmn/bin/opmnctl shutdown $ORACLE_HOME/opmn/bin/opmnctl startup
cp $AIA_HOME/config/deploy.properties $AIA_HOME/config/deploy.properties.org cp $AIA_HOME/Infrastructure/install/templates/deploy.properties.tmpl $AIA_HOME/config/deploy.properties
vi $AIA_HOME/config/deploy.properties FPVersion=2.5.0.0.0 aia.home=/fs01/app/oracle/esbacc01/aia oracle.home=/fs01/app/oracle/esbacc01/soa http.hostname=node1.vijfhuizen.com j2ee.hostname=node1.vijfhuizen.com http.port=80 admin.user=oc4jadmin iasinstancename=AS.vijfhuizen.com oc4jinstancename=oc4j_soa opmn.port=6003 rmi.port=12401 db.hostname=node1.vijfhuizen.com db.port=1521 dbuser=sys SID=esbacr011 #admin.password.encrypted= admin.password=welcome1 #dbpwd.encrypted= dbpwd=esbacr01
vi $ORACLE_HOME/bpel/utilities/ant-orabpel.properties ... platform = ias_10g hostname = node1.vijfhuizen.nl http.hostname = ${hostname} http.port = 80 cluster = false oc4jinstancename = oc4j_soa j2ee.hostname = node1.vijfhuizen.nl asinstancename =
$ORACLE_HOME/opmn/bin/opmnctl shutdown
$ORACLE_HOME/opmn/bin/opmnctl status
cd $AIA_HOME/Infrastructure/install/scripts/ ant --noconfig -buildfile FPCommonConfig.xml replaceFPInstallProperties Buildfile: FPCommonConfig.xml ...log information... BUILD SUCCESSFUL ant --noconfig -buildfile FPConfiguration.xml CommonConfigurations Buildfile: FPConfiguration.xml ...log information... BUILD SUCCESSFULThe first step is done of AIA. Just for checking, you should be able to view the AIA compontens:
vi $AIA_HOME/Infrastructure/install/scripts/FPInstall.properties ... #deployer.uri=deployer:oc4j:opmn://node1.vijfhuizen.nl:6003/oc4j_soa deployer.uri=deployer:cluster:opmn://node1.vijfhuizen.nl:6003/soa_group oc4j.admin.user = oc4jadmin oc4j.admin.password = welcome1 ...
ant --noconfig -buildfile FPCommonConfig.xml CreateCommonDatasources Buildfile: FPCommonConfig.xml
CreateCommonDatasources:
...log information... BUILD SUCCESSFUL
ant --noconfig -buildfile FPCAVSInstall.xml createSchedulerDataSource Buildfile: FPCAVSInstall.xml
createSchedulerDataSource:
...log information...
BUILD SUCCESSFUL ant --noconfig -buildfile FPErrorHandlingInstall.xml DeployESBErrorListenerMDB Buildfile: FPErrorHandlingInstall.xml DeployESBErrorListenerMDB: ...log information... BUILD SUCCESSFUL
ant --noconfig -buildfile FPCAVSInstall.xml DeployAIAUI Buildfile: FPCAVSInstall.xml ...log information... BUILD SUCCESSFUL
vi $ORACLE_HOME/j2ee/oc4j_soa/config/data-sources.xml ... <managed-data-source connection-pool-name="JMSConnectionPool" jndi-name="jdbc/AIA_JMS_DS" name="AIA_JMS_DS" tx-level="local"/> <managed-data-source connection-pool-name="AIAXAConnectionPool" jndi-name="jdbc/xref" name="XREFDataSource"/> <managed-data-source connection-pool-name="AIAConnectionPool" jndi-name="scheduler/OracleManagedDS" name="SchedulerOracleManagedDS"/> <connection-pool name="Example Connection Pool"> ...
$ORACLE_HOME/opmn/bin/opmnctl shutdown
$ORACLE_HOME/opmn/bin/opmnctl startall
create user aia identified by aia;
grant connect,resource to aia;
grant CREATE VIEW to aia;
grant aq_administrator_role to aia;
grant execute on dbms_aqadm to aia;
grant execute on dbms_aq to aia;
grant execute on dbms_aqin to aia;
grant execute on dbms_aqjms to aia;
create user jmsuser identified by jmsuser;
GRANT connect,resource,AQ_ADMINISTRATOR_ROLE TO jmsuser IDENTIFIED BY jmsuser;
GRANT execute ON sys.dbms_aqadm TO jmsuser;
GRANT execute ON sys.dbms_aq TO jmsuser;
GRANT execute ON sys.dbms_aqin TO jmsuser;
GRANT execute ON sys.dbms_aqjms TO jmsuser;
cd $AIA_HOME/Infrastructure/install/scripts ant --noconfig -buildfile FPInstall.xml Buildfile: FPInstall.xml ...log information... BUILD SUCCESSFUL
vi $ORACLE_HOME/j2ee/oc4j_soa/config/data-sources.xml ... <managed-data-source connection-pool-name="JMSConnectionPool" jndi-name="jdbc/AIA_JMS_DS" name="AIA_JMS_DS" tx-level="local"/> <managed-data-source connection-pool-name="AIAXAConnectionPool" jndi-name="jdbc/xref" name="XREFDataSource"/> <managed-data-source connection-pool-name="AIAConnectionPool" jndi-name="scheduler/OracleManagedDS" name="SchedulerOracleManagedDS"/> <connection-pool name="Example Connection Pool"> ...
$ORACLE_HOME/opmn/bin/opmnctl startall
cd $AIA_HOME/Infrastructure/ErrorHandling/AIAErrorTaskAdministrationProcess ant --noconfig deployTaskForm Buildfile: build.xml deployTaskForm: ... log info... BUILD SUCCESSFULL
cd $AIA_HOME/Infrastructure/ErrorHandling/AIAReadJMSNotificationProcess/bpel vi consumeFaultMsg.wsdl ... <jca:operation ActivationSpec="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec" DestinationName="java:comp/resource/AIA_ERROR_JMS/Topics/AIA.AIA_ERROR_TOPIC" DurableSubscriber="AIAReadJMSNotificationAgent" UseMessageListener="false" MessageSelector="JMSCorrelationID LIKE '%AIA_EH_DEFAULT%'" PayloadType="TextMessage" OpaqueSchema="false"> </jca:operation>
cd $AIA_HOME/Infrastructure/ErrorHandling/AIAReadJMSNotificationProcess/bpel vi bpel.xml ... <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="consumeFaultMsg"> <property name="portType">Consume_Message_ptt</property> <property name="clusterGroupId">AIAClusterERRORJMS</property> </activationAgent> ...
$DOMAIN_HOME/soa_domain/config/config.xml ... <timeout-seconds>3600</timeout-seconds> ...At SOA 11g - BPEL level: Set the sync wait time of synchrounouse processed to 120 seconds (45 by default). In the first 11g release this can be done via the file, since patch set #1 this can be done via EM going to the BPEL Manager properties.
$DOMAIN_HOME/soa_domain/config/soa-infra/configuration/bpel-config.xml ... <syncMaxWaitTime>120</syncMaxWaitTime> ...The following EJB needs to be extended on their time out. This can be done in via Enterprise Manager.