Fusion Middleware 11g – How to register Oracle Instance with Webogic Server (opmnctl) ?

Oracle Instance – Oracle Instance contains one or more system components *( HTTP Server, WebCache, Oracle Internet Directory). Oracle Instance Directory contains updatable files like configuration files, log files. Oracle Instance directory is different from Oracle Home Directory and can reside inside or outside Middleware Home.

WebLogic Server– is J2EE application Server in Fusion Middleware 11g.

OPMN– Oracle Process Manager and Notification Server is management & notification server for system components like HTTP Server, OID, WebCache.

opmnctl – is utility to start/stop and manage system components in Fusion Middleware 11g. From Fusion Middleware 11g, opmnctl command exists in two places ; $ORACLE_HOME/opmn/bin and $ORACLE_INSTANCE/bin

Why to integrate Oracle Instance with WebLogic Server Domain ? – If you wish to manage system components (like HTTP Server, OID, Webcache) using Fusion Middleware Control Console (/em) then register ORACLE_INSTANCE with Weblogic Server Domain.

How to register Oracle Instance with WebLogic Server Domain  ? – use opmnctl from INSTANCE_HOME to register Oracle Instance with WebLogic Server. Ex

$INSTANCE_HOME/bin/opmnctl registerinstance -adminHost myhostname -adminPort 7001

*Fusion Middleware provides two type of system component Java Component & System component

References/Related

 

Learn Oracle Weblogic Server Administration

 

Get 100 USD OFF + 100% Money Back Guarantee

Click here to get Early Bird Discounts

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

12 comments
newtoOEM says July 30, 2010

I am new to Oracle database admin and OEM area. I was able to use opmnctl start/stop from oms home/bin in my OEM 10.2.x.x versions. I upgraded to OEM11g and now I do not see opmnctl in oms/bin. It is in oraclehome/opmn/bin for both oms and agent. Do I need to register Oracle Instance with WebLogic Server and what port do I use?

Reply
warren says June 8, 2011

