Apache+Tomcat+JSP 404Error

This is a discussion on Apache+Tomcat+JSP 404Error within the Apache Web Server forums, part of the Web Server and Related Forums category; Dev Environment: Windows XP Apache 2.0.46 Tomcat4.1.18 JDK1.4.1_03 mod_jk_2.0.46.dll CLASSPATH pointing ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2003
Jay
 
Posts: n/a
Default Apache+Tomcat+JSP 404Error

Dev Environment:
Windows XP
Apache 2.0.46
Tomcat4.1.18
JDK1.4.1_03
mod_jk_2.0.46.dll

CLASSPATH pointing to c:\tomcat\common\lib\servlet.jar
JAVA_HOME = "c:\j2sdk1.4.1_03

Examples work fine at
http://localhost/examples/jsp/source.jsp and
http://localhost:8080/examples/jsp/source.jsp

If I can load jsp pages in examples folder then I think my
Apache-Tomcat-mod_jk connection is fine.

Problem:
I have created new folder "myjsp" in webapps.
New test.jsp is located in webApps/myjsp

when I try to execute jsp in this new folder, I am getting 404-Page
cannot be found Error.
I am getting 404 error at http://localhost/myjsp/test.jsp

Entry in server.xml
<Context path="/myjsp" docBase="webapps/myjsp" debug="0"
reloadable="true" >
</Context>

Entries in httpd.conf
JKMount /*.jsp ajp13
JKMount /myjsp/*.jsp ajp13
Alias /myjsp "c:\tomcat\tomcat\4-1-18\webapps\myjsp"


Note:
If i copy the same test.jsp to examples folder then It works fine
using-http://localhost/examples/jsp/test.jsp

I am sure that I am missing something in configuration of this new
folder but couldn't figure out.
Please help? Thanks for your time.
  #2 (permalink)  
Old 06-27-2003
Useko Netsumi
 
Posts: n/a
Default Re: Apache+Tomcat+JSP 404Error

Where in the world we find javac.jar for the above to work. Thanks


"Jay" <jaidpr@yahoo.com> wrote in message
news:b16aaba7.0306260759.1994ae37@posting.google.c om...
> Dev Environment:
> Windows XP
> Apache 2.0.46
> Tomcat4.1.18
> JDK1.4.1_03
> mod_jk_2.0.46.dll
>
> CLASSPATH pointing to c:\tomcat\common\lib\servlet.jar
> JAVA_HOME = "c:\j2sdk1.4.1_03
>
> Examples work fine at
> http://localhost/examples/jsp/source.jsp and
> http://localhost:8080/examples/jsp/source.jsp
>
> If I can load jsp pages in examples folder then I think my
> Apache-Tomcat-mod_jk connection is fine.
>
> Problem:
> I have created new folder "myjsp" in webapps.
> New test.jsp is located in webApps/myjsp
>
> when I try to execute jsp in this new folder, I am getting 404-Page
> cannot be found Error.
> I am getting 404 error at http://localhost/myjsp/test.jsp
>
> Entry in server.xml
> <Context path="/myjsp" docBase="webapps/myjsp" debug="0"
> reloadable="true" >
> </Context>
>
> Entries in httpd.conf
> JKMount /*.jsp ajp13
> JKMount /myjsp/*.jsp ajp13
> Alias /myjsp "c:\tomcat\tomcat\4-1-18\webapps\myjsp"
>
>
> Note:
> If i copy the same test.jsp to examples folder then It works fine
> using-http://localhost/examples/jsp/test.jsp
>
> I am sure that I am missing something in configuration of this new
> folder but couldn't figure out.
> Please help? Thanks for your time.



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:13 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0