Running Derby on a Non Standard Port/IP
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.
Please sign in to leave a comment.
Comments
0 comments