This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Failed to deploy servlet in netbeans 6.7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Failed to deploy servlet in netbeans 6.7" Watch "Failed to deploy servlet in netbeans 6.7" New topic
Author

Failed to deploy servlet in netbeans 6.7

Naveen Akshaye
Greenhorn

Joined: Apr 12, 2009
Posts: 9
Hi all,

I'm using Netbeans 6.7 to write servlets and depoly to Tomcat server 5.5, but everytime the deployment failed. It always outputs the following error message:


The servlet file is a very simple one, and the build of the project is successful to generate the WAR. The tomcat server works well if I manually copy the .war file into the "webapps" folder. The catalina base and appBase is set to one folder under my $HOME directory, so that I have the privilege to write. However, the Netbeans always failed to deploy it into server. I have specified correct locations for $CATALINA_HOME and $CATALINA_BASE in server configuration. I also tried the default system configuration, got the same error msg.

Anyone has idea about this?

Thanks,
Naveen.
olze oli
Ranch Hand

Joined: Jun 20, 2009
Posts: 148
same problem here... no one who can help? :/
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

[i am not sure] clean and re-build
olze oli
Ranch Hand

Joined: Jun 20, 2009
Posts: 148
doesnt help anything... just trying to install tomcat and liferay by hand, because i used the bundle.. maybe this is the problem.. dont know :/
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9291
    
  17

Naveen the output window in Netbeans also shows the output of the Tomcat console. That will contain the actual cause of the problem. Can you please post that...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Moved to the IDEs forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
olze oli
Ranch Hand

Joined: Jun 20, 2009
Posts: 148
i've made it myself with tomcat 6.0.20 and its working
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to deploy servlet in netbeans 6.7
 
Similar Threads
problem using netbeans web application sample
The module has not been deployed. BUILD FAILED
Unable to deploy project on Apache Tomcat 7 using Netbeans7.0
NetBeans JAX-WS WSDL
jsf 2.0 tomcat 6.0 maven