[jboss-user] [Beginners Corner] - Re: Hi i would like to know the way to detect if a mchine ha

PeterJ do-not-reply at jboss.com
Fri Dec 28 23:31:16 EST 2007


Considering that the way to install JBossAS is to download and unzip a zip file, there are only two ways to tell if someone has JBossAS in their machine:

1) if JBossAS is running, you can try connecting to one of the ports (such as JNDI) Of course, they can change the ports used, so this is not a goo solution.

2) Scan the hard drive. You could do a quick-scan to initially look for JBossAS in "typical" locations, and if that fails, scan the entire file system. (I actually wrote code like this once!)


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116008#4116008

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116008



More information about the jboss-user mailing list