| Summary: | AIX agent controller startup script does not locate JVM libraries in certain cases | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jonathan West <jgwest> | ||||
| Component: | TPTP | Assignee: | Jonathan West <jgwest> | ||||
| Status: | CLOSED FIXED | QA Contact: | Kathy Chan <kathy> | ||||
| Severity: | major | ||||||
| Priority: | P2 | CC: | analexee, asaf.yaffe, jgwest, yunan.he | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | adopter | ||||||
| Attachments: |
|
||||||
Created attachment 169146 [details]
Patch to AIX ACStart.sh/ACStop.sh
This patch updates ACStart.sh and ACStop.sh for AIX to make their ability to locate the required JVM libraries more robust.
Approved for TPTP 4.7 RC2. Patches checked into HEAD. Resolving Previously verified, closing. |
In a particular configuration of the JDK and AC, the AC will fail to locate the necessary JVM libraries for 64-bit PPC (due to their location in the directory structure), which will cause the following error when starting the agent controller in secure mode. Exception in thread "Thread-6" java.lang.UnsatisfiedLinkError: net (A file or directory in the path name does not exist.) at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1008) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:972) at java.lang.System.loadLibrary(System.java:470) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:69) at java.security.AccessController.doPrivileged(AccessController.java:202) at java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:95) at java.lang.J9VMInternals.initializeImpl(Native Method) at java.lang.J9VMInternals.initialize(J9VMInternals.java:200) at java.lang.J9VMInternals.initialize(J9VMInternals.java:167) at java.net.ServerSocket.setImpl(ServerSocket.java:248) at java.net.ServerSocket.<init>(ServerSocket.java:190) at java.net.ServerSocket.<init>(ServerSocket.java:109) at org.eclipse.tptp.platform.agentcontroller.jsse.SSLNativeBinding.nativeInit(SSLNativeBinding.java:140) This is due to the main JVM library being properly located, but one of its dependencies not being on the LIBPATH to be loaded.