WebStart URL_TO_OPEN doesn't seem to work
Posted: Wed May 09, 2012 4:49 pm
I'm using Java WebStart on Linux to launch OxygenAuthor. I modified the default JNLP file by adding the url of a file that I'd like to open upon launching OxygenAuthor:
When I invoke the JNLP, OxygenAuthor opens but does not display the file I specified in the JNLP.
Any ideas why?
I'm using
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Here's the full JNLP:
Code: Select all
<application-desc main-class="ro.sync.jws.JwsDeployer">
<argument>file:////foo/bar/aboutOxygen.dita</argument>
<!-- You can specify the list of files oXygen should open at startup.
<argument>URL_TO_OPEN_1</argument>
<argument>URL_TO_OPEN_2</argument>
-->
</application-desc>
Any ideas why?
I'm using
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
Here's the full JNLP:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://foo/oxygen" href="author.jnlp" spec="1.0+">
<information>
<title>Oxygen XML Author 13.2</title>
<vendor>Syncro Soft Ltd.</vendor>
<homepage href="index.html"/>
<description>Oxygen XML Author 13.2</description>
<description kind="short">Oxygen XML Author 13.2</description>
<icon href="AuthorJWS128.png"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se initial-heap-size="32m" max-heap-size="256m" version="1.5+"/>
<jar href="lib/deployer.jar" main="true" download="eager"/>
<jar href="lib/deployerUtils.jar" download="eager"/>
<jar href="lib/log4j.jar" download="eager"/>
<jar href="lib/log4j.properties.jar" download="eager"/>
<jar href="lib/oxygenAuthor_templates.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor_lib.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor_tools.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor_frameworks.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor_plugins.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor.zip.jar" download="eager"/>
<jar href="lib/oxygenAuthor_dicts.zip.jar" download="eager"/>
<jar href="lib/deploy.xml.jar" download="eager"/>
<jar href="lib/oxygenAuthor_samples.zip.jar" download="eager"/>
<property name="apple.awt.showGrowBox" value="true"/>
<property name="apple.laf.useScreenMenuBar" value="true"/>
<property name="javax.xml.parsers.DocumentBuilderFactory"
value="com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"/>
<property name="jwsDeployerImage" value="author32.gif"/>
<!-- Launch properties. -->
<property name="mainClass" value="ro.sync.exml.Oxygen"/>
<property name="classPathDir" value="lib"/>
<property name="vmArgs" value="-Duser.home=/usr/local/google/ita/tools -Xms512m -Xmx2048m -XX:MaxPermSize=512m -XX:SoftRefLRUPolicyMSPerMB=10 -Dsun.java2d.noddraw=true -Dcom.oxygenxml.app.descriptor=ro.sync.exml.AuthorFrameDescriptor"/>
<property name="vmArgsMac" value="-Xdock:name=Author -Xdock:icon=Author.icns -Dapple.awt.showGrowBox=true -Dapple.laf.useScreenMenuBar=true"/>
<!-- You can specify some properties that will be forwarded to the oXygen application when
started. The properties MUST be prefixed with 'oxy'. The prefix will be stripped before being passed to the started application.-->
<!--<property name="oxyPropertyName" value="testValue"/>-->
<property name="oxycom.oxygenxml.bundle.descriptor" value="author"/>
</resources>
<application-desc main-class="ro.sync.jws.JwsDeployer">
<argument>file:////foo/bar/aboutOxygen.dita</argument>
<!-- You can specify the list of files oXygen should open at startup.
<argument>URL_TO_OPEN_1</argument>
<argument>URL_TO_OPEN_2</argument>
-->
</application-desc>
</jnlp>