c;ient not starting after 5.2.0b update

Questions, answers, tips and ideas on Servoy Client

c;ient not starting after 5.2.0b update

Postby alb » Sat Jun 05, 2010 6:38 am

Just updated our dev environment to the 5.2.0b build so we can test functionlity.
Found two (?bugs?):
a) RMI tunning doesnt work. Had to disable
SocketFactory.rmiServerFactory=com.servoy.j2db.server.rmi.tunnel.ServerTunnelRMISocketFactoryFactory
in servoy.properties or the servoy service wont start. Gives a java error:

2010-06-05 13:42:59,935 ERROR [WrapperSimpleAppMain] com.servoy.j2db.util.Debug - couldnt instantiatie the rmi socketfactory
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.servoy.j2db.server.ApplicationServer.Za(ApplicationServer.java:269)
at com.servoy.j2db.server.ApplicationServer.main(ApplicationServer.java:438)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:238)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: No valid license found.
at com.sebster.tunnel.impl.vd.<init>(vd.java:9)

If I disable RMI then it starts - but of course then there is no tunneling support :(

b) Smartclient wont start. Gives a parser error on the jnlp file:

Could not parse launch file. Error at line 0.

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://dev.cesoft.com.au:8080" 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.gif"/>
<icon kind="splash" href="/lib/splashclient.gif" width="64" height="64"/>
<shortcut online="true">
<desktop/>
</shortcut>
</information>
<resources>
<j2se version="1.5+" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
<j2se version="1.6+" java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
<jar href="/lib/j2db.jar" main="true" version="1275708382789" download="eager"/>
<jar href="/lib/js.jar" version="1275708382789" download="eager"/>
<jar href="/lib/jabsorb.jar" version="1275708382789" download="eager"/>
<jar href="/lib/BrowserLauncher2.jar" version="1275708382789" download="eager"/>
<jar href="/lib/commons-logging.jar" version="1275708382789" download="eager"/>
<jar href="/lib/MRJAdapter.jar" version="1275708382789" download="eager"/>
<jar href="/lib/rmitnl.jar" version="1275708382789" download="eager"/>
<extension name="beans_molecule.jar" href="/servoy-client/beans/molecule.jar.jnlp" version="1271666487830"/>
<extension name="beans_htmlbean.jar" href="/servoy-client/beans/htmlbean.jar.jnlp" version="1271666488011"/>
<extension name="beans_s11_chart.jar" href="/servoy-client/beans/s11_chart.jar.jnlp" version="1271666487935"/>
<extension name="beans_IClock.jar" href="/servoy-client/beans/IClock.jar.jnlp" version="1271666487746"/>
<extension name="beans_datagrid.jar" href="/servoy-client/beans/datagrid.jar.jnlp" version="2550809061519"/>
<extension name="beans_inmethod-grid.jar" href="/servoy-client/beans/inmethod-grid.jar.jnlp" version="1275404534274"/>
<extension name="lafs_skinlf.jar" href="/servoy-client/lafs/skinlf.jar.jnlp" version="1271666486663"/>
<extension name="lafs_kunststoff.jar" href="/servoy-client/lafs/kunststoff.jar.jnlp" version="1275708382933"/>
<extension name="plugin_udp.jar" href="/servoy-client/plugins/udp.jar.jnlp" version="1275404523272"/>
<extension name="plugin_it2be-cryptor.jar" href="/servoy-client/plugins/it2be-cryptor.jar.jnlp" version="8924860858580"/>
<extension name="plugin_it2be-barcode.jar" href="/servoy-client/plugins/it2be-barcode.jar.jnlp" version="10199719668150"/>
<extension name="plugin_tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1275404520979"/>
<extension name="plugin_it2be-ftp.jar" href="/servoy-client/plugins/it2be-ftp.jar.jnlp" version="10199719466300"/>
<extension name="plugin_screenshot.jar" href="/servoy-client/plugins/screenshot.jar.jnlp" version="-1"/>
<extension name="plugin_amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1275404458270"/>
<extension name="plugin_mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1275404491722"/>
<extension name="plugin_window.jar" href="/servoy-client/plugins/window.jar.jnlp" version="1275404525463"/>
<extension name="plugin_maintenance.jar" href="/servoy-client/plugins/maintenance.jar.jnlp" version="1275404493009"/>
<extension name="plugin_drmaison.jar" href="/servoy-client/plugins/drmaison.jar.jnlp" version="-1"/>
<extension name="plugin_file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1275404467443"/>
<extension name="plugin_agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1275404456883"/>
<extension name="plugin_http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="5102225649423"/>
<extension name="plugin_xmlreader.jar" href="/servoy-client/plugins/xmlreader.jar.jnlp" version="1275404526717"/>
<extension name="plugin_it2be-fax.jar" href="/servoy-client/plugins/it2be-fax.jar.jnlp" version="16574013286574"/>
<extension name="plugin_spellcheck.jar" href="/servoy-client/plugins/spellcheck.jar.jnlp" version="5101617975193"/>
<extension name="plugin_images.jar" href="/servoy-client/plugins/images.jar.jnlp" version="5101617860089"/>
<extension name="plugin_default_validators.jar" href="/servoy-client/plugins/default_validators.jar.jnlp" version="1275404463316"/>
<extension name="plugin_headlessclient.jar" href="/servoy-client/plugins/headlessclient.jar.jnlp" version="1275404470001"/>
<extension name="plugin_it2be-splash.jar" href="/servoy-client/plugins/it2be-splash.jar.jnlp" version="7650002137679"/>
<extension name="plugin_dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1275404464584"/>
<extension name="plugin_it2be-tools.jar" href="/servoy-client/plugins/it2be-tools.jar.jnlp" version="7650002159832"/>
<extension name="plugin_scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="5101921819045"/>
<extension name="plugin_pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="6377022263259"/>
<extension name="plugin_rawSQL.jar" href="/servoy-client/plugins/rawSQL.jar.jnlp" version="1275404503798"/>
<extension name="plugin_busy.jar" href="/servoy-client/plugins/busy.jar.jnlp" version="1271987657000"/>
<extension name="plugin_excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="3826213376963"/>
<extension name="plugin_converters.jar" href="/servoy-client/plugins/converters.jar.jnlp" version="1275404460701"/>
<extension name="plugin_servoy_jasperreports.jar" href="/servoy-client/plugins/servoy_jasperreports.jar.jnlp" version="6252195908363"/>
<extension name="plugin_serialize.jar" href="/servoy-client/plugins/serialize.jar.jnlp" version="5101260251673"/>
</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>

Needless to say it was all working fine before the update. any ideas?
A;
alb
 
Posts: 148
Joined: Sun Aug 13, 2006 4:40 am

Re: c;ient not starting after 5.2.0b update

Postby alb » Sun Jun 06, 2010 12:17 am

Ok
Dont know why it was wasnt working...but to fix it I:

a) Stopped servoy
b) Renamed old directory to Xservoy
c) Reinstalled 5.20b (so it was a clean install to a new dir)
d) Copied my old servoy.properties accorss to the newly made dir
e) started servoy

Essentially a new install without any additional plug-in but using existing DBs and solutions. Seems to be working (except RMI http tunneling which I have had to disable)
alb
 
Posts: 148
Joined: Sun Aug 13, 2006 4:40 am


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest