dcm4chee-arc-5.10.6 - install help - stuck on step 13 SOLVED

418 views
Skip to first unread message

Docjay

unread,
Oct 17, 2017, 4:12:58 PM10/17/17
to dcm...@googlegroups.com
Windows 7
dcm4chee-arc-5.10.6-mysql.zip
mysql
ApacheDS 2.0.0-M24
wildfly10.1.0.Final

Hey all --

   I'm trying to install dcm4chee v5, and I'm really close, but I'm having trouble on step 13


  1. Create JMS Queues using JBoss CLI:


    [standalone@localhost:9990 /] jms-queue add --queue-address=StgCmtSCP --entries=java:/jms/queue/StgCmtSCP
    [standalone@localhost:9990 /] jms-queue add --queue-address=StgCmtSCU --entries=java:/jms/queue/StgCmtSCU
    [standalone@localhost:9990 /] jms-queue add --queue-address=MPPSSCU --entries=java:/jms/queue/MPPSSCU
    [standalone@localhost:9990 /] jms-queue add --queue-address=IANSCU --entries=java:/jms/queue/IANSCU
    [standalone@localhost:9990 /] jms-queue add --queue-address=Export1 --entries=java:/jms/queue/Export1
    [standalone@localhost:9990 /] jms-queue add --queue-address=Export2 --entries=java:/jms/queue/Export2
    [standalone@localhost:9990 /] jms-queue add --queue-address=Export3 --entries=java:/jms/queue/Export3
    [standalone@localhost:9990 /] jms-queue add --queue-address=HL7Send --entries=java:/jms/queue/HL7Send
    [standalone@localhost:9990 /] jms-queue add --queue-address=RSClient --entries=java:/jms/queue/RSClient
    [standalone@localhost:9990 /] jms-queue add --queue-address=CMoveSCU --entries=java:/jms/queue/CMoveSCU

    There is also a CLI script $DCM4CHEE_ARC/cli/add-jms-queues.cli provided, containing these commands, which one
    may just execute
    :


    > $WILDFLY_HOME/bin/jboss-cli.sh -c --file=$DCM4CHEE_ARC/cli/add-jms-queues.cli


When I'm in the jboss-cli and I try to add the first Queue of

[standalone@localhost:9990 /] jms-queue add --queue-address=StgCmtSCP --entries=java:/jms/queue/StgCmtSCP

jboss comes back with 'Type help --commands' for a list of supported commands.

when I look at the supported commands, 'jms-queue' isn't one of them. 

Even running the cli script fails.

Any tips on how I can get past this!??

thanks

Docjay

unread,
Oct 18, 2017, 1:39:01 PM10/18/17
to dcm...@googlegroups.com
I looks like when I launch the jboss cli as 'jboss-cli.bat -c' it is not including the messaging-activemq extension in widfly10. 

here is an issue I found that was resolved about it.

https://issues.jboss.org/browse/WFLY-6970

the person that responds is launching it in linux and so are the instruction in the 'dcm4che-arc-light' WIKI. 

My difference is that I'm launching the .bat file in windows and the messaging extension isn't getting included when I run the JBOSS CLI in a new window.

How can I launch the CLI in full mode to include the messaging extension?

Docjay

unread,
Oct 18, 2017, 4:01:55 PM10/18/17
to dcm4che

I was able to add the messaging-activemq extension while running the jboss-cli.bat in windows via:

https://stackoverflow.com/questions/24921640/how-to-set-up-messaging-subsystem-using-cli-in-wildfly

one of the answers in that thread had the following:

/subsystem=messaging-activemq:add
/
subsystem=messaging-activemq/server=default:add

I did that and I could then have access to the 'jms-queue' function as a command.  

What a hassel!

I think if I were trying to get this to run on a linux box, the bash script would have ran fine.

Nivaldo Bueno

unread,
Feb 5, 2018, 8:14:30 AM2/5/18
to dcm4che
Hi, I'm with the same problem. Can you tell me how you solved it?

vrinda...@j4care.com

unread,
Feb 6, 2018, 7:32:50 AM2/6/18
to dcm...@googlegroups.com
Alternatively, one can directly add the following lines (dcm4chee archive specific queues) in $Wildfly_Home/stadalone/configuration/dcm4chee-arc.xml in "messaging-activemq:2.0" subsystem and restart the server.

<subsystem xmlns="urn:jboss:domain:messaging-activemq:2.0">
.......................
                <jms-queue name="ExpiryQueue" entries="java:/jms/queue/ExpiryQueue"/>
                <jms-queue name="DLQ" entries="java:/jms/queue/DLQ"/>
                <jms-queue name="StgCmtSCP" entries="java:/jms/queue/StgCmtSCP"/>
                <jms-queue name="StgCmtSCU" entries="java:/jms/queue/StgCmtSCU"/>
                <jms-queue name="MPPSSCU" entries="java:/jms/queue/MPPSSCU"/>
                <jms-queue name="IANSCU" entries="java:/jms/queue/IANSCU"/>
                <jms-queue name="Export1" entries="java:/jms/queue/Export1"/>
                <jms-queue name="Export2" entries="java:/jms/queue/Export2"/>
                <jms-queue name="Export3" entries="java:/jms/queue/Export3"/>

                <jms-queue name="HL7Send" entries="java:/jms/queue/HL7Send"/>
                <jms-queue name="RSClient" entries="java:/jms/queue/RSClient"/>
                <jms-queue name="CMoveSCU" entries="java:/jms/queue/CMoveSCU"/>

.......................
</subsystem>

Nivaldo Bueno

unread,
Feb 7, 2018, 7:03:42 AM2/7/18
to dcm4che
I could not find the file, do I have to create the entire block? can you send me the whole subsystem?

vrinda...@j4care.com

unread,
Feb 7, 2018, 7:53:19 AM2/7/18
to dcm4che
If you have followed other steps, it is the same 'dcm4chee-arc.xml' file that you need to do the changes to.
Message has been deleted

vrinda...@j4care.com

unread,
Feb 15, 2018, 9:48:19 AM2/15/18
to dcm4che
Step 2 in https://github.com/dcm4che/dcm4chee-arc-light/wiki/Installation#setup-wildfly  says
cp standalone-full.xml dcm4chee-arc.xml

But you seem to have done
cp standalone.xml dcm4chee-arc.xml

Please redo the wildfly setup.

On Wednesday, February 14, 2018 at 7:04:49 PM UTC+1, Nivaldo Bueno wrote:
Okay, I get it, but in my dcm4chee-arc.xml there is not that section where I should add.

follows attached
Reply all
Reply to author
Forward
0 new messages