Launching the OneClickWebapp after modifying the -host parameter in the webswing config results in a SESSION ENDED error

book

Article ID: 140452

calendar_today

Updated On:

Products

CA eHealth CA Spectrum

Issue/Introduction

After modifying the -host parameter in the webswing configuration the OneClickWebApp fails to load

 

Results in


SESSION ENDED

Your session has ended. You may start a new session or close your browser window.

 

Trying to start a new session and it just loops like this over and over again. 

 

 

Reviewing the webswing.log shows the following errors

2019-11-13 14:43:45,027 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp] FATAL: SwingMain:main -> java.lang.reflect.InvocationTargetException
2019-11-13 14:43:45,027 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2019-11-13 14:43:45,027 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2019-11-13 14:43:45,027 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at java.lang.reflect.Method.invoke(Method.java:498)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at org.webswing.SwingMain.startSwingApp(SwingMain.java:62)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at org.webswing.SwingMain.main(SwingMain.java:45)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at java.lang.reflect.Method.invoke(Method.java:498)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at main.Main.main(Main.java:70)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp] Caused by: java.lang.NullPointerException
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at com.aprisma.spectrum.app.client.jnlp.ClientAppBase.initCodeBase(ClientAppBase.java:615)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     at com.aprisma.spectrum.app.console.client.ConsoleApp.main(ConsoleApp.java:454)
2019-11-13 14:43:45,028 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]     ... 11 more
2019-11-13 14:43:45,029 INFO  [Webswing Process Handler] (SwingProcessImpl.java:283) [spectrumdc212005cd0fOneClick WebApp]  |
2019-11-13 14:43:45,029 INFO  [Webswing Process Handler] (SwingProcessImpl.java:123) [spectrumdc212005cd0fOneClick WebApp] app process terminated.
2019-11-13 14:43:45,045 INFO  [Webswing Process Handler] (SwingInstanceImpl.java:380) Transfer dir for session [spectrumdc212005cd0fOneClick WebApp] cleared. 

 

Environment

Release : DX NetOps Spectrum 10.4

Component : Spectrum Core / SpectroSERVER

Resolution

When re-configuring the OneClick Webapp to use HTTPS with OneClick the hostname was changed from
localhost to a FQDN. For some reason, there appears to have been an issue resolving this resulting in the
reported behavior SESSION ENDED.

-host 10.10.10.15 -port 8443 -ssl true -contextPort 43000 -compress 9

Changing the -host parameter from the FQDN to the IP or localhost and now it launches properly.

Additional Information

This should be addressed in the 10.4.1 release

Attachments