Trying to connect to a weblogic port.

java -Xms128m -Xmx12m weblogic.Admin -url $host:$PORT (set earlier in script) 
-username test -password test CONNECT

had to change $host to $ip cause he wasn't going to host file first.  So the only way 
to find out what the client uses is to test it?

B.S.
> 
> From: Sean Estabrooks <[EMAIL PROTECTED]>
> Date: 2003/08/25 Mon PM 03:08:41 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: nsswitch.conf
> 
> On Mon, 25 Aug 2003 13:19:57 -0400
> Boom Stickity <[EMAIL PROTECTED]> wrote:
> 
> > Having a wierd problem.  I have entries in my hosts file that I'm trying to hit.  
> > It seems when my dns proxy is unavailable it will hang the connection for 30 
> > seconds even if the host is in the hosts file.  Here is my nsswitch.conf entry for 
> > hosts:
> > 
> > hosts:      files nisplus dns
> > 
> > Shouldn't nisplus and dns be ignored if I get a hit on /etc/hosts?  Once I hit it 
> > once the latency disappears.
> > 
> > BS
> > 
> > 
> >
> 
> Not all clients properly use the file you mention.   If you try
> the ping command for example you'll see that it _will_ behave
> as you expect.  It won't hang for 30 seconds if the DNS server is
> down and the host is listed in /etc/hosts.
> 
> What client are you trying to use?  A web browser?   If so you're
> likely to find that it uses DNS directly and doesn't abide at all 
> by your nsswitch file.
> 
> Cheers,
> Sean
> 
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
> 


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to