参考:http://www.draconpern.com/2016/04/20/dcm4chee-installation-on-windows/
http://coneixement.info/blog/?p=143
http://blog.csdn.net/omage/article/details/54849681
https://dcm4che.atlassian.net/wiki/spaces/WEA/pages/3670023/Installing+Weasis+in+DCM4CHEE#InstallingWeasisinDCM4CHEE-Writeweasis-portabletoDICOMCDswithdcm4chee-cdw
连接中的【For dcm4chee-web3】
https://github.com/nroduit/weasis-pacs-connector#configuration-of-weasis-pacs-connector
建议jdk1.7.0_80以上,dcm4chee 2.x版本可能不支持JAVA 8
JBoss Application Server 4.2.3.GA下载jboss-4.2.3.GA.zip
https://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/
配置好JBOSS_HOME
下载2.18.3的dcm4chee-2.18.3-mysql.zip
https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.3/
下载2.18.1的dcm4chee-2.18.1-src.zip
https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.1/
2.18.3里面缺失install_jboss.bat
复制dcm4chee-2.18.1-src\dcm4jboss-build\bin\install_jboss.bat到dcm4chee-2.18.3-mysql\bin下面
打开cmd命令窗口,进入dcm4chee-2.18.3-mysql\bin目录下,运行install_jboss.bat D:\app\jboss-4.2.3.GA
下载JDicom是一个dcm发送到服务器的工具
http://members.chello.at/petra.kirchdorfer/jdicom/install/platforms/PureJava/Standalone/install.jar
使用StorageSCU
修改dcm4chee-2.18.3-mysql/server/default/conf/xmdesc/dcm4chee-wado-xmbean.xml文件,
找到ImageWriterClass属性,把value值改成com.sun.image.codec.jpeg.JPEGImageEncoder
创建mysql数据库,运行sql语句dcm4chee-2.18.3-mysql\sqlcreate.mysql,可能需要几分钟
修改dcm4chee-2.18.3-mysql\server\default\deploy\pacs-mysql-ds.xml中的数据库配置
修改dcm4chee-2.18.3-mysql\bin\run.conf增大内存
# Specify options to pass to the Java VM.
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=128m ..
fi
运行dcm4chee-2.18.3-mysql\bin\run.bat
打开http://localhost:8080/dcm4chee-web3/
用户名admin,密码admin
http://localhost:8080/jmx-console/
搜索group=ONLINE_STORAGE,service=FileSystemMgt
找到org.dcm4chex.archive.ejb.interfaces.FileSystemDTO addRWFileSystem()
如果没有设置,默认在dcm4chee-2.18.3-mysql\server\default\archive目录下
接收到的dcm文件都是去掉扩展名的
搜索service=AE
找到void updateAETitle()
根据prevAET修改成newAET,可以不更改
更改完毕后需要重启
更改的内容是打开下面链接
http://localhost:8080/dcm4chee-web3/
点击Application Entities
安装weasis到DCM4CHEE
Installing+Weasis+in+DCM4CHEE
在下面链接下载
weasis.war(修改的话,需要为jar包进行数字签名)
weasis-i18n.war
weasis-pacs-connector.war
dcm4chee-web-weasis.jar
https://sourceforge.net/projects/dcm4che/files/Weasis/
https://sourceforge.net/projects/dcm4che/files/Weasis/2.6.1/
https://sourceforge.net/projects/dcm4che/files/Weasis/weasis-pacs-connector/6.1.3/
https://github.com/nroduit/weasis-pacs-connector#configuration-of-weasis-pacs-connector
打开http://localhost:8080/jmx-console 搜索 [service=WebConfig] 设置如下的值
WebviewerNames = weasis
WebviewerBaseUrl = NONE
点击 [Apply Changes] 按钮
下载 weasis-connector-default.properties,重命名为weasis-pacs-connector.properties
下载 dicom-dcm4chee.properties
将两个文件复制到server/default/conf.
具体详见https://dcm4che.atlassian.net/wiki/spaces/WEA/pages/3670023/Installing+Weasis+in+DCM4CHEE
https://nroduit.github.io/en/demo/
IE浏览器中查看oracle-java管理加载项,需要下载32位和64位的JRE
- Launch Weasis as an external application (default value when NONE): WebviewerBaseUrl = weasis:/weasis-pacs-connector/viewer
-
Launch Weasis as an Applet in the web browser (not recommended as several browsers block Java plugin) : WebviewerBaseUrl = weasis:/weasis-pacs-connector/viewer-applet
更改dcm4chee-2.18.3-mysql\backup\default\data\xmbean-attrs文件夹下的
dcm4chee.archive@[email protected]
dcm4chee.web@[email protected]
dcm4chee-web3在deploy文件夹下的dcm4chee-web-ear-3.0.7-mysql.ear压缩包里