No, it was definately a remote machine.  Also using jdk 1.3.1 so I'm not sure that 
applied.  I tried running strace on several command but they all seem to look at the 
nsswitch.conf first.  Can you suggest a command that by passes nsswitch.conf and goes 
straight to resolv.conf?

B -
> 
> From: Sean Estabrooks <[EMAIL PROTECTED]>
> Date: 2003/08/25 Mon PM 04:45:00 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: nsswitch.conf
> 
> On Mon, 25 Aug 2003 16:25:34 -0400
> Boom Stickity <[EMAIL PROTECTED]> wrote:
> 
> > 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?
> > 
> 
> 
> I'm not all that familiar with java but from a quick look it seems
> to indicate that it does use the nsswitch file.
> 
> but here's a different _google_ idea:  
> 
> http://developer.java.sun.com/developer/community/chat/JavaLive/2002/jl1203.html
> 
>   Yingxian Wang: Many Linux installations -- including RedHat -- configure
>   /etc/hosts to map the hostname to the loopback address.If the host has a
>   static IP address, the /etc/hosts file should be corrected to map the
>   hostname to the host address. [...snipped...]  The details of the issue
>   are tracked in bugID 4665037.
> 
> Any chance the host you were trying was the localhost ?
> 
> 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