Hi, we’ve installed wls 10.3.5 and soa 11.1.1.5. Configured domain and started admin server, nodemanager, managed server through all supplied scripts but cannot start managed server throught the admin console (actually it does start after about 45 mins according to putty session but admin console is never updated. if we log out and log back in we can see both servers are running. Question is this: I’m worried the installs are corrupted even though Oracle support claims they are correct. We cannot log into EM and we cannot even bring up the B2B home page and support cannot figure out why. We also have no opmn and support says that is ok but everywhere I read, it states opmn should have been installed. Any ideas?

Reply
warren says June 8, 2011

Sorry, forgot to mention that we are using the Solaris versions combined with jrockit version 28 or 24 (can’t remember). Oracle has already confirmed that the export of the B2B partner/agreements data from Integration 10g to 11g does not work when you have custom documents for the solaris version and wondering if others have had half the issues we’ve had with these installs on solaris?

Reply
Atul Kumar says June 8, 2011

@ Warren,
I can confirm that SOA 11g is Java component and only requires WebLogic. OPMN is required only for system components like OHS, WebCache, OID, OBIEE System component.

OPMN is not used for just SOA type.

For issues in /em and /b2b few things to check

1. Ensure that Admin Server and SOA managed servers are up and running

2. Ensure that there are no logs in admin & managed server log files (one with diagnostics)

Logs are under $DOMAIN_HOME/servers/[serverName]/logs

There could be chances that managed or admin is up but application (em or b2b) failed to start which could be for number of reasons.

If you are starting services via console then ensure that in Node Manager properties file, startScriptEnabled is set to true (default iis false)

or start managed server using command line script startManagedServer.sh as shown in http://onlineappsdba.com/index.php/2008/08/03/oracle-weblogic-server-startupshutdown/

Reply
warren says June 10, 2011

Thanks for info on OPMN. EM and B2B are up and running as shown in the deployments in the admin console when both servers are running. There are no immediate errors related to em that I can see in the logs and support has gone over them also and found nothing. The only thing I see is a bunch of classNotFound exceptions and a warning that em is not versioned. Both I have pointed out to support and they don’t think those have anything to do with it. startScriptEnabled=true property is set and ran setDomainEnv before starting servers. Since we cannot start managed server through admin console, I tried using wlst connecting to nodemanager and managed server started after about 4-5 mins fine. Log into console and see both servers are running, em/b2b are running in deployments but still em will not login (just sits there spinning the clock on the page even after 30-45 mins). go look at targets.xml at /appl/oracle/mw/11g_5_home/user_projects/domains/base_domain/sysman/state and it never gets updated with the DomainHome and WebLogicHome as does the support persons file and b2b homepage will not load. Tried editing the targets file and restarting the admin/managed server and still cannot login to em. Thanks for help.

Reply
Atul Kumar says June 14, 2011

@ warren,

It is safe to ignore warning that “em is not versioned” however in my view issue is with “classNotFound exceptions”

where are you getting this (paste error message here) ?

Are you sure that your weblogic is 10.3.5 and SOA is 11.1.1.5 ?

Reply
warren says June 17, 2011

Hi, turns out it is a browser issue with IE. Support is still looking up the reason but I was able to get into EM and B2B through Firefox. Thanks for your help.

Reply
Atul Kumar says June 20, 2011

@ warren,
Thanks for sharing this information with us.

Reply
» How to find/audit Failed Login Attempts in OID 11g Online Apps DBA: One Stop Shop for Apps DBA’s says August 28, 2012

[…] deployed on weblogic and integrated with OID automatically during configuration or later using opmnctl registerinstance […]

Reply
» OID/OVD WebLogic 11g monitoring using OEM 12c (12.1.0.2) : High Level Steps Online Apps DBA: One Stop Shop for Apps DBA’s says June 25, 2013

[…] steps on how to integrate OID/OVD with WebLogic server  run opmnctl registerInstance from OID/OVD […]

Reply
shreyas says May 30, 2014

We have $ORACLE_INSTACE/instances/opmn/bin/opmnctl missing after upgrading from 11i to R12.2.0. Please suggest.

/Oraapps/R12UPDEV/R12DEV/fs1/FMW_Home/webtier
bash-3.2$ ls -ltr
total 136
-rw-r—– 1 appldev dba 415 Apr 07 2008 dummy.ssl.txt
-rw-r—– 1 appldev dba 412 Apr 07 2008 dummy.ic.txt
-rw-r—– 1 appldev dba 430 Apr 07 2008 dummy.ic.linux.txt
drwxrwxr-x 8 appldev dba 4096 Sep 20 2012 OPatch
-rw-r—– 1 appldev dba 44 Apr 23 13:26 oraInst.loc
drwxr-x— 7 appldev dba 4096 May 07 20:53 jdk
drwxr-x— 3 appldev dba 256 May 07 20:53 diagnostics
drwxr-x— 3 appldev dba 256 May 07 20:53 util
drwxr-x— 4 appldev dba 256 May 07 20:53 sysman
drwxr-x— 2 appldev dba 4096 May 07 20:53 oneoffpatches
drwxr-x— 2 appldev dba 256 May 07 20:53 modules
drwxr-x— 3 appldev dba 256 May 07 20:53 common
drwxr-x— 6 appldev dba 256 May 07 20:53 chgip
drwxr-x— 6 appldev dba 256 May 07 20:53 doc
drwxr-x— 3 appldev dba 256 May 07 20:53 clone
drwxr-x— 9 appldev dba 4096 May 07 20:53 rda
drwxr-x— 3 appldev dba 256 May 07 20:53 hs
drwxr-x— 3 appldev dba 256 May 07 20:53 odbc
drwxr-x— 3 appldev dba 256 May 07 20:53 emdw
drwxr-x— 3 appldev dba 256 May 07 20:53 opsm
drwxr-x— 3 appldev dba 256 May 07 20:53 encryption
drwxr-x— 4 appldev dba 256 May 07 20:53 has
drwxr-x— 3 appldev dba 256 May 07 20:54 tg4sybs
drwxr-x— 4 appldev dba 256 May 07 20:54 srvm
drwxr-x— 3 appldev dba 256 May 07 20:54 css
drwxr-x— 4 appldev dba 256 May 07 20:54 crs
drwxr-x— 3 appldev dba 256 May 07 20:54 slax
drwxr-x— 7 appldev dba 256 May 07 20:54 precomp
drwxr-x— 4 appldev dba 256 May 07 20:54 oracore
drwxr-x— 5 appldev dba 256 May 07 20:54 nls
drwxr-x— 3 appldev dba 256 May 07 20:54 jdbc
drwxr-x— 3 appldev dba 256 May 07 20:54 admin
drwxr-x— 10 appldev dba 256 May 07 20:55 rdbms
drwxr-x— 5 appldev dba 256 May 07 20:55 plsql
drwxr-x— 6 appldev dba 256 May 07 20:55 ldap
drwxr-x— 3 appldev dba 256 May 07 20:55 relnotes
drwxr-x— 6 appldev dba 256 May 07 20:55 xdk
drwxr-x— 10 appldev dba 4096 May 07 20:55 webcache
drwxr-x— 4 appldev dba 256 May 07 20:55 iau
drwxr-x— 4 appldev dba 256 May 07 20:55 owm
drwxr-x— 3 appldev dba 256 May 07 20:55 assistants
drwxr-x— 7 appldev dba 256 May 07 20:55 upgrade
drwxr-x— 7 appldev dba 256 May 07 20:55 opmn
drwxr-x— 2 appldev dba 4096 May 07 20:55 jlib
drwxr-x— 21 appldev dba 4096 May 07 20:55 ohs
drwxr-x— 2 appldev dba 4096 May 07 20:56 bin
drwxr-x— 5 appldev dba 256 May 07 20:56 perl
drwxr-x— 6 appldev dba 4096 May 07 20:56 oui
drwxr-x— 10 appldev dba 256 May 07 20:56 network
drwxr-x— 3 appldev dba 256 May 07 20:58 install
drwxr-x— 5 appldev dba 256 May 07 21:11 cfgtoollogs
drwxr-x— 5 appldev dba 256 May 07 21:12 sqlplus
drwxrwx— 12 appldev dba 4096 May 07 21:12 inventory
drwxr-x— 3 appldev dba 8192 May 07 21:12 lib
drwxr-x— 2 appldev dba 4096 May 07 21:12 lib32
drwxr-xr-x 9 appldev dba 256 May 07 21:15 ccr

Reply
Tom Souza says June 1, 2016

Atul,
There is a mistype on your article’s title: Webogic instead of WebLogic.

Cheers

Reply
Add Your Reply