The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

Using Rapidminer in an Applet

ZdenekZdenek Member Posts: 2 Contributor I
edited November 2018 in Help
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);
Tagged:

Answers

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

    Greetings,
      Sebastian
  • ZdenekZdenek Member Posts: 2 Contributor 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 In or Register to comment.