Unable to Install DevTest 10.3 on Same Server with 10.2

Document ID : KB000121354
Last Modified Date : 19/11/2018
Show Technical Document Details
Issue:
Need help here on Installing Devtest 10.3 on server where 10.2 is already installed. Configured different ports 3010 range in lisa.properties, registry still showing 10.2 VSE. Getting below error on 10.3 portal. 

× Close 
Error while retrieving list of Projects. (500 No JSON Formated Retrofit Error <?xml version="1.0" encoding="UTF-8"?> <Error id="401" message="Authorization failed"> </Error> 

Registry log: 

2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - java.net.BindException: Address already in use 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at sun.nio.ch.Net.bind0(Native Method) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at sun.nio.ch.Net.bind(Net.java:433) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at sun.nio.ch.Net.bind(Net.java:425) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:317) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:235) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.server.Server.doStart(Server.java:390) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) 
2018-11-08 21:54:33,435Z (14:54) [Thread-16] ERROR System.err - at com.itko.lisa.coordinator.EmbeddedWebServer$JettyThread.run(EmbeddedWebServer.java:202) 
Cause:
Currently are on DevTest 10.2.4, but will be migrating to DevTest 10.3.0 to utilize the new Jenkins Plugin with DevTest 10.3.0. 

Have the Enterprise Dashboard on a different machine from where the other Server components are running but realized that are connecting a DevTest 10.3.0 Registry to a DevTest 10.2.4 Enterprise Dashboard. This is not a supported configuration. Can connect earlier Registries to a later Enterprise Dashboard but not a later Registry to an earlier Enterprise Dashboard. 

Since the port numbers for DevTest 10.3.0 needed to be different to support two different versions running on the same machine (the Registries have different databases) one port number was missed. Need to also change:

from: 
# Our embedded web server 
lisa.webserver.port=1505 
to 
lisa.webserver.port=3005 

Need to also change in the phoenix.properties from: 

#registry.portal.port=1505 
to 
registry.portal.port=3005 


Since when DevTest 10.3.0 was installed, indicated to connect to an existing Enterprise Dashboard the Enterprise Dashboard component is not installed. So DevTest 10.3.0 will have to be reinstalled in order to get the Enterprise Dashboard component to be installed to run on this machine. 

Need to update the site.properties files to connect to a localhost Enterprise Dashboard. 
Resolution:
Re-install DevTest 10.3.0 into the same folder as before, but backing up these files first: 

all the .properties files (from DEVTEST_HOME folder) 
all the .vmoptions files (from DEVTEST_HOME/bin folder) 
authentication-providers.xml file (from DEVTEST_HOME folder) 
ldap-mappings.xml file (from DEVTEST_HOME folder) 

Need the DevTest 10.3.0 license file since the Enterprise Dashboard is to be installed. 

Can re-install DevTest 10.3.0 to your same 10.3.0 folder as before, the install will automatically uninstall the previous install. 

Once DevTest 10.3.0 is installed, can then copy back the backed up files to their appropriate folders. 

Update the EnterpriseDashboardService.vmoptions file to redirect where enterprisedashboard.log is to be written like all the other log files. 

Start all of the components in this sequence: 

Start the DevTest Server processes (or services) in the following sequence: 

Start the Enterprise Dashboard Server. 
Start each registry. 
Start DevTest Portal. 
Broker 
Coordinator server 
Simulator server that is associated with each coordinator 
Virtual Service Environment 

Note: To shut down the server components, use the reverse order.