• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XP and Apache Tomcat 4.02

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


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
 
Everybody! Do the Funky Monkey! Like this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic