Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 21st, 2001, 07:32 AM
steveh454 steveh454 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: UK
Posts: 0 steveh454 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to steveh454
Apache + JServ + Win

Has anyone else set this up?
If I type in the URL:
URL
then I get the JServ stats page.
But how do I fire up the example (IsItWorking.class)?
Do I have to modify the .properties and .conf files?

Any pointers to step by step info on how to create a simple "Hello World" servlet and then fire it up with JServ+Apache+Win would be appreciated.

Steve.

Reply With Quote
  #2  
Old July 2nd, 2001, 04:13 AM
peter27d peter27d is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Iassy - Romania
Posts: 2 peter27d User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to peter27d
Smile I guess you've figure it out by now but anyway here it is:

Basicaly what you'll need to do is:
Stage 1:
install Apache
configure Apache
install Tomcat
configure Tomcat
install "mod_jk.dll "
connect Tomcat to Apache using the "mod_jk.dll" (Tomcat will provide a "mod_jk.conf" for you to copy/paste into Apache's "httpd.conf")

Stage 2:
Define a Virtual Host in Apache's "httpd.conf" (ApacheHome/conf)
Define a Host in Tomcat's "Server.xml" (TomcatHome/conf)

Stage 3:
Restart Apache and Tomcat

Stage 4:
create in the VirtualHostDocRoot directory the following directories : "/servlet", "/Web-Inf/classes" and "/Web-Inf/jsp"
copy the "web.xml" file from one of the tomcat examples dir's to the "/Web-Inf/" dir
copy your servlets into the "/Web-Inf/classes" dir
now, to execute the servlet open a browser and type:
theAddressYouDefinedInApachehttpd.conf/servlet/ServletName
like:
URL

For more information on the steps above surf the Apache and Tomcat documentation
Good Luck!
Peter.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Apache + JServ + Win


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway