|
Thursday, April 16, 2009 |
Discoverer Troubleshooting |
Generic Discoverer Issues
Make sure Jserv is working fine. For all other discoverer issues that comes while accessing viewer page or start_ie page or discolaunch.htm, try the following :
1. cd $ORACLE_HOME/discwb4/util 2. ./stopall.sh 3. ls –la .*id => there should not be any .*id file once the components are down. If any .*id file gets listed, do a. more .oadid ( good for any .*id file present) b. ps –eaf | grep nnnnn ( nnnnn is the value listed in step a ) c. If this is owned by the wrong user, remove the file. 4. Make sure ./startgatekeeper.sh is in startall.sh 5. ./startall.sh 6. Check locator.log, gatekeeper.log and oad.log for error messages 7. Check if the discoverer works fine. If not … a. stopall.sh b. startoad.sh c. startosagent.sh d. unregistercollector.sh e. unregistersession.sh f. unregisterpreference.sh g. check for correct ip in pref.txt h. applypreferences.sh i. registerpreferences.sh j. registersession.sh k. registercollector.sh l. stoposagent.sh m. stopoad.sh n. stopall.sh o. startall.sh
Discoverer Viewer Problem Description: Discoverer Viewer fails with the following error... Wide area network connection failed. Unable to read locator.ior file at location file:/discwb4/applet/locator.ior. - Local area network connection failed. Failed to connect to locator .oracleoutsourcing.com_OracleDiscovererLocator4 using OSAgent. - Gatekeeper connection failed. - Hint: An administrator can further diagnose connection problems by running the "checkdiscoverer" script under /806/discwb4/util.
Resolution :
This happens when there is a discrepancy in the discoverer xml file. 1. To locate the filename and its location go to : $APACHE_TOP/Jserv/etc/disco4iviewer.properties 2. Look for "servlet.Viewer.initArgs" and note down the path it points to. Eg : "servlet.Viewer.initArgs=config=file:/tbmidi/product/iAS/Apache/Apache/htdocs/disco4iv/html/disco4iv.xml" 3. Now grep for "path" in the disco4iv.xml file. The path should ideally look like, for eg : path="/tbmidi/product/iAS/Apache/Apache/htdocs/discwb4/applet/" If the full path is not mentioned, viewer fails. In this case, the path would have looked like........path="/discwb4/applet/" Change the path variable to display the full path as given in the eg. 4. Restart Apache Server.
Problem Description: Discoverer Viewer fails with the following error...
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, apdmrkmi@oracleoutsourcing.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
“mod_jserv.log” display the following error……..
[10/03/2005 17:08:39:120] (ERROR) ajp12: Servlet Error: Failed to set state
Resolution :
Update $APACHE_TOP/Jserv/etc/viewer.properties by moving the following lines above the line with "apps.zip" reference.
#----------------------- wrapper.classpath=/dmrkmi/product/806/vbroker/lib/vbjorb.jar wrapper.classpath=/dmrkmi/product/806/vbroker/lib/vbjapp.jar wrapper.classpath=/dmrkmi/product/iAS/Apache/Apache/htdocs/disco4iv/disco4res.jar #-----------------------
Problem Description: Discoverer Viewer fails with the following error...
Could not locate or parse the .dbc file corresponding to the given Oracle Applications instance.
Resolution :
Edit the $APPL_TOP/admin/_.xml context file and look for “s_appserverid_authentication” Set this to OFF and rerun the adconfig
In 11510 default value is SECURE.
Discoverer Launcher
Problem Description: Discoverer Launcher fails with the following error...
Wide area network connection failed. Unable to read locator.ior file at location http://:/discoshare/locator.ior - Local area network connection failed. Failed to connect to locator .oracleoutsourcing.com_OracleDiscovererLocator4 using OSAgent. - Gatekeeper connection failed. - Hint: An administrator can further diagnose connection problems by running the "checkdiscoverer" script under /806/discwb4/util.
Resolution : This happens when the URL is wrong. It can be either the hostname or the port. 1.Ensure the “fnd_profile_option_values” has the correct URL set. 2.Grep for the URL in $APACHE_TOP/Apache/htdocs. a.For eg, a big-up url is given a wrong port no. ie https://appsrolltest.oracleoutsourcing.com:10515 b.grep -ir appsrolltest * discwb4/scripts/htmlvars_apps.js:var ORAWEBDISCO_IORCODEBASE = https://appsrolltest.oracleoutsourcing.com:10515/discoshare/"; c.Change the URL to reflect the correct port.
Gatekeeper
Problem Description: Gatekeeper fails to start
Resolution: 1.Go to $APACHE_TOP/Apache/htdocs/discwb4/applet directory 2.Check the gatekeeper.log file for errors like ‘unable to bind to port’ or other errors. 3.Fix the error and restart gatekeeper.
Registering Components
Problem Description:
Registering Discoverer Preference Repository
oadutil reg: Unexpected SystemException org.omg. CORBA.NO_IMPLEMENT[completed=MAYBE]
Resolution:
1.The issue is with TMPDIR in $ORACLE_HOME/discwb4/discwb.sh. 2.Make sure that the entry for TMPDIR exists in discwb.sh. For eg; TMPDIR=/lhypei/applmgr/product/806/discwb4/tmp
Problem Description:
//applmgr/product/806/vbroker/bin/vbj[200]: -Dorg.omg.CORBA.ORBClass=com.visigenic.vbroker.orb.ORB: unknown test operator
Resolution:
Goto the line no. specified in brackets and put the correct syntax as follows :
if [ -d "${J_HOME}" ] && [ "${javavm}" = "java" ]; then
(Sometimes the line no. in the error will not match with the above line, in that case you need to search for the above line in the vbj file and correct it)
Problem Description:
//product/806/discwb4/bin/dis4pr: error while loading shared libraries: libclntsh.so.1.0: cannot open shared object file: No such file or directory Registering Discoverer Preference Repository.
Resolution:
1. ldd /tohagi/product/806/discwb4/bin/dis4pr You will get libclntsh.so.1.0 => not found 2. Executed the above command in the source instance, to get the correct path of libclntsh.so.1.0. 3. Copy libclntsh.so.1.0 from source to target. OAD
Problem Description: Failed to Start OAD. Possibly the OAD is already running in the same port. Resolution: 1. Check for IP_ADDR in $ORACLE_HOME/discwb4/util/discwb.sh. Correct the IP Address.
Note : Along with the above error, if oad.log shows : error while loading shared libraries: liborb.so: cannot open shared object file: No such file or directory.
2. Copy liborb.so from source MT where discoverer is running to target MT. For eg : $ORACLE_HOME/vbroker/lib/liborb.so to target.
Problem Description: Failed to bind to OAD
The following errors can be found in locator.log : VisiBroker: Unable to contact agent in local node or from list provided. Will try to locate using broadcast. oadutil reg: Unexpected SystemException org.omg.CORBA.NO_IMPLEMENT[completed=MAYBE] Locator: No IP address given. Bind directly to server name Unable to bind to or retrieve information from preference object auohscabo02.oracleoutsourcing.com_10715OracleDiscovererPreferences4 Could not locate the following object: repository id : IDL:DCICORBAInterface:1.0
(OR)
OAD: Fatal Error [Cross-device link]. Unable to create repository file: /tcaboi/applmgr/product/806/vbroker/adm/impl_dir/impl_rep. Make sure VBROKER_ADM environmentis set up correctly Unable to create repository file: /tcaboi/applmgr/product/806/vbroker/adm/impl_dir/impl_rep
Resolution:
Create a directory by name “tmp” in $ORACLE_HOME/vbroker/adm and put the following entry in $ORACLE_HOME/discwb4/discwb.sh
TMPDIR=$ORACLE_HOME/vbroker/adm/tmp export TMPDIRLabels: Discoverer Troubleshooting |
posted by Srinivasan .R @ 5:10 AM |
|
|
|
|