Well, i want to do this automatically because i dont know if some users have a firewall with 8080 port closed. I dont know why http://www.smartware.com.mx/examples/servlet/HelloWorldExample and http://www.smartware.com.mx:8080/examples/servlet/HelloWorldExample works fine but with my own servlet not...
Thanks again. -----Mensaje original----- De: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]En nombre de Branden Root Enviado el: Mi�rcoles, 20 de Febrero de 2002 12:43 p.m. Para: [EMAIL PROTECTED] Asunto: Re: How to depoy. Sami, Why can't you just write a redirect html page in http://www.smartware.com.xm/sami/s3? For instance, index.html is a one line file with: <meta http-equiv="REFRESH" content="0; url=http://www.smartware.com.xm:8080/sami/s3"> That will redirect anyone that goes to the apache site to the tomcat site. Will this work or am I grossly simplifying the issue? Branden Root Web Developer Portent Interactive [EMAIL PROTECTED] -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sami J. Casab. Sent: Wednesday, February 20, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: Re: How to depoy. Well, i have a apache server as a web server and i also have a tomcat server. I have a servlet that is running ok under http://www.smartware.com.mx:8080/sami/s3 but is not working without the port number 8080 in the url. I dont want to change tomcat port i only want to "route" a message from apache to tomcat as example http://www.smartware.com.mx/sami/s3 without the 8080 port. Thanks in advance. -----Mensaje original----- De: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]En nombre de m benstein Enviado el: Martes, 19 de Febrero de 2002 08:36 p.m. Para: [EMAIL PROTECTED] Asunto: Re: How to depoy. Good try, but it's not Apache that's serving your Servlet. Tomcat is in charge of that. To change the port that Tomcat is on edit your server.xml file in $TOMCAT_HOME/conf/ and edit <Parameter name="port" value="new value"/> <!-- 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> ----- Original Message ----- From: "Sami J. Casab." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 19, 2002 6:05 PM Subject: Re: How to depoy. > Thanks for you help, my servlet is now working under > http://www.smartware.com.mx:8080/sami/s3. Now i am trying to configure my > apache web server because i dont want to use the 8080 port. I searched in > http.config file but im not sure, could you give me a tip? > > Thanks in advace. > > -----Mensaje original----- > De: A mailing list about Java Server Pages specification and reference > [mailto:[EMAIL PROTECTED]]En nombre de marc benstein > Enviado el: Martes, 19 de Febrero de 2002 06:04 p.m. > Para: [EMAIL PROTECTED] > Asunto: Re: How to depoy. > > > /$TOMCAT_HOME/webapps/YOUR.war > > Knowledge is for the world to share. I spent hours reading the Tomcat > documentation. I hope no one else has to. > > ----- Original Message ----- > From: "Sami J. Casab." <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 19, 2002 2:16 PM > Subject: How to depoy. > > > > Hi: > > > > Im using tomcat 3.21 and i have a .war archive with all my clases and i > need > > to deploy it, so where i should put this file and what i have to do? > > > > Thanks in advance. > > > > > =========================================================================== > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > > Some relevant FAQs on JSP/Servlets can be found at: > > > > http://archives.java.sun.com/jsp-interest.html > > http://java.sun.com/products/jsp/faq.html > > http://www.esperanto.org.nz/jsp/jspfaq.jsp > > http://www.jguru.com/faq/index.jsp > > http://www.jspinsider.com > > > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST > DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
