I'm not familiar with how NetBeans run web apps, but have you tried running it in a standalone
Tomcat server? Then you could check the log files for what the actual problem is. I'd also guess that log messages are saved or displayed
somewhere when run inside of NetBeans.