| Summary: | InactiveAgentException thrown from session.release() with IBM JRE 1.5 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Mark D Dunn <mddunn> | ||||
| Component: | TPTP | Assignee: | Mark D Dunn <mddunn> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | closed460 | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 133473 | ||||||
| Attachments: |
|
||||||
I have been asked to upgrade this to 'critical' since this problem is the root cause of bugzilla 133473 (test generation won't automatically run) and needs to be fixed by Friday 4/7/2006. Bugzilla 133473 is blocking the enablement testers and therefore needs to be fixed by 4/7 . Note: I can run an URL test successfully on Linux/IA32 (recorded on Windows/IA32) using Sun JDK 1.5.0_06. It also works using the latest IBM JDK 1.5 (SR1) java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20060222 (SR1)) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223-20060222a (JIT enabled) J9VM - 20060220_05389_lHdSMR JIT - 20060220_2133_r8 GC - 20060214_AA) JCL - 20060222a Which RAC driver are you using? I am using the TPTP 4.2 RAC from 2006/04/03. I was using the RAC from March 16. I haven't tried with more current RAC ( I have been out of the office since March 18). To recreate this problem, follow these steps on Linux 1. start eclipse 2. Open Test perpective 3. Change focus to the Test Navigator by left-clicking in the Test Navigator window. 4. Right-Click in the Test Navigator window and select New->Test Element. 5. Highlight ‘Test From Recording’ and click on ‘Next’. 6. Select ‘Create Test From New Recording’, highlight ‘HTTP Recording’ and click ‘Next’. 7. Select the project to store the recording and name of the testsuite to be generated and click Finish. 8. Browse to any website (e.g. http://www.google.com) 9. Close the browser. At this point, the Test Generator should start automatically. The problem is that an exception is thrown here (in SessionStub.release() )and the call to start the test generator is skipped when using JRE 1.5 (it works fine when using JRE 1.4.2). We could put a try / catch block around this release() call but that wouldn't fix the root cause. Created attachment 37555 [details]
javacore
This is the java core from the agent
The above javacore is created when IBM JDK 1.5 is used. No problem when Sun JDK 1.5.0_06 is used. Mark, the RAC launched the java process without any problem. It is the agent process which crashes when IBM JDK 1.5.0 is used. You can look under your /tmp directory for javacores and see what and where the crash occurred. You may also try to use Sun JDK 1.5.0_06 as a reference. Target for 4.2 iteration 2. This not longer is a problem using 4.2 iteration 2 test pass 1 with build of TPTP-4.2.0-200604040905 . As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |
When recording has completed and we call SessionStub.release(), an InactiveAgentException is thrown from the following line in SessionStub.release() in SessionStub.java: ReturnData invokeRtn = delegateRemoteCall(new Class[]{}, new Object[]{}, "release"); This exception is only thrown when using JRE 1.5 . When using JRE 1.4.2, this works fine with no problems at all.