Spectrum 10.3.1 - OneClick WebApp Errata

Document created by mseckler on Jan 22, 2019
Version 1Show Document
  • View in full screen mode

Hi all,

 

after spending some time getting the new OneClick WebApp to run, I collected quite a number of error messages and I figures that maybe it helps some folks out there. I've configured multiple servers, all either RHEL 7 or CentOS 6. Feel free to add your own findings:

 

Error:

 

1) Error injecting constructor, java.lang.IllegalStateException: org.webswing.server.model.exception.WsInitException: Invalid system property webswing.warLocation: File /home/spectrum/../webapps/spectrum.war or /home/spectrum/../webapps/spectrum.war not found.

 

Solution:

 

In "/spectrum/webtomcat/conf/catalina.properties", change the paths from relative to absolute:

 

webswing.warLocation=/spectrum/webtomcat/webapps/spectrum.war
webswing.configFile=/spectrum/webtomcat/webswing/webswing.config
webswing.tempDirBase=/spectrum/webtomcat/webswing/tmp

 

Error:

 

18-Jan-2019 08:03:48.618 SEVERE [https-jsse-nio-8444-Acceptor-0] org.apache.tomcat.util.net.Acceptor.run Socket accept failed
 java.io.IOException: Too many open files

 

Solution:

 

    • check the current file handle limit ("ulimit -n")
    • change /etc/security/limits.conf entsprechend accordingly
    * soft nofile 2048
    * hard nofile 2048
    • log out and back in

 

Error:

 

/spectrum/webtomcat/bin/catalina.sh: line 464: xvfb-run: command not found

 

Solution:

 

Install Xvfb (https://docops.ca.com/ca-spectrum/10-3-1/en/managing-client-applications/oneclickwebapp#OneClickWebApp-StepstorunOneClickWebApponLinux)
    
Error:

 

2019-01-22 19:46:53,227 ERROR [http-nio-8444-exec-7] (SwingInstanceManagerImpl.java:143) Failed to create Application instance.
java.lang.NullPointerException

 

Solution:

 

Don't use /spectrum/webtomcat/bin/startup.sh, but /spectrum/webtomcat/bin/startWebTomcat.sh.

 

Error:

 

java.lang.IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokens

 

Solution:

 

replace "https://" with "http://" in the URL.

 

Error:

 

 

Solution:

 


N/A

3 people found this helpful

Attachments

    Outcomes