VMware Cloud Community
RobertRedd
Contributor
Contributor

Error starting agent using Websphere 6.1 java home

I set the HQ_JAVA_HOME to the Websphere 6.1 java libaries and I get the following error in the agent.log.startup (the agent starts up fine with the built-in java libs, but not with the websphere java).

Exception in thread "Thread-3" java.lang.StackOverflowError: operating system stack overflow
at com.ibm.ws.runtime.util.URLHandlerFactory.createURLStreamHandler(URLHandlerFactory.java:140)
at java.net.URL.getURLStreamHandler(URL.java:1139)
at java.net.URL.<init>(URL.java:606)
at java.net.URL.<init>(URL.java:498)
at java.net.URL.<init>(URL.java:447)
at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:181)
at java.net.JarURLConnection.<init>(JarURLConnection.java:164)
at sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:93)
at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:42)
at java.net.URL.openConnection(URL.java:977)
at sun.misc.URLClassPath$Loader.getResource(URLClassPath.java:758)
at sun.misc.URLClassPath.getResource(URLClassPath.java:323)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1032)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.ibm.ws.runtime.util.URLHandlerFactory.createURLStreamHandler(URLHandlerFactory.java:140)
at java.net.URL.getURLStreamHandler(URL.java:1139)
at java.net.URL.<init>(URL.java:606)
at java.net.URL.<init>(URL.java:498)
at java.net.URL.<init>(URL.java:447)
at java.net.JarURLConnection.parseSpecs(JarURLConnection.java:181)
at java.net.JarURLConnection.<init>(JarURLConnection.java:164)
at sun.net.www.protocol.jar.JarURLConnection.<init>(JarURLConnection.java:93)
at sun.net.www.protocol.jar.Handler.openConnection(Handler.java:42)
at java.net.URL.openConnection(URL.java:977)
at sun.misc.URLClassPath$Loader.getResource(URLClassPath.java:758)
at sun.misc.URLClassPath.getResource(URLClassPath.java:323)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1032)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.ibm.ws.runtime.util.URLHandlerFactory.createURLStreamHandler(URLHandlerFactory.java:140)
at java.net.URL.getURLStreamHandler(URL.java:1139)
at java.net.URL.<init>(URL.java:606)
at java.net.URL.<init>(URL.java:498)
.....
Reply
0 Kudos
2 Replies
RobertRedd
Contributor
Contributor

I should have put this in the bugs forum... so I copied it over there.

Sorry about that.
Reply
0 Kudos
MarieMcGarry
Enthusiast
Enthusiast

Robert,

Don't know whether this might be related, but the page w/ config instructions for WebSphere (at http://support.hyperic.com/display/hypcomm/WebSphere+Admin+6.1+server) says:


Global Security Configuration
If Global Security is enabled, check that the user running the agent has read access to ${installpath}/properties/ssl.client.props and that the following properties are correct:

com.ibm.ssl.keyStore=...
com.ibm.ssl.keyStorePassword=...
com.ibm.ssl.trustStore=...
com.ibm.ssl.trustStorePassword=...


Have you checked on that?

-m

Message was edited by: MarieMcGarry
Reply
0 Kudos