DCM4CHE CDW | Media Creator

1,736 views
Skip to first unread message

Michael Oswald

unread,
Sep 16, 2015, 3:42:04 PM9/16/15
to dcm4che
I have searched and searched through many many posts on the subject regarding media creator for dcm4che. I have learned a lot but am still stuck with questions.

Media Creator is great if the server/workstation has a CD burner installed. However, in my environment, I actually have a Virtual Machine running Server 2008 and dcm4che on top of that.

With that being said, I am trying to figure out a way to configure dcm4che through JBoss, to point to a couple Medical Image Recording devices. These are basically external CD/DVD burners with an IP address assigned.

I have tested and verified that the Media Creator is indeed creating an iso to burn... but because the server does not have a CD/DVD drive attached... it just fizzles.

Is it possible to configure the CDW area, within JBoss, to point to a CD/DVD burning device that has an IP address associated?

Thank you,

Michael Oswald


fleetwoodfc

unread,
Sep 17, 2015, 6:10:18 AM9/17/15
to dcm4che
Can you provide more info about your Medical Image Recording (MIR) devices. 
I would think if they are true MIR devices then they would have an associated AE, IP and Port.
In general the CDW application is designed to run on the server/workstation that provides the CD/DVD burning capability.
Are you creating Patient CDs or using this for archiving? 

Michael Oswald

unread,
Sep 17, 2015, 9:56:09 AM9/17/15
to dcm4che
oh my goodness... I don't know why I didn't think about that... I will be looking into that today.

Thank you for mentioning this!!!

Michael Oswald

unread,
Sep 17, 2015, 3:06:43 PM9/17/15
to dcm4che
Well that was entirely way too easy!!!

I was able to add AETs for both of our Medical Digital Recorders and both work flawlessly with DCM4CHEE.

All I needed was the AET, ip address, and port number.

Thanks again Fleetwoodfc for pointing me in the right, albeit what should have been obvious, direction!

Skaks

unread,
Sep 17, 2015, 3:31:30 PM9/17/15
to dcm...@googlegroups.com
Hi, i'm trying to burn CD with DCM4CHEE.

I have installed dcm4chee-cdw, but i have not really understood how to install and configure "cdrecord" and "mkisofs".
Can you help me?

With this utility i'll able to burn CD only from the server or also directly from workstation?

Thank you!

Michael Oswald

unread,
Sep 17, 2015, 3:48:19 PM9/17/15
to dcm4che
From what I have learned about Media Creation Server, that you have to install as an extra within DCM4CHE, is the intent is that you would be burning on the server/workstation itself. If you want to burn on separate workstations, you would need to install dcm4che on that workstation along with the required CDW package.

I read that Weasis has a built in module that creates ISO's but couldn't find exactly how to do this easily without recompiling the source so I did not pursue this path. I believe the developer of Weasis did create an all in one installation including ISO creation... it requires the PACs connector 5.0 if I am not mistaken.

My situation was much easier as my environment already had Medical Digital Recorders. All I had to do was simply add the AET, IP address, and port number to DCM4CHE and it worked perfectly!

What I did, to learn more about the CDW portion of dcm4chee, was simply google "dcm4che.cdw". I found many posts talking about it. You basically need to configure the JBoss console portion of CDW. There are many parameters but I do believe the defaults are good. If your server/workstation has a CD/DVD drive, simply head to your JBoss console, section CDW, and click on Media Creation section. There is an invoke command in there that you can click to verify communication. Just click invoke for Eject and the drive should respond if it is correctly configured.

What I have learned about dcm4che is that is just takes some time, trial and error, and a whole lot of patience.

The key to understand with CDW is that intent is to burn at the local level... that is where dcm4che is installed. If you are viewing the dcm4che portal/website through a different workstation, it will not burn to that local system.

Hope this helps,

Michael Oswald

