...
Expand |
---|
Now that we have a Grouper database and some test subjects, the next step is to add the grouper-ui/webapp directory to the Eclipse Tomcat launcher so we can run and debug the grouper-ui. Replace the tomee/lib/hsql jar with the one from grouper-ui/target/dependencyAdd Tomcat server to Eclipse:
Add grouper-ui web module to Tomcat Server
Configure Server Location
Configure Tomcat Server Working Directory to direct Grouper logs
Grouper logs will now show up under ../grouper-ui/webapp/WEB-INF/logs |
Create Grouper Users in tomcat-user.xml
Add GrouperSystem and test.subject.0 through 9 to tomcat-user.xml
- Add the following to ../apache-tomee-webprofile-7.0.7/conf/tomcat-users.xml
Expand |
---|
< role rolename = "grouper_user" /> < user username = "GrouperSystem" password = "" roles = "grouper_user" /> < user username = "test.subject.0" password = "" roles = "grouper_user" /> < user username = "test.subject.1" password = "" roles = "grouper_user" /> < user username = "test.subject.2" password = "" roles = "grouper_user" /> < user username = "test.subject.3" password = "" roles = "grouper_user" /> < user username = "test.subject.4" password = "" roles = "grouper_user" /> < user username = "test.subject.5" password = "" roles = "grouper_user" /> < user username = "test.subject.6" password = "" roles = "grouper_user" /> < user username = "test.subject.7" password = "" roles = "grouper_user" /> < user username = "test.subject.8" password = "" roles = "grouper_user" /> < user username = "test.subject.9" password = "" roles = "grouper_user" /> |
Run Grouper from Eclipse
Expand |
---|
Start Tomcat from Eclipse by selecting the server under the Servers tab and clicking the green ‘Run’ button. Grouper UI should be available at http://localhost:8080/grouper. You should be able to log in with GrouperSystem or any of the test subjects and no password. Debug Grouper from Eclipse
|
...