Java OS X problem NEW!

In the last 24 hours, we are seeing very strange OS X behaviour, which without any updates is now affecting 4 independent OS X machines.

Servoy clients come up with unable to launch, having worked fine, saying Java 1.7 is required. These are machines, which had been backdated to 1.6 using the fix on the apple website. This had worked fine, but without any updates we are now getting this error.

It appears that it is suddenly looking for webstart 1.7 and ignoring 1.6. Any suggestions, this has worked fine since the downgrading fix! All machines still have java version 1.6 on them when you java -version.

I assume others are seeing the same problem?

David

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://episource6.episource.co.uk" href="/servoy-client/servoy_client.jnlp">
  <information>
     <title>ePIsource</title>
     <vendor>
iSaaS Technology</vendor>      <homepage href="http://www.servoy.com/"/>
     <description>Database client</description>
          <description kind="tooltip">ePIsource</description>
     <icon href="lib/splashclient.gif"/>
     <icon kind="splash" href="/lib/splashclient.gif" width="64" height="64"/>
       <shortcut online="true">
       <desktop/>
       </shortcut>
  </information>
  <resources>
     <j2se version="1.7"   java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
     <j2se version="1.6"   java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
     <j2se version="1.5"   java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" />
     <jar href="/lib/j2db.jar" main="true" version="1355298225000" download="eager"/>
     <jar href="/lib/js.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/jabsorb.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/BrowserLauncher2.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/commons-logging.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/commons-codec.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/MRJAdapter.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/slf4j-api.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/slf4j-jdk14.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/networktnl.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/rmitnl.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/commons-codec.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/jcifs.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/httpclient.jar" version="1355298225000" download="eager"/>
     <jar href="/lib/httpcore.jar" version="1355298225000" download="eager"/>
     <extension name="beans_molecule.jar" href="/servoy-client/beans/molecule.jar.jnlp" version="1355298171000"/>
     <extension name="beans_htmlbean.jar" href="/servoy-client/beans/htmlbean.jar.jnlp" version="1355298170000"/>
     <extension name="beans_jrbean.jar" href="/servoy-client/beans/jrbean.jar.jnlp" version="1355298171000"/>
     <extension name="beans_s11_chart.jar" href="/servoy-client/beans/s11_chart.jar.jnlp" version="1355298171000"/>
     <extension name="beans_IClock.jar" href="/servoy-client/beans/IClock.jar.jnlp" version="1355298169000"/>
     <extension name="beans_datagrid.jar" href="/servoy-client/beans/datagrid.jar.jnlp" version="2710596339000"/>
     <extension name="beans_inmethod-grid.jar" href="/servoy-client/beans/inmethod-grid.jar.jnlp" version="1355298171000"/>
     <extension name="plugin_agent.jar" href="/servoy-client/plugins/agent.jar.jnlp" version="1355298234000"/>
     <extension name="plugin_amortization.jar" href="/servoy-client/plugins/amortization.jar.jnlp" version="1355298234000"/>
     <extension name="plugin_argos_number2words-1.0.jar" href="/servoy-client/plugins/argos_number2words-1.0.jar.jnlp" version="1355298250000"/>
     <extension name="plugin_busy-v2.jar" href="/servoy-client/plugins/busy-v2.jar.jnlp" version="1355298250000"/>
     <extension name="plugin_converters.jar" href="/servoy-client/plugins/converters.jar.jnlp" version="1355298250000"/>
     <extension name="plugin_default_validators.jar" href="/servoy-client/plugins/default_validators.jar.jnlp" version="1355298250000"/>
     <extension name="plugin_dialog.jar" href="/servoy-client/plugins/dialog.jar.jnlp" version="1355298250000"/>
     <extension name="plugin_drmaison.jar" href="/servoy-client/plugins/drmaison.jar.jnlp" version="13540233738000"/>
     <extension name="plugin_excelxport.jar" href="/servoy-client/plugins/excelxport.jar.jnlp" version="4053145880000"/>
     <extension name="plugin_file.jar" href="/servoy-client/plugins/file.jar.jnlp" version="1355298298000"/>
     <extension name="plugin_headlessclient.jar" href="/servoy-client/plugins/headlessclient.jar.jnlp" version="1355298298000"/>
     <extension name="plugin_http.jar" href="/servoy-client/plugins/http.jar.jnlp" version="10829636689000"/>
     <extension name="plugin_images.jar" href="/servoy-client/plugins/images.jar.jnlp" version="5408444175000"/>
     <extension name="plugin_it2be-cryptor.jar" href="/servoy-client/plugins/it2be-cryptor.jar.jnlp" version="4053145875000"/>
     <extension name="plugin_it2be-ftp.jar" href="/servoy-client/plugins/it2be-ftp.jar.jnlp" version="5408444186000"/>
     <extension name="plugin_it2be-tools.jar" href="/servoy-client/plugins/it2be-tools.jar.jnlp" version="2697847574000"/>
     <extension name="plugin_mail.jar" href="/servoy-client/plugins/mail.jar.jnlp" version="1355298319000"/>
     <extension name="plugin_maintenance.jar" href="/servoy-client/plugins/maintenance.jar.jnlp" version="1355298319000"/>
     <extension name="plugin_pdf_output.jar" href="/servoy-client/plugins/pdf_output.jar.jnlp" version="6763742594000"/>
     <extension name="plugin_rawSQL.jar" href="/servoy-client/plugins/rawSQL.jar.jnlp" version="1355298337000"/>
     <extension name="plugin_scheduler.jar" href="/servoy-client/plugins/scheduler.jar.jnlp" version="5408444122000"/>
     <extension name="plugin_serialize.jar" href="/servoy-client/plugins/serialize.jar.jnlp" version="5408444054000"/>
     <extension name="plugin_servoy_jasperreports.jar" href="/servoy-client/plugins/servoy_jasperreports.jar.jnlp" version="20329420962000"/>
     <extension name="plugin_servoyguy_spellcheck_pro.jar" href="/servoy-client/plugins/servoyguy_spellcheck_pro.jar.jnlp" version="10829638446000"/>
     <extension name="plugin_spellcheck.jar" href="/servoy-client/plugins/spellcheck.jar.jnlp" version="1355298459000"/>
     <extension name="plugin_tabxport.jar" href="/servoy-client/plugins/tabxport.jar.jnlp" version="1355298459000"/>
     <extension name="plugin_udp.jar" href="/servoy-client/plugins/udp.jar.jnlp" version="1355298459000"/>
     <extension name="plugin_velocityreport.jar" href="/servoy-client/plugins/velocityreport.jar.jnlp" version="17593381455000"/>
     <extension name="plugin_web_client_utils.jar" href="/servoy-client/plugins/web_client_utils.jar.jnlp" version="1355298487000"/>
     <extension name="plugin_window.jar" href="/servoy-client/plugins/window.jar.jnlp" version="1355298488000"/>
     <extension name="plugin_xml.jar" href="/servoy-client/plugins/xml.jar.jnlp" version="12184935664000"/>
     <extension name="plugin_xmlreader.jar" href="/servoy-client/plugins/xmlreader.jar.jnlp" version="1355298488000"/>
  </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>




