Update Weasis in Osirix

265 views
Skip to first unread message

dcor...@gmail.com

unread,
Mar 22, 2018, 6:25:23 PM3/22/18
to dcm4che
Hello,

I want to use OsirixMD to host a teaching file PACS server for our residents (the web portal works very well for this).
The OsirixMD web portal's java-viewer is a rebranded Weasis.
My concern is that when the signing certificate for the version of Weasis packaged with OsirixMD expires the viewer will be unusable and I want to avoid repurchasing OsirixMD every time that happens.

Are there instructions anywhere for installing newer versions of Weasis into OsirixMD.
One can find the Weasis folder in the OsirixMD package but I assume it is more involved than simply compiling Weasis from source and copying it into that folder.

Pixmeo help desk has not been able to provide an answer.

Many thanks

Dan

Nicolas Roduit

unread,
Mar 25, 2018, 2:22:26 PM3/25/18
to dcm4che
Since the mac applications need to be signed, the files within the package cannot be replaced. In addition, Osirix is not any more open. 

So I would recommend using Horos. I just open an issue to update the version and the launcher.

dcor...@gmail.com

unread,
Mar 25, 2018, 10:46:40 PM3/25/18
to dcm4che
Hi Nicolas,

Thank you for the response and letting the Horos developers know about this.
I had been using Horos but it only allows one database to be seen on the web-portal which complicates sharing and Horos seems to crash more on my system than Osirix.  However, not having the viewer expire is very important so I suppose Horos it is. 

Best regards

Dan

Nicolas Roduit

unread,
Mar 29, 2018, 2:01:48 AM3/29/18
to dcm...@googlegroups.com
The update has been done in Horos. You should be able to use Weasis 3.The web portal opens now directly weasis with the jnlp protocol, see how to launch Weasis on the demo. 

dcor...@gmail.com

unread,
Apr 3, 2018, 1:08:27 AM4/3/18
to dcm4che
Thank you for placing issue with Horos.
Thank you to Horos for solving it quickly.
However,  attempting to open a study using this new interface results in Google Chome doing nothing and Safari returning the following message: macOS does not recognize Internet address starting with "jnlp:"

Running Java 8 version 161.

Is there a step I am missing.

Many thanks

Dan Cornfeld



Nicolas Roduit

unread,
Apr 3, 2018, 2:23:20 AM4/3/18
to dcm4che
See this post

dcor...@gmail.com

unread,
Apr 3, 2018, 6:12:27 AM4/3/18
to dcm4che

That post allowed the file to run but Weasis application was still unable to launch.
Error message as follows:

CouldNotLoadArgumentException[ Could not load file/URL specified: jnlp://localhost:3333/149-weasis.jnlp?xid=72C48178-CF27-4EF0-A71F-38C2DC9F0471/Study/p25]
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: http://localhost:3333/149-weasis.jnlp?xid=72C48178-CF27-4EF0-A71F-38C2DC9F0471/Study/p25
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894)
at sun.net.www.protocol.http.HttpURLConnection.access$200(HttpURLConnection.java:91)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1484)
at sun.net.www.protocol.http.HttpURLConnection$9.run(HttpURLConnection.java:1482)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:782)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1481)
at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
... 5 more

Nicolas Roduit

unread,
Apr 3, 2018, 4:52:56 PM4/3/18
to dcm4che
I don't have a Mac but one of my collegue can run Weasis without any problem.

HTTP 401 error is related to an authentication issue.

dcor...@gmail.com

unread,
May 6, 2018, 5:15:54 PM5/6/18
to dcm4che
There was a problem with the Horos code which was fixed by the Horos team.

Many thanks for your help.

Dan

Nicolas Roduit

unread,
May 7, 2018, 4:02:49 PM5/7/18
to dcm4che
Thanks to Alessandro which kindly help to solve the issues on the web server. See https://github.com/horosproject/horos/pull/315
Reply all
Reply to author
Forward
0 new messages