History | Log In     View a printable version of the current page.  
HQ 4.0 EE Release is Now Available | HQ 3.2.5-EE Maintenance Release is Now Available
Issue Details (XML | Word | Printable)

Key: HHQ-2044
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Doug MacEachern
Reporter: Doug MacEachern
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hyperic HQ

Plugin does not work with WebSphere 6.1 fixpack 11+

Created: 05/May/08 04:22 PM   Updated: 03/Sep/08 02:36 PM
Component/s: Plugins
Affects Version/s: None
Fix Version/s: 4.0.0, 3.2.4

Verify By: Ilaya Perumal
Last comment: 20 weeks, 6 days ago
Resolution Date: 28/Jun/08 07:27 AM


 Description  « Hide
Changes in recent WebSphere 6.1 fixpacks (11..15) have broken the HQ websphere plugin:
Unexpected error running autodiscoverer for plugin: WebSphere Admin 6.1: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8879.
org.hyperic.hq.product.PluginException: ADMC0016E: The system cannot create a SOAP connector to connect to host localhost at port 8879.
at org.hyperic.hq.plugin.websphere.jmx.WebsphereRuntimeDiscoverer.discoverServers(WebsphereRuntimeDiscoverer.java:162)
...
Caused by: java.lang.NoClassDefFoundError: org/osgi/service/url/AbstractURLStreamHandlerService


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Doug MacEachern - 05/May/08 04:35 PM
Adding plugins/org.eclipse.osgi_*.jar to the plugins' classpath (or pdk/lib) cures the NoClassDefFoundError but results in:
java.lang.StackOverflowError
at java.lang.ClassLoader.loadClass(ClassLoader.java:621)
at java.lang.ClassLoader.loadClass(ClassLoader.java:595)
at com.ibm.ws.runtime.util.URLHandlerFactory.createURLStreamHandler(URLHandlerFactory.java:140)
at java.net.URL.getURLStreamHandler(URL.java:1139)
...
at java.lang.ClassLoader.loadClass(ClassLoader.java:595)
at com.ibm.ws.runtime.util.URLHandlerFactory.createURLStreamHandler(URLHandlerFactory.java:140)
at java.net.URL.getURLStreamHandler(URL.java:1139)
...

Doug MacEachern - 05/May/08 04:37 PM
Until the ClassLoader riddle is solved, it is possible to workaround using the following two commands:

C:\WebSphere\AppServer\bin\setupCmdLine.bat
hq-agent.exe -Djava.ext.dirs="%JAVA_HOME%\jre\lib\ext;%WAS_EXT_DIRS%;%WAS_HOME%\plugins;%WAS_HOME%\lib\WMQ\java\lib" start

Doug MacEachern - 28/Jun/08 07:27 AM
Fixed for 3.2.4 and 4.0.0