Exception:

JNLPException[category: System Configuration : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://episource6.episource.co.uk/" href="http://episource6.episource.co.uk/servoy-client/servoy_client.jnlp">
 <information>
   <title>ePIsource</title>
   <vendor>
iSaaS Technology</vendor>
   <homepage href="http://www.servoy.com/"/>
   <description>Database client</description>
   <description kind="tooltip">ePIsource</description>
   <icon href="http://episource6.episource.co.uk/lib/splashclient.gif" kind="default"/>
   <icon href="http://episource6.episource.co.uk/lib/splashclient.gif" height="64" width="64" kind="splash"/>
   <shortcut online="true">
     <desktop/>
   </shortcut>
 </information>
 <security>
   <all-permissions/>
 </security>
 <update check="timeout" policy="always"/>
 <resources>
   <java java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" version="1.7"/>
   <java java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" version="1.6"/>
   <java java-vm-args="-XX:SoftRefLRUPolicyMSPerMB=3600000" version="1.5"/>
   <jar href="http://episource6.episource.co.uk/lib/j2db.jar" version="1355298225000" download="eager" main="true"/>
   <jar href="http://episource6.episource.co.uk/lib/js.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/jabsorb.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/BrowserLauncher2.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/commons-logging.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/commons-codec.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/MRJAdapter.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/slf4j-api.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/slf4j-jdk14.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/networktnl.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/rmitnl.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/commons-codec.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/jcifs.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/httpclient.jar" version="1355298225000" download="eager" main="false"/>
   <jar href="http://episource6.episource.co.uk/lib/httpcore.jar" version="1355298225000" download="eager" main="false"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/molecule.jar.jnlp" version="1355298171000" name="beans_molecule.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/htmlbean.jar.jnlp" version="1355298170000" name="beans_htmlbean.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/jrbean.jar.jnlp" version="1355298171000" name="beans_jrbean.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/s11_chart.jar.jnlp" version="1355298171000" name="beans_s11_chart.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/IClock.jar.jnlp" version="1355298169000" name="beans_IClock.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/datagrid.jar.jnlp" version="2710596339000" name="beans_datagrid.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/beans/inmethod-grid.jar.jnlp" version="1355298171000" name="beans_inmethod-grid.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/agent.jar.jnlp" version="1355298234000" name="plugin_agent.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/amortization.jar.jnlp" version="1355298234000" name="plugin_amortization.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/argos_number2words-1.0.jar.jnlp" version="1355298250000" name="plugin_argos_number2words-1.0.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/busy-v2.jar.jnlp" version="1355298250000" name="plugin_busy-v2.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/converters.jar.jnlp" version="1355298250000" name="plugin_converters.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/default_validators.jar.jnlp" version="1355298250000" name="plugin_default_validators.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/dialog.jar.jnlp" version="1355298250000" name="plugin_dialog.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/drmaison.jar.jnlp" version="13540233738000" name="plugin_drmaison.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/excelxport.jar.jnlp" version="4053145880000" name="plugin_excelxport.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/file.jar.jnlp" version="1355298298000" name="plugin_file.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/headlessclient.jar.jnlp" version="1355298298000" name="plugin_headlessclient.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/http.jar.jnlp" version="10829636689000" name="plugin_http.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/images.jar.jnlp" version="5408444175000" name="plugin_images.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/it2be-cryptor.jar.jnlp" version="4053145875000" name="plugin_it2be-cryptor.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/it2be-ftp.jar.jnlp" version="5408444186000" name="plugin_it2be-ftp.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/it2be-tools.jar.jnlp" version="2697847574000" name="plugin_it2be-tools.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/mail.jar.jnlp" version="1355298319000" name="plugin_mail.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/maintenance.jar.jnlp" version="1355298319000" name="plugin_maintenance.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/pdf_output.jar.jnlp" version="6763742594000" name="plugin_pdf_output.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/rawSQL.jar.jnlp" version="1355298337000" name="plugin_rawSQL.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/scheduler.jar.jnlp" version="5408444122000" name="plugin_scheduler.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/serialize.jar.jnlp" version="5408444054000" name="plugin_serialize.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/servoy_jasperreports.jar.jnlp" version="20329420962000" name="plugin_servoy_jasperreports.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/servoyguy_spellcheck_pro.jar.jnlp" version="10829638446000" name="plugin_servoyguy_spellcheck_pro.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/spellcheck.jar.jnlp" version="1355298459000" name="plugin_spellcheck.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/tabxport.jar.jnlp" version="1355298459000" name="plugin_tabxport.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/udp.jar.jnlp" version="1355298459000" name="plugin_udp.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/velocityreport.jar.jnlp" version="17593381455000" name="plugin_velocityreport.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/web_client_utils.jar.jnlp" version="1355298487000" name="plugin_web_client_utils.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/window.jar.jnlp" version="1355298488000" name="plugin_window.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/xml.jar.jnlp" version="12184935664000" name="plugin_xml.jar"/>
   <extension href="http://episource6.episource.co.uk/servoy-client/plugins/xmlreader.jar.jnlp" version="1355298488000" name="plugin_xmlreader.jar"/>
 </resources>
 <application-desc main-class="com.servoy.j2db.smart.J2DBClient">
   <argument>system.property.apple.laf.useScreenMenuBar:true</argument>
 </application-desc>
</jnlp> ]
       at com.sun.javaws.Launcher.prepareLaunchFile(Launcher.java:797)
       at com.sun.javaws.Launcher.prepareAllResources(Launcher.java:597)
       at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:336)
       at com.sun.javaws.Launcher.prepareToLaunch(Launcher.java:208)
       at com.sun.javaws.Launcher.launch(Launcher.java:125)
       at com.sun.javaws.Main.launchApp(Main.java:451)
       at com.sun.javaws.Main.continueInSecureThread(Main.java:283)
       at com.sun.javaws.Main$1.run(Main.java:116)
       at java.lang.Thread.run(Thread.java:680)

