> On Apr 21, 2015, at 9:04 AM, Oleksandr Bodriagov (Polystar) 
> <[email protected]> wrote:
> 
> It gets deployed now, but it fails to start now:
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 14.597s
> [INFO] Finished at: Tue Apr 21 15:49:57 CEST 2015
> [INFO] Final Memory: 30M/548M
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project
> fortress-rest: Cannot invoke Tomcat manager: FAIL - Deployed application
> at context path /fortress-rest-1.0-RC40-SNAPSHOT but context failed to
> start -> [Help 1]
> 

Hmmm, I’m stumped.  I did notice some noise in those logs, including:

21-Apr-2015 16:01:28.951 INFO [Statistics Thread-fortress-rest-1]
org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoadi
ng Illegal access: this web application instance has been stopped already.
Could not load [java.lang.OutOfMemoryError]. The following stack trace is
thrown for debugging purposes as well as to attempt to terminate the
thread which caused the illegal access.
java.lang.IllegalStateException: Illegal access: this web application
instance has been stopped already. Could not load
[java.lang.OutOfMemoryError]. The following stack trace is thrown for
debugging purposes as well as to attempt to terminate the thread which
caused the illegal access.

Just to make sure we have everything running clean, can you shutdown tomcat, 
manually remove the fortress-rest deployment, restart and redeploy:

mvn clean tomcat:deploy

I doubt this will resolve your error, but worth a try.  Also what version of 
java are you using?

Thanks,

Shawn
[email protected]

Reply via email to