11 Replies Latest reply: Jun 18, 2012 5:34 AM by Gunjan Ahuja RSS

    Orphaned Agent- unexpected agent code exit.code=1

    Gunjan Ahuja
      Hi Alex

      I am trying to run script from OLT(9.30.0272) which is successfully running on Openscript(Version: 9.3.0.0 Production
      Build ID: 2.6.0.0272), I am facing the issue which is "*Orphaned Agent- unexpected agent code exit.code=1*" even for single user as well and i have to go long for 150 users, and the same script was successfully running yesterday for 50 users.Since today morning I am facing this issue.

      By browsing forum i have tried increasing the Maximum JVM Heap Size to "1024", I also tried to re-install OATS product but again no success.

      Please help.

      Thanks in advance
      Gunjan
        • 1. Re: Orphaned Agent- unexpected agent code exit.code=1
          855889
          Try restarting all the OATS services from services.msc. Also, start and stop from Start -> Programs -> OATS -> Tools -> Stop OATS and Restart OATS.
          • 2. Re: Orphaned Agent- unexpected agent code exit.code=1
            Gunjan Ahuja
            I tried and restarted the services as well but it doesn't works...
            • 3. Re: Orphaned Agent- unexpected agent code exit.code=1
              glenn.s
              What does the java_agent.log from the agent machine look like after the failure?
              • 4. Re: Orphaned Agent- unexpected agent code exit.code=1
                Gunjan Ahuja
                This is log generated after failure

                2012-05-22 17:02:57,756 WARN [IteratingAgent 814][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:02:58,131 WARN [IteratingAgent 788][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:04,881 WARN [IteratingAgent 839][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:08,943 ERROR [IteratingAgent 815][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.815] Error in section Run at line (script.java:92). HTTP response code: 502 Bad Gateway
                oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:467)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPWindow.get(WebHTTPWindow.java:54)
                     at script.run(script.java:92)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                Caused by: oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 502 Bad Gateway
                     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:66)
                     at oracle.oats.scripting.modules.http.api.internal.ResponseCodeValidator.validate(ResponseCodeValidator.java:21)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.validate(AbstractHTTPService.java:993)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.navigate(AbstractHTTPService.java:595)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:504)
                     at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:2101)
                     at oracle.oats.scripting.modules.http.api.internal.browser.WebHTTPNavigator.get(WebHTTPNavigator.java:40)
                     at oracle.oats.scripting.modules.http.api.internal.domElement.AbstractWindowElement.get(AbstractWindowElement.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:442)
                     ... 5 more
                2012-05-22 17:03:08,943 ERROR [IteratingAgent 815][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.815] Iteration 1 failed at line (script.java:92). 4 Errors. HTTP response code: 502 Bad Gateway ...
                oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:467)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPWindow.get(WebHTTPWindow.java:54)
                     at script.run(script.java:92)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                Caused by: oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException: HTTP response code: 502 Bad Gateway
                     at oracle.oats.scripting.modules.http.api.exceptions.ThinBrowserException.createErrorInvalidHttpResponseCode(ThinBrowserException.java:66)
                     at oracle.oats.scripting.modules.http.api.internal.ResponseCodeValidator.validate(ResponseCodeValidator.java:21)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.validate(AbstractHTTPService.java:993)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.navigate(AbstractHTTPService.java:595)
                     at oracle.oats.scripting.modules.http.api.internal.AbstractHTTPService.doNavigate(AbstractHTTPService.java:504)
                     at oracle.oats.scripting.modules.http.api.internal.InternalHTTPService.get(InternalHTTPService.java:2101)
                     at oracle.oats.scripting.modules.http.api.internal.browser.WebHTTPNavigator.get(WebHTTPNavigator.java:40)
                     at oracle.oats.scripting.modules.http.api.internal.domElement.AbstractWindowElement.get(AbstractWindowElement.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.get(WebHTTPTestObject.java:442)
                     ... 5 more
                2012-05-22 17:03:11,443 WARN [IteratingAgent 798][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:11,896 WARN [IteratingAgent 782][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:11,943 WARN [IteratingAgent 801][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,021 WARN [IteratingAgent 784][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,068 WARN [IteratingAgent 824][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,193 WARN [IteratingAgent 805][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,678 WARN [IteratingAgent 795][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,740 WARN [IteratingAgent 828][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:12,818 WARN [IteratingAgent 778][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:13,365 WARN [IteratingAgent 834][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:13,412 WARN [IteratingAgent 799][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:13,771 ERROR [IteratingAgent 787][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.787] Error in section Run at line (script.java:261). The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541721/$%7BurlBase%7D/?cmd=get&file=EQ_custom/competence/personal_skills.jsm') and @index='0']//a[(@text='Edit' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541722/$%7BurlBase%7D/?CMD=GET&file=EQ_custom/competence/personal_skills_select.jsm&subjectId=748') and @index='23']
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541721/$%7BurlBase%7D/?cmd=get&file=EQ_custom/competence/personal_skills.jsm') and @index='0']//a[(@text='Edit' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541722/$%7BurlBase%7D/?CMD=GET&file=EQ_custom/competence/personal_skills_select.jsm&subjectId=748') and @index='23']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:261)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:13,771 ERROR [IteratingAgent 787][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.787] Iteration 3 failed at line (script.java:261). 3 Errors. The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541721/$%7BurlBase%7D/?cmd=get&file=EQ_custom/competence/personal_skills.jsm') and @index='0']//a[(@text='Edit' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541722/$%7BurlBase%7D/?CMD=GET&file=EQ_custom/competence/personal_skills_select.jsm&subjectId=748') and @index='23'] ...
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541721/$%7BurlBase%7D/?cmd=get&file=EQ_custom/competence/personal_skills.jsm') and @index='0']//a[(@text='Edit' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541722/$%7BurlBase%7D/?CMD=GET&file=EQ_custom/competence/personal_skills_select.jsm&subjectId=748') and @index='23']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:261)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:14,037 WARN [IteratingAgent 803][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:14,084 WARN [IteratingAgent 808][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:14,146 WARN [IteratingAgent 809][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:14,240 WARN [IteratingAgent 810][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:15,193 ERROR [IteratingAgent 780][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.780] Error in section Run at line (script.java:587). The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Unenroll' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?CMD=GET&file=catalog/unenroll/refund_details.jsm&ID=795625&returnTo=%3FCMD%3DGET%26file%3Dcatalog%2Fplan_summary.jsm&fromMain=1') and @index='26']
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Unenroll' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?CMD=GET&file=catalog/unenroll/refund_details.jsm&ID=795625&returnTo=%3FCMD%3DGET%26file%3Dcatalog%2Fplan_summary.jsm&fromMain=1') and @index='26']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:587)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:15,193 ERROR [IteratingAgent 780][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.780] Iteration 3 failed at line (script.java:587). 3 Errors. The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Unenroll' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?CMD=GET&file=catalog/unenroll/refund_details.jsm&ID=795625&returnTo=%3FCMD%3DGET%26file%3Dcatalog%2Fplan_summary.jsm&fromMain=1') and @index='26'] ...
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Unenroll' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?CMD=GET&file=catalog/unenroll/refund_details.jsm&ID=795625&returnTo=%3FCMD%3DGET%26file%3Dcatalog%2Fplan_summary.jsm&fromMain=1') and @index='26']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:587)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:22,865 WARN [IteratingAgent 811][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:30,146 WARN [IteratingAgent 841][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:36,209 ERROR [IteratingAgent 798][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.798] Error in section Run at line (script.java:191). The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:36,209 ERROR [IteratingAgent 798][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.798] Iteration 2 failed at line (script.java:191). 3 Errors. The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19'] ...
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:41,334 ERROR [IteratingAgent 809][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.809] Error in section Run at line (script.java:191). The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:41,334 ERROR [IteratingAgent 809][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.809] Iteration 2 failed at line (script.java:191). 3 Errors. The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19'] ...
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:41,521 WARN [IteratingAgent 842][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                2012-05-22 17:03:54,490 ERROR [IteratingAgent 841][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.841] Error in section Run at line (script.java:191). The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:54,490 ERROR [IteratingAgent 841][oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.841] Iteration 1 failed at line (script.java:191). 3 Errors. The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19'] ...
                oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException: The node is not found for the xpath:/window[@index='1']/frame[((@name='docent_main') or @src='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541716/$%7BurlBase%7D?CMD=GET&file=catalog/plan_summary.jsm') and @index='0']//a[(@text='Job Skills' or @href='https://rcorp-stp-01dev-step.sso-dev.infra.ftgroup:443/docent/bin/docentisapi.dll/lms,ggnstpu.tb.ores.del.equant.com,2151/SQN%3D86541717/$%7BurlBase%7D/?cmd=get&file=competence/gap_report.jsm') and @index='19']
                     at oracle.oats.scripting.modules.http.api.exceptions.WebHTTPException.createNodeNotFoundException(WebHTTPException.java:33)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.handleNodeNotExists(WebHTTPTestObject.java:105)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPTestObject.checkTestObject(WebHTTPTestObject.java:86)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.navigate(WebHTTPLink.java:32)
                     at oracle.oats.scripting.modules.http.api.elements.WebHTTPLink.click(WebHTTPLink.java:100)
                     at script.run(script.java:191)
                     at oracle.oats.scripting.modules.basic.api.IteratingVUser.run(IteratingVUser.java:320)
                     at oracle.oats.scripting.modules.basic.api.internal.IteratingAgent.run(IteratingAgent.java:726)
                     at java.lang.Thread.run(Thread.java:619)
                2012-05-22 17:03:55,771 WARN [IteratingAgent 794][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                • 5. Re: Orphaned Agent- unexpected agent code exit.code=1
                  byrne_wayne
                  Hi ,

                  It looks like something has changed in your network configuration. The exception ".ThinBrowserException: HTTP response code: 502 Bad Gateway" does not look good.

                  Have you tried to re-record your script? Give it a shot and see if the same exception happens as you record.

                  Regards

                  Wayne.
                  • 6. Re: Orphaned Agent- unexpected agent code exit.code=1
                    Gunjan Ahuja
                    Hi,

                    I tried to do re-record the script but it is perfectly working fine with Open script but creating problem when i run the script with OLT having load of even 10 users, one more point i want to say that in VU Display the users are still doing the transaction which i recorded even after "Orphaned Agent- unexpected agent code exit.code=1" error displaying in Watch VU Grid but after that error no graphs,reports etc are not generating.

                    Thanks for your reply
                    --Gunjan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
                    • 7. Re: Orphaned Agent- unexpected agent code exit.code=1
                      glenn.s
                      You need to organize your process to be able to analyze and properly communicate your problem. Does the agent orphan with one or two virtual users? What is the minimum number of vusers which cause the problem? How many iterations before the problem occurs? You sent us an agent log file that was over 8 days old.

                      1) Kill all agent processes that are still running.
                      2) Delete the agent log file.
                      3) Start the test with the minimum number of users that causes the problem.
                      4) Set the autopilot settings to "stop after X number of iterations", which is slightly higher than when the problem usually occurs.
                      5) Send us the part of the log file which shows the first errors which occur.
                      • 8. Re: Orphaned Agent- unexpected agent code exit.code=1
                        Gunjan Ahuja
                        Hi Glenn

                        This is the recent logs generated after thin browser exception occured and no user is able to complete its 1st iteration.

                        2012-06-13 11:32:21,172 WARN [IteratingAgent 866][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:32:26,062 WARN [IteratingAgent 865][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:32:48,625 WARN [IteratingAgent 868][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:32:54,703 WARN [IteratingAgent 867][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:00,297 WARN [IteratingAgent 869][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:17,437 WARN [IteratingAgent 870][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:17,562 WARN [IteratingAgent 871][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:24,922 WARN [IteratingAgent 872][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:28,437 WARN [IteratingAgent 874][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.
                        2012-06-13 11:33:40,000 WARN [IteratingAgent 873][oracle.oats.lbrowser.http.RSyncConnection.Socket.ResponseHeaders] Content-Type is empty, Response Headers will not be parsed.

                        Thanks
                        Gunjan
                        • 9. Re: Orphaned Agent- unexpected agent code exit.code=1
                          glenn.s
                          So this happens with a single user running one iteration in OLT? That log file you posted is only a small portion which most likely does not show the real error, only the consequence of a previous error.

                          Is this problem still logged, as Wayne previously noted?
                          (script.java:92). 4 Errors. HTTP response code: 502 Bad Gateway ...
                          and these?
                          (script.java:261). The node is not found for the xpath:/window[@index='1']
                          (script.java:587). The node is not found for the xpath:/window[@index='1']
                          (script.java:191). The node is not found for the xpath:/window[@index='1']

                          All those errors are legitimate, and unfortunately the java agent is crashing instead of reporting to you. You can file the that crashing problem to oracle support, but still that will not resolve your real problem of why those errors are happening.

                          Your agent machine is the same machine you are running OpenScript from? Since the first error does indicate a network problem from you agent machine, then you should write a single page navigation script to the same web site and try to recreate the problem.
                          • 10. Re: Orphaned Agent- unexpected agent code exit.code=1
                            Gunjan Ahuja
                            Hi All

                            Thanks your replying on this query.

                            Now , I am able to resolve this problem after increasing the iteration delay time.

                            Thanks
                            GUnjan
                            • 11. Re: Orphaned Agent- unexpected agent code exit.code=1
                              Gunjan Ahuja
                              Orphaned Agent- unexpected agent code exit.code=1



                              Resolved by increasing the iteration delay time