Re: mod_jk and Mapping configuration error

2002-06-13 Thread pjcrump

Alex,
What version of Tomcat are you using?  Also, I'm trying to resolve an issue I 
have (mod_jk not working).  Do you have a procedure on how to get mod_jk 
working?

Thanks..

Quoting Alex Short [EMAIL PROTECTED]:

 I can't for the life of me figure out my problem.  I have apache running 
 all peachy, and added in mod_jk to service *.jsp to tomcat.
 
 I'm trying to first get a single Virtual host working with this config, 
 and my webroot is /opt/web/www.ialex.net
 
 In my VirtualHost i have my JkMount
 JkMount /*.jsp ajp13
 
 and in my server.xml
 
 !-- Define an AJP 1.3 Connector on port 8009 --
 Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=5 maxProcessors=75
acceptCount=10 debug=0/
 Host name=www.ialex.net
 Context path= docBase=/opt/web/www.ialex.net debug=0/
 /Host
 
 No errors on startup for either apache or tomcat (I start tomcat first) 
 and when i try going to a file index.jsp in /opt/web/www.ialex.net from my 
 browser i get a 
 
 htmlheadtitleApache Tomcat/4.0.3 - Error 
 report/titleSTYLE!--H1{font-family : sans-serif,Arial,Tahoma;color : 
 white;background-color : #0086b2;} BODY{font-family : 
 sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : 
 white;background-color : #0086b2;} HR{color : #0086b2;} --/STYLE 
 /headbodyh1Apache Tomcat/4.0.3 - HTTP Status 404 - 
 /index.jsp/h1HR size=1 noshadepbtype/b Status 
 report/ppbmessage/b u/index.jsp/u/ppbdescription/b 
 uThe requested resource (/index.jsp) is not available./u/pHR 
 size=1 noshade/body/html
 
 And this in my tomcat logs
 
 2002-06-13 09:09:35 StandardHost[localhost]: MAPPING configuration error 
 for request URI
 
 Help please
 
 Alex
 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Mod_jk Configuration

2002-06-06 Thread pjcrump

Mandrake 7.2

I want to compile mod_jk to hook Apache  tomcat together and I'm having no 
luck.  Anybody have any good URL's with instructions on how to Compile mod_jk?

Thanks


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




request for jsp returning source code!?

2001-06-06 Thread pjcrump

I'm running Tomcat 3.2.1  Apache on Linux and I'm having a problem w/ the jsp 
examples. When I try http://localhost/examples/jsp/dates/date.jsp
I get the source code of the jsp page returned (as if tomcat is not processing the jsp 
page). Since I am attempting to have Apache serve Static content and Tomcat serve 
JSP's I have already installed mod_jk and am using the stock mod_jk.conf-auto include 
in my httpd.conf file..
 
 What else needs to be done?
 -Phillip



Apache - Tomcat Examples not working

2001-05-30 Thread pjcrump

I'm running Tomcat 3.2.1  Apache on Linux and I'm having a problem w/ the examples.
They work if I use http://localhost:8080/examples/servlet/HelloWorldExample
however if I use http://localhost/examples/servlet/HelloWorldExample
I get a 404 (the same w/ the sample JSP pages as well).

Since I am attempting to have Apache serve Static content and Tomcat serve JSP's I 
have already installed mod_jk and am using the stock mod_jk.conf-auto include in my 
httpd.conf file..

Is there something I'm missing?

Thanks in advance.
-Phillip



Re: Apache - Tomcat Examples not working

2001-05-30 Thread pjcrump

Thanks..so the port should be 8081 in Server.xml?
I have a question though.. if i do this won't Tomcat be serving up both Static and 
Dynamic Pages??  I need Apache to serve static pages and tomcat to serve jsp's  
servlets??

Thanks
-Phillip




Phillip,

Tomcat uses port 8080 as a default; 8080 is not,
however the default http port.
So http://localhost/examples/servlet/HelloWorldExample
is actually equivalent to
http://localhost:8000/examples/servlet/HelloWorldExample
(8000 is the default port for http used by most
browsers).  Tomcat's listening on 8080, so it doesn't
respond.

you need to edit the server.xml file to change the
port number that Tomcat listens on.  See the faq at
http://jakarta.apache.org:8080/jyve-
faq/Turbine/screen/DisplayQuestionAnswer/action/SetAll/project_id/2/faq_id/12/topic_id/42/question_id/389
for details on how to do it.

--steve


--- [EMAIL PROTECTED] wrote:
 I'm running Tomcat 3.2.1  Apache on Linux and I'm
 having a problem w/ the examples.
 They work if I use

http://localhost:8080/examples/servlet/HelloWorldExample
 however if I use
 http://localhost/examples/servlet/HelloWorldExample
 I get a 404 (the same w/ the sample JSP pages as
 well).

 Since I am attempting to have Apache serve Static
 content and Tomcat serve JSP's I have already
 installed mod_jk and am using the stock
 mod_jk.conf-auto include in my httpd.conf file..

 Is there something I'm missing?

 Thanks in advance.
 -Phillip



__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year!  http://personal.mail.yahoo.com/