weasis config bug

138 views
Skip to first unread message

wilfried VANE ZINSOU

unread,
Mar 19, 2017, 4:22:45 PM3/19/17
to dcm4che
jmx-console and dcmweb3 installations are fine; I am even able to upload dicom files to the server. Now it seems Weasis cannot display those studies and give me that error (see attached file)
Any tips?

Thx

Capture.PNG

Nicolas Roduit

unread,
Mar 19, 2017, 5:20:03 PM3/19/17
to dcm4che
With logs from the client side and/or from the server side, it will help to understand what is going wrong. 

wilfried VANE ZINSOU

unread,
Mar 19, 2017, 6:54:09 PM3/19/17
to dcm4che
both apps on on the same machine (localhost)

server side: 
[addr=/127.0.0.1,port=49779,localport=11112]
2017-03-19 23:50:19,606 INFO  -> (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] Socket[addr=/127.0.0.1,port=49779,localport=11112]
2017-03-19 23:50:19,606 INFO  PACS-CONNECTOR->FASSPACS02 (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] received AAssociateRQ
appCtxName: 1.2.840.10008.3.1.1.1/DICOM Application Context Name
implClass: 1.2.40.0.13.1.1
implVersion: dcm4che-3.3.7-r1
calledAET: FASSPACS02
callingAET: PACS-CONNECTOR
maxPDULen: 16378
asyncOpsWindow:
pc-1: as=1.2.840.10008.5.1.4.1.2.2.1/Study Root Query/Retrieve Information Model - FIND
ts=1.2.840.10008.1.2/Implicit VR Little Endian
ts=1.2.840.10008.1.2.1/Explicit VR Little Endian
ts=1.2.840.10008.1.2.2/Explicit VR Big Endian
2017-03-19 23:50:19,607 INFO  PACS-CONNECTOR->FASSPACS02 (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] sending A-ASSOCIATE-RJ
result=1 - rejected-permanent
source=1 - service-user
reason=3 - calling-AE-title-not-recognized
2017-03-19 23:50:19,614 INFO  -> (pool-11-thread-4) [STDOUT] 2017-03-19 23:50:19,614 ERROR [-11-thread-4:CFind               ] A-ASSOCIATE-RJ[result: 1 - rejected-permanent, source: 1 - service-user, reason: 3 - calling-AE-title-not-recognized]
2017-03-19 23:50:19,660 INFO  PACS-CONNECTOR->FASSPACS02 (TCPServer-1-1) [org.dcm4cheri.net.FsmImpl] closing connection - Socket[addr=/127.0.0.1,port=49779,localport=11112]
2017-03-19 23:50:19,674 INFO  -> (TCPServer-1-1) [org.dcm4cheri.server.ServerImpl] finished - Socket[addr=/127.0.0.1,port=49779,localport=11112]
2017-03-19 23:50:31,700 INFO  -> (Thread-115) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group ONLINE_STORAGE for deletion of orphaned private files
2017-03-19 23:50:31,700 INFO  -> (Thread-117) [org.dcm4chex.archive.mbean.FileSystemMgt2Service] Check file system group LOSSY_STORAGE for deletion of orphaned private files
2017-03-19 23:50:33,830 INFO  -> (http-0.0.0.0-8080-5) [STDOUT] 2017-03-19 23:50:33,830 ERROR [0.0.0-8080-5:RequestManifest     ] Building Manifest Exception [id=4] - java.util.concurrent.ExecutionException: WadoQueryException: No Patients List
2017-03-19 23:50:33,830 INFO  -> (http-0.0.0.0-8080-5) [STDOUT] 2017-03-19 23:50:33,830 INFO  [0.0.0-8080-5:RequestManifest     ] Consume ManifestBuilder with key=4

Nicolas Roduit

unread,
Mar 20, 2017, 2:46:29 AM3/20/17
to dcm4che
 ERROR [-11-thread-4:CFind               ] A-ASSOCIATE-RJ[result: 1 - rejected-permanent, source: 1 - service-user, reason: 3 - calling-AE-title-not-recognized]

This means that PACS-CONNECTOR AETitle is not accepted because you have restrictions on the PACS configuration. Adding PACS-CONNECTOR in the list of AE should solve the problem.

wilfried VANE ZINSOU

unread,
Mar 21, 2017, 3:47:06 PM3/21/17
to dcm...@googlegroups.com
Having gone through so many reinstalls these last days, am starting to get the hang of it (java is far from being my favorite)
Am having a jsp bug now:
20:40:41,163 ERROR [[HtmlAdaptor]] "Servlet.service()" pour la servlet HtmlAdaptor a gÚnÚrÚ une exception
org.apache.jasper.JasperException: Impossible de compiler la classe pour la JSP:

Une erreur s'est produite Ó la ligne: 151 dans le fichier jsp: /inspectMBean.jsp
The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files
148:             else if (String.valueOf(attrValue).indexOf(sep) == -1)
149:             {
150: %>
151:             <input type="text" name="<%= attrName %>" value="<%= attrValue.replace("\"","&quot;") %>" <%= readonly %>>
152: <%
153:             }
154:             else


Une erreur s'est produite Ó la ligne: 151 dans le fichier jsp: /inspectMBean.jsp
The method replace(char, char) in the type String is not applicable for the arguments (String, String)
148:             else if (String.valueOf(attrValue).indexOf(sep) == -1)
149:             {
150: %>
151:             <input type="text" name="<%= attrName %>" value="<%= attrValue.replace("\"","&quot;") %>" <%= readonly %>>
152: <%
153:             }
154:             else


Stacktrace:
        at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
        at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
        at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
        at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
        at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
        at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.inspectMBean(HtmlAdaptorServlet.java:220)
        at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:96)
        at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77)
        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)


I know editing MBean.jsp is not the solution. Could you just point me to where this String variable is declared; or is there any other solution

Am a dummy with java, kindly bear with me



--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/cd2A6_wp48g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+unsubscribe@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.

wilfried VANE ZINSOU

unread,
Mar 21, 2017, 6:12:25 PM3/21/17
to dcm4che
my bad it's the other bug i had.
solved by replacing replace by replaceAll in inspectMBean.jsp


Reply all
Reply to author
Forward
0 new messages