Charles- The "key search" is a link in the top nav bar of the JMC. This is actually a great utility as you can look up any key/value pair that is stored in any of the properties files. The first option (on the JMC I am looking at) is Commonly Used keys, next to it is a drop-down menu, of which "All ports" is one option - you can also search "All classpaths". The other option is entering a "User Defined Key". This allows you to be more selective. Then you can choose the JRun servers you wish to check for keys on.
Unfortunately this doesn't tell you where it was found - which would be helpful if you wanted to change values, etc. But it will at least tell you what's going on under the hood. As far as all JRun's ports, I mean all of the internal/external ports JRun uses. Each server actually has a few ports that are used as endpoints, sniffers and whatnot. But these are only the ports that JRun uses - not the Web server or other software/services. -drew -----Original Message----- From: charles arehart [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 12:23 PM To: JRun-Talk Subject: RE: Finding Free Ports That's interesting. Thanks, Drew. I didn't see how to find the "all ports", let alone the "key search function". Where are they? But when you say it "only looks up JRun's ports", what do you mean? The utility I was pointing out accepts any range of ports to check. /charlie PS Did anyone else get two copies of my note and two copies of Jeff Ramin's reply? I know I sent only one. Actually, don't reply if you did get two. Let's just hope that someone in a position of running the list server (Michael D?) also sees the problem and can look into it. Interestingly, in each case, one note had our names as the "from" and the other had our email addresses, if that's a clue. (And only one copy of Drew's reply came to me.) -----Original Message----- From: Drew Falkman [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 2:11 PM To: JRun-Talk Subject: RE: Finding Free Ports Actually, you can use the JMC key search function to search this, as well. Simply select All Ports in the commonly used keys drop-down, highlight the servers you wish to search and click look up. But, like Charles said, this only looks up JRun's ports, not ports from other services. -drew falkman -----Original Message----- From: charles arehart [mailto:[EMAIL PROTECTED]] Sent: Friday, December 14, 2001 11:01 AM To: JRun-Talk Subject: Finding Free Ports Ever wanted a way to find out what ports were free on your server? Did you know that there's a built-in class in JRun that can tell you? I didn't, until now. It's documented in that chapter 4 of the Setup Guide I mentioned in the previous note. The section "Understanding JRun ports" indicates that it's built into the allaire.jrun.install package, and it shows how to call it from the command line as well as from a simple sample code snippet you can use to call it programmatically. It'd be cool if it were automatically provided as a pre-built servlet or JSP page, perhaps listed in the JMC or examples, or if the command-level call to the application was available from the Start>JRun list of choices. It can scan and find free ports in a given range. Beware, of course, that it can only determine if a port's in use--it won't know if the port's been allocated to some other service that's not running. This is another challenge, such as when you have more than one servlet engine or app server installed but not running, that might already be setup to use this supposedly "free" port. If anyone takes the time to put together a servlet or JSP, I hope they'll share it. Gee, it's amazing what things you can find when you read the manuals. :-) (Actually, I must have read it at one time in my early JRun exploration, perhaps before I realized how valuable a free port finder would be!) /charlie ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
