Cannot start DevTest Registry when disconnecting from VPN

Document ID : KB000014094
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

I installed the complete devtest solution on my mac while I was connected to my companies VPN.   If I disconnect from my VPN and I start the registry process,  I see in the process window the last message below,  and the registry wont start.

Apache Derby Network Server - 10.8.3.0 - (1405108) started and ready to accept connections on port 1528

If I shut down the registry,  reconnect to my companies VPN server,   I then try and restart the registry,   it will work once again.

How can I get my registry to start regardless of the network that I am connected to. 

Answer:

It seems that the underlying derby network process has an issue with a reference to localhost.   To work around the derby issue,  you can modify your lisa.properties and search for the below property

 

lisadb.pool.common.url=jdbc:derby://localhost:1528/database/lisa.db;create=true

 

and change the value to this.

 

lisadb.pool.common.url=jdbc:derby://127.0.0.1:1528/database/lisa.db;create=true

 

Once this change is in place,  you will be able to start the registry if you change the network you connect to.

Additional Information:

We are providing this information for people who want to run DevTest as a standalone environment on a laptop for mobility use.  Typically,  you would not install a registry process on a local laptop,  instead you would connect to a registry on a server.  Additionally,  Derby is not a supported configuration for DevTest.