Put your tips and tricks online - Share your knowledge! Login | Register
 
 
  Search     Advanced search
 

Home | Ask Question | Add tip | My tips | Recent tips & tricks | Suggest a category | FAQ | Forums

 
 
 
 Category : Home > Miscellaneous > Middleware > Oracle Fusion Middleware > Oracle SOA Suite     

How to installl Standalone Resource Adapters in a new OC4J container


This procedure describes how to install AQ and JMS adapters in a new OC4J container - the one
you've created for a custom application perhaps. Note: this is applicable to OAS / SOA
10.1.3.x.

cd $ORACLE_HOME/j2ee/[container name]/config

Edit server.xml and add the following lines (replace ORACLE_HOME with the actual directory):


        <shared-library name="apache.junit" version="10.1.3">
                <code-source path="ORACLE_HOME/integration/esb/test/lib/junit.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/test/lib/xmlunit1.0.jar"/>
        </shared-library>
        <shared-library name="oracle.db.lite" version="10.1.3">
                <code-source path="ORACLE_HOME/integration/esb/lib/olite40.jar"/>
        </shared-library>
        <shared-library name="apache.commons" version="10.1.3">
                <code-source
path="ORACLE_HOME/integration/esb/lib/commons-fileupload-1.1.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/commons-codec-1.3.jar"/>
                <code-source
path="ORACLE_HOME/integration/esb/lib/commons-transaction-1.0.jar"/>
                <code-source
path="ORACLE_HOME/integration/esb/lib/commons-collections-2.1.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/commons-io-1.1.jar"/>
                <code-source
path="ORACLE_HOME/integration/esb/lib/commons-dbcp-20031203.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/commons-pool-1.1.jar"/>
        </shared-library>
        <shared-library name="apache.jdom" version="10.1.3">
                <code-source path="ORACLE_HOME/integration/esb/lib/jdom-1.0.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/jaxen-1.1-beta-4.jar"/>
                <import-shared-library name="apache.commons"/>
        </shared-library>
        <shared-library name="apache.slide" version="10.1.3">
                <code-source path="ORACLE_HOME/integration/esb/lib/slide-kernel-2.1.jar"/>
                <code-source
path="ORACLE_HOME/integration/esb/lib/slide-webdavservlet-2.1.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/slide-stores-2.1.jar"/>
                <code-source
path="ORACLE_HOME/integration/esb/lib/poi-2.5-final-20040428.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/xml-im-exporter1.1.jar"/>
                <import-shared-library name="apache.commons"/>
                <import-shared-library name="apache.jdom"/>
                <import-shared-library name="oracle.jdbc"/>
        </shared-library>
	<shared-library name="oracle.bpel.common" version="10.1.3">
                <code-source path="ORACLE_HOME/bpel/system/classes"/>
                <code-source path="ORACLE_HOME/bpel/lib/orabpel-common.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/orabpel-thirdparty.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/orabpel.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/bpm-infra.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/wdk.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/connector15.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/orabpel-exts.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/orabpel-ant.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/ant_1.6.5.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/bipres.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/bicmn.jar"/>
                <code-source path="ORACLE_HOME/jlib/uix2.jar"/>
                <code-source path="ORACLE_HOME/jlib/jewt4.jar"/>
                <code-source path="ORACLE_HOME/jlib/regexp.jar"/>
                <code-source path="ORACLE_HOME/jlib/share.jar"/>
                <code-source path="ORACLE_HOME/jdk/lib/tools.jar"/>
                <code-source path="ORACLE_HOME/jlib/ldapjclnt10.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/schema"/>
                <code-source path="ORACLE_HOME/bpel/system/services/config"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/bpm-services.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/wfapi.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/fndctx.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/phaos.jar"/>
                <code-source path="ORACLE_HOME/bpel/system/services/lib/pushapi.jar"/>
                <code-source path="ORACLE_HOME/bpel/lib/oracle_http_client.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/uddiclient_api_v3.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/wasp.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/uddiclient_core.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/saaj.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/jaxm.jar"/>
                <code-source
