Running IE offline with Tomcat

Mike Ottinger

Ranch Hand

Posts: 125

posted 14 years ago

I know this really doesn't belong here but I've exhausted the resources of the guys over in the Tomcat forum. I must really have a stumper, there's no doubt in my mind those folks know there stuff but they thought I'd give you guys a try: I've installed and configured Tomcat 3.2.1 on a Windows 2000 platform. The computer that I do development with is not connected to the internet so the problem is this: I can't handle any http request via Tomcat and my browser because the computer, knowing that it's offline doesn't think it can. What happens is after I startup my server and go to http://localhost/ my browser says that this page cannot be displayed offline. I've made sure the ports match up, I've tried http://127.0.0.1/ , I've tried everything. This whole mess of configuring Tomcat has probably taken five years off of my life So does anybody have some concise, detailed info on how to stump my computer into thinking that it's online? I've heard something about a loopback adapter, I have no idea what it is but it was something suggested by the Tomcat guys. If you want to see any more details about my little quandary goes to the Tomcat forum and check out the latest thread that Mike Ottinger started, there's like twelve replies on it. Thanks guys for looking at it!

SCJP 1.4 SCJD 1.5

Madhav Lakkapragada

Ranch Hand

Posts: 5040

posted 14 years ago

I've installed and configured Tomcat 3.2.1 on a Windows 2000 platform. The computer that I do development with is not connected to the internet so the problem is this: I can't handle any http request via Tomcat and my browser because the computer, knowing that it's offline doesn't think it can. What happens is after I startup my server and go to http://localhost/ my browser says that this page cannot be displayed offline. I've made sure the ports match up, I've tried http://127.0.0.1/ , I have a couple of suggestions (I would do it in this order): 1. If you are using the default settings of Tomcat, then try http://localhost:8080 or http://127.0.0.1:8080 2. Goto IE (what version? BTW) Tools -> Internet Options -> Connections -> LAN Settings -> Proxy Server Box on the botton of LAN Settings form -> Select "Bypass proxy server for local addresses. 3. Add an Apache server. Configure Tomcat to run with Apache. Run Apache server. This way your machine is capable of listening to http requests (connected to Internet). Then give this thing a shot and let us know what happens. I would use the same URL as in option 1 above.I've tried everything. Not yet.... This whole mess of configuring Tomcat has probably taken five years off of my life You see Mike, you should talk. Talk to Javaranch.com..... Pl. let us know what happens or if you have further questions. Good luck. - satya

I don't think there is much point trying #3 ... The problem is most likely that the networking option was not selected when Win2000 was installed on your machine. This means that you won't even have TCP/IP. The only solution is to install the networking option ... don't worry, you don't need to reinstall the whole OS :-) but you will need the cdrom. Good luck.

Mike Ottinger

Ranch Hand

Posts: 125

posted 14 years ago

In response to Tim Duncan, I did go in and install the network option off my 2000 disk. Nothing worked. I'm assuming there's some configuring that has to go along with that. Of all the options I checked out, there was no mention of TCP/IP or any installation of a loopback adapter. Also installing Apache the actual server kind of sounds like another gruesome project I don't think I'm up to. Do you have any detailed advice about WHAT to get from my 2000 disk and what options/wizards to run?

SCJP 1.4 SCJD 1.5

Madhav Lakkapragada

Ranch Hand

Posts: 5040

posted 14 years ago

Also installing Apache the actual server kind of sounds like another gruesome project I don't think I'm up to Well, if the (suspected) problem is your Network TCP/IP stuff, then you don't even have to think abt Apache. I would check the Network stuff first. - satya

Do you have any detailed advice about WHAT to get from my 2000 disk and what options/wizards to run? Somewhere in the Control panel you should find a Network icon (atleast on NT). Select that then goto the "Protocols". You should see a "Add..." button. Add the TCP/IP protocol. Good luck. - satya