"no opencv_java in java.library.path" error when deploying .ear in macOS

498 views
Skip to first unread message

Vlad

unread,
May 8, 2018, 6:42:30 PM5/8/18
to dcm4che
Hi all,

I am attempting to have DCM4CHEE Archive 5.x version 5.13.0, secured, for MySQL db, running on macOS High Sierra (10.13.4).

I am having troubles with deployment of the archive .ear file (Step 19 on this wiki page: https://github.com/dcm4che/dcm4chee-arc-light/wiki/Installation-and-Configuration). When I run this command:

[standalone@localhost:9999 /] deploy $DCM4CHEE_ARC/deploy/dcm4chee-arc-ear-5.13.0-mysql-secure.ear

I get the following error:

{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0080: Failed services" => {"jboss.deployment.subunit.\"dcm4chee-arc-ear-5.13.0-mysql-secure.ear\".\"dcm4chee-arc-service-5.13.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@531ac330
    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@531ac330
    Caused by: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.UnsatisfiedLinkError: no opencv_java in java.library.path","jboss.undertow.deployment.default-server.default-host./dcm4chee-arc" => "java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK
    Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK","jboss.undertow.deployment.default-server.default-host./dcm4chee-arc/ui2" => "java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK
    Caused by: java.lang.RuntimeException: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK
    Caused by: java.lang.RuntimeException: UT010039: Unknown authentication mechanism KEYCLOAK"}}}}

It looks like it has to do something with JAI Image IO libraries not being found in the path. I see that I have the following file dcm4che-imageio-opencv-5.13.0.jar in the $WILDFLY_HOME/modules/org/dcm4che/imageio/main directory.

How can I remedy this issue?

Much appreciated!

yongle...@gmail.com

unread,
Apr 11, 2019, 4:04:12 AM4/11/19
to dcm4che
hi vlad , did you fix this bug? I have meet the same problem whith you  on ubunu
Reply all
Reply to author
Forward
0 new messages