Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 202981 - ACServer broken, exception thrown when starting on Linux IPF
Summary: ACServer broken, exception thrown when starting on Linux IPF
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Igor Alelekov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 203218
Blocks:
  Show dependency tree
 
Reported: 2007-09-11 14:45 EDT by Kendric Wang CLA
Modified: 2016-05-05 10:52 EDT (History)
5 users (show)

See Also:


Attachments
warning message: connection to AC refused (936.58 KB, image/bmp)
2007-09-11 19:25 EDT, Kendric Wang CLA
no flags Details
servicelog (70.17 KB, application/octet-stream)
2007-09-12 09:46 EDT, Kendric Wang CLA
no flags Details
patch (962 bytes, patch)
2007-09-13 11:10 EDT, Igor Alelekov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kendric Wang CLA 2007-09-11 14:45:09 EDT
Build ID: M20070905-1045

Steps To Reproduce:
1. Download and install AC for Linux IPF from the TPTP-4.4.1-200709101254 candidate build page.
1. Run SetConfig.sh script.
2. Run the ACStart.sh script. It gives the following output:

Starting Agent Controller.
Exception in thread "Thread-0" java.lang.InternalError
	at java.util.zip.Inflater.init(Native Method)
	at java.util.zip.Inflater.<init>(Inflater.java:79)
	at java.util.zip.ZipFile.getInflater(ZipFile.java:376)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:321)
	at java.util.zip.ZipFile.getInputStream(ZipFile.java:287)
	at java.util.jar.JarFile.hasClassPathAttribute(JarFile.java:460)
	at java.util.jar.JavaUtilJarAccessImpl.jarFileHasClassPathAttribute(JavaUtilJarAccessImpl.java:15)
	at sun.misc.URLClassPath$JarLoader.getClassPath(URLClassPath.java:809)
	at sun.misc.URLClassPath.getLoader(URLClassPath.java:293)
	at sun.misc.URLClassPath.getResource(URLClassPath.java:160)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
ACServer started successfully.
 
3. Despite the exception, a ps cmd shows the ACServer process.
4. Running the SampleClient gives the following error:

ERROR: Unable to connect to the Agent Controller running on localhost at port number 10006
Press any key to exit...


More information:

Test machine - TPTPIA64 (Linux IPF)
JDK - Sun JRE build 1.5.0_04-b05
AC - agntctrl.linux_ipf-TPTP-4.4.1-200709101254.zip
Comment 1 Kendric Wang CLA 2007-09-11 19:11:31 EDT
This problem seems to be a regression from the 4.4.0.2 build. The AC from 4.4.0.2 was run successfully (without exceptions). When the ACServer/RAServer files from 4.4.0.2 were used in place of those for 4.4.1., it ran without exceptions, confirming that this is a problem with the new build.
Comment 2 Kendric Wang CLA 2007-09-11 19:21:42 EDT
The ACServer process does start on the host machine, but I am unable to run any testcases that require profiling external java applications or attaching to agents.

When I add the host machine and click on 'Test Connection', it returns a "Connection success" message. However, when I attempt to profile an external java application, the profiler returns a warning saying that "One of the selected launch delegates has failed." See attached image.

When I attempt to do a "Attach to Agent" test, it does not find any agents - it returns a message saying "Error retrieving running agents".
Comment 3 Kendric Wang CLA 2007-09-11 19:25:41 EDT
Created attachment 78121 [details]
warning message: connection to AC refused
Comment 4 Igor Alelekov CLA 2007-09-12 05:13:30 EDT
Kendric,
Could you please provide servicelog.log file with DEBUG level?
Thanks.
Comment 5 Bing Xu CLA 2007-09-12 09:45:18 EDT
I finished the three test cases (get started, control channel test, install/uninstall) on Linux_IPF (tptpia64) with no problems using the 0828 build.   

Will try the 0910 build again.
Comment 6 Kendric Wang CLA 2007-09-12 09:46:02 EDT
Created attachment 78179 [details]
servicelog

servicelog.log attached
Comment 7 Igor Alelekov CLA 2007-09-13 04:07:27 EDT
Last TPTP builds for Linux IPF and EM64T haven't required library libsocketTL.so
Opening bug #203218 to track this.
Comment 8 Igor Alelekov CLA 2007-09-13 11:10:19 EDT
Created attachment 78318 [details]
patch
Comment 9 Igor Alelekov CLA 2007-11-12 10:12:56 EST
Resolving since dependence on openssl is removed and no additional libraries are required.
Comment 10 Kendric Wang CLA 2008-06-26 10:08:47 EDT
Marking defect as closed.