Smart Client - Could not launch file

Questions, answers, tips and ideas on Servoy Client

Smart Client - Could not launch file

Postby nickbarnett » Fri Feb 19, 2010 2:58 pm

My server is failing to launch Smart Client.
I get an Application Error dialogue box saying 'Unable to launch the application'.

When I get details, I see an 'Error: Could not launch file. Error at line 0'.

Exception:
JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Wrapped Exception:
java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Windows 2008 Server / Servoy 4.1 and v5.0
nickbarnett
 
Posts: 58
Joined: Mon Aug 11, 2008 1:11 pm
Location: Bicester, Oxfordshire

Re: Smart Client - Could not launch file

Postby jcompagner » Mon Feb 22, 2010 1:34 pm

somehow it gets a jnlp file that webstart cant parse.

Do you have it from multiply machines?

IS that server accessible for me so that i can quickly try to download it?
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7582
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Smart Client - Could not launch file

Postby alb » Sun Feb 28, 2010 3:41 am

Getting exactly the same problem with:

https://mail.blakes.net/servoy-client

Servoy version 5.0.1 -build 861

dont know when this started happening as I generally use webclient (which works fine).
Any ideas what is going on?
Is this a new bug in build 861?

Al
alb
 
Posts: 150
Joined: Sun Aug 13, 2006 4:40 am

Re: Smart Client - Could not launch file

Postby Harjo » Sun Feb 28, 2010 12:33 pm

try this:

Code: Select all
https://mail.blakes.net/servoy-client/servoy_client.jnlp
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4067
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: Smart Client - Could not launch file

Postby maria » Thu May 27, 2010 9:49 am

Any solutions to this?

I've got the same error when trying to launch the smart client.

The server gives the following message:
[Fatal Error] :1:21: XML version "1.0;" is not supported, only XML 1.0 is supported.

:? :shock:

And the details of the error:

JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadExtensions(Unknown Source)
at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Smart Client - Could not launch file

Postby michel » Thu May 27, 2010 10:24 am

This has to do with an error in the .jnlp of jasperreports. Check this topic http://www.servoy.com/forum/viewtopic.php?f=16&t=14185
Michel van Klink
Vision Development
michel
 
Posts: 190
Joined: Mon Sep 22, 2008 10:53 am
Location: Boskoop, The Netherlands


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 2 guests