Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 183022 - Got AgentControllerUnavailableException when running Control Channel test on Linux IPF
Summary: Got AgentControllerUnavailableException when running Control Channel test on ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P1 blocker (vote)
Target Milestone: ---   Edit
Assignee: Samson Wai CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 14:32 EDT by Bing Xu CLA
Modified: 2016-05-05 10:52 EDT (History)
4 users (show)

See Also:


Attachments
AC servicelog.log file (Sun JDK 1.5 was used) (1.47 KB, text/plain)
2007-04-18 16:03 EDT, Bing Xu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bing Xu CLA 2007-04-18 14:32:56 EDT
Build ID: TPTP-4.4.0-200704180100

Steps To Reproduce:
1. Make sure RAC is running on the Agent side with security disabled.  

2. Need to set the following on the Agent side
set AC_DIR=<RAC_Install_Dir>
set PLUGINS_HOME=%AC_DIR%\plugins
set EXEFWRK=%PLUGINS_HOME%\org.eclipse.hyades.execution_<version>
set CLASSPATH=.;%EXEFWRK%\hexcore.jar;%EXEFWRK%\hexl.jar;%EXEFWRK%\hexr.jar
set PATH=%PATH%;%AC_DIR%\bin

3. Change to directory where control channel test files are installed and run 'java agent.AgentMain'

More information:
I was running the test case on tptpia64 (Linux IPF) using id 'ractest'. RAC, IBM JDK 1.4.2 and control channel files are installed under /home/ractest/bing.
Comment 1 Bing Xu CLA 2007-04-18 16:03:14 EDT
Created attachment 64227 [details]
AC servicelog.log file (Sun JDK 1.5 was used)
Comment 2 Bing Xu CLA 2007-04-18 16:04:48 EDT
I tested again using Sun JDK 1.5 (was using IBM JDK 1.4.2 since couldn't find 1.5 from IBM JIM site http://w3.hursley.ibm.com/java/jim/ibmsdks/index.html) and got same exception.   I've attached the servicelog.log.
Comment 3 Bing Xu CLA 2007-04-19 11:11:10 EDT
I tried the same build on Linux EM64T with Sun JDK jdk1.5.0_11  and got the same AgentControllerUnavailableException.  IBM JDK 5 on Linux EM64T gave the following error:

JVMJ9VM011W Unable to load j9jit23: /home/ractest/bing/ibm-java2-x86_64-50/jre/bin/libj9jit23.so: cannot restore segment prot after reloc: Permission denied
JVMJ9VM011W Unable to load jclscar_23: /home/ractest/bing/ibm-java2-x86_64-50/jre/bin/libjclscar_23.so: cannot restore segment prot after reloc: Permission denied
Could not create the Java virtual machine.
Comment 4 Samson Wai CLA 2007-04-19 13:34:29 EDT
Mark this as blocker since this breaks all backward compatibility scenarios.
Comment 5 Samson Wai CLA 2007-04-19 13:51:07 EDT
Bing, can you try reproducing this on Windows/EM64T and Windows/IPF using the same setup? I think the problem is common to all 64-bit platforms. Thanks.
Comment 6 Samson Wai CLA 2007-04-19 15:46:37 EDT
Seems to be caused by the size of the "ra_int_t" structure being changed from 4 to 8 bytes on a 64-bit hardware. Not sure why it works on Windows.

Files affected:
- src-native-new/include/tptp/compatibility/RAComm.h
- src-native-new/src/transport/RACommon/RATypes.h
Comment 7 Samson Wai CLA 2007-04-19 15:56:35 EDT
Fixes tested on Linux/EM64T & Linux/IPF and checked into CVS 2007/04/19 15:56 EDT.

Will need to verify on Windows/IPF using the next build before closing this bug.
Comment 8 Samson Wai CLA 2007-04-20 13:20:52 EDT
I have built and tested on Windows/IPF and the problem is gone. I will mark this as fixed. Please verify when there is a new driver (200704200100 or later) available.
Comment 9 Paul Slauenwhite CLA 2009-06-30 09:27:01 EDT
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 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.