dcm4chee installation on Windows

Installing dcm4chee 2.x on Windows.

Download

https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.1/
https://sourceforge.net/projects/dcm4che/files/dcm4chee/2.18.3/
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/jboss-4.2.3.GA-jdk6.zip/download
Java SE Development Kit 7u80 Java SE Development Kit 7u80 (jdk-7u80-windows-i586.exe)

Install MySQL

Download MySQL and install.

Create a blank database

> mysql -u root -p
mysql> create schema pacsdb;  
mysql> grant all on pacsdb.* to pacs@localhost identified by ‘pacs’;  
mysql> flush privileges;  
mysql> \q

Install Java JDK

Run jdk-7u80-windows-i586.exe

Install dcm4chee

extract dcm4chee-2.18.1-mysql.zip
extract dcm4chee-2.18.3-mysql.zip o
copy content of 2.18.3 into 2.18.1 and overwrite any old files
delete server\default\deploydcm4chee-web-ear-3.0.5-mysql.ear
delete dcm4chee-2.18.3
rename the dcm4chee-2.18.1 directory back to dcm4chee-2.18.3

Install Database

> cd sql
> mysql -u root -p pacsdb < create.mysql

Install JBoss

Extract jboss to a directory

cd dcm4chee-2.18.1\bin
install_jboss.bat <directory of jboss>

Run

> cd bin
> set JAVA_HOME=c:\Program Files (x86)\Java\jdk1.7.0_80\ (note the trailing slash and lack of quotes)
> run.bat

Login

http://localhost:8080/dcm4chee-web3

Default username is admin and password is admin