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
Problem init rapid miner
Hello I`m new in RapidMiner and I try to integrate with a java web application, in this application I want to call a static method who will initiate the rapid miner and then it loads a rmp file.
no error is listed after I restart the tomcat 6 server i have a classNotFoundException. How can I resolve the problem. I use RapidMiner 5 and Netbeans IDE Please, .... Help...
when the init method is run the tomcat console shows the this 3 line and nothing happens the cursor just jump over the rest of the method (check)
static public void check(String _fileToCheck) throws Exception {
System.setProperty("rapidminer.home", "C:/Program Files/Rapid-I/RapidMiner5");
try {
RapidMiner.init();
RapidMiner.readProcessFile(new File(_fileToCheck));
} catch (InstantiationException ex) {
ex.printStackTrace();
} catch (IllegalAccessException ex) {
ex.printStackTrace();
} catch (XMLException ex) {
ex.printStackTrace();
} catch (IOException ex) {
ex.printStackTrace();
} catch (Exception ex) {
ex.printStackTrace();
}
}
no error is listed after I restart the tomcat 6 server i have a classNotFoundException. How can I resolve the problem. I use RapidMiner 5 and Netbeans IDE Please, .... Help...
2010-03-14 22:34:43 CONFIG: Locale not specified explicitly. Set default locale to US. (RapidMiner.init())
2010-03-14 22:34:44 CONFIG: Initializing I18N (RapidMiner.splashMessage())
2010-03-14 22:34:44 CONFIG: Ensuring RapidMiner Home is set (RapidMiner.splashMessage())
please help i think this is a bug because I do not have in RapidMiner (5.0) class the static var PROPERTY_RAPIDMINER_HOME but is define in src files. ....
java.lang.ClassNotFoundException: com.rapid_i.Launcher
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
at com.rapidminer.tools.ParameterService.ensureRapidMinerHomeSet(ParameterService.java:63)
at com.rapidminer.RapidMiner.init(RapidMiner.java:373)
at rapidminer.checkRmp.check(checkRmp.java:19)
at Controllers.admin.processes.cProcess.doPost(cProcess.java:90)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at filters.administrator.doFilter(administrator.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at filters.SecurityFilter.doFilter(SecurityFilter.java:64)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:619)
0
Answers
I think you didn't configure the class path correctly. It seems to me, that the src_generated and src_launcher directories or RapidMiner aren't part of the class patch.
Greetings,
Sebastian