JNLP XML error 2022.03.0

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

JNLP XML error 2022.03.0

Postby marazzi1539352432 » Thu Apr 14, 2022 11:35 am

Hi,
we just installed the new 2022.03.0 version on our test server and we have a problem.
We use smart client and we just downloaded the jnlp.
Opening it we get this error:

JNLParseException[ Impossibile analizzare il file di avvio. Errore alla riga 0.]
at com.sun.javaws.jnl.XMLFormat.decode(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.downloadExtensionsHelper(Unknown Source)
at com.sun.javaws.LaunchDownload._downloadExtensionsHelper(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.access$000(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFException: encoding.error.not.xml
at com.sun.deploy.xml.XMLEncoding.decodeXML(Unknown Source)
... 19 more

And this is the XML content:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://192.168.0.200:8080/servoy/" href="servoy-client/servoy_client.jnlp">
<information>
<title>Servoy Client</title>
<vendor>Servoy</vendor>
<homepage href="http://www.servoy.com/"/>
<description>Database client</description>
<icon href="/lib/images/servoy_client_icon.png"/>
<icon kind="splash" href="lib/db.gif" width="64" height="64"/>
</information>
<resources>
<j2se version="9" initial-heap-size="700m" max-heap-size="1024m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
<j2se version="1.8" initial-heap-size="700m" max-heap-size="1024m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
<j2se version="1.7" initial-heap-size="700m" max-heap-size="1024m" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
<jar href="lib/j2db.jar" main="true" version="1649848966000" download="eager"/>
<jar href="lib/js.jar" version="1649848966000" download="eager"/>
<jar href="lib/jabsorb.jar" version="1649848966000" download="eager"/>
<jar href="lib/BrowserLauncher2.jar" version="1649848966000" download="eager"/>
<jar href="lib/commons-codec.jar" version="1649848966000" download="eager"/>
<jar href="lib/commons-io.jar" version="1649848966000" download="eager"/>
<jar href="lib/MRJAdapter.jar" version="1649848966000" download="eager"/>
<jar href="lib/slf4j-api.jar" version="1649848966000" download="eager"/>
<jar href="lib/slf4j-jdk14.jar" version="1649848966000" download="eager"/>
<jar href="lib/l2fprod-common-outlookbar.jar" version="1649848966000" download="eager"/>
<jar href="lib/fs-parser.jar" version="1649848966000" download="eager"/>
<jar href="lib/fs-commons.jar" version="1649848966000" download="eager"/>
<jar href="lib/PBKDF2.jar" version="1649848966000" download="eager"/>
<jar href="lib/xstream.jar" version="1649848966000" download="eager"/>
<jar href="lib/prompt.jar" version="1649848966000" download="eager"/>
<jar href="lib/joda-time.jar" version="1649848966000" download="eager"/>
<jar href="lib/guava.jar" version="1649848966000" download="eager"/>
<jar href="lib/networktnl.jar" version="1649848966000" download="eager"/>
<jar href="lib/rmitnl.jar" version="1649848966000" download="eager"/>
<jar href="lib/commons-codec.jar" version="1649848966000" download="eager"/>
<jar href="lib/jcifs.jar" version="1649848966000" download="eager"/>
<jar href="lib/httpclient.jar" version="1649848966000" download="eager"/>
<jar href="lib/httpcore.jar" version="1649848966000" download="eager"/>
<jar href="lib/commons-logging.jar" version="1649848966000" download="eager"/>
<extension name="beans_integrazioneWayWS_beta.jar" href="servoy-client/beans/integrazioneWayWS_beta.jar.jnlp" version="1649834719087"/>
<extension name="beans_jpedal.jar" href="servoy-client/beans/jpedal.jar.jnlp" version="1649834741722"/>
<extension name="beans_s11_chart.jar" href="servoy-client/beans/s11_chart.jar.jnlp" version="1649834831750"/>
<extension name="beans_chart.jar" href="servoy-client/beans/chart.jar.jnlp" version="1649842902299"/>
<extension name="beans_fontbox-1.8.16.jar" href="servoy-client/beans/fontbox-1.8.16.jar.jnlp" version="1649834676951"/>
<extension name="beans_htmlbean.jar" href="servoy-client/beans/htmlbean.jar.jnlp" version="1649834679759"/>
<extension name="beans_chart.ext.jar" href="servoy-client/beans/chart.ext.jar.jnlp" version="1649842898181"/>
<extension name="beans_serializer-2.7.2.jar" href="servoy-client/beans/serializer-2.7.2.jar.jnlp" version="1649834843700"/>
<extension name="beans_chartServer.jar" href="servoy-client/beans/chartServer.jar.jnlp" version="1649842908118"/>
<extension name="beans_servoy_slider.jar" href="servoy-client/beans/servoy_slider.jar.jnlp" version="1649834850876"/>
<extension name="beans_IClock.jar" href="servoy-client/beans/IClock.jar.jnlp" version="1649834683862"/>
<extension name="beans_jfxpanel.jar" href="servoy-client/beans/jfxpanel.jar.jnlp" version="1649834722285"/>
<extension name="beans_datagrid.jar" href="servoy-client/beans/datagrid.jar.jnlp" version="1649834639713"/>
<extension name="beans_treeview.jar" href="servoy-client/beans/treeview.jar.jnlp" version="1649834858239"/>
<extension name="beans_dbtreeview.jar" href="servoy-client/beans/dbtreeview.jar.jnlp" version="1649834652130"/>
<extension name="beans_inmethod-grid.jar" href="servoy-client/beans/inmethod-grid.jar.jnlp" version="1649834699774"/>
<extension name="beans_doganaApp2do-1.0.jar" href="servoy-client/beans/doganaApp2do-1.0.jar.jnlp" version="1649834664735"/>
<extension name="beans_DndDBTreeView.jar" href="servoy-client/beans/DndDBTreeView.jar.jnlp" version="1649834655999"/>
<extension name="beans_chartServer.jar" href="servoy-client/beans/chartServer.jar.jnlp" version="1649842908118"/>
<extension name="beans_chart.jar" href="servoy-client/beans/chart.jar.jnlp" version="1649842902299"/>
<extension name="beans_chart.ext.jar" href="servoy-client/beans/chart.ext.jar.jnlp" version="1649842898181"/>
<extension name="beans_molecule.jar" href="servoy-client/beans/molecule.jar.jnlp" version="1649834745576"/>
<extension name="plugin_it2be-cryptor.jar" href="servoy-client/plugins/it2be-cryptor.jar.jnlp" version="3299697916000"/>
<extension name="plugin_window.jar" href="servoy-client/plugins/window.jar.jnlp" version="1649839980741"/>
<extension name="plugin_images.jar" href="servoy-client/plugins/images.jar.jnlp" version="6599395832000"/>
<extension name="plugin_clientmanager.jar" href="servoy-client/plugins/clientmanager.jar.jnlp" version="1649838075135"/>
<extension name="plugin_udp.jar" href="servoy-client/plugins/udp.jar.jnlp" version="1649839906251"/>
<extension name="plugin_file.jar" href="servoy-client/plugins/file.jar.jnlp" version="1649838373408"/>
<extension name="plugin_xmlreader.jar" href="servoy-client/plugins/xmlreader.jar.jnlp" version="1649840116618"/>
<extension name="plugin_jwt.jar" href="servoy-client/plugins/jwt.jar.jnlp" version="11548942714000"/>
<extension name="plugin_mailpro.jar" href="servoy-client/plugins/mailpro.jar.jnlp" version="3299697920000"/>
<extension name="plugin_agent.jar" href="servoy-client/plugins/agent.jar.jnlp" version="1649837945873"/>
<extension name="plugin_it2be-ftp.jar" href="servoy-client/plugins/it2be-ftp.jar.jnlp" version="3299697916000"/>
<extension name="plugin_rawSQL.jar" href="servoy-client/plugins/rawSQL.jar.jnlp" version="1649839818220"/>
<extension name="plugin_headlessclient.jar" href="servoy-client/plugins/headlessclient.jar.jnlp" version="1649838823702"/>
<extension name="plugin_http.jar" href="servoy-client/plugins/http.jar.jnlp" version="8249244808000"/>
<extension name="plugin_it2be-calendar.jar" href="servoy-client/plugins/it2be-calendar.jar.jnlp" version="3299697915999"/>
<extension name="plugin_busy-v2.jar" href="servoy-client/plugins/busy-v2.jar.jnlp" version="1649838051953"/>
<extension name="plugin_dialog.jar" href="servoy-client/plugins/dialog.jar.jnlp" version="1649838301180"/>
<extension name="plugin_maintenance.jar" href="servoy-client/plugins/maintenance.jar.jnlp" version="1649839595077"/>
<extension name="plugin_excelxport.jar" href="servoy-client/plugins/excelxport.jar.jnlp" version="6599395832000"/>
<extension name="plugin_drmaison.jar" href="servoy-client/plugins/drmaison.jar.jnlp" version="3299697916000"/>
<extension name="plugin_spellcheck.jar" href="servoy-client/plugins/spellcheck.jar.jnlp" version="1649839861369"/>
<extension name="plugin_servoyguy_pdf_pro.jar" href="servoy-client/plugins/servoyguy_pdf_pro.jar.jnlp" version="6599395840000"/>
<extension name="plugin_amortization.jar" href="servoy-client/plugins/amortization.jar.jnlp" version="1649837949477"/>
<extension name="plugin_test.jar" href="servoy-client/plugins/test.jar.jnlp" version="1649839903021"/>
<extension name="plugin_servoy_jasperreports.jar" href="servoy-client/plugins/servoy_jasperreports.jar.jnlp" version="4949546884000"/>
<extension name="plugin_scheduler.jar" href="servoy-client/plugins/scheduler.jar.jnlp" version="6599395844000"/>
<extension name="plugin_default_validators.jar" href="servoy-client/plugins/default_validators.jar.jnlp" version="1649838297904"/>
<extension name="plugin_velocityreport.jar" href="servoy-client/plugins/velocityreport.jar.jnlp" version="3299697923999"/>
<extension name="plugin_velocityreport.jar" href="servoy-client/plugins/velocityreport.jar.jnlp" version="3299697923999"/>
<extension name="plugin_converters.jar" href="servoy-client/plugins/converters.jar.jnlp" version="1649838275486"/>
<extension name="plugin_serialize.jar" href="servoy-client/plugins/serialize.jar.jnlp" version="6599395844000"/>
<extension name="plugin_it2be-barcode.jar" href="servoy-client/plugins/it2be-barcode.jar.jnlp" version="3299697915999"/>
<extension name="plugin_rest_ws.jar" href="servoy-client/plugins/rest_ws.jar.jnlp" version="1649839827346"/>
<extension name="plugin_it2be-tools.jar" href="servoy-client/plugins/it2be-tools.jar.jnlp" version="3299697916000"/>
<extension name="plugin_it2be-fax.jar" href="servoy-client/plugins/it2be-fax.jar.jnlp" version="3299697916000"/>
<extension name="plugin_tabxport.jar" href="servoy-client/plugins/tabxport.jar.jnlp" version="1649839896875"/>
<extension name="plugin_pdf_output.jar" href="servoy-client/plugins/pdf_output.jar.jnlp" version="11548942720000"/>
</resources>
<application-desc main-class="com.servoy.j2db.smart.J2DBClient">
<argument>system.property.apple.laf.useScreenMenuBar:true</argument>
</application-desc>
<security>
<all-permissions/>
</security>
</jnlp>

How should we fix it?
marazzi1539352432
 
Posts: 7
Joined: Fri Oct 12, 2018 3:53 pm

Re: JNLP XML error 2022.03.0

Postby jcompagner » Thu Apr 14, 2022 11:49 am

hard to say, somewhere in all those plugins (jnlp files) there is some kind of error

What happens if you test it with a basic install without any 3rd party plugins.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8822
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: JNLP XML error 2022.03.0

Postby ROCLASI » Wed May 18, 2022 12:10 pm

I had the same error. But also the following error in Servoy log:
Code: Select all
com.sun.org.apache.xml.internal.serializer.utils.WrappedRuntimeException: Could not load the propery file 'output_xml.properties' for output method 'xml' (check CLASSPATH)
...

Turned out that it was due to a Java update on the server (and not restarting Tomcat).
Restarting Tomcat and clearing the java cache on the client solved the issue.

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 2 guests