Previous 1 2 Next 16 Replies Latest reply: Aug 12, 2013 10:51 PM by hariharanfrmblr
hariharanfrmblr Level 1 (0 points)

I have developed sample COCOA-64 bit web application using Webkit Framework with all plug In settings enabled (setJavaEnabled:YES setPlugInsEnable:YES). I have tried to load Juniper SSL webvpn url which in turn uses Java applet plug-In to launch VPN connection in the webview. This completely works fine in Java SE 6 (the previous version of Java) in 10.8.2 .

 

But the Juniper Java applet has been failed to load after updating OS X 10.8.2 to latest Java SE 7 from Oracle (version 1.7.0_09). I dont know the reason why plugin is fails in my sample always. Every thing works fine with Safari.

 

 

 

Thanks in advance.Any help would be appreciated.

 

Note: Test java applet url (http://www.java.com/en/download/testjava.jsp) to check the Java version always shows "plug-in Failure"msg in my sample application.

.Screen Shot -PlugIn failure.png


MacBook Pro, Mac OS X (10.7.2), In 10.6.8 also its happening.
  • yoel_us Level 1 (0 points)

    Did you find a solution for this? I seem to have exactly the same problem and the irritating bit is that it works just fine in Safari and FireFox

  • hariharanfrmblr Level 1 (0 points)

    Thanks for your reply,

     

    I didn't resolve this issue yet, It looks like the Java applet that web page tries to load is not compatible once after I had upgraded to latest Java (version 1.7.0_09).

     

    But the workaround for this issue is restore back the previous version of Java. (Java SE 1.6.0_37) provided by apple.

     

    Refer this link : http://support.apple.com/kb/HT5559

  • yoel_us Level 1 (0 points)

    Thanks, as you suggested I restored it back to Java SE 1.6.0_37 and seems to work okay. I do wonder how is that Safari and FireFox work just fine and not WebView. Also, although this might be a different question I appologise for that, did your WebView could access the Java Plug-in (with Java SE 1.6.0_37) after you sandbox it?

     

    In any case, thanks for letting me know that this is an unresolved issue.

  • hariharanfrmblr Level 1 (0 points)

    I haven't tried by sandboxing my application, but I could feel accessing Plug-in from sandboxed web application is not an issue, you can access it.

  • yoel_us Level 1 (0 points)

    I agree with you. I feel that should be just easy yet I loose the Java Plug-in capability of my WebView once I tick that box on Xcode. And if I untick it the WebView plays the Java Applet just fine. Clearly some extra work is required to allow the WebView access the Java Plug-in in the sandbox but I haven't figure out what and haven't found literature/blog about it.

  • etresoft Level 7 (27,813 points)

    Do you get this error with anything other than Juniper? Juniper's software is pretty flaky. It breaks on a regular basis and can't be upgraded by anyone other than your company's IT department.

  • hariharanfrmblr Level 1 (0 points)

    Yes , I am facing the Plug-In failure issue with other urls also. Its failing to load Java plugin, not only with Juniper.

     

    Example : http://www.java.com/en/download/testjava.jsp

  • lcamargo2 Level 1 (0 points)

    Hi, did you find a solution for this issue? We also have a Cocoa 64-bit application that uses WebKit and the plugin crashes for us too.

     

    We can reproduce the problem using a simple project that just loads the  http://www.java.com/en/download/testjava.jsp URL into a WebView. The plugin works fine on 10.7.5, but crashes on 10.8.2.

     

    We started experiencing this problem with the 1.7u11 version of the plugin. Version 1.7u10 worked fine.

  • hariharanfrmblr Level 1 (0 points)

    I didn't find the answer to resolve this issue. For me no matter Java 7 is not at all working in my sample web appication on Mountain lion.I am seeing "plugIn-failure" msg always. (for 1.7u9 or 1.7u10 or 1.7u13).

  • Michael Fort Level 1 (25 points)

    I used to have the same problem with WebView based applications, but am now able to run them fine.

     

    To get the Juniper Network Connect VPN client to work, I needed to modifying some Java settings.  I am using Mac OS X 10.8.4 (Mountain Lion), Java 7 Update 25, and Network Connect version 7.3.3.  This method may not be ideal for all users/situations, so please check with your network and/or security folks FIRST for proper advice.

     

    In the Java control panel, go to 'Advanced' tab, scroll down to 'Mixed Code (sandboxed vs. trusted) security

    verification' and choose 'Disable verification (not recommended)'.

  • hariharanfrmblr Level 1 (0 points)

    Hi Michel,

                Yes me too found Java7update25 will work successfully on OSX10.8.4 and I am able use java applet. But the same issue now I am facing with OS X10.7.5(Lion) java applet fails to load in webview.

  • Michael Fort Level 1 (25 points)

    Did you do what I mentioned in the last paragraph which is:

     

    In the Java control panel (Via System Preferences), go to 'Advanced' tab, scroll down to 'Mixed Code (sandboxed vs. trusted) security verification' and choose 'Disable verification (not recommended)'.

  • hariharanfrmblr Level 1 (0 points)

    Yes I have tried choose 'Disable verification (not recommended)' option also. but no help.still the same problem.

  • Michael Fort Level 1 (25 points)

    I have 'Enable Java content in the browser' set.

    I have Security Level set to 'High (minimum recommended)' right now, but I thought I had it on 'Medium'.

    For manage certificates, I removed the Trusted Certificate for 'User' that was used by the WebView application (Network Connect).

    Under advanced, debugging has no check boxes, java console is not started, shortcut creation is prompt user if hinted, jnlp is prompt user, application installation is install if hinted, secure execution evironment is top 5 boxes checked and sixth unchecked, mixed code is disable verification, perform certificate revocation  is all certificates in the chain of trust, check for certificate revocation is both CRL and OCSP, advanced security is first 3 boxes checked as well as SSL 3.0 and TLS 1.0.

     

    Good luck

Previous 1 2 Next