Details

    • Type: Sub Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • 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.

        Attachments

          Activity

          Hide
          gilesp 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
          gilesp 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
          jruch 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
          jruch 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
          jruch 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
          jruch 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
          jruch Jeff Ruch added a comment -

          Leaving open until user confirms issue is resolved.

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

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

          Show
          jruch 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:
              jruch Jeff Ruch
              Reporter:
              gilesp Peter Giles (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: