[nbj2ee] Netbean Tomcat server start failed

  • From: "sangramsanand" < >
  • To:
  • Subject: [nbj2ee] Netbean Tomcat server start failed
  • Date: Fri, 07 Dec 2012 09:51:39 -0500

When i deployed the project for the first time, it worked well. But after 
redeploying the project the tomcat server is failing. Ours is a struts2 
project with Hibernate ORM and Maven build manager.

added the following lines in  /usr/bin/mvn,  but haven't worked

> export MAVEN_OPTS=-Xmx512M -XX:MaxPermSize=512M


VM option in Servers -> Tomcat7.0 are

>  -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=512m -XX:PermSize=256m 
> -XX:MaxPermSize=512m


Below are the error messages observed in log.


> [war:war]
> Packaging webapp
> Assembling webapp [webapps-main] in 
> [/home/anand/test_gs_code/generalsentiment-webapps/webapps-main/target/webapps-main-SNAPSHOT]
> Processing war project
> Copying webapp resources 
> [/home/anand/test_gs_code/generalsentiment-webapps/webapps-main/src/main/webapp]
> Webapp assembled in [11706 msecs]
> Building war: 
> /home/anand/test_gs_code/generalsentiment-webapps/webapps-main/target/webapps-main-SNAPSHOT.war
> WEB-INF/web.xml already added, skipping
> ------------------------------------------------------------------------
> BUILD SUCCESS
> ------------------------------------------------------------------------
> Total time: 39.674s
> Finished at: Fri Dec 07 20:01:00 IST 2012
> Final Memory: 32M/175M
> ------------------------------------------------------------------------
> NetBeans: Deploying on Apache Tomcat 7.0.22.0
>     profile mode: false
>     debug mode: true
>     force redeploy: true
> Starting Tomcat process...
> Waiting for Tomcat...
> Starting of Tomcat failed.
> Deployment error: Starting of Tomcat failed.
> See the server log for details.
>       at 
> org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:230)
>       at 
> org.netbeans.modules.maven.j2ee.ExecutionChecker.performDeploy(ExecutionChecker.java:179)
>       at 
> org.netbeans.modules.maven.j2ee.ExecutionChecker.executionResult(ExecutionChecker.java:131)
>       at 
> org.netbeans.modules.maven.execute.MavenCommandLineExecutor.run(MavenCommandLineExecutor.java:211)
>       at 
> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
> 


Any help would be greatful.






[nbj2ee] Netbean Tomcat server start failed

sangramsanand 12/07/2012

[nbj2ee] Netbean Tomcat server start failed

sangramsanand 12/10/2012

[nbj2ee] Netbean Tomcat server start failed

rajendersingh100 12/13/2012

[nbj2ee] Netbean Tomcat server start failed

gros_bidule 12/13/2012

[nbj2ee] Netbean Tomcat server start failed

sangramsanand 12/14/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close