Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

NetBean people, give some help!

Thread view: 
Paul - 18 Aug 2006 15:24 GMT
Hello,

I have installed Netbeans 5.0 in my Laptop.
Everything (almost) works ok, until my Laptop is disconnected from Internet.
After disconnect embedded Tomcat in Netbeans fails to deploy application and
start
Tomcat.

Why?????? Why can't Netbean deploy and run WebApplication under embedded
Tomcat when
Internetconnection is closed.

And as a Laptop user I quite often code without Internet connection.

Have anyone any ideas where the problen is.

Have a nice weekend!
Manfred Rosenboom - 18 Aug 2006 16:14 GMT
I assume your Laptop is running under Windows XP.
Windows XP loose the IP address when the machine is not
connected to the Internet.

For this situation I have installed the Microsoft loopback
adapter on my notebook, using the same IP address for
the loopback adapter as for my LAN board. Whenever I'm
not connected to the Internet, I just enable the
loopback adapter. Before connecting to the Internet
again, I just disable the loopback adapter.
Paul - 18 Aug 2006 16:36 GMT
Sounds reasonable. Where did you get that Microsoft lookback adapter?

Cheers!

>I assume your Laptop is running under Windows XP.
> Windows XP loose the IP address when the machine is not
[quoted text clipped - 6 lines]
> loopback adapter. Before connecting to the Internet
> again, I just disable the loopback adapter.
Oliver Wong - 18 Aug 2006 18:44 GMT
> Sounds reasonable. Where did you get that Microsoft lookback adapter?

   When I google for "Microsoft loopback adapter", I get

http://www.microsoft.com/technet/prodtechnol/virtualserver/2005/proddocs/vs_oper
ate_ht_install_loopback.mspx?mfr=true


   - Oliver
Mark Space - 19 Aug 2006 05:41 GMT
> Sounds reasonable. Where did you get that Microsoft lookback adapter?

It does sound reasonable, but on my system NetBeans launches
applications through Tomcat as "localhost," not any IP address.

If the loopback adapter idea doesn't work, you might want to check that
your HOSTS file is set up correctly.  "localhost" should resolve to
127.0.0.1.  If not, add that entry. (HOSTS is in the WINNT directory,
under drivers\etc, iirc.)

Otherwise, check Tomcat itself can come up, outside of NetBeans.  Try it
from the command line, and as a service under Windows (from the GUI).
Check what NetBeans is is trying to launch, and make sure you can
resolve that manually also (localhost, 127.0.0.1, or whatever).  You
might want to check the NetBeans config to see what it is trying to do.

If none of these work, find the relavent console output under NetBeans
and any relevant Tomcat logs, and post 'em up, and we'll have another go.
marochess@gmail.com - 19 Aug 2006 15:05 GMT
The loopback adapter is part of Windows XP. The Microsoft Knowledge
Base shows, how to install it:

http://support.microsoft.com/default.aspx?scid=kb;de;839013

> Sounds reasonable. Where did you get that Microsoft lookback adapter?
>
> Cheers!


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.