DCM4CHEE Arc Light 5.16 Deployment Fails

1,222 views
Skip to first unread message

Obaid ur Rehman

unread,
Mar 4, 2019, 3:19:09 AM3/4/19
to dcm4che
Hi all,

I'm trying to deploy dcm4chee-arc light 5.16 psql but it's failing. I'm using Oracle Java 8, OpenLDAP on Ubuntu 18.04.

Errors:

{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql.ear\".\"dcm4chee-arc-service-5.16.0.jar\".component.ArchiveServiceImpl.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
    Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
    Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.dcm4chee.arc.impl.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@2ba3ee8c
    Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.dcm4chee.arc.impl.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@2ba3ee8c
    Caused by: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.RuntimeException: org.dcm4che3.conf.api.ConfigurationNotFoundException: Device with specified name not found
    Caused by: org.dcm4che3.conf.api.ConfigurationNotFoundException: Device with specified name not found
    Caused by: javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'dicomDeviceName=ctdicomaccessanywhere,cn=Devices,cn=DICOM Configuration,dc=dcm4che,dc=org'"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql.ear\".\"dcm4chee-arc-service-5.16.0.jar\".deploymentCompleteService"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"dcm4chee-arc-ear-5.16.0-psql.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql.ear\".\"dcm4chee-arc-service-5.16.0.jar\".deploymentCompleteService]"]}}}


I have carefully performed every step again and again but I'm not able to go further and always get stuck here.

Please help!!!

vrinda...@j4care.com

unread,
Mar 4, 2019, 4:02:02 AM3/4/19
to dcm4che
You seem to have changed the default archive device name in your Wildfly by specifying the system property dcm4chee-arc.DeviceName, but you do not have the corresponding configuration for the changed archive device name in your LDAP!

Vikram R

unread,
Mar 13, 2019, 1:36:07 AM3/13/19
to dcm4che
did you manage to resolve this issue?

Obaid ur Rehman

unread,
Mar 13, 2019, 1:43:45 AM3/13/19
to dcm...@googlegroups.com
Yes, my issue is completely resolved.
I did respond previously though!

BR,
Obaid

--
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/jbXOfqOgrrM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

Obaid ur Rehman

unread,
Mar 13, 2019, 1:45:00 AM3/13/19
to dcm4che
Yes, thank you!

Sorry for responding late.

BR,
Obaid

Vikram R

unread,
Mar 13, 2019, 1:55:51 AM3/13/19
to dcm4che
Can you let me know what you did to resolve the problem? I have facing the same issue now :D

Obaid ur Rehman

unread,
Mar 14, 2019, 6:52:20 AM3/14/19
to dcm4che
Yes, Login to Wildfly management console at localhost:9990, remove device name from configuration. Enter the device name "dcm4chee-arc" from JBoss Cli, then deploy.

Let know results!

Richard Guzman

unread,
Mar 27, 2019, 8:04:57 AM3/27/19
to dcm4che

You can do me the favor of indicating as valid the name of the device, since I add as name "dcm4chee-arc" and it does not work for me. Thank you

Obaid ur Rehman

unread,
Mar 27, 2019, 10:04:15 AM3/27/19
to dcm4che
Execute in JBoss CLI: /system-property=dcm4chee-arc.DeviceName:add(value=dcm4chee-arc)
then, deploy.

Let know the results!

For most accurate support, paste the error and someone from J4Care will respond to you!

Good luck!

Richard Guzman

unread,
Mar 27, 2019, 11:42:31 AM3/27/19
to dcm4che
This is the error that comes out. I have already defined the devicename = dcm4chee-arc but I still can not run the application.

Thank you

[standalone@localhost:9990 /] /system-property=dcm4chee-arc.DeviceName:add(value=dcm4chee-arc)
{
    "outcome" => "failed",
    "failure-description" => "WFLYCTL0212: Duplicate resource [(\"system-property\" => \"dcm4chee-arc.DeviceName\")]",
    "rolled-back" => true
}
[standalone@localhost:9990 /] deploy /var/opt/PACS/deploy/dcm4chee-arc-ear-5.16.0-psql-secure-ui.ear
{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql-secure-ui.ear\".\"dcm4chee-arc-service-5.16.0.jar\".component.ArchiveServiceImpl.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
    Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
    Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.dcm4chee.arc.impl.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@51ac7ffc
    Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.dcm4chee.arc.impl.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@51ac7ffc
    Caused by: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.RuntimeException: org.dcm4che3.conf.api.ConfigurationNotFoundException
    Caused by: org.dcm4che3.conf.api.ConfigurationNotFoundException"},"WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql-secure-ui.ear\".\"dcm4chee-arc-service-5.16.0.jar\".deploymentCompleteService"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"dcm4chee-arc-ear-5.16.0-psql-secure-ui.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"dcm4chee-arc-ear-5.16.0-psql-secure-ui.ear\".\"dcm4chee-arc-service-5.16.0.jar\".deploymentCompleteService]"]}}}

vrinda...@j4care.com

unread,
Mar 27, 2019, 1:06:25 PM3/27/19
to dcm4che
Did you change anything in the default configuration that is provided in the release? Check if you have dcm4chee-arc device configuration in your LDAP.

Obaid ur Rehman

unread,
Mar 27, 2019, 2:45:35 PM3/27/19
to dcm4che
Follow these steps:
1- Start Wildfly
2- Goto: localhost:9990
3- Login with your credentials
4- Navigate to Configuration
5- Click "View" on System Properties
6- You will see Key "dcm4chee-arc.DeviceName"

What's it value?

--
Obaid

Richard Guzman

unread,
Mar 27, 2019, 3:13:15 PM3/27/19
to dcm...@googlegroups.com

attached image of the requested


Thank you

1.jpeg
2.jpeg

Richard Guzman

unread,
Mar 28, 2019, 3:38:53 PM3/28/19
to dcm4che
138/5000
Thank you very much for your collaboration. The problem was because the Ldap configuration did not charge correctly in the import process.

Obaid ur Rehman

unread,
Apr 3, 2019, 3:55:01 AM4/3/19
to dcm4che
Glad it worked out for you!

Igor Trupina

unread,
May 17, 2022, 4:51:58 AM5/17/22
to dcm4che
Hello,

i have same problem and i cant figure out why. I would be very grateful for some help. 
My error is very similar except the version of ear:

{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" =>

{"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"dcm4chee-arc-ear-5.26.0-psql.ear\".\"dcm4chee-arc-servic

e-5.26.0.jar\".component.ArchiveServiceImpl.START" => "java.lang.IllegalStateException: WFLYEE0042: Failed to construct

component instance

    Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance

    Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private vo

id org.dcm4chee.arc.impl.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@728d812f

    Caused by: org.jboss.weld.exceptions.WeldException: WELD-000049: Unable to invoke private void org.dcm4chee.arc.impl

.ArchiveDeviceProducer.init() on org.dcm4chee.arc.impl.ArchiveDeviceProducer@728d812f

    Caused by: java.lang.reflect.InvocationTargetException

    Caused by: java.lang.NullPointerException"}}}}


My openldap image001.png  image001.png

My dcm4chee-arc.xml config image002.pngimage002.png

And my wildfly conf: wildfly.png

And it still drops the above error. Is there something else i should be mindful of?

Thank you very much for your help!

igor


Reply all
Reply to author
Forward
0 new messages