You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "fonsin2008 ." <fo...@gmail.com> on 2017/01/11 21:49:46 UTC

Error 404 - The requested resource is not available

Hi all!

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:

--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ón El recurso requerido no está disponible.
--________________________________
--Apache Tomcat/6.0.37

The file exists on the virtualserver, at

home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-INF/pages/login

And:
ls -l
-rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp

the evaluacion.war file lives at
/home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo

And in /WEB-INF/classes/struts.xm I found:
./WEB-INF/classes/struts.xml:      <result
name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>

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.

If you need some additional information, feel free to ask.

Thank you guys for your time!

Jesus Mager
[www.h1n1-al.blogspot.com]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error 404 - The requested resource is not available

Posted by "fonsin2008 ." <fo...@gmail.com>.
Yes,  here is the struts.xml

2017-01-11 16:28 GMT-06:00 Jose María Zaragoza <de...@gmail.com>:
> 2017-01-11 22:49 GMT+01:00 fonsin2008 . <fo...@gmail.com>:
>> Hi all!
>>
>> 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:
>>
>> --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ón El recurso requerido no está disponible.
>> --________________________________
>> --Apache Tomcat/6.0.37
>>
>> The file exists on the virtualserver, at
>>
>> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-INF/pages/login
>>
>> And:
>> ls -l
>> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
>>
>> the evaluacion.war file lives at
>> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
>>
>> And in /WEB-INF/classes/struts.xm I found:
>> ./WEB-INF/classes/struts.xml:      <result
>> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
>>
>> 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.
>>
>
> Maybe you must paste more text from struts.xml, for example, element
> wrapping <result>
> I guess you are invoking a wrong URL ( probably you should invoke an
> action or something like this )
>
>
>
>
>> If you need some additional information, feel free to ask.
>>
>> Thank you guys for your time!
>>
>> Jesus Mager
>> [www.h1n1-al.blogspot.com]
>>
>> ---------------------------------------------------------------------
>> 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
>



-- 
Jesus Mager
[www.h1n1-al.blogspot.com]

Re: Error 404 - The requested resource is not available

Posted by Jose María Zaragoza <de...@gmail.com>.
2017-01-11 22:49 GMT+01:00 fonsin2008 . <fo...@gmail.com>:
> Hi all!
>
> 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:
>
> --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ón El recurso requerido no está disponible.
> --________________________________
> --Apache Tomcat/6.0.37
>
> The file exists on the virtualserver, at
>
> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-INF/pages/login
>
> And:
> ls -l
> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
>
> the evaluacion.war file lives at
> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
>
> And in /WEB-INF/classes/struts.xm I found:
> ./WEB-INF/classes/struts.xml:      <result
> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
>
> 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.
>

Maybe you must paste more text from struts.xml, for example, element
wrapping <result>
I guess you are invoking a wrong URL ( probably you should invoke an
action or something like this )




> If you need some additional information, feel free to ask.
>
> Thank you guys for your time!
>
> Jesus Mager
> [www.h1n1-al.blogspot.com]
>
> ---------------------------------------------------------------------
> 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


Re: Error 404 - The requested resource is not available

Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: "fonsin2008 ." <fo...@gmail.com>
> To: Tomcat Users List <us...@tomcat.apache.org>, 
> Date: 12.01.2017 07:19
> Subject: Re: Error 404 - The requested resource is not available
> 
> Hi!
> 
> The url is: http://somehost/evaluacion/login_formaLogin.action
> 
> The problem is that it used to run without problems.
> 
> 2017-01-11 19:50 GMT-06:00 Tim Watts <ti...@cliftonfarm.org>:
> > On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
> >> Hi all!
> >>
> >> 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:
> >>
> >> --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ón El recurso requerido no está disponible.
> >> --________________________________
> >> --Apache Tomcat/6.0.37
> >>
> >> The file exists on the virtualserver, at
> >>
> >> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/
> evaluacion/WEB-INF/pages/login
> >>
> >> And:
> >> ls -l
> >> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
> >>
> >> the evaluacion.war file lives at
> >> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
> >>
> >> And in /WEB-INF/classes/struts.xm I found:
> >> ./WEB-INF/classes/struts.xml:      <result
> >> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
> >>
> >> 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.
> >>
> >> If you need some additional information, feel free to ask.
> >>
> >
> > 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!
> >>
> >> Jesus Mager
> >> [www.h1n1-al.blogspot.com]
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
> 
> 

Hi,

what is in the logs?

Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Re: Error 404 - The requested resource is not available

Posted by Christoph Nenning <Ch...@lex-com.net>.
> From: Torsten Krah <kr...@gmail.com>
> To: users@tomcat.apache.org, 
> Date: 13.01.2017 08:56
> Subject: Re: Error 404 - The requested resource is not available
> 
> Am Donnerstag, den 12.01.2017, 13:38 -0600 schrieb fonsin2008 .:
> > Here are the  log files.
> 
> What about fixing those NPE and enable debug/trace logs of struts2 to
> get more information about how struts is going to map the request and
> where the 404 is written to the response.
> 
> 

Yes, the NPE happens in application code so you have to ask developers of 
that app.


Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Re: Error 404 - The requested resource is not available

Posted by Torsten Krah <kr...@gmail.com>.
Am Donnerstag, den 12.01.2017, 13:38 -0600 schrieb fonsin2008 .:
> Here are the  log files.

What about fixing those NPE and enable debug/trace logs of struts2 to
get more information about how struts is going to map the request and
where the 404 is written to the response.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error 404 - The requested resource is not available

