...
Code Block |
---|
Chriss-MacBook-Air:grouper-installer mchyzer$ java -jar grouperInstaller.jar Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation, 'patch' an existing installation, 'admin' utilities, or 'createPatch' for Grouper developers (enter: 'install', 'upgrade', 'patch', 'admin', 'createPatch' or blank for the default) [admin]: What admin action do you want to do (manage, upgradeTask)? : manage Enter in the Grouper install directory (note: better if no spaces or special chars) : /Users/mchyzer/tmp/grouperInstaller What do you want to manage (logs, services, back, exit)? : logs What do you want to look at logs for? api, ui, ws, pspng, or psp? [api]: ui Find where the application is running, then find the log4j.properties in the classpath. Tomcat logs STDOUT and STDERR to the catalinaErr.log and catalinaOut.log logfiles, which should be here: /Users/mchyzer/tmp/grouperInstaller/apache-tomcat-6.0.35/logs Locate the logs files. By default the installer has the UI running based on the tomcat server.xml, but could also run in the webapps dir. The server.xml is located: /Users/mchyzer/tmp/grouperInstaller/apache-tomcat-6.0.35/conf/server.xml What is the URL starting path? [grouper]: grouper Looking for an entry in the server.xml that looks like this: <Context docBase="/Users/mchyzer/tmp/grouperInstaller/grouper.ui-2.3.0/dist/grouper" path="/grouper" reloadable="false"/> The docBase for the grouper entry in the server.xml is: /Users/mchyzer/tmp/grouperInstaller/grouper.ui-2.3.0/dist/grouper The log4j.properties is located in: /Users/mchyzer/tmp/grouperInstaller/grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/log4j.properties Examine the log4j.properties to see where it is logging Generally the log4j.rootLogger property shows where logs go, it is set to: ERROR, grouper_error The log4j.rootLogger property in log4j.properties is set to: grouper_error There is a property in log4j.properties: log4j.appender.grouper_error.File = /Users/mchyzer/tmp/grouperInstaller/apache-tomcat-6.0.35/logs/grouperUi/grouper_error.log Grouper log should be: /Users/mchyzer/tmp/grouperInstaller/apache-tomcat-6.0.35/logs/grouperUi/grouper_error.log Press <enter> to continue. What do you want to manage (logs, services, back, exit)? : exit Chriss-MacBook-Air:grouper-installer mchyzer$ |
UI logs not from installer
Code Block |
---|
[appadmin@i2midev1 patchesAuto]$ java -jar grouperInstaller.jar
Do you want to 'install' a new installation of grouper, 'upgrade' an existing installation,
'patch' an existing installation, 'admin' utilities, or 'createPatch' for Grouper developers
(enter: 'install', 'upgrade', 'patch', 'admin', 'createPatch' or blank for the default) [install]: admin
What admin action do you want to do (manage, upgradeTask)? : manage
Enter in the Grouper install directory (note: better if no spaces or special chars) [/opt/grouper/2.3/patchesAuto]: /opt/tomcats/tomcat_f
What do you want to manage (logs, services, back, exit)? : logs
What do you want to look at logs for? api, ui, ws, pspng, or psp? [api]: ui
Find where the application is running, then find the log4j.properties in the classpath.
Tomcat logs STDOUT and STDERR to the catalinaErr.log and catalinaOut.log logfiles, which should be here: /opt/tomcats/tomcat_f/logs
Locate the UI application files.
By default the installer has the UI running based on the tomcat server.xml, but could also run in the webapps dir.
The server.xml is located: /opt/tomcats/tomcat_f/conf/server.xml
What is the URL starting path? [grouper]: grouper_v2_3
Looking for an entry in the server.xml that looks like this:
<Context docBase="/opt/tomcats/tomcat_f/grouper.ui-2.3.0/dist/grouper" path="/grouper_v2_3" reloadable="false"/>
The docBase could not be found in the server.xml, check in the tomcat/webapps directory
The log4j.properties is located in: /opt/tomcats/tomcat_f/webapps/grouper_v2_3/WEB-INF/classes/log4j.properties
Examine the log4j.properties to see where it is logging
Generally the log4j.rootLogger property shows where logs go, it is set to: ERROR, grouper_error
The log4j.rootLogger property in log4j.properties is set to: grouper_error
There is a property in log4j.properties: log4j.appender.grouper_error.File = /opt/tomcats/tomcat_f/logs/grouper_v2_3/grouper_error.log
Grouper log should be: /opt/tomcats/tomcat_f/logs/grouper_v2_3/grouper_error.log
Press <enter> to continue.
What do you want to manage (logs, services, back, exit)? : exit
[appadmin@i2midev1 patchesAuto]$ |
Admin - Upgrade - Convert ehcache XML to properties
...