im parsing error

Hi,

im is successfuly installed but after trying to launch im with web start i get

An error occurred while launching/running the application.

Title: IM

Vendor: Sun Microsystems, Inc.

Category: Launch File Error

Could not parse launch file. Error at line 0.

JNLParseException[ Could not parse launch file. Error at line 0.]

at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:44)

at

com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:46)

at

com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:58)

at

com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:66)

at

com.sun.javaws.LaunchDownload.downloadExtensionsHelper(LaunchDownload.java:469)

at com.sun.javaws.LaunchDownload.downloadExtensions(LaunchDownload.java:395)

at com.sun.javaws.Launcher.downloadResources(Launcher.java:1002)

at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:375)

at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)

at com.sun.javaws.Launcher.run(Launcher.java:165)

at java.lang.Thread.run(Thread.java:595)

Can you give me some recomendation ?

Running im with java plugin works.

Any ideas ?

Thanks,

Stefan

[1343 byte] By [varga_steana] at [2007-11-27 8:03:04]
# 1
It would be great if you could send me the jnlp file, i guess some extra parameter is there in your jnlp file which the parser is failing to parse.
Amit.Bakhrua at 2007-7-12 19:45:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 2

Hi Amit,

appreciate your help, here is the file:

<?xml version="1.0" encoding="utf-8"?>

<!-- Copyright 2004 Sun Microsystems, Inc. All rights reserved. -->

<!-- Instant Messenger -->

<jnlp

spec="1.0+"

codebase="http://mail.server.com:80/im"

href="en/im.jnlp">

<information>

<title>IM</title>

<vendor>Sun Microsystems, Inc.</vendor>

<homepage href="http://www.sun.com"/>

<description>Sun Java System Instant Messenger</description>

<description kind="short">Instant Messenger</description>

<icon href="sunIM_64.gif"/>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.4+" />

<jar href="messenger.jar"/>

<jar href="imdesktop.jar"/>

<jar href="imnet.jar"/>

<jar href="icalendar.jar"/>

<nativelib href="imjni.jar"/>

<extension href="http://mail.server.com:80/im/en/unsigned.jnlp" name="unsigned resources"/>

</resources>

<application-desc main-class="com.iplanet.im.client.iIM">

<argument>locale=en</argument>

<argument>usessl=no</argument>

<argument>server=mail.server.com:5222</argument>

<argument>document_base=http://mail.server.com:80/im/en/im.jnlp</argum ent>

<argument>help_codebase=http://mail.server.com:80/im/en</argument>

</application-desc>

</jnlp>

varga_steana at 2007-7-12 19:45:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 3
Hi again,the problem was solved by removing $HOME/.java directoriesIs this a correct step or is there any other workaround for that ?thanks,Stefan
varga_steana at 2007-7-12 19:45:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...
# 4

Hi Stefan,

I suspect this might have been because some older version of the jnlp was cached which had some problem.

Alternative to removing the entire .java directory would be to launch javaws console and remove temporary files and only the offending application.

Regards,

Mridul

MridulMa at 2007-7-12 19:45:10 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...