tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albretch Mueller" <lbrt...@gmail.com>
Subject Re: BUILD FAILED ...
Date Fri, 28 Nov 2008 03:04:00 GMT
 Thanks anyway Chuck you are this list's angel
~
 I did set up 80 as the port and the internal address of my box in the
conf/server.xml file
~
 this is what my conf/server.xml file looks like:
~
<?xml version='1.0' encoding='utf-8'?>
 <Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
  <Listener className="org.apache.catalina.core.JasperListener" />
  <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
/>

  <GlobalNamingResources>
    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>

  <Service name="Catalina">
   <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000"
redirectPort="443" />
   <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
   <Engine name="Catalina" defaultHost="localhost">
    <Host name="192.168.1.249"  appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false">
     <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
            prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
    </Host>
   </Engine>
 </Service>
</Server>


On 11/27/08, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
>> From: Albretch Mueller [mailto:lbrtchx@gmail.com]
>> Subject: Re: BUILD FAILED ...
>>
>> So I need to be able to access the
>> webserver by going http://<IP_address>/
>
> Have you configured Tomcat to use port 80?  (The default HTTP port is 8080.)
>  If you want to use port 80, you'll have to run Tomcat as root (not
> recommended), or use iptables to forward port 80 requests to 8080, or use
> jsvc:
> http://tomcat.apache.org/tomcat-6.0-doc/setup.html#Unix%20daemon
>
> Make sure you don't have a firewall somewhere blocking whatever port you do
> have configured.
>
>>  I think, I am not getting right the setting of
>> "/etc/network/interfaces" and "/etc/resolv.conf"
>
> I'm not a Linux network configuration expert, so someone else will have to
> answer that.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message