On Thursday, September 17, 2015 at 3:31:30 PM UTC-4, Skaks wrote:
Hi, i'm trying to burn CD with DCM4CHEE.

I have installed dcm4chee-cdw, but i have not really understood how to install and configure "cdrecord" and "mkisofs".
Can you help me?

With this utility i'll able to burn CD only from the server or also directly from workstation?

Skaks

unread,
Sep 17, 2015, 4:10:06 PM9/17/15
to dcm4che
Thank you very much for the response!!

fleetwoodfc

unread,
Sep 18, 2015, 5:40:49 AM9/18/15
to dcm4che
As Michael has pointed out the easiest way to create Patient CD/DVDs on any workstation with CD/DVD burning capability is to use Weasis - this basically gives web based CD/DVD creation capability. 
Although it can create Patient CD/DVDs, CDW was primarily designed to provide automated archiving of imaging studies - a feature that is present in the dcm4chee legacy web (dcm4chee-web) but not in web3 (dcm4chee-web3).

Note also that the Media Creation Request Emulator service must be configured to create Patient CD/DVDs.

Skaks

unread,
Sep 18, 2015, 9:54:56 AM9/18/15
to dcm4che
Hi,
i'm using dcm4chee-2.18.1. After installing DCM4CHEE-CDW-2.17.0 and installing cdrecord, i'm able to use the eject command from JBoss-console.
Now, reading here http://www.dcm4che.org/confluence/display/ee2/Media+Creation seems that there are two ways to burn a CD:

The first:
  1. Log into the web interface
  2. Select the studies to burn
  3. Click to "Export selected images to Teaching Filesystem"
  4. In "Document Title" select "For media export"
  5. Click on "export"
  6. Now you are burning a CD/DVD!
The second:
  1. Log in the jboss console
  2. Configure "service=MCMScu". This service is for burn CD/DVD's with the studies that are in a range of time
  3. First, dcm4chee automatically selects the studies that you want to burn (you have configured before) and creates the media
  4. When the media is created, log into dcm4chee-web and click on "Offline Storage", you can see your medias, delete or burn
  5. The next time, the service will burn the CD/DVD's
For the first method....where is "Export selected images to Teaching Filesystem" (and the other points?)
For the second method....where is "Offline Storage"?

I also read here http://www.dcm4che.org/confluence/display/WEA/Installing+Weasis+in+DCM4CHEE "Write weasis-portable to DICOM CD's with dcm4chee-cdw"....But how i can use this?

To create Patient CD/DVDs on any workstation with CD/DVD burning capability with Weasis, i have to write my own wears-pacs-connector?

I'm so sorry for all this questions, can you help me?

Thank you!

fleetwoodfc

unread,
Sep 18, 2015, 10:25:10 AM9/18/15
to dcm4che
As I mentioned in my previous post these features are only available in the legacy web interface - see http://sourceforge.net/projects/dcm4che/files/dcm4chee/2.17.3/legacy_web/
This web interface can be installed to an instance of dcm4chee alongside the newer web3 (I haven't tried with 2.18.1 but it does work with 2.17.3). 
Documentation is here

Skaks

unread,
Sep 18, 2015, 10:46:50 AM9/18/15
to dcm4che
Thanks a lot!! I'll try....

One last question: how can i use WEASIS to creates ISO?

Michael Oswald

unread,
Sep 18, 2015, 11:07:03 AM9/18/15
to dcm4che
Message has been deleted

Skaks

unread,
Sep 18, 2015, 12:23:09 PM9/18/15
to dcm...@googlegroups.com
I'm able to log-in into dcm4che legacy_web but when i try to query i obtain this error:

javax.servlet.ServletException: Servlet execution threw an exception
	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

root cause

java.lang.NoSuchMethodError: org.dcm4chex.archive.ejb.jdbc.QueryStudiesCmd.<init>(Lorg/dcm4che/data/Dataset;ZZLjava/lang/Boolean;Ljavax/security/auth/Subject;)V
org.dcm4chex.archive.web.maverick.FolderSubmitCtrl.query(FolderSubmitCtrl.java:219)
org.dcm4chex.archive.web.maverick.FolderSubmitCtrl.perform(FolderSubmitCtrl.java:151)
org.dcm4chex.archive.web.maverick.Dcm4cheeFormController.go(Dcm4cheeFormController.java:156)
org.infohazard.maverick.ctl.Throwaway2.go(Throwaway2.java:47)
org.infohazard.maverick.flow.ThrowawayControllerAdapter.go(ThrowawayControllerAdapter.java:54)
org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:66)
org.infohazard.maverick.Dispatcher.service(Dispatcher.java:345) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

