Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 75431 invoked from network); 30 Jun 2003 20:49:26 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jun 2003 20:49:26 -0000 Received: (qmail 16307 invoked by uid 97); 30 Jun 2003 20:51:54 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 16300 invoked from network); 30 Jun 2003 20:51:54 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jun 2003 20:51:54 -0000 Received: (qmail 73984 invoked by uid 500); 30 Jun 2003 20:49:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 73971 invoked from network); 30 Jun 2003 20:49:10 -0000 Received: from mailbo.westgroup.com (167.68.0.71) by daedalus.apache.org with SMTP; 30 Jun 2003 20:49:10 -0000 Received: from morley.int.westgroup.com (localhost.localdomain [127.0.0.1]) by mailbo.westgroup.com (8.12.9/8.12.9) with ESMTP id h5UKnFuZ022602 for ; Mon, 30 Jun 2003 15:49:15 -0500 Received: from eg-msgimc-a03.int.westgroup.com (eg-msgimc-a03.int.westgroup.com [163.231.102.184]) by morley.int.westgroup.com (8.12.9/8.12.9) with ESMTP id h5UKnExu022592 for ; Mon, 30 Jun 2003 15:49:14 -0500 Received: by eg-msgimc-a03.int.westgroup.com with Internet Mail Service (5.5.2656.59) id ; Mon, 30 Jun 2003 15:49:14 -0500 Message-ID: From: "Chen, Yi" To: "'Tomcat Users List'" Subject: RE: How to configure TomCat4 for web applications? Date: Mon, 30 Jun 2003 15:49:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, John: It has an old version of web.xml when I copied it from TomCat3, it didn't work. So I replaced it with a newer version that I got from the TomCat4 examples folder. It wouldn't work with this neither. - Tomcat Examples Tomcat Example servlets and JSP pages. - - Servlet Mapped Filter filters.ExampleFilter - attribute filters.ExampleFilter.SERVLET_MAPPED - Path Mapped Filter filters.ExampleFilter - attribute filters.ExampleFilter.PATH_MAPPED - Request Dumper Filter filters.RequestDumperFilter - - Set Character Encoding filters.SetCharacterEncodingFilter - encoding EUC_JP - Compression Filter compressionFilters.CompressionFilter - compressionThreshold 10 - debug 0 - - Servlet Mapped Filter invoker - Path Mapped Filter /servlet/* - - - - - - listeners.ContextListener - listeners.SessionListener - - SendMailServlet SendMailServlet - snoop SnoopServlet - - Security role for anonymous access tomcat - servletToJsp servletToJsp - CompressionFilterTestServlet compressionFilters.CompressionFilterTestServlet - invoker /servlet/* - CompressionFilterTestServlet /CompressionTest - SendMailServlet /SendMailServlet - snoop /snoop - servletToJsp /servletToJsp - http://jakarta.apache.org/tomcat/debug-taglib /WEB-INF/jsp/debug-taglib.tld - http://jakarta.apache.org/tomcat/examples-taglib /WEB-INF/jsp/example-taglib.tld - mail/Session javax.mail.Session Container - Example Security Constraint - Protected Area - /jsp/security/protected/* - DELETE GET POST PUT - - tomcat role1 - - FORM Example Form-Based Authentication Area - /jsp/security/protected/login.jsp /jsp/security/protected/error.jsp - - role1 - tomcat - - - minExemptions 1 java.lang.Integer - foo/name1 value1 java.lang.String - foo/bar/name2 true java.lang.Boolean - name3 1 java.lang.Integer - foo/name4 10 java.lang.Integer - - Example EJB Reference ejb/Account Entity com.mycompany.mypackage.AccountHome com.mycompany.mypackage.Account - - Example Local EJB Reference ejb/ProcessOrder Session com.mycompany.mypackage.ProcessOrderHome com.mycompany.mypackage.ProcessOrder -----Original Message----- From: john d barreto [mailto:jbarr001@cs.fiu.edu] Sent: Monday, June 30, 2003 3:35 PM To: tomcat-user@jakarta.apache.org Subject: Re: How to configure TomCat4 for web applications? Yi, Do you have a web.xml descriptor file in Controller\WEB-INF? > Hi, I am new to TomCat and I am trying to move a web server called > Controller from Tomcat 3 to Tomcat4. I have Tomcat4 installed and the > examples like Cookie and HelloWorld work fine. > Then I copied the whole Controller folder from Tomcat3 and pasted to > Tomcat4. All the unpacked classes and sources are in the > Controller/web-INF/classes . I also added > reloadable="true" crossContext = "true"> > > in conf/server.xml. > > But it still gives me the "Controller/servlet/Controller" is not > available when I try to access it through > http://localhost:8080/Controller > > Are there any other files that I need to configure? > > Thanks a lot. > > Yi Chen > > > > > --------------------------------------------------------------------- To > unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For > additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org