 |
 |
developing apps while not connected
|
 |
|
 |
|
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status:
Offline
|
|
OK, this may sound like a newbie question, but I wouldn't put myself in that category, so forgive me.
I have been messing with Tomcat/Cocoon/etc. and recently decided that it might be nice to do some work on it while sitting at a coffee shop or elsewhere. However, I found that while not connected to the internet, the IP interface seems to go down entirely.
So, while not plugged in, I cannot start Apache/WebSharing or the Tomcat server. Why? I'm just trying to run the server locally so that I can make local requests while developing. Why do I need to be connected to the internet to do that?
Is there some reason the OS shuts down all app requests that rely upon the the network even though they are local? I don't get it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status:
Offline
|
|
Hmmm...I don't have that problem at all.
I have a full J2EE stack (JBoss/Jetty||Tomcat) and MySQL HyperSonicSQL openLDAP and much more running 24/7 on my laptop which goes from wireless at home, to no connection while transient, to wired at work.
I bring all the apps up and down as needed and everything works fine regardless of the environment.
The only thing I have done is add my computer name to the NetInfo entry for localhost.
|
|
signatures are a waste of bandwidth
especially ones with political tripe in them.
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status:
Offline
|
|
By any chance is your internet provisioned as DHCP? Try making a new location with a manually provisioned IP address, with no DNS server.
Any attempts to connect should then be refused immediately, allowing the app to get on with it.
Also, look for any "auto update" features and turn them off.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
You could try making a new network location which was set-up to use Ethernet - then your system thinks it's on-line all the time.
(or are you suggesting that you need an actual active connection?)
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status:
Offline
|
|
Thank you for all of your thoughts.
I'm not in front of my machine at the moment, but my normal connected setup is a statically assigned IP with an assigned DNS IP address. So I'll try creating one without a DNS entry and see what that does.
I'll also try the localhost entry in NetInfo if that doesn't work.
I'll report the results.
If it was unclear, I'm suggesting that I want a local server running and responding to requests without an active network connection.
Not that it should matter, but I'm running 10.2 on a PowerBook G3 500MHz Pismo.
thanks again.
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Feb 2000
Location: Chicago, IL
Status:
Offline
|
|
OK, got it to work by removing the DNS server entry and making the requests of 127.0.0.1 instead of localhost.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|