Solved

apache + tomcat

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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 …
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

914 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

15 Experts available now in Live!

Get 1:1 Help Now