Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 58592 invoked from network); 14 Feb 2010 19:34:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2010 19:34:30 -0000 Received: (qmail 36253 invoked by uid 500); 14 Feb 2010 19:34:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 36168 invoked by uid 500); 14 Feb 2010 19:34:26 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 36157 invoked by uid 99); 14 Feb 2010 19:34:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Feb 2010 19:34:26 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [69.147.102.76] (HELO smtp113.plus.mail.re1.yahoo.com) (69.147.102.76) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 14 Feb 2010 19:34:17 +0000 Received: (qmail 67688 invoked from network); 14 Feb 2010 19:33:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=rkV5j+8lSmJgvaC18iKgpaaQHsof2Qeuu++viiGlbhFXOGdqFVB7USh4Z8PByIkcYY52qIX3xkrvGZYphk3jdozpd2JBVfGIsDHqgAsU/IQeuC8iRSmVe5YnVan4HeKsMVbXPwbDrrIL9LNeudGO6ErmGJCrMTJwF8s7/O3wX94= ; Received: from ip70-179-97-220.dc.dc.cox.net (w1smc@70.179.97.220 with plain) by smtp113.plus.mail.re1.yahoo.com with SMTP; 14 Feb 2010 11:33:55 -0800 PST X-Yahoo-SMTP: pihcC4mswBD9GbZkamYHPNG1 X-YMail-OSG: Qr5BQe0VM1ltJQ4ZrNIZH84Mawg3ca9071Xqiowqd8_ZFPAoW18wO9liMPUORuH.pt3R8WH17TTppaIys4RPs7pTYzl18mjNdhNiFtXPZ1lCSkLDNOZqtjEIyo_SE6l5JYhvdsa.6kpQYjeXqBRUC.9gcurz_r9qoEPMeKLmfIpslyEn4GliDkEz3dxSdpyb2JSPynljP2RQT2YVVil03k7Fo0PLF.32SQkaCK.8Xtilv9GHxu4V1ZK17ci3uF_E7nGzmtMOhjHy6rFfpOaJUB6NtdpZ4F7uFez8sM.wlSVnonSQwxrxyz0v2715LNeOjkyngkYEkdo.KhZRU4hMOHUF1cAedzFMnHULbHWDSPlxJ4D7Sp9mannJ4wbGKYMlmOd7FYxwjrIcmcTdqhYa.6IUfyUkjdF7.BlOHSID.c.Ikg7.Zm6rKbpspDEv X-Yahoo-Newman-Property: ymail-3 Message-ID: <4B785023.9000504@yahoo.com> Date: Sun, 14 Feb 2010 14:33:55 -0500 From: Steve Campisano User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Tomcat Users List CC: "Caldarale, Charles R" Subject: Re: File does not exist error - public_html/addArticle.do References: <4B77E565.9000608@yahoo.com> <4B780EF3.9050105@pidster.com> <4B7814EA.7040009@yahoo.com> <4B78190E.6000003@yahoo.com> <99C8B2929B39C24493377AC7A121E21F96C71FC2E8@USEA-EXCH8.na.uis.unisys.com> <4B784F09.8090206@yahoo.com> In-Reply-To: <4B784F09.8090206@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Here is what they sent for the context.xml. Here are the contents for context.xml file. ============= WEB-INF/web.xml ============= On 2/14/2010 2:29 PM, Steve Campisano wrote: > Here is what I have for a server.xml component ..... I'm have also > requested addition information concerning the > > application context.xml or additional configuration information > > NOTE: XXXXX = my site name > > ============= > > www.XXXXX.com > debug="1"/> > docBase="/usr/local/jakarta/tomcat/server/webapps/manager"> > > > ============ > > ********************************************** > > My web.xml is as follows: > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> > > action > org.apache.struts.action.ActionServlet > > config > /WEB-INF/struts-config.xml > > > debug > 2 > > > detail > 2 > > 2 > > > action > *.do > > > > 30 > > > > newArticle.jsp > > > > > ***************************************** > > My struts-config.xml is as follows: > > > > > "-//Apache Software Foundation//DTD Struts Configuration > 1.3//EN" > "http://jakarta.apache.org/struts/dtds/struts-config_1_3.dtd"> > > > > > type="com.XXXXX.action.forms.AddArticleForm"/> > > > > > > > > > > > > type="com.XXXXX.actions.AddArticleAction" validate="false"> > > > > > > > processorClass="org.apache.struts.tiles.TilesRequestProcessor"/> > > > > > > > value="/WEB-INF/tiles-defs.xml" /> > > > > > > property="pathnames" > > value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/> > > > > > > ******************************************* > > > I am currently placing my components within the directory structure of > public_html/TestStruts1. > > The components within this structure are as follows: > > newArticle.jsp > > WEB-INF > classes > lib > struts-confg.xml > successAddArticle.jsp > tiles-defs.xml > validation.xml > validator-rules.xml > web-xml > > The classes folder contains my servlets and struts actions. > > The lib folder contains the .jar files. > > Again, I have this working in my testing environment. It is only an > issue after deployment to my web site. > > Also note that is will work if I access the application in the > following manner: > > http://XXXXX.com:8080/TestStruts1/ > > TestStrust1 is the folder I copied all of components to. > > The above method will render the initial JSP with a form to enter > data. After entering the data on the form and hitting submit the > success page does return completed with the input data provided on the > form. This is what I expect to occur in my test. > > So this does work .... > > It will not work however when I attempt to run it > withhttp://www.XXXXX.com/TestStruts1/newArticle.jsp. > > After I press the submit button I continue to get page with the > following: > > /TestStruts1/addArticle.do > > The support staf is indicating they are finding this in the log: > > [Sat Feb 13 08:19:10 2010] [error] [client xxx.xxx.xx.xxx] File does > not exist: /home/XXXXX/public_html/TestStruts1/addArticle.do > > > > > > > > > > > On 2/14/2010 10:48 AM, Caldarale, Charles R wrote: >>> From: Steve Campisano [mailto:w1smc@yahoo.com] >>> Subject: Re: File does not exist error - public_html/addArticle.do >>> >>> I spoke to soon ..... I'm still getting the same error ..... >> So respond to Pid's suggestion: >> >> "Without seeing the server.xml, any application context.xml or >> additional config, we're going to struggle to help you." >> >> You've sent three follow-up messages, none of which provide the >> requested (and required) information. >> >> - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >> For additional commands, e-mail: users-help@tomcat.apache.org >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org