Active IQ Unified Manager Discussions

Oncommand Insight failed to launch

Linh
4,208 Views

Hi,

 

I am having error to launch the java client from OCI 7.0.2. It failed in the webui when click on the cup or create a shortcut from Win7 desktop. It will run when RDP to the OCI server.

The log information from sanscreen-client.log

 

2016-04-11 14:08:30,247 INFO [javawsApplicationMain] com.onaro.commons.keystore.CertificateDownloader (CertificateDownloader.java:124) - CertificateDownloader - Need to download and install certificate for IP OCI server, port 443

2016-04-11 14:08:30,247 INFO [javawsApplicationMain] com.onaro.commons.keystore.CertificateDownloader (CertificateDownloader.java:124) - CertificateDownloader - Need to download and install certificate for IP OCI server, port 443

2016-04-11 14:08:30,637 INFO [javawsApplicationMain] com.onaro.sanscreen.client.ejb.SessionsManager (SessionsManager.java:277) - Opening connection to OnCommand Insight Server

2016-04-11 14:08:30,902 INFO [javawsApplicationMain] com.onaro.sanscreen.client.ejb.SessionsManager (SessionsManager.java:316) - Closing server connection

2016-04-11 14:08:30,902 INFO [javawsApplicationMain] com.onaro.sanscreen.client.ejb.SessionsManager (SessionsManager.java:277) - Opening connection to OnCommand Insight Server

2016-04-11 14:08:35,036 INFO [pool-2-thread-2] com.onaro.sanscreen.client.ejb.SessionsManager (SessionsManager.java:316) - Closing server connection

2016-04-11 14:08:35,036 INFO [pool-2-thread-2] com.onaro.sanscreen.client.ejb.SessionsManager (SessionsManager.java:277) - Opening connection to OnCommand Insight Server

2016-04-11 14:08:36,191 ERROR [javawsApplicationMain] com.onaro.client.leekui.WindowPlatformRunnable (WindowPlatformRunnable.java:26) - Failed to create Client window:

java.lang.reflect.UndeclaredThrowableException

                at com.sun.proxy.$Proxy6.isLoginWarningEnabled(Unknown Source)

                at com.onaro.sanscreen.client.MainDirector.isLoginWarningEnabled(MainDirector.java:460)

                at com.onaro.sanscreen.client.MainDirector.userAgreeLoginWarningMessage(MainDirector.java:407)

                at com.onaro.sanscreen.client.MainDirector.main(MainDirector.java:312)

                at com.onaro.sanscreen.client.SANscreenClientPlatformRunnable.createWindow(SANscreenClientPlatformRunnable.java:43)

                at com.onaro.client.leekui.WindowPlatformRunnable.doRun(WindowPlatformRunnable.java:24)

                at com.onaro.commons.osgi.AbstractPlatformRunnable$1.call(AbstractPlatformRunnable.java:19)

                at com.onaro.commons.lang.ClassLoaderUtils.execute(ClassLoaderUtils.java:21)

                at com.onaro.commons.osgi.AbstractPlatformRunnable.run(AbstractPlatformRunnable.java:26)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:574)

                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:195)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)

                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)

                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

                at org.eclipse.equinox.launcher.WebStartMain.basicRun(WebStartMain.java:73)

                at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

                at org.eclipse.equinox.launcher.WebStartMain.main(WebStartMain.java:51)

                at com.onaro.sanscreen.client.WebStartMain.main(WebStartMain.java:45)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at com.sun.javaws.Launcher.executeApplication(Unknown Source)

                at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

                at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)

                at com.sun.javaws.Launcher.run(Unknown Source)

                at java.lang.Thread.run(Unknown Source)

Caused by: java.rmi.RemoteException:

*** Exception occurred on server ***

*** Reason         : Failed to get session: LoginSession

*** Possible cause : Server Down

*** Troubleshooting : Restart Server

************************************; nested exception is:

                java.lang.RuntimeException: javax.naming.ServiceUnavailableException: Unexpected failure [Root exception is java.lang.NullPointerException]

                at com.onaro.sanscreen.client.ejb.SessionsManager$MyInvocationHandler.getSession(SessionsManager.java:354)

                at com.onaro.sanscreen.client.ejb.SessionsManager$MyInvocationHandler$1.call(SessionsManager.java:468)

                at com.onaro.commons.lang.ClassLoaderUtils.execute(ClassLoaderUtils.java:21)

                at com.onaro.sanscreen.client.ejb.SessionsManager$MyInvocationHandler.invokeImpl(SessionsManager.java:483)

                at com.onaro.sanscreen.client.ejb.SessionsManager$MyInvocationHandler.invoke(SessionsManager.java:401)

                at com.onaro.commons.lang.reflect.FilterInvocationHandler.invoke(FilterInvocationHandler.java:22)

                at com.onaro.commons.lang.reflect.NotificationInvocationHandler.invoke(NotificationInvocationHandler.java:68)

                ... 38 more

