Académique Documents
Professionnel Documents
Culture Documents
x - Conuence
http://www.dcm4che.org/conuence/display/ee2/Installation
Installation
Added by Damien Evans, last edited by Jan Pechanec on Aug 04, 2011
Supported Databases
Need to install separately. PostgreSQL 8.1+ MySQL 4.1+ Oracle 9i+ SQL Server 2000+ DB2 8.1+ Firebird 2.1+ Hypersonic SQL (Embedded in JBoss AS) - not suitable for production use!
Compression Notes
For image compression/decompression, dcm4chee utilizes Sun's Java Advanced Imaging Image I/O Tools 1.1. The binary distribution packages of dcm4chee already includes necessary JARs and native libraries for Windows and Linux i586. For Linux-amd64, and Solaris, you have to download the SW package from Sun here yourself and replace the Linux version of libclib_jiio.so in dcm4chee-2.16.2xxx/bin/native from the JAI Image IO package for Linux-amd64 or Solaris. If you have already installed (or are installing) the JAI Image IO distribution from http://download.java.net/media/jai-imageio/builds/release/1.1/ separate from dcm4chee in a standalone or classpath fashion, you should remove the following les, or potentially suffer from version conicts: $DCM4CHEE_HOME/server/default/lib/jai_imageio.jar $DCM4CHEE_HOME/server/default/lib/clibwrapper_jiio.jar $DCM4CHEE_HOME/bin/native/clib_jiio.dll $DCM4CHEE_HOME/bin/native/clib_jiio_sse2.dll $DCM4CHEE_HOME/bin/native/clib_jiio_util.dll $DCM4CHEE_HOME/bin/native/libclib_jiio.so
1 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
For Mac OSX and 64 bit Windows there is no free, native Image I/O implementation available. Because of the missing implementations you have to change a le in dcm4chee if you want to have the WADO service running. Please have a look at step 8 to see how to change the le (or modify the settings via the JMX console). See also: http://java.net/jira/browse/JAI_IMAGEIO_CORE-103 http://java.net/jira/browse/JAI_IMAGEIO_CORE-62
Installation Procedure:
1. Download and extract the binary distribution package of dcm4chee:
Download the latest version of dcm4chee that is relevant to the database of your choice from the dcm4che Sourceforge site . Extract the package (e.g. dcm4chee-2.16.2-psql.zip for the PostgreSQL version). When extracting, avoid using a directory that has a name that contains spaces in order to avoid issues with running command line applications with spaces in the path name.
2 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
Linux/Unix/OSX: dcm4chee-2.16.2-xxx/bin/run.conf
3 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
# Specify options to pass to the Java VM. if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=128m .. fi
according available RAM and memory requirements of other processes on this node. E.g.: if only 512 MB RAM are available, you should decrease the default value -Xmx512m to (e.g.) -Xmx300.
8. Mac OSX and Windows x64 specic changes for the WADO service:
Because there are no native codecs (compression/decompression) for these platforms, it is necessary to edit conguration to disable the loading of the native codecs. These platforms are not able to take advantage of compression/decompression. The only default loading of the codecs is in the WADO service. You can either edit the property within the JMX Console web user interface (see step 11), or edit the conguration les directly: Change com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter to com.sun.image.codec.jpeg.JPEGImageEncoder for the ImageWriterClass:
$DCM4CHEE_HOME/server/default/conf/xmdesc/dcm4chee-wado-xmbean.xml: @@ -122,7 +122,7 @@ <name>ImageWriterClass</name> <type>java.lang.String</type> <descriptors> - <value value="com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageWriter" /> + <value value="com.sun.image.codec.jpeg.JPEGImageEncoder" /> </descriptors> </attribute>
4 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
CLASSPATH: /home/gunter/dcm4chee-2.16.2-psql/bin/run.jar: /usr/lib/j2sdk1.5-sun/lib/tools.jar ========================================================================= 23:17:52,373 INFO [Server] Starting JBoss (MX MicroKernel)... 23:17:52,374 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439) : 23:19:49,580 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 23:19:49,632 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181439)] Started in 1m:57s:103ms
5 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
Lossless compression of received uncompressed images can be activated by attribute "CompressionRules" in the conguration page for the Storage SCP Service (service=StoreScp). E.g. set it to "JLSL", to compress all type of images received from any Storage SCU using JPEG-LS Lossless codec.
Refresh the Web Interface (http://localhost:8080/dcm4chee-web/), which shall now show the the list of received studies. You may need to click the 'binocular' icon to initiate a search. Expand one study row to show contained series. Expand one of these series to show contained instances. In the case of images, you can follow the image icon on the right, to invoke a http WADO request for a JPEG presentation of this image, which will be displayed in a separate browser window.
You also need to congure an additional Application Entity Title identifying this Move Destination. Do so in the "AE Management" tab within the Web user interface.
6 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
E.g. new AET AE Title: DCMRCV Hostname: localhost Port: 11113 Switch back to the Study List ("Folder"), mark studies to retrieve using the check box on the right, select "DCMRCV" as send destination in the combo box above and click on the send button left from it.
Windows:
install it as Windows service executing install_service.bat (see Running dcm4chee PACS as a Windows service or daemon) aditional notes: to adjust maximum allocation of heap memory - you need to edit install_service.bat (not run.bat) for 64-bit Windows download JavaService version 2.0.7.64 from http://javaservice.objectweb.org and replace le bin/JavaService.exe if your service fails while starting ("Service could not be started") and you are using JDK 6: 1. check your your Windows Event Log - if there are messages like "The specied module could not be found.", "Failed creating java ...\jvm.dll" - continue with next step 2. try to add %JAVA_HOME%\bin to the system PATH environment variable, so java could nd le mscvr71.dll (for details see https://issues.apache.org/bugzilla /show_bug.cgi?id=41538 and http://www.duckware.com/tech/java6msvcr71.html) many versions of Windows need to be restarted after modifying environment variables (like JAVA_HOME and PATH)
Mac OSX
See this forum post (and others) for suggestions and startup item/plist scripts: http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=593&tstart=0
Labels
installation windows
7 of 8
11/09/11 3:48 PM
http://www.dcm4che.org/conuence/display/ee2/Installation
Powered by a free Atlassian Conuence Open Source Project License granted to dcm4che. Evaluate Conuence today.
Printed by Atlassian Conuence 3.3.1, the Enterprise Wiki.
8 of 8
11/09/11 3:48 PM