"Error while executing read database operator in rapidminer process via jsp"

JBhullar
JBhullar New Altair Community Member
edited November 2024 in Community Q&A
I have a Rapidminer process of classification taking the input with "Read Database" operator. The process is well executed in Rapidminer studio as well as via JAVA class in Netbeans. But when I try to call that java class via jsp, It throws following exception:
javax.servlet.ServletException: com.rapidminer.operator.UserError: The dummy operator Read Database (replacing jdbc_connectors:read_database) cannot be executed.

How can I resolve it?

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    the DB code is in a closed-source extension and not part of the publicly available sources.

    Regards,
    Marco
  • JBhullar
    JBhullar New Altair Community Member
    but the code runs well in java class and displays the output in console too.... the exception is only thrown when the java method is called from a jsp page. Isn't there any alternative to do this? I have this as my thesis project. please tell me if there is any solution to this problem.
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    you'd need to add the JDBC extension to the classpath. But that will probably trigger an unsigned code warning for which I don't see a solution for you right now..

    Regards,
    Marco
  • mmarag
    mmarag New Altair Community Member
    Dear Marco,

    i am facing the same issue. What do you mean by the sentence: you'd need to add the JDBC extension to the classpath.
    please explain the steps or send a URL of similar task

    Regards
    MM
  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    in case you have an OEM license, please contact us via support for instructions on how to do this. The database handling code is simply not available under AGPL.

    Regards,
    Marco
  • Porkung021
    Porkung021 New Altair Community Member

    - -"

  • Thomas_Ott
    Thomas_Ott New Altair Community Member

    If you have an OEM liscense, please contact RapidMiner support if you have problems.