Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 14424 invoked from network); 30 Sep 2004 22:18:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 Sep 2004 22:18:28 -0000 Received: (qmail 94073 invoked by uid 500); 30 Sep 2004 22:17:22 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 93989 invoked by uid 500); 30 Sep 2004 22:17:20 -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 93866 invoked by uid 99); 30 Sep 2004 22:17:18 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [207.115.63.90] (HELO vm2-ext.prodigy.net) (207.115.63.90) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 30 Sep 2004 15:17:13 -0700 Received: from daxin ([216.102.204.66]) (authenticated bits=0) by vm2-ext.prodigy.net (8.12.10 maild auth/8.12.10) with ESMTP id i8UMFVNZ060338 for ; Thu, 30 Sep 2004 18:15:34 -0400 From: "Daxin Zuo" To: "Tomcat Users List" Subject: RE: TOMCAT, run Servlet on UNIX Date: Thu, 30 Sep 2004 15:14:38 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, After check some configuration, I can run Servlet on Tomcat. But I still get the errors when I start the Tomcat. In addition, when I run the same servlet from Apache: http://myComputerIP:8008/ServletTest, I get the error message on the screen: The requested URL /ServletTest was not found on this server. in the error_log: File does not exist:/usr/local/apache2/htdocs/ServletTest Apache looks for the Servlet in its doc home folder. Please teach me how to let Apache direct the request in Servlet to Tomcat. Thanks -----Original Message----- From: Daxin Zuo [mailto:dzuo@techexcel.com] Sent: Thursday, September 30, 2004 2:20 PM To: Tomcat Users List Subject: RE: TOMCAT, run Servlet on UNIX Yoav, Thank you. Please forward more instruction. On the browser, I see no other errors, but when I start the Tomcat, I find error messages in 1) the logs/catalina.out: Sep 30, 2004 11:46:58 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Sep 30, 2004 11:46:59 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 9872 ms Sep 30, 2004 11:47:00 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Sep 30, 2004 11:47:00 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.28 Sep 30, 2004 11:47:00 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Sep 30, 2004 11:47:00 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) Sep 30, 2004 11:47:00 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:/usr/local/apache2/jakarta-tomcat-5.0.28/conf/Catalina/myComputerIP/www .xml Sep 30, 2004 11:47:02 AM org.apache.catalina.core.StandardHostDeployer install INFO: Installing web application at context path /balancer from URL file:/usr/local/apache2/jakarta-tomcat-5.0.28/webapps/balancer Sep 30, 2004 11:47:03 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Sep 30, 2004 11:47:03 AM org.apache.catalina.core.StandardContext start SEVERE: Context startup failed due to previous errors .... 2) In the localhost_log.2004-09-30.txt: 2004-09-30 12:03:06 StandardContext[/balancer]Exception starting filter BalancerFilter java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester at org.apache.webapp.balancer.RulesParser.createDigester(RulesParser.java:65) at org.apache.webapp.balancer.RulesParser.(RulesParser.java:43) at org.apache.webapp.balancer.BalancerFilter.init(BalancerFilter.java:79) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter Config.java:225) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil terConfig.java:308) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterCon fig.java:79) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36 98) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4349) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8 23) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595) at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j ava:277) at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor t.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) at org.apache.catalina.core.StandardService.start(StandardService.java:480) at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) at org.apache.catalina.startup.Catalina.start(Catalina.java:556) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) After I run http://myComputer:8080/ServletTest, There are no any new error mesage added into these two files. Thank you. -----Original Message----- From: Shapira, Yoav [mailto:Yoav.Shapira@mpi.com] Sent: Thursday, September 30, 2004 11:35 AM To: Tomcat Users List Subject: RE: TOMCAT, run Servlet on UNIX Hi, >I can run the same JSP files from both TOMCAT and Apache >with DB connection pool for Oracle. >But I have difficult in Servlet. I cannot run servlet from Tomcat. You realize the JSPs are servlets, right? ;) >In webapps/www/WEB-INF/web.xml, I registered the Servlet: > > ServletTest > ServletTest > > > ServletTest > /ServletTest > This is fine. With a servlet mapping, you don't need the invoker servlet, so don't touch it or rely on it. >with http://myComputer:8080/ServletTest, I get error: > The request resource (/ServletTest) is not available. It's an actual 404 error? Any other errors during startup? Yoav This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- 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