[jboss-jira] [JBoss JIRA] (WFLY-11978) EAR with 2+ JPA does not shutdown cleanly

Darryl Miles (Jira) issues at jboss.org
Thu Apr 11 19:47:00 EDT 2019


Darryl Miles created WFLY-11978:
-----------------------------------

             Summary: EAR with 2+ JPA does not shutdown cleanly
                 Key: WFLY-11978
                 URL: https://issues.jboss.org/browse/WFLY-11978
             Project: WildFly
          Issue Type: Bug
    Affects Versions: 16.0.0.Final
         Environment: Windows JDK8 WF16
            Reporter: Darryl Miles
            Assignee: Brian Stansberry


EAR with 2+ JPA does not shutdown cleanly.

I see in the logs each JPA project have an entry:

WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'blah....jpa.project1'
WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service 'blah....jpa.project2'

then a few lines later:

WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'blah....jpa.project2'

I never see the "phase 1 of 2" entry for "jpa.project1" in the log.
The container will wait 300 seconds and timeout.

The management console during the time shows
  Operation: undeploy
  Execution Status: awaiting-stablility.

The container is killed and the configuration.xml still contains the EAR deployment info, as undeploy did not complete.





--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list