weasis JNLP

136 views
Skip to first unread message

Rajul Shah

unread,
Feb 8, 2016, 10:18:33 PM2/8/16
to dcm4che
Hi,

I am trying to change/configure the server name (http://XXXX.YYYY.com:80/) in <argument> </argument> section  in my generated  jnlp

I referred to https://github.com/nroduit/weasis-pacs-connector/blob/master/JnlpBuilder but was not able to find how to do that, ideally I would like to the call to be https as well.
I was able to change code base using cdb argument etc. 

Below is the output from the generated jnlp

<application-desc main-class="org.weasis.launcher.WebstartLauncher">
  </application-desc>

Any pointers greatly appreciated.

Nicolas Roduit

unread,
Feb 10, 2016, 1:15:59 PM2/10/16
to dcm4che
I'm not sure to understand. If you use the default configuration and call the service with https (ex.https://localhost:8080/weasis-pacs-connector/viewer?patientID=97026728), the argument in jlnlp with start with https.

Rajul Shah

unread,
Feb 12, 2016, 12:26:44 AM2/12/16
to dcm4che
We are making use of proxy so the external facing server has https and a public IP/name . This public facing server does proxy calls to the server running weasis-pacs-connector and that is done using http (as that server does not have https)

All proxy calls for code base, wado etc are correctly working as we are able to make those change to ${server.base.url} in weasis-connector-default.properties and put the public facing server name (and use https). 

The only thing we are not able to get is convert the:  
URI to https. As you pointed out it should use the https from the original URI, but in our case the proxy call is being done using http, hence it is seeing a http call and writing the URI with http and port 80 !

Pointers on how to change that URL would be greatly appreciated.

Nicolas Roduit

unread,
Feb 12, 2016, 5:34:33 AM2/12/16
to dcm4che
Yes in this case a configuration is missing as ${server.base.url} is not modifiable externally.

I publish commit. Could you rebuild the package and try with your configuration.

Rajul Shah

unread,
Feb 14, 2016, 10:24:40 PM2/14/16
to dcm4che
Yes this worked as expected!.  Thanks so much.
Reply all
Reply to author
Forward
0 new messages