Using Rapidminer in an Applet

ZdenekZdenek MemberPosts:2Contributor I
edited November 2018 inHelp
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 wayhow 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);
Tagged:

Answers

  • landland RapidMiner Certified Analyst, RapidMiner Certified Expert, MemberPosts:2,531Unicorn
    Hi,
    did you try to avoid creating an OperatorDescription and instead create the Operator via OperatorService.createOperator(Operator.class)?

    Greetings,
    Sebastian
  • ZdenekZdenek MemberPosts:2Contributor I
    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?
Sign InorRegisterto comment.