Hi , When I have netbeans ide with bundled tomcat ..Whenever I run my application I get this error - Starting of Tomcat failed. C:\Test1\nbproject\build-impl.xml:458: Deployment error: Starting of Tomcat failed.Could anyone tell me how to solve this problem. Thanks yogita [ November 06, 2006: Message edited by: Bear Bibeault ]
Which netbeans version you are using ? it is better that you look at two log files , to make it possible delete the log files before starting netbeans and then start netbeans and run your application. after you faced that error first look at Netbeans log file loated at :
WINDOWS_DRIVE:\Documents and Settings\your_user_name\.netbeans\5.5\var\log
then look at tomcat log file located at :
YOUR_WINDOWS_DRIVE:\Documents and Settings\YOUR_USER_NAME\.netbeans\5.5\apache-tomcat-5.5.17_base\logs
by looking at those log files you can find more details about the reason that tomcat does not starts . it could be a port conflict or what ever problem.
if you could not resolve the problem after looking there post the log contents here and some one wil help you.
Nov 7, 2006 8:41:33 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_09\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\jdk\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\jdk\bin;C:\Program Files\Common Files\NetSarang;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;c:\jdk\bin;C:\WINDOWS\System32;;C:\\bin;x� Nov 7, 2006 8:41:34 AM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8084 Nov 7, 2006 8:41:34 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1693 ms Nov 7, 2006 8:41:34 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Nov 7, 2006 8:41:34 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 Nov 7, 2006 8:41:34 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Nov 7, 2006 8:41:36 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8084 Nov 7, 2006 8:41:37 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Nov 7, 2006 8:41:37 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/60 config=null Nov 7, 2006 8:41:37 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Nov 7, 2006 8:41:37 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 3404 ms
Hi , When I try to run I get port 8084 is already in use..But I am not able to see http://localhost/8084.I donn't think I changed anything ..I even tried uinstalling and installing again ,but still same problem..The first time I run it I get the error that I sent before and after that I get 8084 already in use error..I could not find the home directory that you asked me to delete..Could tell me where that is exactly.. Thanks
Hi Do the following : -exit Netbeans and make sure you check that its built-in tomcat is down from the runtime window (runtime view under servers node) -try netstat -n check and see whether xomething is using port 8084 or not.
if you saw 8084 in left side column then its better that you change tomcat default port that tomcat uses. to do this , run netbeans , press CTRL+5 to view the runtime window -find tomcat under servers node. -right click and select properties -change the server port and press close. start tomcat. and you will see no port conflict problem , if there was any.
hope it helps [ November 07, 2006: Message edited by: Masoud Kalali ]