Applying Connect Portal v3.0 Patch
This section lists the prerequisites and steps to update Adeptia Connect UI on Tomcat. This section is applicable only for those who have installed Adeptia Connect using a single installer provided with v2.9.3 onwards. Those who have deployed Tomcat on the UI separately (v.2.9.3 earlier) should refer to the patch application conditions.
Prerequisites
Ensure that you have:
- Read and Write permissions on all subfolders and files of .../AdeptiaConnect-<Version>.
- Stopped Connect Portal Services.
Steps to update the patch:
Post Installation Steps
In this release, tomcat has been upgraded. Therefore, some manual changes are required in Connect Portal.
Changes in Server.xml File
- Go to the folder path where Adeptia Connect is installed. For example, C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\conf
- Take back up of server.xml file from the above-mentioned location.
- Go to the downloaded Adeptia Connect zip folder and copy server.xml.
- Replace the existing file with the copied file at the following location: C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\conf
- Open the replaced file and do the following changes:
- Go the following property and change the Connector port no to the port no you had in the previous file (back up file of step no. 2).
<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="443" />
Go to the following property and replace it with the property from the previous file (back up file of step no. 2)
<Connector port="443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="5000"
scheme="https" secure="true" compressionMinSize="128" connectionTimeout="20000"
maxConnections="10000" clientAuth="false" sslProtocol="TLS" keystoreFile="/keystore/adeptiaBPM.keystore"
keystoreType="JKS" keystorePass="password" compression="on" noCompressionUserAgents="gozilla,
traviata" compressableMimeType="text/html,text/xml,text/css,application/javascript,application/json"
useSendfile="false" server="Adeptia" xpoweredby="false" clientauth="true" />
Save the file.
Changes in Web.xml File
- Go to the folder path where Adeptia Connect is installed. For example, C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\conf
- Take back up of web.xml file from the above-mentioned location.
- Go to the downloaded Adeptia Connect zip folder and copy web.xml.
- Replace the existing file with the copied file at the following location: C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\conf
- Open the replaced file and do the following changes:
- If you had uncommented the following tag in the replaced file will comment it, therefore you need to uncomment it again:
<!--<security-constraint>
<web-resource-collection>
<web-resource-name>Protected Context</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>-->
- If you had uncommented the following tag in the replaced file will comment it, therefore you need to uncomment it again:
- Save the file.
Changes in SecurityContext.xml File
- Go to the folder path where Adeptia Connect is installed. For example, C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\resources_config\saml.
- Take back up of securitycontext.xml file from the above-mentioned location.
- Go to the downloaded Adeptia Connect zip folder and copy securitycontext.xml.
- Replace the existing file with the copied file at the following location: C:\Program Files\AdeptiaConnect\AdeptiaConnect-3.0\ConnectPortal\resources_config\saml.
In case you are using SAML authentication then open the replaced securitycontext.xml file and do the following changes:
Uncomment the following property:
<!-- <property name="entityBaseURL" value="http://localhost:8080/adeptia"/> -->
- Update the URL as required. Where localhost is the IP address and port of the Connect Server.
- Uncomment the idp.xml property:
- If you are using Adeptia Connect with load balancer, follow these steps:
- Remove or comment out the existing contextProvider bean
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderImpl"/> - Add the below contextProvider bean
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean>
This table explains the each property of contextProvider bean:
scheme Name of the scheme (http or https). serverName Name of the server. serverPort Port number of the server. includeServerPortInRequestURL To include server port number in the URL or not. It must be false. contextPath Prefix of a URL path used to select the context(s) to which an incoming request is passed. A URL is in the format: http://hostname.com/contextPath/, where each of the path elements can be zero or more separated elements. It must be /adeptia. Property NameDescriptionIt will look like:
<bean id="contextProvider" class="org.springframework.security.saml.context.SAMLContextProviderLB">
<property name="scheme" value="http"/>
<property name="serverName" value="www.myserver.com"/>
<property name="serverPort" value="8080"/>
<property name="includeServerPortInRequestURL" value="false"/>
<property name="contextPath" value="/adeptia"/>
</bean> - Remove or comment out the existing contextProvider bean
- If there were any other changes in the old file, you have to do the same changes manually in the replaced securitycontext.xml file.
- Save the file.
- Restart Connect Portal.
Next Steps