{"id":4447,"date":"2013-10-17T14:31:14","date_gmt":"2013-10-17T18:31:14","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/10\/17\/how-to-implement-cos-naming-service-for-reports-client-server-interaction-using-opmn\/"},"modified":"2017-05-15T13:49:31","modified_gmt":"2017-05-15T17:49:31","slug":"how-to-implement-cos-naming-service-for-reports-client-server-interaction-using-opmn","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/10\/17\/how-to-implement-cos-naming-service-for-reports-client-server-interaction-using-opmn\/","title":{"rendered":"How to Implement COS Naming Service for Reports Client-Server Interaction using OPMN"},"content":{"rendered":"<p>For Oracle Reports client-server interaction in 11g, this interaction can be performed in 1 or 2 ways:<\/p>\n<ul>\n<li>Multicasting (Configured by default)<\/li>\n<li>Naming Service<\/li>\n<\/ul>\n<p>If you either wish to use a naming service instead of multicasting, or if you are using the default settings and you receive REP-51002 errors 100% of the time when running anything on rwservlet either with the in-process reports server or the standalone reports server, the following steps will show how you can set up a naming service to form a bridge between the Reports client and the Reports server. Also, this guide will explain how you can have the naming service run as an OPMN service (in Windows, this process will start up automatically).<\/p>\n<p><strong>Setup<\/strong><\/p>\n<ol>\n<li style=\"list-style-type: none\">\n<ol>\n<li>If your WLS_REPORTS WebLogic server and standalone report server(s) are running, please shut them down.<\/li>\n<li>Go to %ORACLE_INSTANCE%\\config\\OPMN\\opmn and open up opmn.xml in a text editor (make a backup of this file first).<\/li>\n<li>Create a new &lt;ias-component&gt; after the ones for \u201cdejvm\u201d and \u201cforms\u201d:\n<ul>\n<li>&lt;ias-component id=&#8221;namingservice&#8221;&gt;<br \/>\n&lt;process-type id=&#8221;namingservice&#8221; module-id=&#8221;CUSTOM&#8221;&gt;<br \/>\n&lt;environment&gt;<br \/>\n&lt;variable id=&#8221;PATH&#8221; value=&#8221;%ORACLE_HOME%\\jdk\\bin&#8221;\/&gt;<br \/>\n&lt;\/environment&gt;<br \/>\n&lt;process-set id=&#8221;namingservice&#8221; numprocs=&#8221;1&#8243;&gt;<br \/>\n&lt;module-data&gt;<br \/>\n&lt;category id=&#8221;start-parameters&#8221;&gt;<br \/>\n&lt;data id=&#8221;start-executable&#8221; value=&#8221;%ORACLE_HOME%\\jdk\\bin\\orbd&#8221;\/&gt;<br \/>\n&lt;data id=&#8221;start-args&#8221; value=&#8221;-port 1050 \u2013ORBInitialPort %port%&#8221;\/&gt;<br \/>\n&lt;\/category&gt;<br \/>\n&lt;\/module-data&gt;<br \/>\n&lt;\/process-set&gt;<br \/>\n&lt;\/process-type&gt;<br \/>\n&lt;\/ias-component&gt;<\/li>\n<li>NOTE: %ORACLE_HOME% is the full path of your Forms Oracle Home and %port% is the port number you wish to use for your naming service.<\/li>\n<li><strong>IMPORTANT<\/strong>: Make sure that the port number %port% is not being used. Examples of port numbers we have used include 14021 or 14022.<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/10\/image6.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/10\/image_thumb6.png\" alt=\"image\" width=\"566\" height=\"500\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Further down in opmn.xml, look for &lt;ias-component id=\u201dRptSvr_%COMPUTERNAME%_asinst_1\u201d&gt; or something similar. After the &lt;\/module-data&gt; tag, add the following dependency (this allows OPMN to start the naming service before the standalone reports server):\n<ul>\n<li>&lt;dependencies&gt;<br \/>\n&lt;managed-process ias-component=&#8221;namingservice&#8221; process-type=&#8221;namingservice&#8221; process-set=&#8221;namingservice&#8221; autostart=&#8221;true&#8221;\/&gt;<br \/>\n&lt;\/dependencies&gt;<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/10\/image7.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/10\/image_thumb7.png\" alt=\"image\" width=\"681\" height=\"430\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Save and close the file.<\/li>\n<li>Open up Command Prompt and navigate to %ORACLE_INSTANCE%\\bin.<\/li>\n<li>If OPMN is not running, run \u201copmnctl start\u201d. Otherwise, run \u201copmnctl reload\u201d.<\/li>\n<li>Start the naming service with the following command: \u201copmnctl startproc ias-component=namingservice\u201d<\/li>\n<li>If successful, you should see that the process is \u201cAlive\u201d when you run \u201copmnctl status\u201d.<\/li>\n<li>Go to %ORACLE_INSTANCE%\\config\\ReportsServerComponent\\RptSvr_%COMPUTERNAME%_asinst_1 and open rwnetwork.conf in a text editor (make a backup of this file first)<\/li>\n<li>Comment out the line &lt;multicast channel\u2026&gt; and add a new line below:\n<ul>\n<li>&lt;namingService name=&#8221;Cos&#8221; host=&#8221;%COMPUTERNAME%&#8221; port=&#8221;%port%&#8221;\/&gt;<\/li>\n<li>NOTE: The port number must match what was used in step 3<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/10\/image8.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/10\/image_thumb8.png\" alt=\"image\" width=\"687\" height=\"161\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Save and close the file.<\/li>\n<li>Repeat steps 10-12 for %ORACLE_INSTANCE%\\config\\ReportsToolsComponent\\ReportsTools\\rwnetwork.conf and %DOMAIN_HOME%\\config\\fmwconfig\\servers\\WLS_REPORTS\\applications\\reports_11.1.2\\configuration\\rwnetwork.conf<\/li>\n<li>Start up WLS_REPORTS as well as any standalone reports servers you are using.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>After following the steps above, you should be able to run your reports successfully using a naming service.<\/p>\n<p><strong>Source: <\/strong><a title=\"http:\/\/docs.oracle.com\/cd\/E12839_01\/bi.1111\/b32121\/pbr_conf008.htm#CHEHAECB\" href=\"http:\/\/docs.oracle.com\/cd\/E12839_01\/bi.1111\/b32121\/pbr_conf008.htm#CHEHAECB\"><strong>http:\/\/docs.oracle.com\/cd\/E12839_01\/bi.1111\/b32121\/pbr_conf008.htm#CHEHAECB<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For Oracle Reports client-server interaction in 11g, this interaction can be performed in 1 or 2 ways: Multicasting (Configured by default) Naming Service If you either wish to use a naming service instead of multicasting, or if you are using the default settings and you receive REP-51002 errors 100% of the time when running anything [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[4,36,14,71],"tags":[11,16,41,37,40],"class_list":["post-4447","post","type-post","status-publish","format-standard","hentry","category-install-config","category-reports","category-resolve-issues","category-weblogic-software","tag-11g","tag-11gr2","tag-configuration","tag-reports","tag-weblogic"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=4447"}],"version-history":[{"count":5,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4447\/revisions"}],"predecessor-version":[{"id":8490,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/4447\/revisions\/8490"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=4447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=4447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=4447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}