WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\

5,323 views
Skip to first unread message

Neeraj Paliwal

unread,
Jul 15, 2021, 7:21:51 AM7/15/21
to dcm4che
Hello,

I Got Error during deploy secure ear.
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"dcm4chee-arc-ear-5.23.3-m
ysql-secure.ear\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deploy
ment in the Keycloak subsystem."}}}}



16:09:25,768 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ({"deployment" => "dcm4chee-arc-ear-5.23.3-mysql-secure.ear"}) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deployment in the Keycloak subsystem."}}
16:09:25,773 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "dcm4chee-arc-ear-5.23.3-mysql-secure.ear" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deployment in the Keycloak subsystem."}}


Need solution guys please guide me.

Thanks 
Neeraj Paliwal


Vrinda Nayak

unread,
Jul 15, 2021, 2:31:33 PM7/15/21
to dcm4che
Message has been deleted

Neeraj Paliwal

unread,
Jul 16, 2021, 2:41:10 AM7/16/21
to dcm...@googlegroups.com
 <secure-deployment name="dcm4chee-arc-ui2-5.23.3-secure.war">
                <realm>dcm4che</realm>
                <resource>dcm4chee-arc-ui</resource>
                <public-client>true</public-client>
                <auth-server-url>https://192.168.1.81:8843/auth</auth-server-url>
                <truststore>/opt/dcm4chee/wildfly-19.1.0.Final/standalone/configuration/keystores/cacerts.jks</truststore>
                <truststore-password>secret</truststore-password>
                <ssl-required>external</ssl-required>
                <allow-any-hostname>true</allow-any-hostname>
            </secure-deployment>
            <secure-deployment name="dcm4chee-arc-ear-5.23.3-mysql-secure.ear">
                <realm>dcm4che</realm>
                <resource>dcm4chee-arc-rs</resource>
                <bearer-only>true</bearer-only>
                <auth-server-url>https://192.168.1.81:8843/auth</auth-server-url>
                <truststore>/opt/dcm4chee/wildfly-19.1.0.Final/standalone/configuration/keystores/cacerts.jks</truststore>
                <truststore-password>secret</truststore-password>
                <ssl-required>external</ssl-required>
                <allow-any-hostname>true</allow-any-hostname>
            </secure-deployment>

Already Added but get samer error

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/U9BTHx5BtiY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dcm4che/92f1ae3c-034d-40f7-8c9a-91e0fd34464fn%40googlegroups.com.

Neeraj Paliwal

unread,
Jul 16, 2021, 3:35:23 AM7/16/21
to dcm4che
12:59:47,584 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) WFLYJPA0002: Read persistence.xml for dcm4chee-arc
12:59:47,801 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018: Deployment "deployment.dcm4chee-arc-ear-5.23.3-mysql-secure.ear" is using a private module ("org.apache.cxf.impl") which may be changed or removed in future versions without notice.
12:59:47,868 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."dcm4chee-arc-ear-5.23.3-mysql-secure.ear".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."dcm4chee-arc-ear-5.23.3-mysql-secure.ear".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "dcm4chee-arc-ear-5.23.3-mysql-secure.ear"
        at org.jboss...@11.1.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:183)
        at org.jb...@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
        at org.jb...@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
        at org.jb...@1.4.11.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
        at org.jbos...@2.3.3.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
        at org.jbos...@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
        at org.jbos...@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
        at org.jbos...@2.3.3.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
        at java.base/java.lang.Thread.run(Thread.java:830)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deployment in the Keycloak subsystem.
        at org.keycloak.keyclo...@11.0.1//org.keycloak.subsystem.adapter.extension.KeycloakAdapterConfigDeploymentProcessor.addKeycloakAuthData(KeycloakAdapterConfigDeploymentProcessor.java:90)
        at org.keycloak.keyclo...@11.0.1//org.keycloak.subsystem.adapter.extension.KeycloakAdapterConfigDeploymentProcessor.deploy(KeycloakAdapterConfigDeploymentProcessor.java:75)
        at org.jboss...@11.1.1.Final//org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:176)
        ... 8 more

12:59:47,877 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 100) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'dcm4chee-arc-ear-5.23.3-mysql-secure.ear#dcm4chee-arc'
12:59:47,877 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 100) HHH000204: Processing PersistenceUnitInfo [
        name: dcm4chee-arc
        ...]
12:59:47,905 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("deploy") failed - address: ({"deployment" => "dcm4chee-arc-ear-5.23.3-mysql-secure.ear"}) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deployment in the Keycloak subsystem."}}
12:59:47,905 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "dcm4chee-arc-ear-5.23.3-mysql-secure.ear" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\".POST_MODULE" => "WFLYSRV0153: Failed to process phase POST_MODULE of deployment \"dcm4chee-arc-ear-5.23.3-mysql-secure.ear\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WarMetaData not found for dcm4chee-arc-ear-5.23.3-mysql-secure.ear.  Make sure you have specified a WAR as your secure-deployment in the Keycloak subsystem."}}
12:59:47,910 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 100) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'dcm4chee-arc-ear-5.23.3-mysql-secure.ear#dcm4chee-arc'
12:59:47,927 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-delete-5.23.3.jar) in 21ms
12:59:47,927 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-retrieve-xdsi-5.23.3.war) in 21ms
12:59:47,927 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-pdq-scheduler-5.23.3.jar) in 21ms
12:59:47,928 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-ian-scu-5.23.3.jar) in 22ms
12:59:47,928 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-code-5.23.3.jar) in 22ms
12:59:47,928 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-study-5.23.3.jar) in 22ms
12:59:47,928 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-study-size-5.23.3.jar) in 22ms
12:59:47,928 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-qmgt-5.23.3.jar) in 22ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-proxy-5.23.3-secure.war) in 22ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-retrieve-5.23.3.jar) in 22ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-query-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-metadata-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-service-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-export-storage-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-patient-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-mpps-scu-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-ups-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-hl7-psu-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-export-mgt-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-diff-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-xsl-cda-5.23.3.war) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-compress-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-stgcmt-5.23.3.jar) in 23ms
12:59:47,929 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-hl7-5.23.3.jar) in 23ms
12:59:47,930 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-retrieve-mgt-5.23.3.jar) in 23ms
12:59:47,930 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-rs-client-5.23.3.jar) in 23ms
12:59:47,930 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-store-5.23.3.jar) in 23ms
12:59:47,932 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-war-5.23.3-secure.war) in 26ms
12:59:47,936 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-id-5.23.3.jar) in 29ms
12:59:47,936 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-mpps-5.23.3.jar) in 29ms
12:59:47,936 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-issuer-5.23.3.jar) in 30ms
12:59:47,936 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-procedure-5.23.3.jar) in 29ms
12:59:47,941 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment dcm4chee-arc-ear-5.23.3-mysql-secure.ear (runtime-name: dcm4chee-arc-ear-5.23.3-mysql-secure.ear) in 35ms

Get this Error. Please Help Need Solution. Please.

Vrinda Nayak

unread,
Jul 16, 2021, 5:46:17 AM7/16/21
to dcm4che
<secure-deployment name="dcm4chee-arc-ear-5.23.3-mysql-secure.ear">  is wrong

It should be <secure-deployment name="dcm4chee-arc-war-5.23.3-secure.war">

Neeraj Paliwal

unread,
Jul 16, 2021, 12:11:39 PM7/16/21
to dcm...@googlegroups.com
Thank You So much 

vrinda...@j4care.com

you Saved my day.
It's Working

Thanks & Regards,
Neeraj Paliwal

Reply all
Reply to author
Forward
0 new messages