aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Tomcat not starting with Netbeans IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Tomcat not starting with Netbeans IDE" Watch "Tomcat not starting with Netbeans IDE" New topic
Author

Tomcat not starting with Netbeans IDE

ramandeep Dhanju
Greenhorn

Joined: Jul 13, 2012
Posts: 7
I installed Netbeans IDE 7.0.1 with Tomcat with it which it installs with it. But i got the following error when i tried to run my sample project
Deployment error:
Starting of Tomcat failed.
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:223)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 5 seconds)

I want to tell that i had Tomcat 7.0.1 installed separately i just uninstalled it before installing Netbeans.
PLease help me ASAP???////
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15641
    
  15

We are not a good "ASAP" help resource, I'm afraid. Since this is a free service, you have to wait for a volunteer to help.

I'm afraid that the only help I can provide, however, is to route your question to the IDEs forum, since that's where you will find the NetBeans experts.


Customer surveys are for companies who didn't pay proper attention to begin with.
Joachim Rohde
Ranch Hand

Joined: Nov 27, 2006
Posts: 423

See the server log for details.

What does the log say?
ramandeep Dhanju
Greenhorn

Joined: Jul 13, 2012
Posts: 7
Using CATALINA_BASE: "C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base"
Using CATALINA_HOME: "C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.14"
Using CATALINA_TMPDIR: "C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.7.0_03"
Using CLASSPATH: "C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.14\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 7.0.14\bin\tomcat-juli.jar"
Apr 10, 2013 6:42:47 PM org.apache.catalina.startup.Catalina initDirs
SEVERE: Cannot find specified temporary folder at C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base\temp
Apr 10, 2013 6:42:47 PM org.apache.catalina.startup.Catalina load
WARNING: Unable to load server configuration from [C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base\conf\server.xml]
Apr 10, 2013 6:42:47 PM org.apache.catalina.startup.Catalina initDirs
SEVERE: Cannot find specified temporary folder at C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base\temp
Apr 10, 2013 6:42:47 PM org.apache.catalina.startup.Catalina load
WARNING: Unable to load server configuration from [C:\Users\rd\.netbeans\7.0\apache-tomcat-7.0.14.0_base\conf\server.xml]
Apr 10, 2013 6:42:47 PM org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server. Server instance is not configured.


That is what i found in the server logs
??
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5779
    
    7

I would have expected you to comment on the SEVERE errors. In other words, do the missing folders/files exist? Are they readable/writable?


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat not starting with Netbeans IDE
 
Similar Threads
I am integrating Bundled liferay portal community edition 6.0.6 and apache tomcat 6 with netbeans
deployment error
Unable to deploy project on Apache Tomcat 7 using Netbeans7.0
Error in Struts sample application
Need Help in Netbeans please