Solved

apache + tomcat

Posted on 2001-08-13
5
536 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
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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Suggested Solutions

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…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now