Re: Tomcat 5 + hostname

2004-12-04 Thread QM
On Fri, Dec 03, 2004 at 12:17:14PM -0500, Lei Lin wrote:
:  I just want to use server's hostname, not a domain name of the server.
: such as  http://servername:8080/  accessed by other computer which is
: connected in our company's network.

Yes, this sounds like the one host has a misconfigured resolver.  Check
/etc/hosts and /etc/nsswitch.conf (if that machine runs a Unix-like OS).

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5 + hostname

2004-12-03 Thread Lei Lin
Andoni,

I didn't set anything in virtual hosts in server.xml. The only thing there
is the default one, localhost.

 I just want to use server's hostname, not a domain name of the server.
such as  http://servername:8080/  accessed by other computer which is
connected in our company's network.  I don't think  i need to set up virtual
host in xml in my case.  Also I found i don't get response from the server
if i ping the server's hostname from other machine which is connected in our
company's network.  But i can ping the server by using the server's IP
address.  I think I might to resolve ping the se host name first.

- Original Message - 
From: "Andoni" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 03, 2004 11:51 AM
Subject: Re: Tomcat 5 + hostname


> Post your server.xml (or at least the relevant parts) with no HTML
comments
> and I'll have a look.
>
> Failing that, read the documentation, it shows how to set up virtual hosts
> in tomcat.
>
> Andoni.
>
> - Original Message - 
> From: "Eberle Martin" <[EMAIL PROTECTED]>
> Newsgroups: gmane.comp.jakarta.tomcat.user
> Sent: Friday, December 03, 2004 3:31 PM
> Subject: AW: Tomcat 5 + hostname
>
>
> Same problem here ... can't get tomcat with domain name running :(
>
>
> -Ursprüngliche Nachricht-
> Von: Lei Lin [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 3. Dezember 2004 15:44
> An: [EMAIL PROTECTED]
> Betreff: Tomcat 5 + hostname
>
> Hi folks,
>
> We installed Tomcat 5 on Redhat Linux 9 server.  In order to run our
> servlet, we need to use http://hostname:8080 instead of using our server's
> IP address URL eg: http://177.23.6.2:8080.  The IP address URL works for
our
> server, but not the hostname url.  Any idea?
>
> Thanks
>
> Lei
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5 + hostname

2004-12-03 Thread Andoni
Post your server.xml (or at least the relevant parts) with no HTML comments
and I'll have a look.

Failing that, read the documentation, it shows how to set up virtual hosts
in tomcat.

Andoni.

- Original Message - 
From: "Eberle Martin" <[EMAIL PROTECTED]>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Friday, December 03, 2004 3:31 PM
Subject: AW: Tomcat 5 + hostname


Same problem here ... can't get tomcat with domain name running :(


-Ursprüngliche Nachricht-
Von: Lei Lin [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 3. Dezember 2004 15:44
An: [EMAIL PROTECTED]
Betreff: Tomcat 5 + hostname

Hi folks,

We installed Tomcat 5 on Redhat Linux 9 server.  In order to run our
servlet, we need to use http://hostname:8080 instead of using our server's
IP address URL eg: http://177.23.6.2:8080.  The IP address URL works for our
server, but not the hostname url.  Any idea?

Thanks

Lei


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5 + hostname

2004-12-03 Thread Phillip Qin
Check your server.xml


-Original Message-
From: Eberle Martin [mailto:[EMAIL PROTECTED] 
Sent: December 3, 2004 10:32 AM
To: Tomcat Users List
Subject: AW: Tomcat 5 + hostname


Same problem here ... can't get tomcat with domain name running :(


-Ursprüngliche Nachricht-
Von: Lei Lin [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 3. Dezember 2004 15:44
An: [EMAIL PROTECTED]
Betreff: Tomcat 5 + hostname

Hi folks,

We installed Tomcat 5 on Redhat Linux 9 server.  In order to run our
servlet, we need to use http://hostname:8080 instead of using our server's
IP address URL eg: http://177.23.6.2:8080.  The IP address URL works for our
server, but not the hostname url.  Any idea?

Thanks

Lei  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41b0876294503702910391!