Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 33436 invoked from network); 23 Mar 2009 07:15:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 07:15:51 -0000 Received: (qmail 87170 invoked by uid 500); 23 Mar 2009 07:08:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87096 invoked by uid 500); 23 Mar 2009 07:08:30 -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 87085 invoked by uid 99); 23 Mar 2009 07:08:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 07:08:30 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=NORMAL_HTTP_TO_IP,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.191.107.120] (HELO smtp137.mail.mud.yahoo.com) (209.191.107.120) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 23 Mar 2009 07:08:22 +0000 Received: (qmail 76120 invoked from network); 23 Mar 2009 07:08:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:From:To:References:In-Reply-To:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:Importance:X-Mailer:X-MimeOLE; b=A7UptyZ9K8mPcrdvi3vYVTqtsLw+ktHTT6J1C7Clxxt7AOYL7bnCysZK72M2MDMze+SnGSa0CZOikjG9O5gfeqn8JE3qO+XQaXg1pXq5RYi5VqIHfvjvi28hMr3LYa28oAXpViuBzlq69EENkYbjGI/71L4jhxBlWWwDFGDdiTw= ; Received: from unknown (HELO zeusnetwork) (admhardsoft@99.242.72.53 with login) by smtp137.mail.mud.yahoo.com with SMTP; 23 Mar 2009 07:07:59 -0000 X-YMail-OSG: ypCDuVgVM1lapx8GsgtO1v7cEM6qss2MYaS335a5QJ5rmDvxyqwDGtP1h9IuQMGn_.RPkk7_zmzWCrUkIHV40fmK77Gk0800Cde8II8AyYFGXl0S4Et8pzWIoByzYzrR9PYBSG.stQLJh.j0tU8W6y7j0FgdpUdnjxsxry0mjmY3aa1RDxRio.oyz7NPYb.IwHPtPFb9_hUhgM.LBdlYEcM.65s4Og-- X-Yahoo-Newman-Property: ymail-3 Message-ID: From: "Tomas Rodriguez" To: "Tomcat Users List" References: <4A88B6F9E5644360808EB7EDE8D635D7@zeusnetwork> <49C2E5E6.9090605@gmail.com> <4AF2606E67DD40A69075FB006BD0A3CC@zeusnetwork> <49C3A959.1010804@christopherschultz.net> <0AAE5AB84B013E45A7B61CB66943C17215E598714C@USEA-EXCH7.na.uis.unisys.com> In-Reply-To: <0AAE5AB84B013E45A7B61CB66943C17215E598714C@USEA-EXCH7.na.uis.unisys.com> Subject: error with tomcat HTTP Status 404 The requested resource() is not available Date: Mon, 23 Mar 2009 03:07:28 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 X-Virus-Checked: Checked by ClamAV on apache.org Ok thanks a lot Charles, jus I followed your advise, I created all directory(WEB-INF /lib, web-inf/classes) under my folder d:/examplestomcat, and I created too the file tomas.xml at the directory c:\tomcay6.0\conf\Catalina\localhost\tomas.xml with the , I executed the IE and the via URL I wrote http://127.0.0.1:8080/tomas, but at the end I can see anything, just show me an error. the error is: HTTP Status 404 - /tomas/ -------------------------------------------------------------------------------- type Status report message /tomas/ description The requested resource (/tomas/) is not available. -------------------------------------------------------------------------------- Apache Tomcat/6.0.18 -------------------------------------------------- I reboot the tomcat services, but I can't get any good result, well I don't know what should I do with the web.xml. I just copied the orginal web.xml from tomcat directory to d:/examplestomcat/web.xml, I didn't change anything in this file. and I copied as well the mysql/J connect from tomcat/lib to my d:/examplestomcat/WEB-INF\lib I sorry for bother you, but I need to finish with this configuration. thanks so much have a great day sincerely TOMAS From: "Caldarale, Charles R" Sent: Saturday, March 21, 2009 5:49 PM To: "Tomcat Users List" Subject: RE: mysql + tomcat work already but I need to reconfigurate the tomcat for load the examples in other location of the hard driver >> From: Tomas Rodriguez [mailto:admhardsoft@yahoo.ca] >> Subject: Re: mysql + tomcat work already but I need to >> reconfigurate the tomcat for load the examples in other >> location of the hard driver >> >> please tell me how can I create the server.xml and >> build.xml > > You're on your own for the build.xml; setting that up depends entirely on > the organization of your source files. > >> I will need to create a file named >> conf/Catalina/[host]/[appName].xml containing a >> element with a docBase attribute whose >> value is the absolute location of the webapp. > > Correct. Unless you are supporting multiple web sites, the existing > will do; you don't have to create another one, so you shouldn't > have to add anything to server.xml. You appear to have decided to place > your own examples in the D:\examplestomcat directory, so that's what your > docBase attribute will point to. The only missing piece of information is > the URL name used to access your webapp; for brevity, we'll use the name > tomas, but you're of course free to use anything you want. > > 1) no changes are needed to server.xml > > 2) create the file C:\tomcat6.0\conf\Catalina\localhost\tomas.xml > > 3) the contents of the above file are just: > > > 4) under D:\examplestomcat, you should have: > WEB-INF\web.xml - contains your servlet mappings > WEB-INF\lib - contains jar files (if any) for your webapp > WEB-INF\classes - contains individual class files (if any) for your webapp > index.html - the home page of your webapp. > > You would access the above via the URL http://127.0.0.1:8080/tomas, > assuming your browser is on the same machine that Tomcat is running on and > you're using the default server.xml. > > You can, of course, vary #4 considerably to meet your needs, as long as > you stick with the structure required by the servlet spec. > > - 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