This forum has been archived. Please start a new discussion on GitHub.

Is it possible using ICE with Java applet?

If it is,please tell me how to do that,Thanks!


  • benoit
    benoit Rennes, France
    I don't think we ever tried it but I don't see any reasons why it wouldn't be possible as long as you include the Ice runtime with the applet classes and as long as your applet as sufficient permissions to establish and/or receive network communications. Let us know how it goes!

  • Applet and Ice

    I did try to use Ice from applet. To do so, I have put Ice.jar on the web and mentioned it in the <applet> tag.
    Everything goes smooth until the applet wants to initialize communicator with Ice.Util.initialize.

    During the initialization Ice seem to try to read(?) stdout,
    and gets security exception as a result.

    Is there any possible way to avoid the exception?
    Tell me if you need any additional details.. (I have seen this thread,
    but for our applet changing permissions is not possible - it is going to work on usual web for usual people, out of the box)

    Thank you.

    Ice version: 3.1
    StackDump: access denied (java.util.PropertyPermission Ice.StdOut read)
    at Source)
    at Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at Ice.PropertiesI.getProperty(
    at IceInternal.Instance.<init>(
    at Ice.CommunicatorI.<init>(
    at Ice.Util.initialize(
    at Ice.Util.initialize(

  • Signature.

    Sorry, I have forgot to attach my signature.
    Here it is:
  • benoit
    benoit Rennes, France
    Hi and welcome to the forums!

    We currently don't provide support for Java applets. If you have a commercial need for this feature, please contact us at

  • Thanks for super-fast reply.

    Hi Benoit,

    I have send the request to info@

    Thank you for the prompt reply.

  • Applet and Ice

    The Applet have not sufficient permissions at reading config file at local and logger the states.
    During the initialization , the Ice read the config file by the class, which is forbidden in application of Applet. and you can change the FileInputStream to the URL in Ice src, then it can work.

    note: close all logger, such as Ice.Trace.Network, IceSSL.Trace.Security, which are not support by applet

    Good luck!