ERROR xnio-file-watcher[Watcher for using docker volumen

15 views
Skip to first unread message

Javier Sanz

unread,
Sep 16, 2025, 4:17:18 AM (11 days ago) Sep 16
to WildFly
Hello,

I got a error xnio by using JBoss 7.4 applying docker named volumen

Running on docker, lunch a JBoss with a Ear artifactory exploded ...

Mounting 2 dirs, /app and another one inside the ear, to -overlay- the real directory...
[NOTE: it is works perfectly running a war artifact]

```
 docker run --name  aaaa  -v /app:/app  -v /app/:/deployments/e.ear/app:rshared  -p 8080:8080 -p 9990:9990 -it eetu-spring/eetu-app:1.0
```

Deployement starts, it seems ok, because admin listeners shows running, but, after boots, an undeploy is launched ... it ends ...

```
16/9/2025 08:01:53.654 ERROR [] []  [] xnio-file-watcher[Watcher for /deployments/e.ear/w.war/]-0 [stderr.write:71] Exception in thread "xnio-file-watcher[Watcher for /deployments/e.
ear/w.war/]-0" java.lang.IllegalMonitorStateException
```

<bla bla bla>
```
16/9/2025 08:06:52.632 ERROR [] []  [] DeploymentScanner-threads - 1 [management-operation.executeStep:1097] WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([])
java.lang.IllegalStateException: WFLYCTL0345: Timeout after 300 seconds waiting for existing service service jboss.deployment.unit."e.ear".contents to be removed so a new instance can be installed.
       at org.jboss.as.controller.OperationContextImpl.installService(OperationContextImpl.java:2051)
```

It seams that a undeploy invocation was generated .. why who?
Not records anywhere ... 


And if I remove the second -mount- , it is works ...

Any clue?

Tx

Bartosz Baranowski

unread,
Sep 17, 2025, 4:15:39 AM (10 days ago) Sep 17
to WildFly
All inquires about EAP should go through customer portal: https://access.redhat.com/
Reply all
Reply to author
Forward
0 new messages