Hi,
I have successfully installed dcm4chee 2.18 on an Ubuntu server. I have also successfully installed and configured the Weasis web wiever.
Now, I would like to test Oviyam 2.1. Oviyam allows me to query exam information from dcm4chee but it fails to retrieve images. (I have tried to use C-Move, C-Get, and wado)
I have had a look to the logs and I can see there is no problem for the CFIND Request, then there is apparantly nothing wrong with the C-Get request. when it comes to image decoding apparently Oviyam fails to find a jpeg codec (see logs below)
=========
2014-12-09 17:37:41,159 INFO -> (http-0.0.0.0-8080-1) [org.dcm4che2.net.PDUEncoder] DCM4DEMO(6) << 2:C-GET-RQ[pcid=5, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET
ts=1.2.840.10008.1.2/Implicit VR Little Endian]
2014-12-09 17:37:41,159 INFO OVIYAM2->DCM4DEMO (TCPServer-1-2) [org.dcm4cheri.net.FsmImpl] received [pc-5] 2:C_GET_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET
2014-12-09 17:37:41,162 INFO OVIYAM2->DCM4DEMO (Thread-51) [org.dcm4cheri.net.FsmImpl] sending [pc-9] 3:C_STORE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.1.1.2/Digital Mammography X-Ray Image Storage - For Presentation
inst: 1.3.6.1.4.1.5962.99.1.2280943358.716200484.1363785608958.339.0/?
2014-12-09 17:37:41,163 INFO -> (DCMQR-6) [org.dcm4che2.net.PDUDecoder] DCM4DEMO(6) >> 3:C-STORE-RQ[pcid=9, prior=0
cuid=1.2.840.10008.5.1.4.1.1.1.2/Digital Mammography X-Ray Image Storage - For Presentation
iuid=1.3.6.1.4.1.5962.99.1.2280943358.716200484.1363785608958.339.0
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian]
2014-12-09 17:37:41,163 INFO OVIYAM2->DCM4DEMO (Thread-51) [org.dcm4chex.archive.util.FileDataSource] M-READ file:/opt/dcm4chee-2.18.0-mysql/server/default/archive/2014/8/13/3/294BC010/294C256B/294BD2D5
2014-12-09 17:37:41,483 INFO -> (DCMQR-6) [org.dcm4che2.net.PDUEncoder] DCM4DEMO(6) << 3:C-STORE-RSP[pcid=9, status=0H]
2014-12-09 17:37:41,483 INFO OVIYAM2->DCM4DEMO (ActiveAssoc-70-1) [org.dcm4cheri.net.FsmImpl] received [pc-9] 3:C_STORE_RSP
status: 0
2014-12-09 17:37:41,496 INFO OVIYAM2->DCM4DEMO (Thread-51) [org.dcm4cheri.net.FsmImpl] sending [pc-5] 2:C_GET_RSP
class: 1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET
status: 0
2014-12-09 17:37:41,496 INFO -> (DCMQR-6) [org.dcm4che2.net.PDUDecoder] DCM4DEMO(6) >> 2:C-GET-RSP[pcid=5, remaining=null, completed=1, failed=0, warning=0, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.3/Study Root Query/Retrieve Information Model - GET]
2014-12-09 17:37:41,496 INFO -> (http-0.0.0.0-8080-1) [org.dcm4che2.tool.dcmqr.DcmQR] Retrieved 1 objects (warning: 0, failed: 0) in 0.337s
2014-12-09 17:37:41,496 INFO -> (http-0.0.0.0-8080-1) [org.dcm4che2.net.PDUEncoder] DCM4DEMO(6) << A-RELEASE-RQ
2014-12-09 17:37:41,497 INFO OVIYAM2->DCM4DEMO (ActiveAssoc-70-1) [org.dcm4cheri.net.FsmImpl] received A-RELEASE-RQ
2014-12-09 17:37:41,497 INFO OVIYAM2->DCM4DEMO (ActiveAssoc-70-1) [org.dcm4cheri.net.FsmImpl] sending A-RELEASE-RP
2014-12-09 17:37:41,497 INFO -> (TCPServer-1-2) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=33817,localport=11112]
2014-12-09 17:37:41,497 INFO -> (DCMQR-6) [org.dcm4che2.net.Association] DCM4DEMO(6) >> A-RELEASE-RP
2014-12-09 17:37:41,497 INFO -> (http-0.0.0.0-8080-1) [org.dcm4che2.tool.dcmqr.DcmQR] Released connection to DCM4...@127.0.0.1:11112
2014-12-09 17:37:41,498 INFO -> (DCMQR-6) [org.dcm4che2.net.Association] DCM4DEMO(6): close Socket[addr=/127.0.0.1,port=11112,localport=33817]
2014-12-09 17:37:41,547 INFO OVIYAM2->DCM4DEMO (ActiveAssoc-70-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=33817,localport=11112]
2014-12-09 17:37:41,552 INFO -> (TCPServer-1-3) [org.dcm4cheri.server.ServerImpl] handle - Socket[addr=/127.0.0.1,port=56872,localport=11112]
2014-12-09 17:37:41,552 INFO -> (TCPServer-1-3) [org.dcm4cheri.net.FsmImpl] Socket[addr=/127.0.0.1,port=56872,localport=11112]
2014-12-09 17:37:41,552 INFO -> (http-0.0.0.0-8080-6) [org.dcm4che2.net.Association] Association(7) initiated Socket[addr=/127.0.0.1,port=11112,localport=56872]
2014-12-09 17:37:41,552 ERROR -> (http-0.0.0.0-8080-1) [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/oviyam2].[WadoServlet]] Servlet.service() for servlet WadoServlet threw exception
java.lang.NoClassDefFoundError: com/sun/image/codec/jpeg/JPEGCodec
at in.raster.oviyam.servlet.WadoServlet.doGet(WadoServlet.java:194)
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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
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:745)
2014-12-09 17:37:41,554 INFO -> (http-0.0.0.0-8080-6) [org.dcm4che2.net.PDUEncoder] DCM4DEMO(7): A-ASSOCIATE-RQ DCM4DEMO << OVIYAM2======================
The error seems to be linked to the JPEG codec. I'm using the libclib_jiio.so which is recommended in the dcm4chee installation page (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.17.1-xxx/bin/native from the JAI Image IO package for
Linux-amd64 or Solaris. Or see
this post for a more recent version.)
I'm stuck and I have not been able to find a solution in the previous posts from this group. Feel free to share any suggestion regarding this problem.
Best regards,
Damien