| Summary: | Java SampleClient blocks AC launching | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Igor Alelekov <igor.alelekov> | ||||
| Component: | TPTP | Assignee: | Jonathan West <jgwest> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P2 | CC: | jgwest, jkubasta, kiryl.kazakevich, paulslau, xubing | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | housecleaned460 closed460 | ||||||
| Attachments: |
|
||||||
|
Description
Igor Alelekov
Reset sizing. Hi Bing. I have transferred my bugs to you for triage. Thanks. Igor, I need bit more information. This is what I did. 1. In one cmd window, start ACServer 2. In another cmd window, start SampleClient 3. In 3rd cmd window, do 'ACServer -shutdown' Then the first ACServer is terminated and I can start ACServer again. Did I miss any steps? Hi Bing, SampleClient works good. I had the problem with JavaSampleClient, first of all on Linux. Igor, I tried the following on my XP and couldn't reproduce the bug: 1. In cmd window, start ACServer 2. In Eclipse, run SampleClientAC.java as Java Application 3. When SampleClientAC is done, in another cmd window, do 'ACServer -shutdown' 4. Start ACServer again 5. Run SampleClientAC again 6. When SampleClientAC is done, do 'ACServer -shutdown' again. I've tried both TPTP-4.4.1-200709101254 and TPTP-4.5.0-200712211700 with IBM 1.5 JVM. AC security is off. What's your environment? (In reply to comment #5) > Igor, > I tried the following on my XP and couldn't reproduce the bug: > 1. In cmd window, start ACServer > 2. In Eclipse, run SampleClientAC.java as Java Application > 3. When SampleClientAC is done, in another cmd window, do 'ACServer -shutdown' > 4. Start ACServer again > 5. Run SampleClientAC again > 6. When SampleClientAC is done, do 'ACServer -shutdown' again. > I've tried both TPTP-4.4.1-200709101254 and TPTP-4.5.0-200712211700 with IBM > 1.5 JVM. AC security is off. > What's your environment? Bing, could you try your use case on Linux? I'm using RHEL 4 upd 3. Hi Igor, I tried this again on Linux SUSE with TPTP 4.5, SUN JVM 1.5 and it worked for me. I had to modify the agent.xml for TimeCollector because of bug 213630. I don't have access to a RedHat 4 on Linux 32 now. Have you tried this with 4.5? (In reply to comment #7) > Have you tried this with 4.5? Hi Bing, Yes, this issue is reproducible on my RHEL with last TPTP 4.5 build. Created attachment 89565 [details]
Patch
Reproduced the bug on RedHat running on Linux EM64T with IBM JVM 1.5 and TPTP-4.5.0-200802100400.
Test patch on XP and Linux EM64T RedHat.
Igor, can you review the patch. Thanks.
Bing, it seems this is defect of AC. AC should terminate all processes it lanched. Hi Jonathan, can you review the patch. Thanks. Jonathan, can you take a look at the native side to see if AC needs fix to terminate the processes. My change was adding a ICollector.releaseAccess() call. From the comment in the code I can't tell if it is mandatory for me to do this. Jonathan, Is this containable in 4.5.0? Deferral to future with PMC approval Mass update of P1 enhancements and defects targetted to future to P2. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant 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 defect is resolved as WONTFIX by the Project Lead since this originator of this defect has an inactive Bugzilla account and it may be no longer relevant. If this defect is still relevant 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 the originator of this enhancement/defect has an inactive Bugzilla account 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. |