This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Tomcat and the fly likes XP and Apache Tomcat 4.02 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "XP and Apache Tomcat 4.02" Watch "XP and Apache Tomcat 4.02" New topic
Author

XP and Apache Tomcat 4.02

bob dapaah
Ranch Hand

Joined: Jan 15, 2002
Posts: 46
I have a network of two computers (both running XP). I've set up Tomcat one one of the PCs and am acessing the servlets from the other. My problems are two-fold:
1) All the setup guides I've seen refer to a WEB-INF/classes directory where code may be placed in order to be able to refresh a recompiled servletwithout restarting Tomcat. This directory does not seem to exist under 4.02. I've tried all the other /classes directories and added the <DefaultContext reloadable ="true/> line to my servlet.xml file as suggested but the server still requires restarting to reflect any compilation changes.
2) When I try to access the servlet via (hostname/servlet/HelloServlet) the browser insits that I connect to the internet before it will display the page!
(PS i've chaged the default port Tomcat uses to 80)
Many frustrating hours spent - any help would be appreciated
Ravi Veera
Ranch Hand

Joined: Jun 23, 2001
Posts: 127

2) When I try to access the servlet via (hostname/servlet/HelloServlet) the browser insits that I connect to the internet before it will display the page!

Could be one of 2 things.
1. Browser Settings. If it's IE it may have been setup to access the internet thru' dialup.
2. How are you refeering to the host? Are you running Tomcat in a standalone mode?
If yes you should be using the ip address instead of the hostname.
First of all try accessing the tomcat server from the machine it's running on. Open up a browser window on that machine and type in http://localhost/.
Let us know if this helps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XP and Apache Tomcat 4.02