It says JRE not installed, but it is and worked before after running the apple fix.

Its just broken now with no change to Servoy or the machine, and we are getting more complaints by the minute from mac users.

Have apple done something remotely!

Hi David,

I know this is not going to help you in any way but I have this issue on my developer machine for a couple of months now.

I can use Java apps, can use Java from the command line, can start Eclipse, can run a debug client, can run Servoy Server but running a runtime client is just not possible.

I have tried several things but still don’t know why this happens…

All of our (mac) customers have reported the same problem this morning. At the moment we still do not know what happened… :?

Apple did release a Macbook Pro Firmware update today.

They also released a new beta version of 10.8.3 today.

Both have nothing to do with Java but you never know…

We have the same problem.

For now I just installed the latest java 7 and restored the symlink to javaws while researching/waiting for a fix

sudo ln -sf /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/javaws /usr/bin/javaws

I have a (large) customer with the same issue. And I see the same thing with my own servers. Seems Mac OS X only.
Will investigate further…

but what did really happen this morning?
What update(s) did install on those macs, because serverside i guess nothing did change.
So it has to be some change on the mac.

also what i am wondering
does this affect all jnlp programs?

what happens if you do want to start:

www.jfree.org/jfreechart/jfreechart-1.0.13-demo.jnlp

as an example?

