dcm4chee-arc-ear-5.0.1-psql.ear#dcm4chee-arc\".__FIRST_PHASE__ is missing [jboss.naming.context.java.PacsDS]

1,513 views
Skip to first unread message

Dhaval Joshi

unread,
Mar 2, 2016, 6:03:21 PM3/2/16
to dcm4che
Hi

I was trying to deploy dcm4chee 5 from instructions available from this link below. I am getting error which does not allow deployment dcm4chee-arc-ear-5.0.1-psql.ear. I am attaching small error snippet below and also attaching full server.log with this post. can anyone please let me know what do I need to change so I can deploy dcm4chee arc.

https://github.com/dcm4che/dcm4chee-arc-light/wiki/Installation


14:55:30,108 INFO  [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0042: Started message driven bean 'StgCmtMDB' with 'hornetq-ra.rar' resource adapter
14:55:30,112 INFO  [org.jboss.as.ejb3] (MSC service thread 1-3) WFLYEJB0042: Started message driven bean 'MPPSMDB' with 'hornetq-ra.rar' resource adapter
14:55:30,113 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0009: Starting weld service for deployment dcm4chee-arc-ear-5.0.1-psql.ear
14:55:30,354 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 2) WFLYCTL0013: Operation ("deploy") failed - address: ({"deployment" => "dcm4chee-arc-ear-5.0.1-psql.ear"}) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => [
    "jboss.persistenceunit.\"dcm4chee-arc-ear-5.0.1-psql.ear#dcm4chee-arc\".__FIRST_PHASE__ is missing [jboss.naming.context.java.PacsDS]",
    "jboss.persistenceunit.\"dcm4chee-arc-ear-5.0.1-psql.ear#dcm4chee-arc\" is missing [jboss.naming.context.java.PacsDS]"
]}
14:55:30,378 ERROR [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0021: Deploy of deployment "dcm4chee-arc-ear-5.0.1-psql.ear" was rolled back with the following failure message:
{"WFLYCTL0180: Services with missing/unavailable dependencies" => [
    "jboss.persistenceunit.\"dcm4chee-arc-ear-5.0.1-psql.ear#dcm4chee-arc\".__FIRST_PHASE__ is missing [jboss.naming.context.java.PacsDS]",
    "jboss.persistenceunit.\"dcm4chee-arc-ear-5.0.1-psql.ear#dcm4chee-arc\" is missing [jboss.naming.context.java.PacsDS]"
]}
14:55:30,408 INFO  [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0010: Stopping weld service for deployment dcm4chee-arc-ear-5.0.1-psql.ear
14:55:30,484 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0208: Stopped subdeployment (runtime-name: dcm4chee-arc-qmgt-5.0.1.jar)

server.log

gunterze

unread,
Mar 3, 2016, 12:03:19 AM3/3/16
to dcm4che
You configured java:/PostgresDS instead  java:/PacsDS as JNDI name for the datasource (Step 10 of the installation instruction):

2016-03-02 15:01:23,384 
INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0001: Bound data source [java:/PostgresDS]

kamalakar k

unread,
Mar 3, 2016, 3:55:08 AM3/3/16
to dcm4che
It is the issue with DataSource , you might have missed the creation of DataSource with name PacsDS

Dhaval Joshi

unread,
Mar 3, 2016, 6:59:18 PM3/3/16
to dcm...@googlegroups.com
Hi,

Thanks for your help, I fixed and now named the data source to PacsDS. but now I am getting this error below, I check my device name is set to dcm4chee-arc. I am also attaching server logs for more details.

2016-03-03 15:49:53,643 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 14) Initializing Mojarra 2.2.12-jbossorg-2 20150729-1131 for context '/dcm4chee-arc/ui'
2016-03-03 15:49:53,669 ERROR [org.dcm4chee.arc.impl.ArchiveDeviceProducer] (ServerService Thread Pool -- 5) Missing Configuration for Device 'dcm4chee-arc' - you may change the Device name by System Property 'dcm4chee-arc.DeviceName'
2016-03-03 15:49:53,675 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 5) MSC000001: Failed to start service jboss.deployment.subunit."dcm4chee-arc-ear-5.0.1-psql.ear"."dcm4chee-arc-service-5.0.1.jar".component.ArchiveServiceImpl.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."dcm4chee-arc-ear-5.0.1-psql.ear"."dcm4chee-arc-service-5.0.1.jar".component.ArchiveServiceImpl.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
    at org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)



server.log

kamalakar k

unread,
Mar 4, 2016, 1:19:17 AM3/4/16
to dcm4che
check for org.dcm4chee.archive.deviceName property in dcm4chee-arc.xml (WILDFLY_HOME/standalone/configuration) and its value.
generally it should be like this  

 <system-properties>
        <property name="org.dcm4chee.archive.deviceName" value="dcm4chee-arc"/>
    </system-properties>

Dhaval Joshi

unread,
Mar 4, 2016, 12:43:05 PM3/4/16
to dcm...@googlegroups.com
Hi

I tried the changed the system-properties value that you recommended but still getting same error, attaching server logs and dcm4chee-arc.xml for more information. Could you please let me know how can resolve this issue and get dcm4chee 5 running

