Hello! I use Netbeans 5.0 and it has embedded Tomcat. I have noticed that if my PC is connected to Internet via DSL NetBeans Tomcat instance runs well. But if I try build and deploy WebApps into NetBeans's embedded Tomcat when my PC is not connected to Internet both build and deployment fails. And Tomcat does not start.
The real Tomcat version (without NetBeans) runs well and does not care if PC is connected to Internet or not.
So, are there any configuration options in Tomcat that can prevent it starting if PC running it is not connected to Internet? Both Tomcat versions are using localhost.
Hi usually people face the vice versa , but you can do the following configuration , after you did it restart your computer and test netbeans + its embeded tomcat version. if problem still exists please post your tomcat log file here.
I assume that you use windows so steps to perform to avoid the problem :
create or if it exists open the wind_dir/system32/drivers/etc/hosts it is a plain text file and it has no extension.
add following lines to it : 127.0.0.1 your_computer_name your_DSL_IP your_computer_name 127.0.0.1 localhost your_DSL_IP localhost
if this changes does not resolve your problem , post the log file content here . you can find the log file at win_drive\Documents and Settings\your_user_name\.netbeans\5.0\jakarta-tomcat-5.5.9_base\logs
make sure you post latest localhost.date.log content