Service Dashboard WebApp is actually launching the OneClick WebApp
search cancel

Service Dashboard WebApp is actually launching the OneClick WebApp

book

Article ID: 238638

calendar_today

Updated On:

Products

DX NetOps CA Spectrum

Issue/Introduction

When launching Service Dashboard WebApp from DX NetOps OneClick web page, the Service Dashboard WebApp is not launched, but the OneClick WebApp is launched instead. This occurs using EDGE, IE, Chrome and Firefox. Note the javascript is enabled for each web browser.

The OneClick WebApp session was not active when attempting to access Service Dashboard WebApp, as you can only open one WebApp session.

DX NetOps Spectrum OneClick

Reviewed the $SPECROOT/webtomcat/bin/logs/webswing.log file:

2022-03-25 09:50:39,443 INFO  [https-openssl-nio-8444-exec-7] (SwingProcessImpl.java:96) Starting application process [oneclickwebapp_anonym_acc32ab3dabc_1648227039443] from [E:\CA\Spectrum\tomcat\webapps\spectrum] :[E:\CA\Spectrum\Java\jre\bin\java, -Xbootclasspath/a:E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/WEB-INF_swing-boot_webswing-api-20.2.14.jar;E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/WEB-INF_swing-boot_webswing-app-toolkit-20.2.14.jar;E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/WEB-INF_swing-boot_webswing-app-toolkit-java8-20.2.14.jar;E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/WEB-INF_swing-boot_webswing-app-toolkit-20.2.14.jar;E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/WEB-INF_swing-boot_modpatch-java-desktop-20.2.14.jar;E:\CA\Spectrum\Java\jre\lib\ext\jaccess.jar, -Djavax.sound.sampled.Clip=org.webswing.audio.AudioMixerProvider, -noverify, -Xmx1024m, -Djavaws.cfg.jauthenticator=true, -DbrowserIp=172.xx.xx.xx, -Dsun.awt.noerasebackground=true, -Duser.timezone=America/Los_Angeles, -Dtomcat.server.xml=E:/CA/Spectrum/tomcat/conf/server.xml, -Dawt.toolkit=org.webswing.toolkit.WebToolkit8, -Dwebswing.printerJobDelegate=org.webswing.toolkit.WebPrinterJob, -Dwebswing.allowJsLink=true, -Dwebswing.sessionpool.id=default-pool, -Dwebswing.allowUpload=true, -Dwebswing.directdraw.supported=true, -Dwebswing.sessionTimeoutSec=300, -Dwebswing.screenHeight=937, -Dwebswing.transparentFileOpen=true, -Dwebswing.statisticsLoggingEnabled=true, -Dwebswing.dpr=1, -Dwebswing.websocketMessageTimeout=30000, -Dwebswing.recording.flagged=false, -Dwebswing.server.websocket.truststore=E:/CA/SPECTRUM/custom/keystore/cacerts.jks, -Dwebswing.clientId=oneclickwebapp_anonym_acc32ab3dabc_1648227039443, -Dwebswing.applicationHome=E:\CA\Spectrum\webtomcat\bin, -Dwebswing.screenWidth=1920, -Dwebswing.theme=Sassandra, -Djava.awt.graphicsenv=org.webswing.toolkit.ge.WebGraphicsEnvironment8, -Djava.awt.headless=false, -Dwebswing.jmsQueueId=oneclickwebapp_anonym_acc32ab3dabc_1648227039443, -Dwebswing.launcherType.applet=false, -Dwebswing.mirroring.ask.needed=false, -Dwebswing.testMode=false, -Dwebswing.allowAutoDownload=true, -Dwebswing.jsLinkWhitelist=*, -Dwebswing.initialUrl=https://OneClick_hostname:8444/spectrum/oneclickwebapp/, -Dwebswing.sessionTimeoutIfInactive=false, -Dwebswing.tempDirPath=file:/E:/CA/Spectrum/webtomcat/bin/../webswing/tmp/release/, -Dwebswing.sessionLoggingEnabled=false, -Dwebswing.server.websocket.truststore.type=jks, -Dwebswing.transparentFileSave=true, -Dwebswing.websocketUrl=wss://OneClick_hostname:8444/spectrum/oneclickwebapp/async/app-bin, -Dwebswing.rootDir=E:\CA\Spectrum\webtomcat\bin, -Dwebswing.accessibilityEnabled=false, -Dwebswing.isolatedFs=true, -Dwebswing.allowDownload=false, -Dwebswing.allowDelete=false, -Dwebswing.mainClass=com.aprisma.spectrum.app.console.client.ConsoleApp, -Dwebswing.connection.secret=<hidden>, -Dwebswing.compositingWindowManager=true, -Dwebswing.dataStoreConfig=eyJtb2R1bGUiOiJGSUxFU1lTVEVNIn0=, -Dwebswing.userId=anonym, -Djava.awt.printerjob=org.webswing.toolkit.WebPrinterJobWrapper, -Dwebswing.allowLocalClipboard=true, -Dwebswing.classPath=E:/CA/Spectrum/tomcat/webapps/spectrum/lib/*.jar;E:/CA/Spectrum/tomcat/webapps/spectrum/lib/contrib/*.jar;E:/CA/Spectrum/tomcat/webapps/spectrum/lib/clientapplet.jar, -Dwebswing.appId=/oneclickwebapp, -Dwebswing.directdraw=true, -Dwebswing.transfer.dir=E:\CA\Spectrum\webtomcat\bin\anonym\upload, -Dwebswing.server.websocket.truststore.password=********, -Dwebswing.server.websocket.hostnameVerifier.disabled=true, -Dwebswing.touchMode=false, -Dwebswing.recording.ask.needed=false, -Dwebswing.websocketMessageSizeLimit=5242880, -Dwebswing.dockMode=ALL, -Dwebswing.fontConfig=E:\CA\Spectrum\webtomcat\bin\..\webswing\tmp\release\fontconfig-oneclickwebapp_anonym_acc32ab3dabc_1648227039443.properties, -cp, E:\CA\Spectrum\webtomcat\bin\..\webapps\spectrum.war, main.Main, -host, localhost, -port, 443, -ssl, true, -contextPort, 43000, -compress, 9]

 

Environment

Release : 21.2

Component : Spectrum OneClick

Cause

After the upgrade from 21.2.1 to 21.2.8, customization was done in the $SPECROOT/webtomcat/webswing/webswing.config file.

"launcherConfig" : {
        "args" : "-host localhost -port 443 -ssl true -contextPort 43000 -compress 9",
        "mainClass" : "com.aprisma.spectrum.app.console.client.ConsoleApp"
      },

Resolution

Removed the customization. Here is the current entry in the $SPECROOT/webtomcat/webswing/webswing.config file.

"launcherConfig" : {
        "args" : "-compress 9 ${customArgs}",
        "mainClass" : "com.aprisma.spectrum.app.console.client.ConsoleApp"

Stop/start the SpectrumWebtomcat service.