Details

    • Type: Sub Task Sub Task
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-13348KRAD Client Sample App using standalone datasource instead of client
      KULRICE-11774Create performance test environment: Standalone Server Oracle, Rice Sample App Client Oracle, KRAD Client Oracle
      KULRICE-11775Create performance test environment: Standalone Server MySQL, KRAD Client MySQL, Rice Sample App Client MySQL
      KULRICE-10632Test env for client app using standalone
      KULRICE-5665Implement the ability to run rice sample app as a seperate application integrated with the Rice Standalone Server, put process in place to automatically deploy to a test environment using CI
      KULRICE-13524Rice Performance Client App Double Login
      KULRICE-12183Configure KRAD sample app on Developer Environment Setup
      KULRICE-7736NullPointerException in generated Sample App for Rice 2.1.0
      KULRICE-2932rice-config.xml for deployment of standalone server
      KULRICE-6818address client app <-> standalone server implications of comparisonOperatorService
    • Rice Module:
      Rice Core
    • Application Requirement:
      Rice
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      The basic outline of what you're doing here is set out here: https://wiki.kuali.org/display/KULRICE/How+To+Run+the+Rice+Sample+Application under the heading 'Running in Standalone Mode'. There are some details that seem to be missing though.

      • This should – theoretically at least – run with the sample app using a separate database that can be created using the maven impex plugin from the db/impex/client/demo directory (you'll want to use the appropriate flags so that you don't clobber your database for the Rice standalone server – see https://wiki.kuali.org/display/KULRICE/Load+Impex+Data+via+Maven?focusedCommentId=313854576#comment-313854576).
      • There is also some anecdotal information from the collab mailing list that the modules in the sample app aren't correctly set to be in REMOTE mode. Adding this to your sample-app-config.xml might help somewhat (credit to James Renfro for this info):
          <param name="location.mode">REMOTE</param>
          <param name="coreservice.mode">REMOTE</param>
          <param name="ken.mode">REMOTE</param>
          <param name="kim.mode">REMOTE</param>
          <param name="kew.mode">REMOTE</param>
          <param name="krms.mode">REMOTE</param>
          <param name="ksb.mode">REMOTE</param>
        

      Do your best to get this configuration working, and make improvements to that wiki documentation as you go.

        Activity

        Hide
        Peter Giles (Inactive) added a comment -

        Hey Jeff, this is bound to be a tricky task, please don't bang your head against the wall before coming to me with questions!

        Show
        Peter Giles (Inactive) added a comment - Hey Jeff, this is bound to be a tricky task, please don't bang your head against the wall before coming to me with questions!
        Hide
        Jeff Ruch added a comment -

        I was able to get the standalone app working from both maven (command prompt) and using the IntelliJ profile, both with Tomcat 6 and MySQL. Below are the basic steps I took.

        • Created ricetest database (https://wiki.kuali.org/display/KULRICE/Load+Impex+Data+via+Maven)
        • Manually gave the RICE user access to the database. I did this using the MySQL Workbench tool.
        • Install Oracle JDBC Driver (https://wiki.kuali.org/display/STUDENTDOC/3.1.2+Install+the+Oracle+JDBC+Driver). This is needed due to a recent release bug.
        • Ran maven install (skipping test)
        • Added rice-config.xml (attached) to my

        {home}

        /kuali/main/dev directory (this is the only file you need)
        • If you run the IntelliJ profile the URL is: http://localhost:8080/kr-dev
        • If you run using maven (https://wiki.kuali.org/display/KULRICE/How+To+Run+the+Rice+Sample+Application) the URL is: http://localhost:9090/standalone

        Be aware that by default, the standalone app is configured to run under port 8080. If you run it through maven, you will need to change the configuration to point to 9090. Let me know if I can help further.

        Show
        Jeff Ruch added a comment - I was able to get the standalone app working from both maven (command prompt) and using the IntelliJ profile, both with Tomcat 6 and MySQL. Below are the basic steps I took. • Created ricetest database ( https://wiki.kuali.org/display/KULRICE/Load+Impex+Data+via+Maven ) • Manually gave the RICE user access to the database. I did this using the MySQL Workbench tool. • Install Oracle JDBC Driver ( https://wiki.kuali.org/display/STUDENTDOC/3.1.2+Install+the+Oracle+JDBC+Driver ). This is needed due to a recent release bug. • Ran maven install (skipping test) • Added rice-config.xml (attached) to my {home} /kuali/main/dev directory (this is the only file you need) • If you run the IntelliJ profile the URL is: http://localhost:8080/kr-dev • If you run using maven ( https://wiki.kuali.org/display/KULRICE/How+To+Run+the+Rice+Sample+Application ) the URL is: http://localhost:9090/standalone Be aware that by default, the standalone app is configured to run under port 8080. If you run it through maven, you will need to change the configuration to point to 9090. Let me know if I can help further.
        Hide
        Jeff Ruch added a comment -

        I was able to get the standalone app working from both maven (command prompt) and using the IntelliJ profile, both with Tomcat 6 and MySQL. Below are the basic steps I took.

        • Created ricetest database (https://wiki.kuali.org/display/KULRICE/Load+Impex+Data+via+Maven)
        • Manually gave the RICE user access to the database. I did this using the MySQL Workbench tool.
        • Install Oracle JDBC Driver (https://wiki.kuali.org/display/STUDENTDOC/3.1.2+Install+the+Oracle+JDBC+Driver). This is needed due to a recent release bug.
        • Ran maven install (skipping test)
        • Added rice-config.xml (attached) to my

        {home}

        /kuali/main/dev directory (this is the only file you need)
        • If you run the IntelliJ profile the URL is: http://localhost:8080/kr-dev
        • If you run using maven (https://wiki.kuali.org/display/KULRICE/How+To+Run+the+Rice+Sample+Application) the URL is: http://localhost:9090/standalone

        Be aware that by default, the standalone app is configured to run under port 8080. If you run it through maven, you will need to change the configuration to point to 9090. Let me know if I can help further.

        Show
        Jeff Ruch added a comment - I was able to get the standalone app working from both maven (command prompt) and using the IntelliJ profile, both with Tomcat 6 and MySQL. Below are the basic steps I took. • Created ricetest database ( https://wiki.kuali.org/display/KULRICE/Load+Impex+Data+via+Maven ) • Manually gave the RICE user access to the database. I did this using the MySQL Workbench tool. • Install Oracle JDBC Driver ( https://wiki.kuali.org/display/STUDENTDOC/3.1.2+Install+the+Oracle+JDBC+Driver ). This is needed due to a recent release bug. • Ran maven install (skipping test) • Added rice-config.xml (attached) to my {home} /kuali/main/dev directory (this is the only file you need) • If you run the IntelliJ profile the URL is: http://localhost:8080/kr-dev • If you run using maven ( https://wiki.kuali.org/display/KULRICE/How+To+Run+the+Rice+Sample+Application ) the URL is: http://localhost:9090/standalone Be aware that by default, the standalone app is configured to run under port 8080. If you run it through maven, you will need to change the configuration to point to 9090. Let me know if I can help further.
        Hide
        Jeff Ruch added a comment -

        Leaving open until user confirms issue is resolved.

        Show
        Jeff Ruch added a comment - Leaving open until user confirms issue is resolved.
        Hide
        Jeff Ruch added a comment -

        Instructions have been provided in ticket. The primary issue was the configuration file was incorrect in the documentation.

        Show
        Jeff Ruch added a comment - Instructions have been provided in ticket. The primary issue was the configuration file was incorrect in the documentation.

          People

          • Assignee:
            Jeff Ruch
            Reporter:
            Peter Giles (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Structure Helper Panel