Frequently Asked Questions (FAQs)

Why the Weasis license is Eclipse Public License?

The Eclipse Public License is an OSI approved license and a commercially friendly copyleft license.

EPL is more business-friendly about some patent retaliation and reverse engineering clauses than LGPL. With EPL, derivative work (weasis plugin) can be distributed in any license type: open source, freeware, commercial... However, if you distribute Weasis with some modifications (changing existing source code of the open source Weasis plug-ins), even if it is a free distribution, you are obligated to make your modifications available to others.

For more information about EPL, check out the EPL FAQ or the video “Managing Open Source Legal Issues”.

How to start Weasis automatically from a web page without downloading jnlp?

From  the Oracle Java Runtime 8 update 111, it is possible to launch a Java Webstart application from the jnlp protocol. See the new way of launching Java Westart with weasis-pacs-connector.

Can Weasis be incorporated in DICOM CDs ?

Yes, the Weasis portable version can be copied in DICOM CD-ROMs or other removable media as a multi-platform stand-alone viewer with launchers for Mac OS X, Linux and Windows. The viewer requires that a Java Runtime Environment (JRE 8 or greater) be installed on the machine to run. If Java is not installed on Windows, a dialog will propose to install it from the Internet.

The viewer loads automatically images from DICOMDIR or from directories configured in "weasis/conf/config.properties (weasis.portable.dicom.directory=dicom,DICOM,IMAGES,images).

To burn Weasis with dcm4chee see Write weasis-portable to DICOM CDs with dcm4chee-cdw.

Osirix allows to burn Weasis in CD-ROMs and the Osirix DiscPublishing plugin allows you to use a Primera DiscPublisher robot.

How to enable Weasis logging?

Logs are available either in the Java console or in Weasis log files.

  1. By displaying the Java console:
    1. Windows
    2. Linux
    3. Mac:
      • Navigate to the following folder: Applications > Utilities > Java.
      • Click the Java Preferences icon and then the Advanced tab.
      • Under the Java console section, select the Show console radio button.
  2. By writing to log files:
  • From Weasis 1.1.2, logging can be activated from File > Preferences > General
  • The default logging configuration comes from config.properties or ext-config.properties (overriding) located in the /weasis/conf directory of weasis portable or in the conf directory of weasis.war. Adapt the following lines:

    ##### Set the logging levels for OSGI framework  0=None / 1(default)=Error / 2=Warning / 3=Information / 4=Debug
    felix.log.level=1
    
    ##### This may be any of the defined logging levels TRACE, DEBUG, INFO, WARN, ERROR.
    org.apache.sling.commons.log.level=INFO
    #org.apache.sling.commons.log.file=${dollar}{felix.cache.rootdir}/.weasis/log/default.log
    #org.apache.sling.commons.log.file.number=5
    #org.apache.sling.commons.log.file.size=10MB
    ##### {0} The timestamp of type java.util.Date, {1} the log marker, {2} the name of the current thread, {3} the name of the logger, {4} the debug level and {5} the actual debug message.
    #org.apache.sling.commons.log.pattern={0,date,dd.MM.yyyy HH:mm:ss.SSS} *{4}* [{2}] {3}: {5}
    
    

Is it possible to download DICOM files without having a WADO server?

Yes, but a WADO server is recommended. Downloading DICOMs can be achieved by:

  • Bulding an xml file by using DirectDownloadFile and DirectDownloadThumbnail: