ARR issue - Studies

227 views
Skip to first unread message

Elena Michael

unread,
Aug 23, 2013, 2:14:39 PM8/23/13
to dcm...@googlegroups.com
Hello,

I am new to DCM4CHEE and I am trying to install dcm4chee according the instructions on http://www.dcm4che.org/confluence/display/ee2/Installation on windows.

At step 5 (Deploy the Audit Record Repository (ARR) ), when I run the run.bat in the command line, I got an error (see attached image):

"C:\dcm4chee-arr-3.0.12-mysql\bin>run.bat
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\dcm4chee-arr-3.0.12-mysql

  JAVA: C:\Program Files\Java\jdk1.7.0_21\bin\java

  JAVA_OPTS: " -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600
000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.messaging.ServerPeerID=0 -Dapp.name=dcm4chee-arr


  CLASSPATH: C:\Program Files\Java\jdk1.7.0_21\lib\tools.jar;C:\dcm4chee-arr-3.0.12-mysql\bin\run.ja
r

===============================================================================

Error: Could not find or load main class  -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi
.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.messaging.ServerPeerI
D=0 -Dapp.name=dcm4chee-arr -Djava.endorsed.dirs=C:\dcm4chee-arr-3.0.12-mysql\lib\endorsed -classpat
h C:\Program
Press any key to continue . . ."

Could someone help me?? Please?

Also, is there any script which I can fill the database with patient data, studies and dicom images?

Thanks




dcmIs.PNG

fleetwoodfc

unread,
Aug 23, 2013, 4:30:31 PM8/23/13
to dcm...@googlegroups.com
Instructions say "Go to the dcm4chee-2.17.1-xxx/bin directory and execute the install_arr.bat" - you don't use the run.bat in the ARR bin folder (this is only if you want to run ARR as a standalone application).
Message has been deleted

Elena Michael

unread,
Aug 23, 2013, 6:12:01 PM8/23/13
to
OK! Thanks for the clarification!

I continued my installation, to install weasis in the dcm4chee, according the instructions of this page: http://www.dcm4che.org/confluence/display/WEA/Installing+Weasis+in+DCM4CHEE.

When I logged in to http://localhost:8080/dcm4chee-web3/ and tried to see a study's images, I couldn't...
Also, I chose to see the images according the weasis, but unfortunately the app wasn't be loaded.(see attachment)

Because it's only recently that I started studying the dcm4chee, the questions asked might appeared simple but I find difficulties.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

dcm4Is.PNG
weasisIs.PNG

Ajay

unread,
Aug 24, 2013, 10:12:34 AM8/24/13
to dcm...@googlegroups.com

It will be clear, if your post the error log. I think the error could be an issue with the WADO call??


Elena Michael

unread,
Aug 25, 2013, 2:11:08 PM8/25/13
to dcm...@googlegroups.com
Hello!

I got this error: 

"INFO  [WADOSupport] start decompression of image: 256x256 (current codec tasks: compres
s&decompress:1 compress:1)
20:03:56,882 ERROR [WADOSupport] Can't read image:
org.dcm4cheri.image.ConfigurationException: No Image Reader of class com.sun.media.imageioimpl.plugi
ns.jpeg2000.J2KImageReaderCodecLib available for format:jpeg2000
        at org.dcm4cheri.image.ImageReaderFactory.getReaderForTransferSyntax(ImageReaderFactory.java:81)
        at org.dcm4cheri.imageio.plugins.DcmImageReader.initDecompressor(DcmImageReader.java:477)
        at org.dcm4cheri.imageio.plugins.DcmImageReader.decompress(DcmImageReader.java:642)
        at org.dcm4cheri.imageio.plugins.DcmImageReader.read(DcmImageReader.java:415)
        at org.dcm4chex.wado.mbean.WADOSupport.getImage(WADOSupport.java:1342)
        at org.dcm4chex.wado.mbean.WADOSupport.getBufferedImage(WADOSupport.java:854)
        at org.dcm4chex.wado.mbean.WADOSupport.getJpg(WADOSupport.java:830)
        at org.dcm4chex.wado.mbean.WADOSupport.handleJpg(WADOSupport.java:754)
        at org.dcm4chex.wado.mbean.WADOSupport.getWADOObject(WADOSupport.java:362)
        at org.dcm4chex.wado.mbean.WADOService.getWADOObject(WADOService.java:491)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
        at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
        at org.dcm4chex.wado.web.WADOServiceDelegate.getWADOObject(WADOServiceDelegate.java:124)
        at org.dcm4chex.wado.web.WADOServlet.doGet(WADOServlet.java:117)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
        at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:420)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
        at java.lang.Thread.run(Thread.java:722)
20:03:56,909 INFO  [WADOSupport] finished decompression. (remaining codec tasks: compress&decompress:0 decompress:0)
20:03:57,494 INFO  [FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files
20:03:57,494 INFO  [FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files ".


I have already made the bellow changes according the guide.

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>


Ajay

unread,
Aug 26, 2013, 3:26:31 AM8/26/13
to dcm...@googlegroups.com

I have encounter similar kind of issue, go through this link.
Check if your machine and jdk specifications are compatible.



Elena Michael

unread,
Aug 27, 2013, 4:55:12 AM8/27/13
to dcm...@googlegroups.com
I have downloaded jdk1.8.0.0 and it works!! Thanks! :)
Reply all
Reply to author
Forward
0 new messages