Using Rapidminer in an Applet
Zdenek
New Altair Community Member
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?
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);
0
Answers
-
Hi,
did you try to avoid creating an OperatorDescription and instead create the Operator via OperatorService.createOperator(Operator.class)?
Greetings,
Sebastian0 -
Yes, I have tried:
OperatorService.createOperator(com.rapidminer.operator.learner.tree.DecisionTreeLearner.class);
but I got only:com.rapidminer.operator.OperatorCreationException:
I think the problem is don't call RapidMiner.init(); method, becase initializaton itself causes unsigned applet security exception.
No operator description object given for 'com.rapidminer.operator.learner.tree.DecisionTreeLearner
at com.rapidminer.tools.OperatorService.createOperator(OperatorService.java:429)
....
So the question should be probably reformulated to: How to initialize Rapidminer in an unsigned applet?0