fleetwoodfc

unread,
Sep 18, 2015, 12:58:16 PM9/18/15
to dcm4che
Probably a version compatibility issue. Is this version 2.18.1?

Skaks

unread,
Sep 18, 2015, 1:04:02 PM9/18/15
to dcm4che
Yes 2.18.1.
The only way to Media Creation is to use dcm4che legacy_web?

fleetwoodfc

unread,
Sep 18, 2015, 6:21:43 PM9/18/15
to dcm4che
No you can use the CDW Media Creation Request Emulator. When this is correctly configured then you can send it a study and it will automatically create a CD/DVD. So from dcm4chee web3 interface you would select a study then export it to CDRECORD (default AE to create a 'Patient' CD). You would configure the Emulator to create media for studies received from calling AE DCM4CHEE.  
Message has been deleted

Skaks

unread,
Sep 19, 2015, 4:25:19 AM9/19/15
to dcm4che
When i select a study and click on the export button, in the pop-up window that appears  i'm only  able to download the study. I can't select the destination AET. Is that a normal behaviour?(In the tab AE-TITLE i configured correctly all the Application Entities.)

Is it possible, using the dcm4chee toolkit, to send a certain study to the CDRECORD?

fleetwoodfc

unread,
Sep 19, 2015, 6:02:29 AM9/19/15
to dcm...@googlegroups.com
https://groups.google.com/forum/?hl=en#!searchin/dcm4che/Export/dcm4che/cJJQbKnh1NI/FXPXbb0v6jEJ

Yes you can use dcmsnd to send to CDRECORD - just need to add its AE to the Emulator
Message has been deleted

Skaks

unread,
Sep 19, 2015, 12:28:19 PM9/19/15
to dcm4che
It works very well!!! Thanks!

The only problem is that if a PDF REPORT is in the study, i receive a java MediaCreationException: type: ENCAP DOCS.
Is an issue or i miss something in the configuration parameters? (i checked out the "AcceptedOtherSOPClasses" in Store SCP service and there is "EncapsulatedPDFStorage) 

Sofyan Afandi

unread,
Dec 5, 2016, 11:00:59 AM12/5/16
to dcm4che
Yes, i've got this problem with PDF REPORT, whether any solution? Thanks 

mohit shinde

unread,
Mar 4, 2017, 6:53:35 AM3/4/17
to dcm4che
Hello,
can we use Apache Tomcat Server instead of JBoss. (I have Tomcat 8 (64 bit)). if yes then suggest link for guidance.
thanks in advance

Killua Ðĸ

unread,
Mar 29, 2017, 4:32:23 AM3/29/17
to dcm4che
Salam  have Somme question if you can help me
well i have DCM4CHEE installed as PACS now i need to install CDW so I did create Debian machine (in virtual-box ) and i have downloaded  dcm4chee-cdw-2.17.1 with J boss 4.2
until now every thing work good i did see in server.log that i receive Dicom file i also see the ISO file but when it comm to cdrecord  it stop
what i did try until now is to burn the iso manually and it's work ,i also tried to change the SCSI addresses to be like the result of #cdrecord -scanbus but that didn't work either

Reply all
Reply to author
Forward
0 new messages