No updates have been done to the macs. I know because my support guy has had it. The issue occurred on my secretary’s machine yesterday, when Kristian came in this morning and double clicked he got the JRE 1.7 not found error.

He emptied the cache and downloaded servoy again and then double clicks and nothing happens. The console says JRE not found.

He has not changed anything on the mac. The mac has only an itunes update pending, nothing else.

The only thing that has happened is our servoy instance will have been restarted at 4 am through the web console. it is running 6.0.8.

Its as if Apple has done something without anyone knowing or asking!

Nothing new installed no. I looks more like Apple put a time-bomb in Java 6 or something.
I believe tomorrow is the date that Java 6 is EOL anyway (or is it half of feb.)

Yes Johan, that link doesnt work either!

David

ok what happens then if you just reinstall the latest java 7 that there is now (i know browser suite has a problem with that, but i think the rest should work)

One machine is 10.6.8!!! so cant even do that. It has never had Java 1.7 on it!

I will try to find the 1.6 install, which i think is somewhere on apple forums

ok
people that do work are on:

java 1.6.0_35

people that now seem to be broken:

java 1.6.0_37

so downgrade to _35 if possible that seems to help

I wonder if we can download the older Java version. If you know a download link please share.
The thing is that Java 7 is only available for 64bit machines. I kinda doubt that it will install on older (not that old) Macs.
IF this is the case then this is a MAJOR issue for a bunch of Mac-based sites.

Some more information here.

After ignoring the apple java update that did remove the java webstart for a couple of weeks, I clicked update by accident 2 weeks ago.
This forced me to follow the apple fix for that, but I couldn’t really make it work again.
I noticed that my java-preferences app was gone and restored that from my time-machine backup.

After ticking the ‘Enable applet plug-in and Web Start applications’ checkbox it all worked fine again.
But reading this post I noticed Johan’s link wasn’t working.
A quick look at the above checkbox learned it had been unticked again.

I remember installing another Mac update after that, but as stated above: that didn’t involve any Java changes.

Anyway, I just ticked that checkbox again and everything works as before again…

Does anyone have a link. Most of the apple Java links have gone and only 37 is showing?!

On our customers Macs with OS X 10.7.5 I have both Java 1.6.0_35 and 1.6.0_37.

But always the same:
com.apple.JavaWebStart: Bad installation. No JRE found in configuration file: No such file or directory

I tried running Servoy on a Mac with OS X 10.7.5 and it seems that also Java 1.6.0_35 is not working!

But Servoy Smart-Client is working on my Mac with OS X 10.8.2 and Java 1.6.0_37!?

Only a couple of our customers can work with their Servoy solution today! The rest is not amused…

Regards

Found a solution via the Apple forum.

Use the following command in the terminal:

sudo /usr/libexec/PlistBuddy -c "Delete :JavaWebComponentVersionMinimum" /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.plist

This of course will be a temporary fix because this file is being managed by Apple. But at least it will get you going again.

Hope this helps.

Credits to the fine people of MoovIT:
http://moovit.de/index.php/TechBlog/Tec … er-restart