--
Thanks
Dhaval Joshi
server.log
dcm4chee-arc.xml

gunterze

unread,
Mar 8, 2016, 9:47:45 AM3/8/16
to dcm4che
Did you import the default or sample configuration into LDAP?
Verify, that there is a device "dcm4chee-arc" configured in LDAP using Apache Directory LDAP Browser.
Message has been deleted

Dhaval Joshi

unread,
Mar 9, 2016, 5:39:39 PM3/9/16
to dcm4che
Thanks Gunter, I am able to run it now

Dhaval Joshi

unread,
Mar 9, 2016, 6:01:44 PM3/9/16
to dcm4che
Hi Gunter,

I pushed couple of dicom images to dcm4chee 5 archive and while accessing those images the wildfly servr threw whole bunch of errors , I am attaching error snippet here and server log file with the post. If you could let me what is wrong with my configuration. Thanks for your help.

2016-03-09 14:38:17,657 INFO  [org.dcm4chee.arc.qido.QidoRS] (default task-20) searchForInstancesOfSeriesJSON: 2 Matches
2016-03-09 14:38:20,359 INFO  [org.dcm4chee.arc.wado.WadoURI] (default task-18) Process GET /dcm4chee-arc/aets/dcm4chee-arc/wado?requestType=WADO&studyUID=1.2.826.0.1.3680043.2.1074.11922.10084.100.1932265.112221135514&seriesUID=1.2.826.0.1.3680043.2.1074.11922.10084100.1932265&objectUID=1.2.826.0.1.3680043.2.1074.11922.10084100.1.127.10001744 from nu...@192.168.100.244
2016-03-09 14:39:32,687 WARN  [org.dcm4chee.arc.export.mgt.impl.ExportManagerMDB] (Thread-10 (HornetQ-client-global-threads-1050171502)) Failed to process HornetQMessage[ID:cadfd05a-e647-11e5-8da0-bb413bb31f19]:PERSISTENT: java.lang.NullPointerException
    at org.dcm4chee.arc.retrieve.impl.RetrieveContextImpl.getArchiveAEExtension(RetrieveContextImpl.java:108)
    at org.dcm4chee.arc.retrieve.impl.RetrieveContextImpl.<init>(RetrieveContextImpl.java:
server.log

Anderson Sousa

unread,
May 3, 2020, 10:36:54 AM5/3/20
to dcm4che

my friend good morning please can i help myself? I have the same problem and trying to fix it for several days.

{"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.PacsDS"],"WFLYCTL0180: Servic es with missing/unavailable dependencies" => ["jboss.persistenceunit.\"dcm4chee-arc-ear-5.22.1-mysql.ear#dcm4chee-arc\" .__FIRST_PHASE__ is missing [jboss.naming.context.java.PacsDS]","jboss.persistenceunit.\"dcm4chee-arc-ear-5.22.1-mysql. ear#dcm4chee-arc\" is missing [jboss.naming.context.java.PacsDS]"]}}}




Em quarta-feira, 9 de março de 2016 20:01:44 UTC-3, Dhaval Joshi escreveu:
Oi Gunter,

enviei duas imagens dicom para o arquivo dcm4chee 5 e, ao acessar essas imagens, o servidor wildfly gerou vários erros, estou anexando o snippet de erro aqui e o arquivo de log do servidor com a postagem. Se você pudesse me dizer o que há de errado com minha configuração. Obrigado pela ajuda.

2016-03-09 14: 38: 17.657 INFO [org.dcm4chee.arc.qido.QidoRS] (tarefa-20 padrão) searchForInstancesOfSeriesJSON : 2 Matches
2016-03-09 14: 38: 20.359 INFO [org.dcm4chee.arc. wado. WadoURI] (tarefa-18 padrão) Processo GET / dcm4chee-arc / aets / dcm4chee- arc / wado? RequestType = WADO & studyUID = 1.2.826.0.1.3680043. 2.1074.11922.10084.100. 1932265.112221135514 & seriesUID = 1.2.826.0.1.3680043. 2.1074.11922.10084100.1932265 &objectUID = 1.2.826.0.1.3680043. 2.1074.11922.10084100.1.127. 10001744 from nu ... @ 192.168.100.244
09-03-2016 14: 39: 32,687 WARN [org.dcm4chee.arc.export.mgt. impl.ExportManagerMDB] (Thread-10 (HornetQ-client-global- threads-1050171502)) Falha ao processar o HornetQMessage [ID: cadfd05a- e647-11e5-8da0-bb413bb31f19]: PERSISTENT: java.lang.NullPointerException
    em org.dcm4e arc.retrieve. impl.RetrieveContextImpl. getArchiveAEExtension ( RetrieveContextImpl.java:108)
    em org.dcm4chee.arc.retrieve. impl.RetrieveContextImpl. < init> (RetrieveContextImpl. java:

Titto George

unread,
Sep 26, 2024, 9:29:13 AMSep 26
to dcm4che
Please let me know how you resolved this issue?
Reply all
Reply to author
Forward
0 new messages