Spectrum - Error changing default port in CABI to 8443
search cancel

Spectrum - Error changing default port in CABI to 8443


Article ID: 192504


Updated On:


CA Spectrum CA eHealth


When changing CABI (Jasper) port from 8080 to 8443 (without configuring SSL), while accessing Jasper, the browser is redirected to port 8080 and login page does not load.


Release : 10.4.1

Component : Jaspersoft for CA Spectrum


Port 8443 is usually used when enabling SSL on Tomcat. It may be required additional changes than just update the connector port in server.xml


If it is required to use port 8443, without enabling SSL, you must change the redirectPort parameter in the Connector.

For instance, let's assume this is the modified Connector line to use port 8443 in <CABI>/apache-tomcat/conf/server.xml

   <Connector port="8443" protocol="HTTP/1.1"
               redirectPort="8443" />

The redirectPort needs to changed, for instance as follow

   <Connector port="8443" protocol="HTTP/1.1"
               redirectPort="8080" />

and then restart Jasper.

If still doesn't work, and next message is seen in <CABI>/apache-tomcat/logs/catalina.out logs

08-Jun-2020 16:04:01.490 SEVERE [main] org.apache.catalina.core.StandardService.startInternal Failed to start connector [Connector[AJP/1.3-8009]]
 org.apache.catalina.LifecycleException: Protocol handler start failed
  at org.apache.catalina.connector.Connector.startInternal(Connector.java:1057)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:440)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:766)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:688)
  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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:343)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:474)
 Caused by: java.lang.IllegalArgumentException: The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid.
  at org.apache.coyote.ajp.AbstractAjpProtocol.start(AbstractAjpProtocol.java:274)
  at org.apache.catalina.connector.Connector.startInternal(Connector.java:1055)
  ... 12 more

1. Stop Jasper.

2. Backup, and edit the server.xml

3. Search next line

<Connector port="8009" protocol="AJP/1.3" redirectPort="8080" />

add next parameter to it

<Connector port="8009" protocol="AJP/1.3" secretRequired="false" redirectPort="8080" />

4. Save the file, and start Jasper. Problem should not occurs again.

Additional Information

Is it possible to change the Jaspersoft tomcat port after install?