Re: [PLUG] Random number ( integer code )

2009-09-30 Thread म . हा . सा . ग . र
if you are planning to use random number for any statistical
derivations later, it is always advised that you write your own random
number generator and prove it's randomness for your own good...

-- 
१. Stupid question always warrants a stupid answer!
२. No question is ever stupid!

___
Pune GNU/Linux Users Group Mailing List 

[PLUG] Tomcat default home page not accessible for Linux (CENTOS) host

2009-09-30 Thread Rajendra Sakpal
Hi Friends,

I am accessing Tomcat homepage from a LINUX host deploying CENTOS 5.3.
Tomcat is deployed on WINDOWS machine.  I could access the TOMCAT homepage
from WINDOWS host.

The WINDOWS host can be pinged from the CENTOS machine.  The firewalls on
CENTOS host & WINDOWS host are disabled.

Do let me know if you have any pointers on why the Tomcat home page is not
accessible from the CENTOS machine.

thanks & regards,
Rajendra
___
Pune GNU/Linux Users Group Mailing List 


Re: [PLUG] Tomcat default home page not accessible for Linux (CENTOS) host

2009-09-30 Thread Shrinand Javadekar
On Wed, Sep 30, 2009 at 10:01 AM, Rajendra Sakpal
 wrote:
> Hi Friends,
>
> I am accessing Tomcat homepage from a LINUX host deploying CENTOS 5.3.
> Tomcat is deployed on WINDOWS machine.  I could access the TOMCAT homepage
> from WINDOWS host.
>
> The WINDOWS host can be pinged from the CENTOS machine.  The firewalls on
> CENTOS host & WINDOWS host are disabled.
>
> Do let me know if you have any pointers on why the Tomcat home page is not
> accessible from the CENTOS machine.
>
> thanks & regards,
> Rajendra
> ___
> Pune GNU/Linux Users Group Mailing List
>

I'm no expert on this.. but here's what I think.
Have you made sure that TOMCAT is bound to all interfaces? What does
the netstat -a command give you? It should be something like:

% netstat -na | grep 8080
tcp46  0  0  *.8080 *.*LISTEN
% _

It might be that its only running on localhost:
% netstat -na | grep 8080
tcp4   0  0  127.0.0.1.8080 *.*LISTEN
% _

___
Pune GNU/Linux Users Group Mailing List