Installing CF Instances in a different location

I got asked yesterday - how can I set up a CF Instance somewhere other than the default location?

Its actually pretty easy. In the JMC (Java Management Console) when you create a new server instance simply give the server path as a fully qualified path rather than using the {java.home} variable in the front of the path. And that is it.

If you want to change the path of an existing server, the paths reside in the Jrun4/lib/Servers.xml file. In theory, you should be able to move the server folder and change the path in the server.xml file and hey presto! I say "in theory" because I've never tried this.

Don't forget to shut the JRun server down before you do this....

TweetBacks