Posted by "fonsin2008 ." <fo...@gmail.com>.
Here are the  log files.

2017-01-12 2:29 GMT-06:00 Greg Huber <gr...@gmail.com>:
> Check in the apache-tomcat-x.x.x/logs for any
>  errors in catalina.out or yourapp.log files.
>
>
>
> On 12 January 2017 at 06:19, fonsin2008 . <fo...@gmail.com> wrote:
>
>> Hi!
>>
>> The url is: http://somehost/evaluacion/login_formaLogin.action
>>
>> The problem is that it used to run without problems.
>>
>> 2017-01-11 19:50 GMT-06:00 Tim Watts <ti...@cliftonfarm.org>:
>> > On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
>> >> Hi all!
>> >>
>> >> 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:
>> >>
>> >> --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ón El recurso requerido no está disponible.
>> >> --________________________________
>> >> --Apache Tomcat/6.0.37
>> >>
>> >> The file exists on the virtualserver, at
>> >>
>> >> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/
>> evaluacion/WEB-INF/pages/login
>> >>
>> >> And:
>> >> ls -l
>> >> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
>> >>
>> >> the evaluacion.war file lives at
>> >> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
>> >>
>> >> And in /WEB-INF/classes/struts.xm I found:
>> >> ./WEB-INF/classes/struts.xml:      <result
>> >> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
>> >>
>> >> 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.
>> >>
>> >> If you need some additional information, feel free to ask.
>> >>
>> >
>> > 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!
>> >>
>> >> Jesus Mager
>> >> [www.h1n1-al.blogspot.com]
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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
>> >
>>
>>
>>
>> --
>> Jesus Mager
>> [www.h1n1-al.blogspot.com]
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>



-- 
Jesus Mager
[www.h1n1-al.blogspot.com]

Re: Error 404 - The requested resource is not available

Posted by Greg Huber <gr...@gmail.com>.
Check in the apache-tomcat-x.x.x/logs for any
 errors in catalina.out or yourapp.log files.



On 12 January 2017 at 06:19, fonsin2008 . <fo...@gmail.com> wrote:

> Hi!
>
> The url is: http://somehost/evaluacion/login_formaLogin.action
>
> The problem is that it used to run without problems.
>
> 2017-01-11 19:50 GMT-06:00 Tim Watts <ti...@cliftonfarm.org>:
> > On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
> >> Hi all!
> >>
> >> 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:
> >>
> >> --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ón El recurso requerido no está disponible.
> >> --________________________________
> >> --Apache Tomcat/6.0.37
> >>
> >> The file exists on the virtualserver, at
> >>
> >> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/
> evaluacion/WEB-INF/pages/login
> >>
> >> And:
> >> ls -l
> >> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
> >>
> >> the evaluacion.war file lives at
> >> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
> >>
> >> And in /WEB-INF/classes/struts.xm I found:
> >> ./WEB-INF/classes/struts.xml:      <result
> >> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
> >>
> >> 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.
> >>
> >> If you need some additional information, feel free to ask.
> >>
> >
> > 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!
> >>
> >> Jesus Mager
> >> [www.h1n1-al.blogspot.com]
> >>
> >> ---------------------------------------------------------------------
> >> 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
> >
>
>
>
> --
> Jesus Mager
> [www.h1n1-al.blogspot.com]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Error 404 - The requested resource is not available

Posted by "fonsin2008 ." <fo...@gmail.com>.
Hi!

The url is: http://somehost/evaluacion/login_formaLogin.action

The problem is that it used to run without problems.

2017-01-11 19:50 GMT-06:00 Tim Watts <ti...@cliftonfarm.org>:
> On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
>> Hi all!
>>
>> 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:
>>
>> --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ón El recurso requerido no está disponible.
>> --________________________________
>> --Apache Tomcat/6.0.37
>>
>> The file exists on the virtualserver, at
>>
>> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-INF/pages/login
>>
>> And:
>> ls -l
>> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
>>
>> the evaluacion.war file lives at
>> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
>>
>> And in /WEB-INF/classes/struts.xm I found:
>> ./WEB-INF/classes/struts.xml:      <result
>> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
>>
>> 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.
>>
>> If you need some additional information, feel free to ask.
>>
>
> 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!
>>
>> Jesus Mager
>> [www.h1n1-al.blogspot.com]
>>
>> ---------------------------------------------------------------------
>> 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
>



-- 
Jesus Mager
[www.h1n1-al.blogspot.com]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Error 404 - The requested resource is not available

Posted by Tim Watts <ti...@cliftonfarm.org>.
On Wed, 2017-01-11 at 15:49 -0600, fonsin2008 . wrote:
> Hi all!
> 
> 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:
> 
> --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ón El recurso requerido no está disponible.
> --________________________________
> --Apache Tomcat/6.0.37
> 
> The file exists on the virtualserver, at
> 
> home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo/evaluacion/WEB-INF/pages/login
> 
> And:
> ls -l
> -rw-r--r-- 1 xxxx desarrollo 3744 feb 11  2015 forma_login.jsp
> 
> the evaluacion.war file lives at
> /home/desarrollo/produccioncbi/virtualhost/cbi_desarrollo
> 
> And in /WEB-INF/classes/struts.xm I found:
> ./WEB-INF/classes/struts.xml:      <result
> name="forma_login">/WEB-INF/pages/login/forma_login.jsp</result>
> 
> 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.
> 
> If you need some additional information, feel free to ask.
> 

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!
> 
> Jesus Mager
> [www.h1n1-al.blogspot.com]
> 
> ---------------------------------------------------------------------
> 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