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

Reply via email to