chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

At Daemon we often run ColdFusion in multi-server mode (on top of JRun) which enables us to cleanly separate projects which require different server settings from one another.

Typically I have a ColdFusion instance per Farcry version, at the moment that would be:

  • p300 (v3)
  • gonzales (v4)

When ColdFusion first installs in multi-server mode you get the default ‘cfusion’ instance, but you also get the ‘admin’ JRun instance which is really only used when you need to access the JRun Management Console…not very often for most people!

That being the case I often switch it off (in Control Panel/Administrative Tools/Services) and set its start option to manual, i.e. I’ll start it if I want to use it because I don’t want it taking up any system resources when I don’t specifically need it :)

*Sometimes* this is a pain when you need to double check the http and/or proxy port of a particular ColdFusion instance, usually when I need to access ColdFusion administrator or when I’m setting a bootstrap in my apache config.

To save me starting the ‘admin’ JRun instance purely to see the proxy port value, I can open up the jrun.xml file in my server-inf directory and look for the <port> setting under ProxyService.

For me this is located in C:\JRun4\servers\cfusion_gonzales\SERVER-INF




8301






51000

Believe it or not this is actually easier for me than starting (and then stopping) my admin JRun instance! Now you can just add this to your folder of explorer shortcuts.

Ah it’s the little things…


Related Pages

2 Responses to “Determining which http/proxy ports your JRun instance is running on”

  1. Or, you could bookmark your CFusion’s admin instance. Since I’ve got a half dozen servers each with a couple a’ three instances I’ve got a whole admin folder in my browser with all the servers and their instances.

    We’ve also established a numbering scheme for the proxy port numbers so that if you know the JRun port, you’ll be able to figure out the other port numbers as well.

    Tom

  2. Hi Tom,

    I/we also bookmark all CF Admin instances.

    A numbering scheme sounds interesting though!

    Thanks

    Michael Sharman

Leave a Reply