{"id":2855,"date":"2012-10-08T12:44:39","date_gmt":"2012-10-08T16:44:39","guid":{"rendered":"https:\/\/pitss.org\/us\/2012\/10\/08\/manual-11g-forms-trace\/"},"modified":"2017-06-30T10:46:28","modified_gmt":"2017-06-30T14:46:28","slug":"forms-11g-manual-trace","status":"publish","type":"post","link":"https:\/\/pitss.org\/us\/2012\/10\/08\/forms-11g-manual-trace\/","title":{"rendered":"Manual 11g Forms Trace"},"content":{"rendered":"<p>How to launch a Forms 11g manual trace without using Enterprise Manager:<\/p>\n<p>1. Launch Forms Trace: Open your forms application; however, for the URL simply add the following parameters to the end of your Forms URL \u201c&amp;record=forms&amp;tracegroup=debug\u201d.<\/p>\n<p>2. Reproduce the error that you are trying to debug<\/p>\n<p>3. Open Command Prompt or your SSH terminal<\/p>\n<p>4. Go to %MIDDLEWARE_HOME%\\user_projects\\domains\\%domain_name%\\bin, and run setDomainEnv.cmd (In Unix, run $MIDDLEWARE_HOME\/user_projects\/domains\/$DOMAIN_NAME\/bin\/setDomainEnv.sh<\/p>\n<p>5. Update CLASSPATH in your Command Prompt session (or SSH session):<\/p>\n<blockquote><p>a. Set CLASSPATH=%CLASSPATH%;C:\\Oracle\\Middleware\\as_1\\jlib\\frmxlate.jar (In Unix, run: export CLASSPATH=$CLASSPATH:\/oracle\/middleware\/as_1\/jlib\/frmxlate.jar)<\/p><\/blockquote>\n<blockquote><p>b. Go to C:\\Oracle\\Middleware\\asinst_1\\FormsComponent\\forms\\trace (\/oracle\/middleware\/asinst_1\/FormsComponent\/forms\/trace)<\/p><\/blockquote>\n<p>6. You should see a forms_%pid_number%.trc, for example say the pid number for your forms session is 1234, the file will be forms_1234.trc. However, this file is not in a friendly format; thus we can convert it to a text file.<\/p>\n<p>7. java oracle.forms.diagnostics.Xlate datafile=trace_file.trc outputfile=my_text_file.txt outputclass=WriteOutTEXT<br \/>\nFor example,<br \/>\njava oracle.forms.diagnostics.Xlate datafile=forms_1234.trc outputfile=forms_1234.txt outputclass=WriteOutTEXT<\/p>\n<p>8. Running this command will convert the trace file to text format. Now you can open and view the trace file.<\/p>\n<p><strong>NOTE: Updated December 20, 2013 with steps for Linux\/Unix systems.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to launch a Forms 11g manual trace without using Enterprise Manager: 1. Launch Forms Trace: Open your forms application; however, for the URL simply add the following parameters to the end of your Forms URL \u201c&amp;record=forms&amp;tracegroup=debug\u201d. 2. Reproduce the error that you are trying to debug 3. Open Command Prompt or your SSH terminal [&hellip;]<\/p>\n","protected":false},"author":1,"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":[22,14,19,10],"tags":[11,16,25,23],"class_list":["post-2855","post","type-post","status-publish","format-standard","hentry","category-forms","category-resolve-issues","category-unix-linux","category-windows","tag-11g","tag-11gr2","tag-customer-support-request","tag-forms"],"_links":{"self":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2855","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/comments?post=2855"}],"version-history":[{"count":4,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2855\/revisions"}],"predecessor-version":[{"id":9540,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/posts\/2855\/revisions\/9540"}],"wp:attachment":[{"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/media?parent=2855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/categories?post=2855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pitss.org\/us\/wp-json\/wp\/v2\/tags?post=2855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}