Tried to connect Eclipse to the host using Endevor 18.0 Web Services and Eclipse-Based UI component, but got the following error:
Release : 18.0
Component : CA Endevor Software Change Manager
1 - There are HTTP/HTTPS mismatches. The protocol and port in the URL used by the client to perform requests or connect to Eclipse UI and the port and/or redirected port defined in their server.xml file shows a conflict. SSH (HTTPS) is defined in server.xml which creates a problem. Their apiml.properties file might be interfering as well, even though they have APIML_ENABLED set to N in their ENWSInstallOptions.properties.
2 - The EndevorService directory and the EndevorService.war file cannot be found under the ../tomcat/webapps directory. Their ENWSInstallOptions.properties file shows that ENDEVOR_TOMCAT_INSTANCE and ENDEVOR_SOFTWARE_DIR share a common path in the definition. The ENWSIns.sh installation script first removes the EndevorService.war from the ENDEVOR_TOMCAT_INSTANCE/webapps directory. After that, it copies EndevorService.war from ENDEVOR_SOFTWARE_DIR/tpv/tomcat/webapps to ENDEVOR_TOMCAT_INSTANCE/webapps. The problem is that, in their case, both paths are equal. Hence, the EndevorService.war is removed and cannot found later on.
1 - The SSH sections defined in server.xml have been commented out or removed. The parameters related with API Mediation Layer Discovery Service in the ENWSInstallOptions.properties file have been commented out or removed as they have defined APIML_ENABLED=NO. They did not need the apiml.properties file in the ../webapps/endevor directory because they are not implementing the mediation layer, so they have removed it as well.
2 - The problem was fixed by changing the path of ENDEVOR_SOFTWARE_DIR specified in the ENWSInstallOptions.properties file. Now ENDEVOR_SOFTWARE_DIR and ENDEVOR_TOMCAT_INSTANCE do not share a common path pointing to the same location. The ENWSIns.sh installation script runs successfully placing the EndevorService directory and the EndevorService.war file under the ENDEVOR_TOMCAT_INSTANCE/webapps directory.
*Notice that ENDEVOR_TOMCAT_INSTANCE is the parameter that indicates the path that will be used for the CA Endevor Tomcat instance and that it can point to the same location than TOMCAT_HOME_DIR. On the other side, ENDEVOR_SOFTWARE_DIR is the parameter pointing to the path where CA Endevor SCM has been installed to and should contain the folders software and tpv.