Problem with dcm4cheeweb-legacy

135 views
Skip to first unread message

andor

unread,
Jan 29, 2013, 11:11:08 AM1/29/13
to dcm...@googlegroups.com
Hi there,

I was trying to take a look to the Teaching File capabilities of the legacy web interface, so, I downloaded the war from http://sourceforge.net/projects/dcm4che/files/dcm4chee/2.17.1/legacy_web/ and put in into the deploy folder of my 2.17.1 mysql install, as said by the README, but I an welcome by this message when I put the dcm4chee-web legacy url:

org.apache.jasper.JasperException: An exception occurred processing JSP page /default.jsp at line 6 3: $Source$ 4: --%> 5: 6: <jsp:forward page="foldersubmit.m?showWithoutStudies=true&amp;filter="/> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:397) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause javax.servlet.ServletException: java.lang.NullPointerException org.infohazard.maverick.ctl.Throwaway2.go(Throwaway2.java:51) org.infohazard.maverick.flow.ThrowawayControllerAdapter.go(ThrowawayControllerAdapter.java:54) org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:66) org.infohazard.maverick.Dispatcher.service(Dispatcher.java:345) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665) org.apache.jsp.default_jsp._jspService(default_jsp.java:56) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


root cause java.lang.NullPointerException org.dcm4chex.archive.web.maverick.admin.perm.FolderPermissionsPropertyFactory.getFolderPermissions(FolderPermissionsPropertyFactory.java:189) org.dcm4chex.archive.web.maverick.Dcm4cheeFormController.getPermissions(Dcm4cheeFormController.java:215) org.dcm4chex.archive.web.maverick.Dcm4cheeFormController.applyPermissions(Dcm4cheeFormController.java:186) org.dcm4chex.archive.web.maverick.Dcm4cheeFormController.go(Dcm4cheeFormController.java:155) org.infohazard.maverick.ctl.Throwaway2.go(Throwaway2.java:47) org.infohazard.maverick.flow.ThrowawayControllerAdapter.go(ThrowawayControllerAdapter.java:54) org.infohazard.maverick.flow.CommandBase.go(CommandBase.java:66) org.infohazard.maverick.Dispatcher.service(Dispatcher.java:345) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694) org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665) org.apache.jsp.default_jsp._jspService(default_jsp.java:56) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.

Any clue on it?

Mark Messer

unread,
Jan 29, 2013, 1:43:29 PM1/29/13
to dcm...@googlegroups.com
What version of dcm4chee are you using? If it is 2.16.0+, you can use the web3 interface.
 
This appears to be a problem with study permissions. You can read about configuration here. Have you changed the configuration, or is it at its default?
 
Is the problem only with teaching files, or can you display regular studies?   

andor

unread,
Jan 29, 2013, 1:49:02 PM1/29/13
to dcm...@googlegroups.com
Hi there...

I'm using 2.17.1.
I need to use the legacy version because the web3 still doesn't have any teaching file controls, it just can show what's inside.
It's a clean pacs, with almost default config (except for AETITLE, logs and storage routes) and it gives the error just by trying to connect to it, that is, when I point my browser to http://localhost:8080/dcm4chee-web . If I point to dcm4chee-web3, everything goes ok.

Thanks

Alvaro G. [andor]

unread,
Jan 29, 2013, 1:51:29 PM1/29/13
to dcm...@googlegroups.com
I must correct myself, it shows the login page, and, once I login, it
fails with that error.

El 29/01/13 19:49, andor escribi�:
> It's a clean pacs, with almost default config (except for AETITLE,
> logs and storage routes) and it gives the error just by trying to
> connect to it, that is, when I point my browser to
> http://localhost:8080/dcm4chee-web . If I point to dcm4chee-web3,
> everything goes ok.


--
Alvaro "Andor" Gonzalez
an...@pierdelacabeza.com
GnuPG KeyID 0xa1e486f0

Mark Messer

unread,
Jan 29, 2013, 5:17:30 PM1/29/13
to dcm...@googlegroups.com

I installed dcm4chee-2.17.1 and weasis. I see the problem. The browser returns an HTTP status 500 and throws an exception when you navigate to http://localhost:8080/dcm4chee-web/

The installation instructions say to  do this
 
  • Modify the permission in /dcm4jboss-web/src/etc/conf/dcm4chee-web/folder.permissions or in server/default/conf/dcm4chee-web if dcm4chee is already installed

folder.*=edit,move,delete,view,*export,edit.newStudyUID,mergepat,study_permission,study_permission.free_role_action,query_has_issuer folder.*export=export_tf,export_xds

...

folder=WebUser(send,view);DatacareUser(edit,move,delete,export_xds,view);WebAdmin(*)

We did not build dcm4chee-web, so there is no dcm4jboss-web/src. Neither is there any server/default/conf/dcm4chee-web. So we can't  edit folder.permissions. It doesn't exist.
This is the reason for the crash.
 
 
Note the instructions say "For dcm4chee-web (classic - before 2.17.1)". But 2.17.1 is not before 2.17.1. This is the problem.
If you install 2.17.0, you will find server\default\conf contains dcm4chee-web instead of dcm4chee-web3.
 
 

Eduardo Rodríguez

unread,
Feb 13, 2013, 12:06:38 PM2/13/13
to dcm...@googlegroups.com
I have the same problem, someone could fix it?





Reply all
Reply to author
Forward
0 new messages