grouper-dev - [grouper-dev] RE: grouper installer enhancements
Subject: Grouper Developers Forum
List archive
- From: Chris Hyzer <>
- To: Grouper Dev <>
- Subject: [grouper-dev] RE: grouper installer enhancements
- Date: Wed, 18 Jan 2012 07:58:37 +0000
- Accept-language: en-US
All 2.0 branch changes are merged forward to trunk (2.1.0) (in all grouper projects), the 2.1.0 installer works (after some tweaking). Here are the commands: [mchyzer@i2mibuild installer]$ wget http://www.internet2.edu/grouper/release/2.1.0/grouperInstaller.jar [mchyzer@i2mibuild installer]$ java -jar grouperInstaller.jar Here is the output: [mchyzer@i2mibuild installer]$ wget http://www.internet2.edu/grouper/release/2.1.0/grouperInstaller.jar --2012-01-18 02:18:03-- http://www.internet2.edu/grouper/release/2.1.0/grouperInstaller.jar Resolving www.internet2.edu... 207.75.164.151, 2001:48a8:68fe::151 Connecting to www.internet2.edu|207.75.164.151|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1577780 (1.5M) [application/x-java-archive] Saving to: `grouperInstaller.jar' 100%[==========================================================================================>] 1,577,780 --.-K/s in 0.02s
2012-01-18 02:18:03 (84.5 MB/s) - `grouperInstaller.jar' saved [1577780/1577780] [mchyzer@i2mibuild installer]$ java -jar grouperInstaller.jar Enter in the Grouper install directory (note: better if no spaces or special chars) [/home/mchyzer/2.1.0/installer]:
Installing grouper version: 2.1.0 Downloading from URL: http://www.internet2.edu/grouper/release/2.1.0/grouper.apiBinary-2.1.0.tar.gz to file: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0.tar.gz Expanding: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0.tar Do you want to set gsh script to executable (t|f)? [t]:
Making sure gsh.sh is executable with command: chmod +x /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh Making sure gsh.sh is in unix format: dos2unix /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh to UNIX format ... Do you want to use the default and included hsqldb database (t|f)? [t]:
Editing /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties:
- property hibernate.connection.url already was set to: jdbc:hsqldb:hsql://localhost/grouper, not changing file - property hibernate.connection.username already was set to: sa, not changing file - property hibernate.connection.password already was set to: , not changing file Do you want this script to start the hsqldb database (note, it must not be running in able to start) (t|f)? [t]:
HSQL was not detected to be running (did not successfully stop it) Starting DB with command: /home/mchyzer/software/jdk1.6.0_18/bin/java -cp /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/jdbcSamples/hsqldb.jar org.hsqldb.Server -database.0 file:/home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/grouper
-dbname.0 grouper -port 9001 Checking database with query: SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS Successfully tested database connection Do you want to init the database (delete all existing grouper tables, add new ones) (t|f)? t ################################## Initting DB with command: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh -registry -drop -runscript -noprompt stderr: Grouper ddl object type 'Grouper' has dbVersion: 0 and java version: 26 Grouper ddl object type 'Subject' has dbVersion: 0 and java version: 1 Grouper database schema DDL requires updates (should run script manually and carefully, in sections, verify data before drop statements, backup/export important data before starting, follow change log on confluence, dont run exact same script in multiple
envs - generate a new one for each env), script file is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/ddlScripts/grouperDdl_20120118_02_18_27_729.sql stdout: Using GROUPER_HOME: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 Using GROUPER_CONF: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf Using JAVA: /home/mchyzer/software/java/bin/java using MEMORY: 64m-750m Grouper starting up: version: 2.1.0, build date: 2012/01/17 23:52:29, env: <no label configured> grouper.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.properties Grouper current directory is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 log4j.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.properties Grouper is logging to file: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties grouper.hibernate.properties: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost/grouper sources.xml read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.xml sources.xml groupersource id: g:gsa sources.xml groupersource id: grouperEntities sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider Script was executed successfully End Initting DB ################################## Do you want to add quickstart subjects to DB (t|f)? [t]:
Downloading from URL: http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/tags/GROUPER_2_1_0/grouper-qs-builder/subjects.sql?view=co to file: /home/mchyzer/2.1.0/installer/subjects.sql ################################## Adding sample subjects with command: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh -registry -runsqlfile /home/mchyzer/2.1.0/installer/subjects.sql -noprompt stdout: Using GROUPER_HOME: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 Using GROUPER_CONF: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf Using JAVA: /home/mchyzer/software/java/bin/java using MEMORY: 64m-750m Script was executed successfully Grouper starting up: version: 2.1.0, build date: 2012/01/17 23:52:29, env: <no label configured> grouper.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.properties Grouper current directory is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 log4j.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.properties Grouper is logging to file: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties grouper.hibernate.properties: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost/grouper sources.xml read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.xml sources.xml groupersource id: g:gsa sources.xml groupersource id: grouperEntities sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider End adding sample subjects ################################## Do you want to add quickstart data to registry (t|f)? [t]
Downloading from URL: http://anonsvn.internet2.edu/cgi-bin/viewvc.cgi/i2mi/tags/GROUPER_2_1_0/grouper-qs-builder/quickstart.xml?view=co to file: /home/mchyzer/2.1.0/installer/quickstart.xml ################################## Adding quickstart data with command: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh -xmlimportold GrouperSystem /home/mchyzer/2.1.0/installer/quickstart.xml -noprompt stderr: Grouper warning: jarfile mismatch, expecting name: 'ehcache.jar' size: 527332 manifest version: 1.4.0. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/ehcache.jar,
name: ehcache.jar size: 1006149 manifest version: null Grouper warning: jarfile mismatch, expecting name: 'grouperClient.jar' size: 2647083 manifest version: 2.0.0. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/grouperClient.jar,
name: grouperClient.jar size: 2683092 manifest version: 2.1.0 Grouper warning: jarfile mismatch, expecting name: 'subject.jar' size: 184233 manifest version: 2.0.3. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/subject.jar,
name: subject.jar size: 180491 manifest version: 2.1.0 Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInvite Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteExpireDate Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteDate Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectEmailAddress Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteGroupUuids Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteMemberId Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteUuid Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmailWhenRegistered Grouper note: auto-created attributeDefName: etc:attribute:attrExternalSubjectInvite:externalSubjectInviteEmail Grouper note: auto-created attributeDefName: etc:attribute:rules:rule Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectId Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectIdentifier Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleActAsSubjectSourceId Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckType Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckOwnerId Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckOwnerName Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckStemScope Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg0 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleCheckArg1 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfOwnerId Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfOwnerName Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEl Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnum Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnumArg0 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfConditionEnumArg1 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleIfStemScope Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEl Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnum Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg0 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg1 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleThenEnumArg2 Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleValid Grouper note: auto-created attributeDefName: etc:attribute:rules:ruleRunDaemon Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitExpression Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitIpOnNetworks Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitIpOnNetworkRealm Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitLabelsContain Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitAmountLessThan Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitAmountLessThanOrEqual Grouper note: auto-created attributeDefName: etc:attribute:permissionLimits:limitWeekday9to5 Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoader Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderType Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderDbName Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderScheduleType Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderQuartzCron Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderIntervalSeconds Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderPriority Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrsLike Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrQuery Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderAttrSetQuery Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderActionQuery Grouper note: auto-created attributeDefName: etc:attribute:attrLoader:attributeLoaderActionSetQuery Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdap Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapType Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapServerId Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapFilter Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapQuartzCron Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSearchDn Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectAttribute Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSourceId Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectIdType Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapAndGroups Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSearchScope Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapPriority Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupsLike Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupAttribute Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapExtraAttributes Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapErrorUnresolvable Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupNameExpression Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupDisplayNameExpression Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupDescriptionExpression Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapSubjectExpression Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapGroupTypes Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapReaders Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapViewers Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapAdmins Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapUpdaters Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapOptins Grouper note: auto-created attributeDefName: etc:attribute:loaderLdap:grouperLoaderLdapOptouts Grouper note: auto-created attributeDefName: etc:attribute:entities:entitySubjectIdentifier java.lang.IllegalStateException: There is no open GrouperSession detected. Make sure to start a grouper session (e.g. GrouperSession.start() ) before calling this method at edu.internet2.middleware.grouper.GrouperSession.staticGrouperSession(GrouperSession.java:798) at edu.internet2.middleware.grouper.GrouperSession.staticGrouperSession(GrouperSession.java:759) at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3GroupDAO.findByNamesSecure(Hib3GroupDAO.java:2473) at edu.internet2.middleware.grouper.GrouperSourceAdapter$1.callback(GrouperSourceAdapter.java:229) at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:645) at edu.internet2.middleware.grouper.GrouperSourceAdapter.getSubjectsByIdentifiers(GrouperSourceAdapter.java:224) at edu.internet2.middleware.grouper.GrouperSourceAdapter.getSubjectByIdentifier(GrouperSourceAdapter.java:297) at edu.internet2.middleware.grouper.subj.SourcesXmlResolver$3.callLogic(SourcesXmlResolver.java:375) at edu.internet2.middleware.grouper.subj.SourcesXmlResolver$3.callLogic(SourcesXmlResolver.java:372) at edu.internet2.middleware.grouper.subj.SourcesXmlResolver$LogLabelCallable.call(SourcesXmlResolver.java:155) at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.executeCallables(SourcesXmlResolver.java:216) at edu.internet2.middleware.grouper.subj.SourcesXmlResolver.findByIdentifier(SourcesXmlResolver.java:381) at edu.internet2.middleware.grouper.subj.CachingResolver.findByIdentifier(CachingResolver.java:176) at edu.internet2.middleware.grouper.subj.ValidatingResolver.findByIdentifier(ValidatingResolver.java:144) at edu.internet2.middleware.grouper.SubjectFinder.findByIdentifier(SubjectFinder.java:881) at edu.internet2.middleware.grouper.xml.XmlImporter$1.callback(XmlImporter.java:268) at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:500) at edu.internet2.middleware.grouper.xml.XmlImporter.main(XmlImporter.java:260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:186) at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:126) at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16) stdout: Using GROUPER_HOME: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 Using GROUPER_CONF: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf Using JAVA: /home/mchyzer/software/java/bin/java using MEMORY: 64m-750m Grouper starting up: version: 2.1.0, build date: 2012/01/17 23:52:29, env: <no label configured> grouper.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.properties Grouper current directory is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 log4j.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.properties Grouper is logging to file: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties grouper.hibernate.properties: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost/grouper sources.xml read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.xml sources.xml groupersource id: g:gsa sources.xml groupersource id: grouperEntities sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider unable to import from xml: There is no open GrouperSession detected. Make sure to start a grouper session (e.g. GrouperSession.start() ) before calling this method End adding quickstart data ################################## Do you want to start the Grouper loader (daemons)? (note, if it is already running, you need to stop it now, check ps -ef | grep gsh | grep loader) (t|f)? [f]: t ################################## Starting the Grouper loader (daemons): /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh -loader End starting the Grouper loader (daemons) ################################## Downloading from URL: http://www.internet2.edu/grouper/release/2.1.0/grouper.ui-2.1.0.tar.gz to file: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0.tar.gz Expanding: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0.tar Copying file: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/build.properties.template to file: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/build.properties Editing /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/build.properties:
- set property: grouper.folder from: ../grouper to: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 - set property: should.copy.context.xml.to.metainf from: true to: false Downloading from URL: http://www.internet2.edu/grouper/downloads/tools/apache-ant-1.8.2-bin.tar.gz to file: /home/mchyzer/2.1.0/installer/apache-ant-1.8.2-bin.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/apache-ant-1.8.2-bin.tar.gz Expanding: /home/mchyzer/2.1.0/installer/apache-ant-1.8.2-bin.tar Downloading from URL: http://www.internet2.edu/grouper/downloads/tools/apache-tomcat-6.0.35.tar.gz to file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35.tar.gz Expanding: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35.tar Do you want to set the tomcat memory limit (t|f)? [t]:
Editing file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/catalina.bat Adding max memory to file at line number: 65 - old permgen memory value is same as new value: 256M Editing file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/catalina.sh Adding max memory to file at line number: 65 - old permgen memory value is same as new value: 256M Do you want to set tomcat scripts to executable (t|f)? [t]:
Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/startup.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/catalina.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/version.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/tool-wrapper.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/setclasspath.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/shutdown.sh Making tomcat file executable with command: chmod +x /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/digest.sh Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/startup.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/startup.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/catalina.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/catalina.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/version.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/version.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/tool-wrapper.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/tool-wrapper.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/setclasspath.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/setclasspath.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/shutdown.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/shutdown.sh to UNIX format ... Making tomcat file in unix format: dos2unix /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/digest.sh stderr: dos2unix: converting file /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/digest.sh to UNIX format ... What ports do you want tomcat to run on (HTTP, JK, shutdown): [8080, 8009, 8005]: 8600,8601,8602 Editing tomcat config file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/conf/server.xml - changing tomcat HTTP port from old value: '8080' to new value: '8600' - changing tomcat JK port from old value: '8009' to new value: '8601' - changing tomcat shutdown port from old value: '8005' to new value: '8602' Tomcat is supposed to be listening on port: 8600, port not listening, assuming tomcat is not running... Using shell command: sh ################################## Building UI with command: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0> sh /home/mchyzer/2.1.0/installer/apache-ant-1.8.2/bin/ant dist stdout: Buildfile: build.xml [copy] Copying 1 file to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0 dist: -setup: -choose-webapp: [propertyfile] Creating new property file: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/.lastbuild.properties [echo] In setup - do.clean = true cleanable=${webapp.folder.cleanable} -doStop: -doCleanWebappClassFolder: [echo] Removing /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes -doClean: [echo] Removing /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp -resources: [echo] In resources - Build folder = /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper -dist-grouper: [echo] Creating /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/lib [echo] Copying Grouper configuration files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes [copy] Copying 11 files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes -local-log4j: -fix-grouper-home: [echo] Attempting to replace grouper.home with /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/ [echo] Copying ui resources to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes/resources [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes/resources [copy] Copying 8 files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes/resources -additional-build: -optional-conf: -webapp: [delete] Deleting directory /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp -compileGrouper: [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/jarBin [javac] Compiling 264 source files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/jarBin [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [jar] Building jar: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/lib/grouper-ui.jar -additional-build: [copy] Copying 65 files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/lib [copy] Copying 5 files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/lib -copyContent: [echo] Copying core UI files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [copy] Copying 603 files to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [echo] Processing web.xml [copy] Copying 1 file to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp [echo] web.xmls.isempty=:${web.xmls.isempty}: -merge-xmls: [echo] temp.dir : /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp [echo] final.web.xmls : ${final.web.xmls} [echo] ui.folder : /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0 [echo] webapp.folder : /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper [copy] Copying 1 file to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp [copy] Copying 1 file to /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp [echo] Transforming: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/50.web.core.xml [echo] /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/60.web.ajax.xml [echo] /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/99.web.core-filters.xml [echo] [echo] [echo] Base = /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/50.web.core.xml [echo] + /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/60.web.ajax.xml [echo] -> /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/web.1.xml [echo] [echo] Base = /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/web.1.xml [echo] + /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/temp/99.web.core-filters.xml [echo] -> /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/web.xml [echo] Result: 0 -copy-core-web-xml: -copyContextXmlToMetaInf: -copyContextXmlToTomcat: -html: -war: -web: [echo] **************************************************** [echo] ** The Grouper UI will fail to start if the user ** [echo] ** which your application server runs as does not ** [echo] ** have permission to write to the log files that ** [echo] ** are configured in log4j.properties. See ** [echo] ** build.properties for more information ** [echo] **************************************************** BUILD SUCCESSFUL Total time: 14 seconds Do you want to set the log dir of UI (t|f)? [t]:
Enter the UI log dir: [/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi]:
Editing file: /home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper/WEB-INF/classes/log4j.properties - changing UI log directory from old value: '/home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi' - changing UI log directory from old value: '/home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi' - changing UI log directory from old value: '/home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi' - changing UI log directory from old value: '/home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi' Creating log directory: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi Created and deleted a test file successfully in dir: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperUi End building UI ################################## Enter the URL path for the UI [grouper]:
Editing tomcat config file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/conf/server.xml - adding tomcat context for UI line: '<Context docBase="/home/mchyzer/2.1.0/installer/grouper.ui-2.1.0/dist/grouper" path="/grouper" reloadable="false"/>' Enter the GrouperSystem password: myPass Do you want to set the GrouperSystem password in /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/conf/tomcat-users.xml? [t]:
Editing file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/conf/tomcat-users.xml - adding Tomcat user GrouperSystem line: '<user username="GrouperSystem" password="myPass" roles="grouper_user"/>' - adding Tomcat role grouper_user line: '<role rolename="grouper_user"/>' Tomcat is supposed to be listening on port: 8600, port not listening, assuming tomcat is not running... ################################## Tomcat start with command (note you need CATALINA_HOME and JAVA_HOME set): /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/startup.sh End tomcat start (note: logs are in /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs) ################################## Waiting for tomcat to start.... Tomcat listening on port: 8600 ################################## Go here for the Grouper UI (change hostname if on different host): http://localhost:8600/grouper/ ################################## Downloading from URL: http://www.internet2.edu/grouper/release/2.1.0/grouper.ws-2.1.0.tar.gz to file: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0.tar.gz Expanding: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0.tar Editing /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build.properties:
- set property: grouper.dir from: ../grouper to: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 Do you want to build the Grouper WS? (t|f) [t]:
################################## Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set): /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/shutdown.sh Jan 18, 2012 2:19:57 AM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommand SEVERE: Process exit status=1: out: , err: Jan 18, 2012 2:19:57 AM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:525) at java.net.Socket.connect(Socket.java:475) at java.net.Socket.<init>(Socket.java:372) at java.net.Socket.<init>(Socket.java:186) at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:422) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416) , on command: /home/mchyzer/software/jdk1.6.0_18/bin/java -XX:MaxPermSize=150m -Xmx640m -Dcatalina.home=/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35 -jar /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/bootstrap.jar
stop , workingDir: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin Couldnt stop tomcat, ignoring... ################################## Building WS with command: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws> sh /home/mchyzer/2.1.0/installer/apache-ant-1.8.2/bin/ant dist stdout: Buildfile: build.xml checkGrouper: dist: distHelper: compile: [javac] Compiling 179 source files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/src/grouper-ws/edu/internet2/middleware/grouper/ws/query/WsQueryFilterType.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] Compiling 79 source files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws [javac] Compiling 81 source files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws [javac] Compiling 81 source files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws [jar] Building jar: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws.jar [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib [copy] Copying 3 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes [copy] Copying 22 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/ehcache.example.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/ehcache.example.xml [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper-loader.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper-loader.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/server.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/server.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.client.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.client.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper-loader.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper-loader.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/ehcache.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/ehcache.xml [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/spy.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/spy.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/server.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/server.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.ehcache.example.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.ehcache.example.xml [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/morphString.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/morphString.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/spy.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/spy.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/sources.xml [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/log4j.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/morphString.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/morphString.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/log4j.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.example.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/sources.example.xml [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.client.example.properties to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.client.example.properties [copy] Copying /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.ehcache.xml to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.ehcache.xml [copy] Copying 116 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib [copy] Copying 5 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/lib [copy] Copying 23 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws [move] Moving 1 file to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/services [move] Moving 1 file to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/services [move] Moving 1 file to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/services [jar] Building jar: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws.war [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [delete] Deleting directory /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [mkdir] Created dir: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [javac] Compiling 367 source files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [copy] Copying 371 files to /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [copy] Copied 4 empty directories to 2 empty directories under /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/grouper-ws-soap-client [jar] Building jar: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws-soap-client.jar BUILD SUCCESSFUL Total time: 37 seconds Do you want to set the log dir of WS (t|f)? [t]:
Enter the WS log dir: [/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs]:
Editing file: /home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/log4j.properties - changing WS log directory from old value: '${grouper.home}logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs' - changing WS log directory from old value: '${grouper.home}logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs' - changing WS log directory from old value: '${grouper.home}logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs' - changing WS log directory from old value: '${grouper.home}logs' to new value: '/home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs' Creating log directory: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs Created and deleted a test file successfully in dir: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs/grouperWs End building Ws ################################## Enter the URL path for the WS [grouper-ws]:
Editing tomcat config file: /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/conf/server.xml - adding tomcat context for WS line: '<Context docBase="/home/mchyzer/2.1.0/installer/grouper.ws-2.1.0/grouper-ws/build/dist/grouper-ws" path="/grouper-ws" reloadable="false"/>' ################################## Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set): /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/shutdown.sh End tomcat stop (note: logs are in /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs) ################################## Waiting for tomcat to stop..... Tomcat not listening on port: 8600 ################################## Tomcat start with command (note you need CATALINA_HOME and JAVA_HOME set): /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/bin/startup.sh End tomcat start (note: logs are in /home/mchyzer/2.1.0/installer/apache-tomcat-6.0.35/logs) ################################## Waiting for tomcat to start..... Tomcat listening on port: 8600 This is the Grouper WS URL (change hostname if on different host): http://localhost:8600/grouper-ws/ Downloading from URL: http://www.internet2.edu/grouper/release/2.1.0/grouper.clientBinary-2.1.0.tar.gz to file: /home/mchyzer/2.1.0/installer/grouper.clientBinary-2.1.0.tar.gz Unzipping: /home/mchyzer/2.1.0/installer/grouper.clientBinary-2.1.0.tar.gz Expanding: /home/mchyzer/2.1.0/installer/grouper.clientBinary-2.1.0.tar Editing /home/mchyzer/2.1.0/installer/grouper.clientBinary-2.1.0/grouper.client.properties:
- set property: grouperClient.webService.url from: to: http://localhost:8600/grouper-ws/servicesRest - set property: grouperClient.webService.login from: to: GrouperSystem - set property: grouperClient.webService.password from: to: myPass ################################## Adding user GrouperSystem to grouper-ws users group with command: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/bin/gsh.sh /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/addGrouperSystemWsGroup.gsh stderr: Grouper warning: jarfile mismatch, expecting name: 'ehcache.jar' size: 527332 manifest version: 1.4.0. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/ehcache.jar,
name: ehcache.jar size: 1006149 manifest version: null Grouper warning: jarfile mismatch, expecting name: 'grouperClient.jar' size: 2647083 manifest version: 2.0.0. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/grouperClient.jar,
name: grouperClient.jar size: 2683092 manifest version: 2.1.0 Grouper warning: jarfile mismatch, expecting name: 'subject.jar' size: 184233 manifest version: 2.0.3. However the jar detected is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/lib/grouper/subject.jar,
name: subject.jar size: 180491 manifest version: 2.1.0 stdout: Using GROUPER_HOME: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 Using GROUPER_CONF: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf Using JAVA: /home/mchyzer/software/java/bin/java using MEMORY: 64m-750m Grouper starting up: version: 2.1.0, build date: 2012/01/17 23:52:29, env: <no label configured> grouper.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.properties Grouper current directory is: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0 log4j.properties read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/log4j.properties Grouper is logging to file: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/logs/grouper_error.log, at min level WARN for package: edu.internet2.middleware.grouper, based on log4j.properties grouper.hibernate.properties: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/grouper.hibernate.properties grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost/grouper sources.xml read from: /home/mchyzer/2.1.0/installer/grouper.apiBinary-2.1.0/conf/sources.xml sources.xml groupersource id: g:gsa sources.xml groupersource id: grouperEntities sources.xml jdbc source id: jdbc: GrouperJdbcConnectionProvider Type help() for instructions edu.internet2.middleware.grouper.GrouperSession: d6d163fafad8432aa9d4a407d05c4124,'GrouperSystem','application' group: name='etc:webServiceClientUsers' displayName='etc:webServiceClientUsers' uuid='ca57301fdfdc45e9aada1c889a42b551'
true ################################## Running client command: /home/mchyzer/2.1.0/installer/grouper.clientBinary-2.1.0> /home/mchyzer/software/jdk1.6.0_18/bin/java -jar grouperClient.jar --operation=getMembersWs --groupNames=etc:webServiceClientUsers stdout: GroupIndex 0: success: T: code: SUCCESS: group: etc:webServiceClientUsers: subjectIndex: 0: GrouperSystem Success running client command: ################################## Installation success! Go here for the Grouper UI (change hostname if on different host): http://localhost:8600/grouper/ This is the Grouper WS URL (change hostname if on different host): http://localhost:8600/grouper-ws/ ################################## [mchyzer@i2mibuild installer]$ From: [mailto:]
On Behalf Of Chris Hyzer https://bugs.internet2.edu/jira/browse/GRP-724 this is done in 2.0.4+ (note, you can use this installer, and change the grouper.installer.properties (extract this file), to install 2.0.3 packages or others in the same minor version number… suggested by tomz: chmod and dos2unix tomcat, gsh logdir of ws/ui, default to tomcat logs/grouper(Ui|Ws) dir set max heap and permgen memory of tomcat https://spaces.internet2.edu/display/Grouper/Grouper+Installer thanks, chris |
- [grouper-dev] grouper installer enhancements, Chris Hyzer, 01/17/2012
- [grouper-dev] RE: grouper installer enhancements, Chris Hyzer, 01/18/2012
Archive powered by MHonArc 2.6.16.