BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

SetUp Oviyam2

  1. If oviyam2 to be installed on tomcat only then follow below instructions else follow http://www.dcm4che.org/confluence/display/OV/Oviyam+Installation
  2. Download Oviyam-2.1-bin.zip from the link belowhttp://sourceforge.net/projects/dcm4che/files/Oviyam/2.1/
  3. Extract the war file downloaded using the following command jar -xvf filename.war
  4. Open the extracted source code in IDE
  5. In web.xml 4.1&nbsp;comment the followingfalse<security-constraint>&nbsp; &nbsp; <web-resource-collection>&nbsp; &nbsp; &nbsp; &nbsp; <web-resource-name>dispatcher</web-resource-name>&nbsp; &nbsp; &nbsp; &nbsp; <description>Only allows users with the role WebAdmin to access the Archive Web Administration pages</description>&nbsp; &nbsp; &nbsp; &nbsp; <url-pattern>*.jsp</url-pattern>&nbsp; &nbsp; &nbsp; &nbsp; <url-pattern>*.html</url-pattern>&nbsp; &nbsp; &nbsp; &nbsp; <url-pattern>*.do</url-pattern>&nbsp; &nbsp; &nbsp; &nbsp; <url-pattern>/oviyam</url-pattern>&nbsp; &nbsp; &nbsp; &nbsp; <http-method>GET</http-method>&nbsp; &nbsp; &nbsp; &nbsp; <http-method>POST</http-method>&nbsp; &nbsp; </web-resource-collection>&nbsp; &nbsp; <auth-constraint>&nbsp; &nbsp; &nbsp; &nbsp; <role-name>*</role-name>&nbsp; &nbsp; </auth-constraint> </security-constraint>4.2 uncomment the following&nbsp;<servlet-mapping>&nbsp;&nbsp; &nbsp; <servlet-name>ConfigurationServlet</servlet-name>&nbsp; &nbsp; &nbsp; <url-pattern>/configuration.do</url-pattern>&nbsp;</servlet-mapping><servlet>&nbsp;&nbsp;&nbsp; <servlet-name>ConfigurationServlet</servlet-name>&nbsp;&nbsp;&nbsp; <servlet-class>in.raster.oviyam.servlet.ConfigurationServlet</servlet-class>&nbsp;</servlet
  6. In config.html,&nbsp;remove the if else condition below and just use the command&nbsp;$( "#tabs" ).tabs();if(role == 'Admin') { &nbsp;$( "#tabs" ).tabs(); } else { $( "#tabs" ).tabs().tabs( "remove", 0); }Reason : We are not using any login credentials and by default we need to see all the tabs. But as per the code, if you logged in as admin then only you will be able to see all the tabs.
  7. Build war file again using IDE.
  8. Copy the war file to tomcat/webapps
  9. Copy the following line to apache-tomcat-8.0.12/bin/setenv.sh:&nbsp;CLASSPATH="/home/bahmni/apache-tomcat-8.0.12/webapps/oviyam2/WEB-INF/lib/*"
  10. if it is still not working do the following: Copy the files from Oviyam2.1-bin/tomcat to tomcat/lib&nbsp;

Access the Patient Order using the below URL template

Below are the common issues with Oviyam to display any image.

  1. For this error please make sure you have the lib path set to tomcat CLASSPATHjava.util.NoSuchElementException javax.imageio.spi.FilterIterator.next(ServiceRegistry.java:825) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:528) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513) in.raster.oviyam.servlet.WadoServlet.doGet(WadoServlet.java:188) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  2. For this error make sure you have the jai-image-1.1.jar in tomcat/lib &nbsp;java.lang.NullPointerException from ImageReader.java of oviyam.raster.injava.lang.ExceptionInInitializerError org.dcm4cheri.imageio.plugins.DcmImageReaderSpi.createReaderInstance(DcmImageReaderSpi.java:124) javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513) in.raster.oviyam.servlet.WadoServlet.doGet(WadoServlet.java:188) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  3. For this error Cop files in Oviyam-2.1-bin/tomcat to tomcat/libjava.lang.NoClassDefFoundError: Could not initialize class org.dcm4cheri.imageio.plugins.DcmImageReader org.dcm4cheri.imageio.plugins.DcmImageReaderSpi.createReaderInstance(DcmImageReaderSpi.java:124) javax.imageio.spi.ImageReaderSpi.createReaderInstance(ImageReaderSpi.java:320) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:529) javax.imageio.ImageIO$ImageReaderIterator.next(ImageIO.java:513) in.raster.oviyam.servlet.WadoServlet.doGet(WadoServlet.java:188) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