Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

1. Navigate to grouper-ui\webapp\WEB-INF\build.properties and specify the path to your Tomcat installation folder.

Code Block
languagebash
...
domain=/Users/apache-tomcat/webapps
serverhome=/Users/apache-tomcat

2. From the grouper root directory, execute:

Code Block
languagebash
ant all

The result will be GroupsManager.war that will exist inside Tomcat\webappsthe ${domain} directory.

Test

1. Modify your Tomcat\conf\ ${server}/conf/tomcat-users.xml file to include the following snippet:

...

2. Open up a command prompt, and navigate to grouper/grouper directory and execute:

Code Block
languagehtml/xml
start-hsql.[sh|bat]

 

. This will spin up an HSQL database instance. Keep this running in the background.

3. Navigate to http://localhost:8080/GroupsManager, authenticate with GrouperSystem/GrouperSystem and you should see the grouper home page.

...

1. In your Tomcat\bin directory, locate the startup.[bat|sh] and include the following lines at the top:

Code Block
languagebash
set JPDA_ADDRESS=8000
set JPDA_TRANSPORT=dt_socket

2. In your IDE IDE (Eclipse or IntelliJ IDEA) set up a remote debugger that would connect to port 8000. Here is a snapshot of what it would look like in IDEA:

...

3. Restart Tomcat. In the tomcat log, you should see an entry that says "Listening for transport :

Code Block
languagebash
Listening for transport dt_socket at address: 8000

...


...

4. In your IDE, attach the debugger to the new remote debugger (Tomcat above) you created by starting a new debug session. 

...