Your suspicion appears to be correct - that it is due to a property value being
too long. I was able to replicate your success with a completely stock copy
of XXE; but failed when including our own list of add-ons. Removing some of
the addon references manually from xxe.jnlp was sufficient to make it work (but
does not seem to be a good real-world solution!) One or both of these lines
are too long:
<property name="javaws.XXE.configurations"
value="addon:0-dtbook-iss/0-dtbook-iss.xxe;addon:config/dita/bookmap.xxe;addon:daisy-mathml-2/daisy-mathml.xxe;addon:config/dita/ditaval.xxe;addon:config/docbook/docbook.xxe;addon:config/docbook5/docbook5.xxe;addon:dtbook/dtbook.xxe;addon:config/dita/map.xxe;addon:mathml_config/standalone/mathml.xxe;addon:config/dita/topic.xxe;addon:config/xhtml/xhtml11.xxe;addon:config/xhtml/xhtml5.xxe;addon:config/xhtml/xhtml_loose.xxe;addon:config/xhtml/xhtml_strict.xxe"/>
<property name="javaws.XXE.catalogs"
value="addon:daisy-mathml-2/daisy-mathml_catalog.xml;addon:mathml_config/mathml_catalog.xml;addon:batik_imagetoolkit/svg_catalog.xml;addon:jeuclid_imagetoolkit/mathml_catalog.xml;addon:dtbook/dtbook_catalog.xml;addon:0-dtbook-iss/0-dtbook-iss_catalog.xml;addon:config/catalog.xml;addon:config/xhtml/catalog.xml;addon:config/docbook/catalog.xml;addon:config/docbook5/catalog.xml;addon:config/dita/catalog.xml"/>
Is the only remedy to un-install some of the addons that are now installed by
default, or is there something else I can do? Building the webstart with
Java 6 or 7 does not seem to make a difference.
Boris
On Oct 24, 2012, at 2:41 PM, Hussein Shafie wrote:
> On 10/24/2012 06:40 PM, Boris Goldowsky wrote:
>> On Oct 24, 2012, at 11:54 AM, Hussein Shafie wrote:
>>
>>> On 10/24/2012 04:17 PM, Boris Goldowsky wrote:
>>>> Any idea what could be causing the web-start version of XXE to fail
>>>> with Java 7 on Windows?
>>>>
>>>> xxe.jnlp downloads, and Java starts up, but then nothing happens.
>>>> This does not seem to be a problem with Java 6.
>>>
>>
>>> Almost certainly a bug in Java Web Start. See for example:
>>> http://stackoverflow.com/questions/11632456/java-web-start-fails-to-launch-with-invalid-argument-exception
>>>
>>> I'm not 100% sure, but I think I already had the same problem because
>>> the xxe.jnlp referenced too many jars and/or the values of the system
>>> properties specified in the xxe.jnlp were too long.
>>>
>>
>> Any hint of a solution? I'm running the XXE app pretty much stock,
>> didn't add any crazy jars or properties.
>>
>
> Well, I didn't manage to reproduce this problem using the very latest Java 7
> (that is, 1.7.0_09).
>
> I ran the following command on my Linux box using Java 1.6.0_37 inside a
> directory containing a fresh install of XXE v5.4 (which has several add-ons
> bundled):
>
> ---
> deploywebstart -index \
> -storetype pkcs12 \
> -keystore pixware_cert.pfx \
> -storepass xxxx -keypass yyyy -alias pixware
> ---
>
> I then managed to use Java Web Start to run XXE v5.4 (stock; with all its
> bundled add-ons), on another Linux box running Java 1.7 and also on a Windows
> XP machine running Java 1.7.0_09.
>
> I used Firefox on Linux and Internet Explorer on Windows to download and
> ``launch'' the xxe.jnlp. See attached screenshot.
>
> Therefore may be suffice to upgrade to latest Java 7 or to run deploywebstart
> using Java 6 to solve your problem?
>
> <xxe_5_4_0_javaws.png>
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support