Solved

apache + tomcat

Posted on 2001-08-13
5
559 Views
Last Modified: 2010-03-04
I am now config apache + tomcat

I defined a virtual host that point to the tomcat examples

This is what I added in httpd.conf

LoadModule jk_module "c:/Abria Merlin/Apache/modules/mod_jk.dll"
AddModule     mod_jk.c

JkWorkersFile "C:/jakarta-tomcat/conf/workers.properties"
JkLogFile "C:/jakarta-tomcat/logs/mod_jk.log"

<VirtualHost examples.uni-top.com>
     DocumentRoot c:/jakarta-tomcat/webapps/examples
     ServerName examples.uni-top.com
     JkMount /*.jsp ajp13
     JkMount /servlet/* ajp13

</VirtualHost>    


This is what I addded in the server.xml of tomcat
<Host name="examples.uni-top.com">
<Context path="" docBase="webapps/examples" debug="0" reloadable="true"/>
</Host>


apache and tomcat startup with no errors
Now I browse the example page
using this url
http://examples.uni-top.com/jsp

the index.html display sucessfully, however when I try to click the examples jsp , the apache return a internal server error
the link is
http://examples.uni-top.com/jsp/num/numguess.jsp

what's wrong with my config ?

0
Comment
Question by:adrianmak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Author Comment

by:adrianmak
ID: 6382860
I am using Apache 1.3.19 win32 and tomcat 3.2.3
running under win2k pro
0
 

Accepted Solution

by:
macha060500 earned 10 total points
ID: 6387163
Don't access the html and other pages for drive path.

Try to use http://lacalhost:8080/examples.uni-top.com/jsp/num/numguess.jsp

This will work after running the Apacha Web Server and Tomcat.
0
 
LVL 3

Expert Comment

by:modder
ID: 6511916
adrianmak's account has been closed for refusing to provide feedback even after being reminded.

Please advise as to who should get points for this.

modder
Community Support
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 6871098
ADMINISTRATION WILL BE CONTACTING YOU SHORTLY.

Question(s) below appears to have been abandoned. Your options are:
 
1. Accept a Comment As Answer (use the button next to the Expert's name).
2. Close the question if the information was not useful to you. You must tell the participants why you wish to do this, and allow for Expert response.
3. Ask Community Support to help split points between participating experts, or just comment here with details and we'll respond with the process.
4. Delete the question. Again, please comment to advise the other participants why you wish to do this.

For special handling needs, please post a zero point question in the link below and include the question QID/link(s) that it regards.
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
 
Please click the Help Desk link on the left for Member Guidelines, Member Agreement and the Question/Answer process.  http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp

Please click you Member Profile to view your question history and keep them all current with updates as the collaboration effort continues, to track all your open and locked questions at this site.  If you are an EE Pro user, use the Power Search option to find them.



To view your locked questions, please click the following link(s) and evaluate the proposed answer.
http://www.experts-exchange.com/questions/Q.11997718.html
http://www.experts-exchange.com/questions/Q.20103770.html
http://www.experts-exchange.com/questions/Q.20117487.html
http://www.experts-exchange.com/questions/Q.20139064.html
http://www.experts-exchange.com/questions/Q.20168027.html

PLEASE DO NOT AWARD THE POINTS TO ME.  
 
------------>  EXPERTS:  Please leave any comments regarding your closing recommendations if this item remains inactive another seven (7) days.  Also, if you are interested in the cleanup effort, please click this link http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=commspt&qid=20274643
 
Thank you everyone.
 
Moondancer
Moderator @ Experts Exchange

P.S.  For any year 2000 questions, special attention is needed to ensure the first correct response is awarded, since they are not in the comment date order, but rather in Member ID order.
0
 
LVL 5

Expert Comment

by:Netminder
ID: 6957855
Force-accepted by
Netminder
CS Moderator
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question