Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EC54F200C08 for ; Thu, 12 Jan 2017 02:51:01 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E3615160B50; Thu, 12 Jan 2017 01:51:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 369DE160B4E for ; Thu, 12 Jan 2017 02:51:01 +0100 (CET) Received: (qmail 7399 invoked by uid 500); 12 Jan 2017 01:50:59 -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 7388 invoked by uid 99); 12 Jan 2017 01:50:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2017 01:50:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 15319C0D7C for ; Thu, 12 Jan 2017 01:50:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.081 X-Spam-Level: ** X-Spam-Status: No, score=2.081 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, KAM_LIVE=1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id DZsTKGxz9hfm for ; Thu, 12 Jan 2017 01:50:58 +0000 (UTC) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B6C8E5FCA2 for ; Thu, 12 Jan 2017 01:50:57 +0000 (UTC) Received: from [209.179.112.33] (helo=[192.168.2.52]) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1cRUXN-0005Dt-Ps for users@tomcat.apache.org; Wed, 11 Jan 2017 20:50:45 -0500 Message-ID: <1484185839.4588.8.camel@blackberry> Subject: Re: Error 404 - The requested resource is not available From: Tim Watts To: Tomcat Users List Date: Wed, 11 Jan 2017 20:50:39 -0500 In-Reply-To: References: Organization: Clifton Farm Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 X-ELNK-Trace: 3a5701426d89357f74bf435c0eb9d478d192c832def3179893e2a512cae47ec62bee3af1a86c8ffe350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.179.112.33 archived-at: Thu, 12 Jan 2017 01:51:02 -0000 On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote: > Hi all! >=20 > First, I need to say that I'm new(ignorant) with Tomcat. One of our > systems is written with tomcat, but today something went wrong and the > following error appears on the webpage: >=20 > --Estado HTTP 404 - /evaluacion/WEB-INF/pages/login/forma_login.jsp > --______________________________ > --type Informe de estado > --mensaje /evaluacion/WEB-INF/pages/login/forma_login.jsp > --descripci=C3=B3n El recurso requerido no est=C3=A1 disponible. > --________________________________ > --Apache Tomcat/6.0.37 >=20 > The file exists on the virtualserver, at >=20 > home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-I= NF/pages/login >=20 > And: > ls -l > -rw-r--r-- 1 xxxx desarrollo 3744 feb 11 2015 forma_login.jsp >=20 > the evaluacion.war file lives at > /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo >=20 > And in /WEB-INF/classes/struts.xm I found: > ./WEB-INF/classes/struts.xml: name=3D"forma_login">/WEB-INF/pages/login/forma_login.jsp >=20 > So, I can't figure out why this error appears. May be I'm missing > something obvious. I also googled it, but I only found permission > errors and wrong paths. >=20 > If you need some additional information, feel free to ask. >=20 What URL was used to produce the error message? Since you're unfamiliar with Tomcat, and presumably Servlet based web applications, you need to know that /WEB-INF and anything below it is inaccessible outside the web app; it's only accessible from within the web app. So if you issued a URL like: http://some-host/evaluacion/WEB-INF/pages/login/forma_login.jsp You will unsurprisingly get the 404 error. If this is the case then your task is to learn more about the specifics of your application and what the proper login URL is. Looks like it's built with Struts so you may need to learn about that -- starting with what version was used. -- Tim. > Thank you guys for your time! >=20 > Jesus Mager > [www.h1n1-al.blogspot.com] >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org