]
Tiago Matias updated WFLY-8013:
-------------------------------
Issue Type: Bug (was: Enhancement)
Out of memory exception after a number of remote deploys
--------------------------------------------------------
Key: WFLY-8013
URL:
https://issues.jboss.org/browse/WFLY-8013
Project: WildFly
Issue Type: Bug
Components: Server
Affects Versions: 10.1.0.Final
Environment: Server: Ubuntu 16.04.1 LTS x64
bq.
bq. Startup arguments:
bq.
bq.
bq. java -D[Standalone] -server -Xms256m -Xmx8096m -XX:MetaspaceSize=96M
-XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true
-Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
-Dorg.jboss.boot.log.file=/opt/wildfly/standalone/log/server.log
-Dlogging.configuration=file:/opt/wildfly/standalone/configuration/logging.properties -jar
/opt/wildfly/jboss-modules.jar -mp /opt/wildfly/modules org.jboss.as.standalone
-Djboss.home.dir=/opt/wildfly -Djboss.server.base.dir=/opt/wildfly/standalone -c
standalone.xml -b 0.0.0.0
Reporter: Tiago Matias
Assignee: Jason Greene
Priority: Minor
Using the wildfly-maven-plugin for remotely deploying a WAR file do Wildfly and, after a
few deploys (between 5 and 10) An outofmemory error emerges, requiring a full server
restart.
*Full error log of maven.*
{quote}
[INFO] Authenticating against security realm: ManagementRealm
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 47.630 s
[INFO] Finished at: 2017-02-02T15:38:04+00:00
[INFO] Final Memory: 22M/290M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.wildfly.plugins:wildfly-maven-plugin:1.1.0.Final:deploy (default) on project
MyProject: Failed to execute goal deploy: {"WFLYCTL0062: Composite operation failed
and was rolled back
. Steps that failed:" => {"Operation step-1" => {"WFLYCTL0080:
Failed services" =>
{"jboss.deployment.unit.\"backoffice.war\".POST_MODULE" =>
"org.jboss.msc.service.StartException in service jboss.deployment.unit.\"
backoffice.war\".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of
deployment \"backoffice.war\"
[ERROR] Caused by: java.lang.OutOfMemoryError: Metaspace"},"WFLYCTL0412:
Required services that are not installed:" =>
["jboss.deployment.unit.\"MyProject.war\".POST_MODULE"],"WFLYCTL0180:
Services with missing/una
vailable dependencies" => undefined}}}
{quote}