Using Rapidminer in an Applet

User: "Zdenek"
New Altair Community Member
Updated by Jocelyn
Hi there,
I use some rapidminer operators in an applet, but when I tried to deploy, I get a plenty of security errors. For example, great problem is creating OperatorDescription, because I cant get ClassLoader.getSystemClassLoader() in an unsigned applet. Is there a way how to avoid using signed applets?
operatorDescription = new OperatorDescription(
  ClassLoader.getSystemClassLoader(),
  "DecisionTreeLearner",
  "com.rapidminer.operator.learner.tree.DecisionTreeLearner",
  "description can be written here", null, null, null);

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "land"
    New Altair Community Member
    Hi,
    did you try to avoid creating an OperatorDescription and instead create the Operator via OperatorService.createOperator(Operator.class)?

    Greetings,
      Sebastian
    User: "Zdenek"
    New Altair Community Member
    OP
    Yes, I have tried:
    OperatorService.createOperator(com.rapidminer.operator.learner.tree.DecisionTreeLearner.class);
    but I got only:
    com.rapidminer.operator.OperatorCreationException: 
          No operator description object given for 'com.rapidminer.operator.learner.tree.DecisionTreeLearner
          at com.rapidminer.tools.OperatorService.createOperator(OperatorService.java:429)
           ....
    I think the problem is don't call RapidMiner.init(); method, becase initializaton itself causes unsigned applet security exception.
    So the question should be probably reformulated to: How to initialize Rapidminer in an unsigned applet?