Caused by: java.lang.RuntimeException: javax.naming.ServiceUnavailableException: Unexpected failure [Root exception is java.lang.NullPointerException]

                at com.onaro.commons.lang.OnaroExceptionUtils.throwException(OnaroExceptionUtils.java:78)

                at com.onaro.sanscreen.client.ejb.SessionsManager.getPhysicalSession(SessionsManager.java:258)

                at com.onaro.sanscreen.client.ejb.SessionsManager$MyInvocationHandler.getSession(SessionsManager.java:344)

                ... 44 more

Caused by: javax.naming.ServiceUnavailableException: Unexpected failure [Root exception is java.lang.NullPointerException]

                at org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:71)

                at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)

                at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)

                at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)

                at com.sun.proxy.$Proxy7.lookup(Unknown Source)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:728)

                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:688)

                at javax.naming.InitialContext.lookup(Unknown Source)

                at com.onaro.sanscreen.client.ejb.SessionsManager$PhysicalSessionFactory$1.call(SessionsManager.java:519)

                at com.onaro.commons.lang.ClassLoaderUtils.execute(ClassLoaderUtils.java:21)

                at com.onaro.sanscreen.client.ejb.SessionsManager$PhysicalSessionFactory.createSession(SessionsManager.java:527)

                at com.onaro.sanscreen.client.ejb.SessionsManager$SessionFactory.create(SessionsManager.java:570)

                at com.onaro.sanscreen.client.ejb.SessionsManager$SessionFactory.create(SessionsManager.java:565)

                at com.onaro.commons.util.CachingFactory.create(CachingFactory.java:62)

                at com.onaro.commons.util.CachingFactory.create(CachingFactory.java:51)

                at com.onaro.sanscreen.client.ejb.SessionsManager.getPhysicalSession(SessionsManager.java:255)

                ... 45 more

Caused by: java.lang.NullPointerException

                at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.AccessController.doPrivileged(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)

                at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection.access$100(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection$8.run(Unknown Source)

                at java.security.AccessController.doPrivileged(Native Method)

                at java.security.AccessController.doPrivileged(Unknown Source)

                at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)

                at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)

                at org.jboss.invocation.http.interfaces.Util.invoke(Util.java:163)

                at org.jboss.invocation.http.interfaces.HttpInvokerProxy.invoke(HttpInvokerProxy.java:118)

                at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)

                at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)

                at org.jboss.naming.interceptors.ExceptionInterceptor.invoke(ExceptionInterceptor.java:57)

                ... 60 more

 

5 REPLIES 5

ostiguy
4,089 Views

#1. What version of Java is installed on your machine?

 

#2. Have you tried clearing your Java cache?

Linh
4,083 Views

Hi Matt,

 

The java version and desktop shortcut "C:\Program Files\Java\jre1.8.0_51\bin\javaws.exe" https://OCI IP/client/app/http-client.jnlp

 

java version "1.8.0_51"

 

I cleared the Java cache through Java Control Panel.

ostiguy
4,045 Views

I am not sure it is possible to use that new of a Java version with OCI 7.0.2

 

In late December of 2014, we created a server side OCI patch to ensure the client can work with Java 7u71 / 8u23 , but I don't know if that will help you

 

You can ping me at ostiguy at netapp dot com so I can give you some instructions on how to install it.

 

However, I would strongly recommend planning for an OCI upgrade. If you want to go with a GA release, OCi 7.1.3 is expected next month, and it should be very stable. OCI 7.2.0 is out, and offers some exciting new features

MUHAYER
3,857 Views

Hello ,

I have same problem. After upgrade OCI 7.1.2 to  7.2  client connection was lost.

 

 

Caused by: java.security.cert.CertificateException: No name matching MylocalServer found
    at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:221)
    at sun.security.util.HostnameChecker.match(HostnameChecker.java:95)
    at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:455)
    at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:436)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:200)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1491)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1283)
    at sun.net.www.protocol.http.HttpURLConnection.access$100(HttpURLConnection.java:90)
    at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1250)
    at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1248)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1247)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
    at org.jboss.remoting.transport.http.HTTPClientInvoker$5.run(HTTPClientInvoker.java:1310)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.jboss.remoting.transport.http.HTTPClientInvoker.getOutputStream(HTTPClientInvoker.java:1306)
    at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:367)
    at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:253)
    at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:176)
    at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:169)
    at org.jboss.remoting.Client.invoke(Client.java:2070)
    at org.jboss.remoting.Client.invoke(Client.java:879)
    at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
    ... 67 more

ostiguy
3,848 Views

Caused by: java.security.cert.CertificateException: No name matching MylocalServer found at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:221) at sun.security.util.HostnameChecker.match(HostnameChecker.java:95)

 

Where are you running the Java client?

On your workstation?

On the OCI server itself? If so, how are you launching it - from a browser, or the desktop client?

 

You are getting an error that the hostname in the digital certificate is not matching either the hostname you entered in the web browser, or the reverse DNS for the IP address you entered via the web browser resolves to a hostname different from the hostname within the cert.

Public