Hi Marcel
Well your almost rid of me - I had a good day today
I checked the jnlp file generated from the launchweasis.cq file a realised the problem was with the webscriptaddresss - well sort of
Because my sever is behind a file wall and needs port forwarding the webscriptaddress is ipaddsress:portnumber (ie 123.456.78.9:1223)
But I noticed that the generated file has the correct full address in most places but where the %server_name% variable is used only the ipaddress is used not the port number. So I hard entered the full address at every instance and VIOLA weasis and images Thanks so much for your guidance
The only issue on windows is the whole process seems to be very Java specific, at least for me
I have to have JRE 1.0.6_10+ or it fails any early or later versions won't work and later versions actually have to be removed
Not sure if I can edit the .lq file for late java versions?
Now... I am trying to get things to work on macs
Because I don't know where to put the weasis files on the webserver for local download - I tried all the usual suspects and none worked so if anyone can help out that would be great - I have made a bastardised Launchweasis.cg which points to the remote site for weasis download and then local server for images
The generated jnlp works like magic if i copy to my Win machine and run but on the mac only get weasis and no images. I assume there is something amiss with the $dicom:get argument on a mac?
Here is the file with my server ip address and port changed to protect the innocent
<!-- 20140126; mvh; new version for java7; updated to pass compress mode -->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Descriptor 6.0//EN" "http://java.sun.com/dtd/JNLP-6.0.dtd">
<jnlp spec="1.6+" codebase="http://dicom.vital-it.ch:8089/weasis" href="">
<information>
<title>Weasis</title>
<vendor>Weasis Team</vendor>
<description>DICOM images viewer</description>
<description kind="short">An application to visualize and analyze
DICOM images.
</description>
<description kind="one-line">DICOM images viewer</description>
<description kind="tooltip">Weasis</description>
<icon href="images/logo-button.png" kind="default" />
<icon href="images/about.png" kind="splash" />
<shortcut online="false">
<desktop />
<menu submenu="Weasis" />
</shortcut>
</information>
<security>
<all-permissions />
</security>
<resources>
<!-- Requires Java SE 6 update 10 release for jnlp extension without codebase (substance.jnlp) -->
<j2se version="1.6.0_10+" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="128m" max-heap-size="512m" />
<j2se version="1.6.0_10+" initial-heap-size="128m" max-heap-size="512m" />
<jar href="weasis-launcher.jar" main="true" />
<jar href="felix.jar" />
<!-- Optional library (Substance Look and feel, only since version 1.0.8). Requires the new Java Plug-in introduced in
the Java SE 6 update 10 release.For previous JRE 6, substance.jnlp needs a static codebase URL -->
<extension href="substance.jnlp" />
<!-- Allows to get the file in pack200 compression -->
<property name="jnlp.packEnabled" value="true" />
</resources>
<application-desc main-class="org.weasis.launcher.WebstartLauncher">
<!-- =======================================================================================================
Workaround for Java security restriction which only allow to put property in resources when starting
with "java." or "jnlp.". So property is passed here as argument with prefix "-VMP": <argument>-VMPpropertyname="value"</argument>.
This workaround allows to have a fully trusted application with dynamic jnlp (only since weasis 1.1.2,
for previous version see revision=16573), http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6653241 -->
<!-- Required parameter. Define the location of config.properties (the OSGI configuration and the list
of plug-ins to install/start) -->
<argument>-VMPfelix.config.properties="http://123.456.78.9:1234/weasis/conf/config.properties"</argument>
<!-- Optional parameter. Define the location of ext-config.properties (extend/override config.properties) -->
<argument>-VMPfelix.extended.config.properties="http://123.456.78.9:1234/weasis/conf/ext-config.properties"</argument>
<!-- Required parameter. Define the code base of Weasis for the JNLP -->
<argument>-VMPweasis.codebase.url="http://123.456.78.9:1234/weasis"</argument>
<!-- Required parameter. Start local OSGI console on the port 17179 -->
<argument>-VMPgosh.args="-sc telnetd -p 17179 start"</argument>
<!-- Optional parameter. Allows to have the Weasis menu bar in the top bar on Mac OS X (works only
with the native Aqua look and feel) -->
<argument>-VMPapple.laf.useScreenMenuBar="true"</argument>
<!-- Optional parameter. Allows to get plug-ins translations -->
<argument>-VMPweasis.i18n="http://123.456.78.9:1234/weasis-i18n"</argument>
<!-- Optional Weasis Documentation, appears in the menu Help > User Manual -->
<!-- <argument>-VMPweasis.help.url="http://123.456.78.9:1234/weasis-doc"</argument> -->
<!-- ======================================================================================================= -->
<!-- Example for opening dicom files from URLs -->
<argument>$dicom:get -w http://123.456.78.9:1234/cgi-bin/dgate.exe?
port=4006&address=127.0.0.1&mode=weasisstudyxml&compress=un&study=50661109181703042:1.2.392.200036.9107.500.11506611091803122&dum=.xml</argument>
</application-desc>
</jnlp>
Once again your help has been really appreciated
Cheers Richard