Hi,

Just change the port in the server.xml config file (jakarta-tomcat\conf)

      <!-- ==================== Connectors ==================== -->

        <!-- Normal HTTP -->
        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler" 
                value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
            <Parameter name="port" 
                value="8080"/>
        </Connector>


Thierry

-----Message d'origine-----
De : Kaustubh [mailto:[EMAIL PROTECTED]]
Envoy� : lundi 14 janvier 2002 11:59
� : [EMAIL PROTECTED]
Objet : Re: Deploying Servlets on Tomcat


Thanks, but I finally got it working on 8080
can u tell me how to get it working on 80??

the dir. struct is a s follows :
tomcat_home /webapps
                chat --
                           | ___  web-inf / classes / *.class
                           |____ src / *.java
                           |____ *.html

This is the general directory structure.
I have to use http://server:8080/chat/main.html

How can i access it using http://server/chat/main.html ?

Thanks
Kaustubh.


----- Original Message -----
From: "Purav" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 4:10 PM
Subject: Re: Deploying Servlets on Tomcat


> No need of any privileges..
> Kaustubh, can you please tell me your sirectory structure starting from
> the webapps directory and also the exact error you are getting..
>
> Purav
>
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
> Christian Roslawski
> Sent: Monday, January 14, 2002 4:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Deploying Servlets on Tomcat
>
> > I am not able to deploy a servlet on Tomcat 4 on port 80 inspite of
> making
> > necessary changes to server.xml, web.xml
> > and so on and so forth.
> > I have my web application in a directory called chatservlet.
> > Can anyone please tell me the step-wise instructions to make this
> thing run.
> > i am using Winnt, IIS & Tomcat4 on WinNT....
>
> Hi,
> I'm not sure about Windows, but usually only privileged users can open
> ports
> below 1024. You should either run Tomcat as an NT-Service or if you
> start it
> with the startup.bat script you should have administrator group
> membership on
> that machine.
> Just an idea, though. Does Tomcat give any exception stacktrace on the
> console
> or in the logfiles saying why it cannot open the port 80?
>
> Good luck,
>
>   Chris
>
> ________________________________________________________________________
> ___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to