path="ORACLE_HOME/bpel/registry/lib/builtin_serialization.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/core_services_client.jar"/>
                <code-source path="ORACLE_HOME/bpel/registry/lib/jaxrpc.jar"/>
                <code-source path="ORACLE_HOME/rules/lib/rl.jar"/>
                <code-source path="ORACLE_HOME/rules/lib/rulesdk.jar"/>
                <code-source path="ORACLE_HOME/rules/lib/webdavrc.jar"/>
                <code-source path="ORACLE_HOME/rules/lib/jr_dav.jar"/>
                <code-source path="ORACLE_HOME/webservices/lib/wsif.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/oraesb.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/bpm-ide-common.jar"/>
                <code-source path="ORACLE_HOME/rdbms/jlib/xdb.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/ide.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/javatools.jar"/>
                <code-source path="ORACLE_HOME/integration/esb/lib/xmleditor.jar"/>
                <import-shared-library name="oracle.dms"/>
                <import-shared-library name="oracle.jdbc"/>
                <import-shared-library name="oracle.xml"/>
                <import-shared-library name="oracle.jwsdl"/>
                <import-shared-library name="soap"/>
                <import-shared-library name="oracle.ws.client"/>
                <import-shared-library name="oracle.toplink"/>
                <import-shared-library name="apache.junit"/>
                <import-shared-library name="oracle.db.lite"/>
                <import-shared-library name="apache.commons.logging"/>
                <import-shared-library name="oracle.cache"/>
                <import-shared-library name="apache.commons"/>
                <import-shared-library name="apache.slide"/>
                <import-shared-library name="apache.jdom"/>
        </shared-library>

opmnctl restartproc process-type=[container name]

cd $ORACLE_HOME/j2ee/home

java -jar admin_client.jar deployer:oc4j:opmn://[server name]:[request port]/[container name]
oc4jadmin [password] \
-deploy -file $ORACLE_HOME/j2ee/oc4j_soa/connectors/AqAdapter/AqAdapter.rar -deploymentName
AqAdapter2 -parent default

08/07/17 12:27:32 Notification ==>Connector Module Deployer for AqAdapter2 STARTS.

08/07/17 12:27:32 Notification ==>Copy the archive to
/xxx/j2ee/OC4J_GESI/connectors/AqAdapter2/AqAdapter2.rar

08/07/17 12:27:32 Notification ==>Unpacking AqAdapter2.rar

08/07/17 12:27:32 Notification ==>Done unpacking AqAdapter2.rar

08/07/17 12:27:32 Notification ==>Starting up resource adapter

08/07/17 12:27:32 Notification ==>Connector Module Deployer for AqAdapter2 COMPLETES.
Operation time: 231 msecs


java -jar admin_client.jar deployer:oc4j:opmn://[server name]:[request port]/[container name]
oc4jadmin [password] \
-deploy -file $ORACLE_HOME/j2ee/oc4j_soa/connectors/JmsAdapter/JmsAdapter.rar -deploymentName
JMSAdapter2 -parent default

08/07/17 12:29:31 Notification ==>Connector Module Deployer for JMSAdapter2 STARTS.

08/07/17 12:29:31 Notification ==>Copy the archive to
/xxx/j2ee/OC4J_GESI/connectors/JMSAdapter2/JMSAdapter2.rar

08/07/17 12:29:31 Notification ==>Unpacking JMSAdapter2.rar

08/07/17 12:29:31 Notification ==>Done unpacking JMSAdapter2.rar

08/07/17 12:29:31 Notification ==>Starting up resource adapter

08/07/17 12:29:33 Notification ==>Connector Module Deployer for JMSAdapter2 COMPLETES.
Operation time: 2378 msecs

In enterprise manager console when you browse to that container you should see AQ and JMS
adapters i.e.:

Cluster Topology > Application Server: [Server] > Applications > Choose "Standalone Resource
Adapters" in dropdown box


  Options
 
   del.icio.us  |  newsvine  |  digg  |  furl  |  google  |  yahoo  |  Ma.gnolia  |  vigillar  |  reddit  |  technorati  |  icerocket  |  pubsub

       Rate this tip:    

  Details
Tip reference : #201
views : 128
Added on : 07/17/08
Submited by : h8dk97
 
Send a message Send a message Printer friendly output Printer friendly output
Display this member's tips Display this member's tips (161)
 
 
<< Previous Next >>
 Most viewed tips 
  Databases > Oracle > Security : How to unlock Oracle user account  
  Operating Systems > Unix : How to kill Unix user session  
  Databases > Oracle > Performance Tuning : How to enable trace in Oracle  
  Databases > Oracle : Kill user session  
   
  All categories
Databases | Programming | Hardware | Operating Systems | Networking | Internet | ERP / CRM | Games & Multimedia | Graphics & Design | Miscellaneous | Office Software | TipLib FAQ
 
 

Home |  FAQ |  Terms of Use |  Privacy Policy

© 2005 tiplib.com