Running Derby on a Non Standard Port/IP

Community post

Shared by the Applicare community. It has not been re-checked against Applicare 10.0, so confirm the steps in your environment or contact Support.

The Derby database shipped with Applicare starts and listens on localhost and the standard Derby port 1527. If this IP/port needs to be changed, you can start Derby on a different IP and port number by editing startNetworkServer.bat (Windows) or startNetworkServer.sh (Unix/Linux) in the <Applicare Dir>/javadb/bin directory. Add -p <new port number> after the -h <new IP> text

For example:

org.apache.derby.drda.NetworkServerControl start  -h 192.168.0.70 -p 1728

You will have to edit the Applicare.props file in the Applicare directory to reflect the new port number. Look for the line starting with applicare.dburl= and change IP and port 1527 to new port number on that line. Restart the Applicare server and the servers running Applicare agents for the changes to take effect.

Join the discussion

Comments, voting and following are kept by Zendesk and need a Help Center account. This button opens the original discussion there.

Opens Zendesk · needs internet and sign-in

Still stuck? Contact support