[jboss-jira] [JBoss JIRA] (WFCORE-1330) Deployment error after reboot [WFLYSRV0137]

Anchal Sachdev (JIRA) issues at jboss.org
Tue Apr 11 07:41:01 EDT 2017


    [ https://issues.jboss.org/browse/WFCORE-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13392200#comment-13392200 ] 

Anchal Sachdev commented on WFCORE-1330:
----------------------------------------

I am facing the same issue. Although I am running my Wildfly 10 server on Linux OS. I checked my logs and the data in /standalone/data/content folder is being deleted because of which I am getting the above-mentioned exception. The log says -  WFLYDR0009: Content /data/wildfly-10.1.0.Final/standalone/data/content/e3/43bde5bfc12c80c373224344e37b7fd28c2fb3 is obsolete and will be removed
2017-04-11 03:25:11,451 INFO  [org.jboss.as.repository] (ServerService Thread Pool -- 1) WFLYDR0002: Content removed from location /data/wildfly-10.1.0.Final/standalone/data/content/e3/43bde5bfc12c80c373224344e37b7fd28c2fb3/content
2017-04-11 03:25:11,451 DEBUG [org.jboss.as.server] (ServerService Thread Pool -- 1) {"deleted-contents" => ["/data/wildfly-10.1.0.Final/standalone/data/content/e3/43bde5bfc12c80c373224344e37b7fd28c2fb3"]}

Now when I remove the entry for that war from standalone.xml I am able to restart the server, but I need a more permanent solution. 


> Deployment error after reboot [WFLYSRV0137]
> -------------------------------------------
>
>                 Key: WFCORE-1330
>                 URL: https://issues.jboss.org/browse/WFCORE-1330
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 1.0.2.Final
>         Environment: Ubuntu 14.04 LTS 64bit, jre-1.8.0_65
> Several deployed (JavaEE) web applications including non XA datasources that connect to a MySQL instance.
>            Reporter: Tobi Tobias
>            Assignee: ehsavoie Hugonnet
>            Priority: Critical
>         Attachments: server.log, server.log
>
>
> I have a working configuration on wildfly 9.0.2 final with several web applications (JavaEE).
> After a couple of days, I deployed another war file via jboss CLI. This application worked correctly and no deployment error occurred.
> But if I restart the server now, I get following error message:
> 10:36:01,893 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "MM-Controller-0.1.0-SNAPSHOT.war")]) - failure description: "WFLYSRV0137: No deployment content with hash 966847a6f5f5bf8c3470f07ea9e65b7bbcdcd7b7 is available in the deployment content repository for deployment 'MM-Controller-0.1.0-SNAPSHOT.war'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuration file and restart."
> 10:36:01,990 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.
> I reproduced this at least 30 times - even with different jars. I always get this error. The server works fine as long as I don't reboot.
> The only way to fix the configuration is to manually remove the deployments from the standalone.xml.
> But this is not an option for me as I want to have the wildfly running as production server where I have several automatic deployments every day.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list