JAVA Update 19 :-(

Questions, answers, tips and ideas on Servoy Client

Re: JAVA Update 19 :-(

Postby Jan Blok » Fri Apr 09, 2010 10:27 am

Servoy 5.1.2 is released to resolve these issues, see Servoy 5.1.2 release
A Servoy 4 release will follow soon...
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: JAVA Update 19 :-(

Postby Jan Blok » Fri Apr 09, 2010 11:48 am

An explanation for plugin developers to workarround the security level change can be found here, for use with Servoy 5.1.2 or (soon to be released) Servoy 4.1.6
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: JAVA Update 19 :-(

Postby ellenmeserow » Fri Apr 09, 2010 4:47 pm

Change for Servoy 3.5.10?
ellen escarcega (formerly meserow)
meserow design
Servoy 2019 9
MSSQL 2017
Windows AWS Servers
ellenmeserow
 
Posts: 362
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Re: JAVA Update 19 :-(

Postby Jan Blok » Fri Apr 09, 2010 5:32 pm

Yes, Servoy 3.5.11 is expected next week ... but it is still far better to move on to Servoy 5
As announced over a year ago, the support on Servoy 3.5 will expire soon.
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam

Re: JAVA Update 19 :-(

Postby ellenmeserow » Fri Apr 09, 2010 5:36 pm

Of course. :D Trying...
ellen escarcega (formerly meserow)
meserow design
Servoy 2019 9
MSSQL 2017
Windows AWS Servers
ellenmeserow
 
Posts: 362
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Re: JAVA Update 19 :-(

Postby pbakker » Wed Apr 14, 2010 5:11 pm

See http://wiki.servoy.com/x/SpV7 for a comprehensive overview of Servoy i.c.w. Java 6 update 19

Paul
pbakker
 
Posts: 2822
Joined: Wed Oct 01, 2003 8:12 pm
Location: Amsterdam, the Netherlands

Re: JAVA Update 19 :-(

Postby ellenmeserow » Wed May 12, 2010 9:21 pm

Can anyone tell me -- we've finally gotten all of our plugins to their signed versions, but we're being forced to clear the java cache of all servoy smart client machines in order to launch properly -- is there any way around this?
ellen escarcega (formerly meserow)
meserow design
Servoy 2019 9
MSSQL 2017
Windows AWS Servers
ellenmeserow
 
Posts: 362
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Re: JAVA Update 19 :-(

Postby Harjo » Wed May 12, 2010 9:56 pm

yes, look at ALL your jnlp's and change a fixed version number to: "%%version%%"
(make a backup first ofcourse ;-) )
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4307
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: JAVA Update 19 :-(

Postby ellenmeserow » Wed May 12, 2010 10:14 pm

Great! I thought of updating their versions in the jnlp from an old piece of advice Marcel gave me, but then didn't know what to do when I see that Marcel's plugins now say %%version%%. So I guess it's not his that I have to worry about. Perhaps its the bean I'm using from ObjectPlanet that doesn't come with a jnlp file -- I just put the jar in the beans folder?
ellen escarcega (formerly meserow)
meserow design
Servoy 2019 9
MSSQL 2017
Windows AWS Servers
ellenmeserow
 
Posts: 362
Joined: Sat Aug 07, 2004 10:18 pm
Location: Seattle, WA USA

Re: JAVA Update 19 :-(

Postby Harjo » Wed May 12, 2010 10:29 pm

No just look at the jnlp's

also the client that does not start (only after java cache clear) will give you the exact plugin, which give you the problem
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4307
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: JAVA Update 19 :-(

Postby Harry Catharell » Fri Sep 17, 2010 6:32 pm

Servoy Server 4.1.4 build 681
Windows 2003
Java 1.6.0_17-b04

Some time ago clients logging onto this server exhibited the 'Unable to load resource: (http://192.168.20.13:8080/beans/swingbeans.jar.......' and so I followed advice and removed the swingbeans.jar from the server and restarted

Since then I have been happily opening a client on my macbook pro

It has been 3 or 4 weeks since I last did this and today it gives me that above error - but the jar is not in there to download

Any thoughts on why it should suddenly do this again

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Re: JAVA Update 19 :-(

Postby jcompagner » Mon Sep 20, 2010 10:19 am

maybe there is a cached jnlp file in the cache that still references it.
Wasn't there any change on the server? Not 1 update jar/plugin?

Try to upgrade to the latest release, because there we have a bit better fix that makes sure the the cache on the client can't be out of sync ever again.
(because all the timestamps from all the jars and jnlp's are bubbled up to the top jnlp so everything has a unique version that will change if there is a jar deep down changed)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8309
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: JAVA Update 19 :-(

Postby Harry Catharell » Mon Sep 20, 2010 6:11 pm

Hi Johan

I think that I had cleared out all possible java cache data.

It may be that I had updated Java version on my MacBook Pro and that the newer Java version had caused the issue

I updated the server to 4.1.7 and I then managed to launch a client again on my machine, so it seems that the problem has gone away again now

Thanks for the reply any way

Cheers
Harry
Harry Catharell
 
Posts: 812
Joined: Fri Sep 26, 2003 10:23 am
Location: Milton Keynes, England

Re: JAVA Update 19 :-(

Postby faheemhameed » Tue Feb 01, 2011 10:28 am

Hi there,

I am using Servoy version 3.5.6 and with the Java update 1.6.0_23-b05 (client: Windows Vista. Server: Windows 2003). I think java has been upgraded automatically recently. When I launched the client from servoy launcher page I got the following issue:

Code: Select all
com.sun.deploy.net.FailedDownloadException: Unable to load resource: (http://server:8080/beans/it2be-browserbean.jar?version-id=1174878714062, 1174878714062)
   at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
   at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
   at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
   at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
   at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
   at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
   at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


I have copied jnlp as well:


Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://server: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 kind="shortcut" href="/lib/images/servoy_client_icon.gif" width="32" height="32"/>
      <icon kind="splash" href="/lib/splashclient.gif" width="64" height="64"/>
      <shortcut online="true">
      <desktop/>
      </shortcut>
   </information>
   <resources>
      <j2se version="1.4+"  max-heap-size="256m"  />
      <j2se version="1.5+"  max-heap-size="256m"  />
      <j2se version="1.6+"  max-heap-size="256m"  />
      <property name="apple.laf.useScreenMenuBar" value="true"/>
      <jar href="/lib/j2db.jar" main="true" version="1296548321187" download="eager"/>
      <jar href="/lib/js.jar" part="script" version="1296548321469" download="eager"/>
      <package name="org.mozilla.*" part="script" recursive="true"/>
      <jar href="/lib/BrowserLauncher2.jar" part="BrowserLauncher2" version="1296548321078" download="eager"/>
      <package name="edu.stanford.ejalbert.*" part="BrowserLauncher2" recursive="true"/>
      <jar href="/lib/commons-logging.jar" part="logging" version="1296548321141" download="eager"/>
      <package name="org.apache.commons.logging.*" part="logging" recursive="true"/>
      <jar href="/lib/MRJAdapter.jar" part="mac_menu" version="1296548321469" download="eager"/>
      <package name="net.roydesign.*" part="mac_menu" recursive="true"/>
      <extension name="LAFS_and_BEANS" href="/servoy-client/unsigned.jnlp" version="1296548321078"/>
      <extension name="scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="1296548321703"/>
      <extension name="it2be-splash.jar" href="/servoy-client/plugins/it2be-splash.jar.jnlp" version="1192006600468"/>
      <extension name="mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1296548321672"/>
      <extension name="uss_http.jar" href="/servoy-client/plugins/uss_http.jar.jnlp" version="1207894221610"/>
      <extension name="udp.jar" href="/servoy-client/plugins/udp.jar.jnlp" version="1296548321719"/>
      <extension name="serialize.jar" href="/servoy-client/plugins/serialize.jar.jnlp" version="1296548321703"/>
      <extension name="default_validators.jar" href="/servoy-client/plugins/default_validators.jar.jnlp" version="1296548321578"/>
      <extension name="tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1296548321719"/>
      <extension name="it2be-ftp.jar" href="/servoy-client/plugins/it2be-ftp.jar.jnlp" version="1192005059968"/>
      <extension name="agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1296548321562"/>
      <extension name="pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="1296548321687"/>
      <extension name="it2be-menubar.jar" href="/servoy-client/plugins/it2be-menubar.jar.jnlp" version="1192006588593"/>
      <extension name="dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1296548321578"/>
      <extension name="excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="1296548321578"/>
      <extension name="popupmenu.jar" href="/servoy-client/plugins/popupmenu.jar.jnlp" version="1296548321687"/>
      <extension name="images.jar" href="/servoy-client/plugins/images.jar.jnlp" version="1296548321672"/>
      <extension name="file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1296548321625"/>
      <extension name="jasperPluginRMI.jar" href="/servoy-client/plugins/jasperPluginRMI.jar.jnlp" version="1216125258238"/>
      <extension name="rawSQL.jar" href="/servoy-client/plugins/rawSQL.jar.jnlp" version="1296548321703"/>
      <extension name="kioskmode.jar" href="/servoy-client/plugins/kioskmode.jar.jnlp" version="1296548321672"/>
      <extension name="xmlreader.jar" href="/servoy-client/plugins/xmlreader.jar.jnlp" version="1296548321719"/>
      <extension name="converters.jar" href="/servoy-client/plugins/converters.jar.jnlp" version="1296548321578"/>
      <extension name="http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="1296548321641"/>
      <extension name="amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1296548321562"/>
      <extension name="it2be-tools.jar" href="/servoy-client/plugins/it2be-tools.jar.jnlp" version="1192006610015"/>
      <extension name="spellcheck.jar" href="/servoy-client/plugins/spellcheck.jar.jnlp" version="1296548321703"/>
   </resources>
   <application-desc main-class="com.servoy.j2db.J2DBClient">
   </application-desc>
   <security>
      <all-permissions/>
   </security>
</jnlp>



Please help.

Thanks a lot,
Hameed
Hameed
Pilot simple software
Hong Kong
User avatar
faheemhameed
 
Posts: 763
Joined: Wed Sep 10, 2003 7:23 am

Re: JAVA Update 19 :-(

Postby jcompagner » Tue Feb 01, 2011 12:25 pm

the only thing you can quickly do besides updating to a later release of servoy is delete the "empty" jars in your beans directory (like swingbeans.jar and i guess it2be-browserbean.jar) on your application server.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8309
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

PreviousNext

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 1 guest

cron