{"id":3954,"date":"2013-04-11T10:33:41","date_gmt":"2013-04-11T14:33:41","guid":{"rendered":"https:\/\/pitss.org\/us\/2013\/04\/11\/how-to-perform-oam-tracing\/"},"modified":"2017-05-15T14:32:20","modified_gmt":"2017-05-15T18:32:20","slug":"how-to-perform-oam-tracing","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2013\/04\/11\/how-to-perform-oam-tracing\/","title":{"rendered":"How to Perform OAM Tracing"},"content":{"rendered":"<p>This guide will provide instructions on how to perform tracing for the Oracle Access Manager (OAM) environment. This is useful when trying to debug errors pertaining to OAM and\/or using Single Sign-On (not to be confused with Oracle\u2019s Single Sign-On software used before OAM) on a protected ADF, Forms, or Java\/JSP application. Using this method will NOT require a shutdown of your WebLogic servers. NOTE: The screenshots were taken from a Windows environment, but this works perfectly in Unix as well.<\/p>\n<ol>\n<li>Open up Command Prompt as an administrator<\/li>\n<li>Navigate to the %ORACLE_HOME%\\common\\bin ($ORACLE_HOME\/common\/bin in Unix) directory using the cd command.<\/li>\n<li>Log into WLST:\n<ul>\n<li>Windows: wlst.cmd<\/li>\n<li>Unix: .\/wlst.sh<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/04\/image1.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/04\/image_thumb1.png\" alt=\"image\" width=\"682\" height=\"125\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Connect to your WebLogic domain using: connect()\n<ul>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/04\/image2.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/04\/image_thumb2.png\" alt=\"image\" width=\"698\" height=\"105\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Type in the following information when prompted (Press Enter after typing in the requested information):\n<ul>\n<li>WebLogic username<\/li>\n<li>WebLogic password<\/li>\n<li>AdminServer URL (Example: t3:\/\/server.domain:AdminPort)<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/04\/image3.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/04\/image_thumb3.png\" alt=\"image\" width=\"704\" height=\"65\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Setting TRACE:16 or TRACE:32 for the OAM managed server (Example: oam_server1) will set up tracing for it. To do so, run the following:\n<ul>\n<li>domainRuntime()<\/li>\n<li>setLogLevel(logger=\u201doracle.oam\u201d,level=\u201dTRACE:16\u201d, persist=\u201d0\u201d, target=\u201doam_server1\u201d)<\/li>\n<li><a class=\"thickbox\" href=\"https:\/\/pitss.org\/files\/2013\/04\/image4.png\"><img loading=\"lazy\" decoding=\"async\" style=\"padding-left: 0px;padding-right: 0px;padding-top: 0px;border: 0px\" src=\"https:\/\/pitss.org\/files\/2013\/04\/image_thumb4.png\" alt=\"image\" width=\"712\" height=\"101\" border=\"0\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Once you have reached this step, replicate the OAM issue you are seeing. After the issue has been replicated, review the [OAM_managed_server]-diagnostic.log (oam_server1-diagnostic.log) to review the trace information.<\/li>\n<li>To return the trace level back to the default of NOTIFICATION:1, you may either:\n<ul>\n<li>Restart the OAM managed server<\/li>\n<li>Run the following WLST command: setLogLevel(logger=\u201doracle.oam\u201d,level=\u201dNOTIFICATION:1\u201d, persist=\u201d0\u201d, target=\u201doam_server1\u201d)<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>NOTE: You may view the trace level of the OAM managed server at any time in WLST by running the command: listLoggers(pattern=\u201doracle.oam.*\u201d,target=\u201doam_server1\u201d). The logger \u201coracle.oam\u201d will be the one to check.<\/p>\n<p><strong>Source: Oracle Support note 1298296.1.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will provide instructions on how to perform tracing for the Oracle Access Manager (OAM) environment. This is useful when trying to debug errors pertaining to OAM and\/or using Single Sign-On (not to be confused with Oracle\u2019s Single Sign-On software used before OAM) on a protected ADF, Forms, or Java\/JSP application. Using this method [&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":[94,14,19,71,10],"tags":[11,17,47,40,24],"class_list":["post-3954","post","type-post","status-publish","format-standard","hentry","category-access-management","category-resolve-issues","category-unix-linux","category-weblogic-software","category-windows","tag-11g","tag-linux","tag-oam","tag-weblogic","tag-windows"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3954","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=3954"}],"version-history":[{"count":5,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3954\/revisions"}],"predecessor-version":[{"id":9031,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/3954\/revisions\/9031"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=3954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=3954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=3954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}