Skip to Content.
Sympa Menu

grouper-dev - RE: [grouper-dev] grouper installer 2.1.0 - local files?

Subject: Grouper Developers Forum

List archive

RE: [grouper-dev] grouper installer 2.1.0 - local files?


Chronological Thread 
  • From: Chris Hyzer <>
  • To: Jeff Mccullough <>
  • Cc: Jeff McCullough <>, Grouper Dev <>
  • Subject: RE: [grouper-dev] grouper installer 2.1.0 - local files?
  • Date: Thu, 15 Mar 2012 20:22:56 +0000
  • Accept-language: en-US

Right, I did some updates to help this if you want to get the latest 2.1.0 installer, then here is what I did to test this.  I ran the installer.  I deleted the tars (not tar.gzs), and the untarred dirs, so I am left with this:

 

c:\apps\installerLocal>dir

Volume in drive C is os

Volume Serial Number is 52B0-C9DB

 

Directory of c:\apps\installerLocal

 

03/15/2012  02:47 PM    <DIR>          .

03/15/2012  02:47 PM    <DIR>          ..

03/15/2012  02:40 PM         8,324,124 apache-ant-1.8.2-bin.tar.gz

03/15/2012  02:40 PM         6,697,806 apache-tomcat-6.0.35.tar.gz

03/15/2012  02:36 PM        40,315,474 grouper.apiBinary-2.1.0.tar.gz

03/15/2012  02:34 PM         2,444,285 grouper.clientBinary-2.1.0.tar.gz

03/15/2012  02:36 PM        18,965,034 grouper.psp-2.1.0.tar.gz

03/15/2012  02:35 PM        10,375,981 grouper.ui-2.1.0.tar.gz

03/15/2012  02:42 PM        33,856,319 grouper.ws-2.1.0.tar.gz

03/15/2012  02:32 PM         1,581,099 grouperInstaller.jar

03/15/2012  02:39 PM           221,647 quickstart.xml

03/15/2012  02:39 PM            46,230 subjects.sql

              10 File(s)    122,827,999 bytes

               2 Dir(s)  472,167,538,688 bytes free

 

c:\apps\installerLocal>

 

You can zip up that folder, and move to another machine with no internet access…

 

Then I unplug my network cable, and run the installer.  In my case the DB and tomcat don’t start since the network is messed up, but maybe it will in your case where you are networked on a private network with no internet access?  J  Anyways, you will see errors below that you might not see in your situation.  Note it detected the downloaded tar gzs and you specify if you want to download them again…

 

c:\apps\installerLocal>java -jar grouperInstaller.jar

Enter in the Grouper install directory (note: better if no spaces or special chars) [c:\apps\installerLocal]:

Enter the default IP address for checking ports (just hit enter to accept the default unless on a machine with no network, might want to change to 127

.0.0.1): [0.0.0.0]: 127.0.0.1

Note, you will probably need to change the hsql port, and tomcat server.xml ports...

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: c:\apps\installerLocal\grouper.apiBinary-

2.1.0.tar.gz

File exists: c:\apps\installerLocal\grouper.apiBinary-2.1.0.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\grouper.apiBinary-2.1.0.tar.gz

Expanding: c:\apps\installerLocal\grouper.apiBinary-2.1.0.tar

Do you want to use the default and included hsqldb database (t|f)? [t]:

Editing c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.properties:

- property hibernate.connection.url already was set to: jdbc:hsqldb:hsql://localhost:9001/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: c:\dev_inst\java\bin\java -cp c:\apps\installerLocal\grouper.apiBinary-2.1.0\lib\jdbcSamples\hsqldb.jar org.hsqldb.Server -d

atabase.0 file:c:\apps\installerLocal\grouper.apiBinary-2.1.0\grouper -dbname.0 grouper -port 9001

Checking database with query: SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS

Error: could not connect to the database:

java.lang.RuntimeException: Error with query: SELECT 1 FROM INFORMATION_SCHEMA.SYSTEM_USERS

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.java:385)

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.java:308)

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.select(GiDbUtils.java:319)

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.checkConnection(GiDbUtils.java:459)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.checkDatabaseConnection(GrouperInstaller.java:1589)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:972)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:174)

Caused by: java.lang.RuntimeException: Error connecting to: null

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(GiDbUtils.java:295)

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.listSelect(GiDbUtils.java:349)

        ... 6 more

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouperInstaller.util.GiDbUtils.connection(GiDbUtils.java:291)

        ... 7 more

Do you want to init the database (delete all existing grouper tables, add new ones) (t|f)? f

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: c:\apps

\installerLocal\subjects.sql

File exists: c:\apps\installerLocal\subjects.sql, should we use the local file (t|f)? [t]:

 

##################################

Adding sample subjects with command: cmd /c c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\gsh.bat -registry -runsqlfile c:\apps\installerLocal\su

bjects.sql -noprompt

 

stderr: Couldnt startup grouper: Problem adding include/exclude type: addIncludeExclude

java.lang.RuntimeException: Problem adding include/exclude type: addIncludeExclude

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:364)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:129)

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:

true, grouperTransactionType: READONLY_NEW,

Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where      m.subjectIdDb       = :si

d    and  m.subjectSourceIdDb = :source and  m.subjectTypeId   = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.h

ib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param

(class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',

        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:433)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:519)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:297)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:202)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:184)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findOrCreateBySubject(MemberFinder.java:330)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findBySubject(MemberFinder.java:294)

        at edu.internet2.middleware.grouper.GrouperSession.start(GrouperSession.java:281)

        at edu.internet2.middleware.grouper.GrouperSession.startRootSession(GrouperSession.java:231)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:304)

        ... 9 more

Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)

        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)

        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)

        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)

        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)

        at org.hibernate.loader.Loader.doQuery(Loader.java:801)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)

        at org.hibernate.loader.Loader.doList(Loader.java:2533)

        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2319)

        at org.hibernate.loader.Loader.list(Loader.java:2268)

        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)

        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)

        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)

        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)

        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

        at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)

        at edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:242)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:306)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:509)

        ... 17 more

Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!

        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)

        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)

        at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)

        ... 34 more

Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

 

        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)

        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)

        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)

        ... 37 more

java.lang.RuntimeException: Problem adding include/exclude type: addIncludeExclude

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:364)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:129)

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:

true, grouperTransactionType: READONLY_NEW,

Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where      m.subjectIdDb       = :si

d    and  m.subjectSourceIdDb = :source and  m.subjectTypeId   = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.h

ib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param

(class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',

        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:433)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:519)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:297)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:202)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:184)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findOrCreateBySubject(MemberFinder.java:330)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findBySubject(MemberFinder.java:294)

        at edu.internet2.middleware.grouper.GrouperSession.start(GrouperSession.java:281)

        at edu.internet2.middleware.grouper.GrouperSession.startRootSession(GrouperSession.java:231)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:304)

        ... 9 more

Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)

        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)

        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)

        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)

        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)

        at org.hibernate.loader.Loader.doQuery(Loader.java:801)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)

        at org.hibernate.loader.Loader.doList(Loader.java:2533)

        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2319)

        at org.hibernate.loader.Loader.list(Loader.java:2268)

        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)

        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)

        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)

        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)

        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

        at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)

        at edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:242)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:306)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:509)

        ... 17 more

Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!

        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)

        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)

        at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)

        ... 34 more

Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

 

        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)

        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)

        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)

        ... 37 more

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:199)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.lang.reflect.InvocationTargetException

        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:189)

        ... 2 more

Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Problem adding include/exclude type: addIncludeExclude

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:178)

        ... 7 more

Caused by: java.lang.RuntimeException: Problem adding include/exclude type: addIncludeExclude

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:364)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:129)

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:172)

        ... 7 more

Caused by: edu.internet2.middleware.grouper.internal.dao.GrouperDAOException: Problem in HibernateSession: HibernateSession: isNew: true, isReadonly:

true, grouperTransactionType: READONLY_NEW,

Exception in uniqueResult: (class edu.internet2.middleware.grouper.Member), ByHqlStatic, query: 'from Member as m where      m.subjectIdDb       = :si

d    and  m.subjectSourceIdDb = :source and  m.subjectTypeId   = :type', cacheable: true, cacheRegion: edu.internet2.middleware.grouper.internal.dao.h

ib3.Hib3MemberDAO.FindBySubject, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'sid'->'GrouperSystem', Bind var[1]: 'Param

(class java.lang.String): 'type'->'application'Bind var[2]: 'Param (class java.lang.String): 'source'->'g:isa',

        at edu.internet2.middleware.grouper.hibernate.HibernateSession._internal_hibernateSessionCatch(HibernateSession.java:433)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:519)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.uniqueResult(ByHqlStatic.java:297)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:202)

        at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MemberDAO.findBySubject(Hib3MemberDAO.java:184)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findOrCreateBySubject(MemberFinder.java:330)

        at edu.internet2.middleware.grouper.MemberFinder.internal_findBySubject(MemberFinder.java:294)

        at edu.internet2.middleware.grouper.GrouperSession.start(GrouperSession.java:281)

        at edu.internet2.middleware.grouper.GrouperSession.startRootSession(GrouperSession.java:231)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.initIncludeExcludeType(GrouperStartup.java:304)

        ... 9 more

Caused by: org.hibernate.exception.GenericJDBCException: Cannot open connection

        at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)

        at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)

        at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:52)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)

        at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)

        at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)

        at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)

        at org.hibernate.loader.Loader.doQuery(Loader.java:801)

        at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)

        at org.hibernate.loader.Loader.doList(Loader.java:2533)

        at org.hibernate.loader.Loader.listUsingQueryCache(Loader.java:2319)

        at org.hibernate.loader.Loader.list(Loader.java:2268)

        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:452)

        at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)

        at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)

        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)

        at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)

        at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:890)

        at edu.internet2.middleware.grouper.hibernate.ByHql.uniqueResult(ByHql.java:242)

        at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$1.callback(ByHqlStatic.java:306)

        at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:509)

        ... 17 more

Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!

        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)

        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)

        at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:78)

        at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)

        ... 34 more

Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.

 

        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)

        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)

        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)

        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)

        ... 37 more

 

stdout: Using GROUPER_HOME:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..

Using GROUPER_CONF:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\../conf

Using JAVA:                   "c:\dev_inst\java/bin/java"

using MEMORY:                 64m-750m

Error running script: c:\apps\installerLocal\subjects.sql, java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:329)

        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:429)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:925)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:790)

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:127)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:319)

        ... 11 more

--- Nested Exception ---

java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.java:319)

        at org.apache.tools.ant.taskdefs.SQLExec.execute(SQLExec.java:429)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:925)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.sqlRun(GrouperDdlUtils.java:790)

        at edu.internet2.middleware.grouper.registry.RegistryInitializeSchema.main(RegistryInitializeSchema.java:127)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

 

 

Grouper starting up: version: 2.1.0, build date: 2012/03/08 14:16:06, env: <no label configured>

grouper.properties read from: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.properties

Grouper current directory is: c:\apps\installerLocal\grouper.apiBinary-2.1.0

log4j.properties read from:   C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\log4j.properties

Grouper is logging to file:   c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..\logs\grouper_error.log, at min level WARN for package: edu.interne

t2.middleware.grouper, based on log4j.properties

grouper.hibernate.properties: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.properties

grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost:9001/grouper

sources.xml read from:        C:\apps\installerLocal\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: c:\ap

ps\installerLocal\quickstart.xml

File exists: c:\apps\installerLocal\quickstart.xml, should we use the local file (t|f)? [t]:

 

##################################

Adding quickstart data with command: cmd /c c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\gsh.bat -xmlimportold GrouperSystem c:\apps\installerLo

cal\quickstart.xml -noprompt

 

stderr: Couldnt startup grouper: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsqldb.jdbcDriver

java.lang.RuntimeException: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsqldb.jdbcDriver

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:42)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:402)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:307)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:112)

        at edu.internet2.middleware.grouper.xml.XmlImporter.main(XmlImporter.java:258)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:39)

        ... 11 more

Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.handleSpecialCase(GrouperShell.java:199)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.lang.reflect.InvocationTargetException

        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:189)

        ... 2 more

Caused by: java.lang.RuntimeException: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsqldb.jdbcDriver

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:42)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:402)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:307)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:112)

        at edu.internet2.middleware.grouper.xml.XmlImporter.main(XmlImporter.java:258)

        ... 7 more

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:39)

        ... 11 more

 

stdout: Using GROUPER_HOME:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..

Using GROUPER_CONF:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\../conf

Using JAVA:                   "c:\dev_inst\java/bin/java"

using MEMORY:                 64m-750m

Grouper starting up: version: 2.1.0, build date: 2012/03/08 14:16:06, env: <no label configured>

grouper.properties read from: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.properties

Grouper current directory is: c:\apps\installerLocal\grouper.apiBinary-2.1.0

log4j.properties read from:   C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\log4j.properties

Grouper is logging to file:   c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..\logs\grouper_error.log, at min level WARN for package: edu.interne

t2.middleware.grouper, based on log4j.properties

grouper.hibernate.properties: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.properties

grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost:9001/grouper

sources.xml read from:        C:\apps\installerLocal\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

Grouper error: Error connecting to the database with credentials from grouper.hibernate.properties, url: jdbc:hsqldb:hsql://localhost:9001/grouper, dr

iver: org.hsqldb.jdbcDriver, user: sa, java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkDatabase(GrouperCheckConfig.java:762)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperDb(GrouperCheckConfig.java:652)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:107)

        at edu.internet2.middleware.grouper.xml.XmlImporter.main(XmlImporter.java:258)

        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:189)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:129)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

 

 

 

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 the task manager for java.exe) (t|f)? [f]:

Downloading from URL: http://www.internet2.edu/grouper/release/2.1.0/grouper.ui-2.1.0.tar.gz to file: c:\apps\installerLocal\grouper.ui-2.1.0.tar.gz

File exists: c:\apps\installerLocal\grouper.ui-2.1.0.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\grouper.ui-2.1.0.tar.gz

Expanding: c:\apps\installerLocal\grouper.ui-2.1.0.tar

Copying file: c:\apps\installerLocal\grouper.ui-2.1.0\build.properties.template to file: c:\apps\installerLocal\grouper.ui-2.1.0\build.properties

Editing c:\apps\installerLocal\grouper.ui-2.1.0\build.properties:

- set property: grouper.folder from: ../grouper to: c:/apps/installerLocal/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: c:\apps\installerLocal\apache-ant-1.8.2-bi

n.tar.gz

File exists: c:\apps\installerLocal\apache-ant-1.8.2-bin.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\apache-ant-1.8.2-bin.tar.gz

Expanding: c:\apps\installerLocal\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: c:\apps\installerLocal\apache-tomcat-6.0.3

5.tar.gz

File exists: c:\apps\installerLocal\apache-tomcat-6.0.35.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\apache-tomcat-6.0.35.tar.gz

Expanding: c:\apps\installerLocal\apache-tomcat-6.0.35.tar

Do you want to set the tomcat memory limit (t|f)? [t]:

Editing file: c:\apps\installerLocal\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: c:\apps\installerLocal\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

What ports do you want tomcat to run on (HTTP, JK, shutdown): [8080, 8009, 8005]: 8600,8601,8601

Editing tomcat config file: c:\apps\installerLocal\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: '8601'

Tomcat is supposed to be listening on port: 8600, port not listening, assuming tomcat is not running...

Should we stop tomcat anyway? (t|f)? [f] t

 

##################################

Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set):

  c:\apps\installerLocal\apache-tomcat-6.0.35\bin\shutdown.bat

 

Mar 15, 2012 3:42:26 PM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommand

SEVERE: Process exit status=1: out: , err: Mar 15, 2012 3:42:26 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

       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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:180)

        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: c:\dev_inst\java\bin\java -XX:MaxPermSize=150m -Xmx640m -Dcatalina.home=c:\apps\installerLocal\apache-tomcat-6.0.35 -jar c:\apps\install

erLocal\apache-tomcat-6.0.35\bin\bootstrap.jar stop , workingDir: c:\apps\installerLocal\apache-tomcat-6.0.35\bin

java.lang.RuntimeException: Process exit status=1: out: , err: Mar 15, 2012 3:42:26 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

        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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:180)

        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)

 

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:9572)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.tomcatBounce(GrouperInstaller.java:580)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.buildUi(GrouperInstaller.java:292)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1015)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:174)

Do you want to continue (t|f)? [f] t

 

End tomcat stop (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to stop (t|f)? [t]: t

Waiting for tomcat to stop...

Tomcat not listening on port: 8600

 

##################################

Building UI with command:

c:\apps\installerLocal\grouper.ui-2.1.0> cmd /c c:\apps\installerLocal\apache-ant-1.8.2\bin\ant.bat dist

 

stdout: Buildfile: c:\apps\installerLocal\grouper.ui-2.1.0\build.xml

     [copy] Copying 1 file to c:\apps\installerLocal\grouper.ui-2.1.0

 

dist:

 

-setup:

 

-choose-webapp:

[propertyfile] Creating new property file: c:\apps\installerLocal\grouper.ui-2.1.0\.lastbuild.properties

     [echo] In setup - do.clean = true   cleanable=${webapp.folder.cleanable}

 

-doStop:

 

-doCleanWebappClassFolder:

     [echo] Removing  c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper/WEB-INF/classes

 

-doClean:

     [echo] Removing  c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\temp

 

-resources:

     [echo] In resources - Build folder = c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper

 

-dist-grouper:

     [echo] Creating  c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\classes

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\lib

     [echo] Copying Grouper configuration files to c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper/WEB-INF/classes

     [copy] Copying 10 files to c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\classes

 

-local-log4j:

 

-fix-grouper-home:

     [echo] Attempting to replace grouper.home with c:/apps/installerLocal/grouper.apiBinary-2.1.0/

     [echo] Copying ui resources to c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper/WEB-INF/classes/resources

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\classes\resources

     [copy] Copying 8 files to c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\classes\resources

 

-additional-build:

 

-optional-conf:

 

-webapp:

   [delete] Deleting directory c:\apps\installerLocal\grouper.ui-2.1.0\temp

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\temp

 

-compileGrouper:

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ui-2.1.0\temp\jarBin

    [javac] c:\apps\installerLocal\grouper.ui-2.1.0\build.xml:436: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; se

t to false for repeatable builds

    [javac] Compiling 264 source files to c:\apps\installerLocal\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: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\lib\grouper-ui.jar

 

-additional-build:

     [copy] Copying 65 files to c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\lib

     [copy] Copying 5 files to c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\lib

 

-copyContent:

     [echo] Copying core UI files to c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper

     [copy] Copying 603 files to c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper

     [echo] Processing web.xml

     [copy] Copying 1 file to c:\apps\installerLocal\grouper.ui-2.1.0\temp

     [echo] web.xmls.isempty=:${web.xmls.isempty}:

 

-merge-xmls:

     [echo] temp.dir : c:\apps\installerLocal\grouper.ui-2.1.0/temp

     [echo] final.web.xmls : ${final.web.xmls}

     [echo] ui.folder : c:\apps\installerLocal\grouper.ui-2.1.0

     [echo] webapp.folder : c:\apps\installerLocal\grouper.ui-2.1.0/dist/grouper

     [copy] Copying 1 file to c:\apps\installerLocal\grouper.ui-2.1.0\temp

     [copy] Copying 1 file to c:\apps\installerLocal\grouper.ui-2.1.0\temp

     [echo] Transforming: c:\apps\installerLocal\grouper.ui-2.1.0\temp\50.web.core.xml

     [echo] c:\apps\installerLocal\grouper.ui-2.1.0\temp\60.web.ajax.xml

     [echo] c:\apps\installerLocal\grouper.ui-2.1.0\temp\99.web.core-filters.xml

     [echo]

     [echo]

     [echo] Base = c:\apps\installerLocal\grouper.ui-2.1.0\temp\50.web.core.xml

     [echo]  + c:\apps\installerLocal\grouper.ui-2.1.0\temp\60.web.ajax.xml

     [echo]  -> c:\apps\installerLocal\grouper.ui-2.1.0/temp\web.1.xml

     [echo]

     [echo] Base = c:\apps\installerLocal\grouper.ui-2.1.0/temp\web.1.xml

     [echo]  + c:\apps\installerLocal\grouper.ui-2.1.0\temp\99.web.core-filters.xml

     [echo]  -> c:\apps\installerLocal\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: 16 seconds

 

Do you want to set the log dir of UI (t|f)? [t]:

Enter the UI log dir: [c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperUi]:

Editing file: c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper\WEB-INF\classes\log4j.properties

- changing UI log directory from old value: 'c:/apps/installerLocal/grouper.apiBinary-2.1.0/logs' to new value: 'c:/apps/installerLocal/apache-tomcat

-6.0.35/logs/grouperUi'

- changing UI log directory from old value: 'c:/apps/installerLocal/grouper.apiBinary-2.1.0/logs' to new value: 'c:/apps/installerLocal/apache-tomcat

-6.0.35/logs/grouperUi'

- changing UI log directory from old value: 'c:/apps/installerLocal/grouper.apiBinary-2.1.0/logs' to new value: 'c:/apps/installerLocal/apache-tomcat

-6.0.35/logs/grouperUi'

- changing UI log directory from old value: 'c:/apps/installerLocal/grouper.apiBinary-2.1.0/logs' to new value: 'c:/apps/installerLocal/apache-tomcat

-6.0.35/logs/grouperUi'

Creating log directory: c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperUi

Created and deleted a test file successfully in dir: c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperUi

 

End building UI

##################################

 

Enter the URL path for the UI [grouper]:

Editing tomcat config file: c:\apps\installerLocal\apache-tomcat-6.0.35\conf\server.xml

- adding tomcat context for UI line: '<Context docBase="c:\apps\installerLocal\grouper.ui-2.1.0\dist\grouper" path="/grouper" reloadable="false"/>'

Enter the GrouperSystem password: pass

Do you want to set the GrouperSystem password in c:\apps\installerLocal\apache-tomcat-6.0.35\conf\tomcat-users.xml? [t]:

Editing file: c:\apps\installerLocal\apache-tomcat-6.0.35\conf\tomcat-users.xml

- adding Tomcat user GrouperSystem line: '<user username="GrouperSystem" password="pass" 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...

Should we stop tomcat anyway? (t|f)? [f]

 

##################################

Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set):

  c:\apps\installerLocal\apache-tomcat-6.0.35\bin\shutdown.bat

 

Mar 15, 2012 3:43:13 PM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommand

SEVERE: Process exit status=1: out: , err: Mar 15, 2012 3:43:13 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

        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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:180)

        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: c:\dev_inst\java\bin\java -XX:MaxPermSize=150m -Xmx640m -Dcatalina.home=c:\apps\installerLocal\apache-tomcat-6.0.35 -jar c:\apps\install

erLocal\apache-tomcat-6.0.35\bin\bootstrap.jar stop , workingDir: c:\apps\installerLocal\apache-tomcat-6.0.35\bin

java.lang.RuntimeException: Process exit status=1: out: , err: Mar 15, 2012 3:43:13 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

        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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:180)

        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)

 

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:9572)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.tomcatBounce(GrouperInstaller.java:580)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.tomcatBounce(GrouperInstaller.java:515)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1027)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:174)

Do you want to continue (t|f)? [f] t

 

End tomcat stop (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to stop (t|f)? [t]: f

Waiting 10 seconds for tomcat to stop...

 

##################################

Tomcat start with command (note you need CATALINA_HOME and JAVA_HOME set):

  c:\apps\installerLocal\apache-tomcat-6.0.35\bin\startup.bat

 

 

End tomcat start (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to start (t|f)? [t]: f

Waiting 10 seconds for tomcat to start...

##################################

 

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: c:\apps\installerLocal\grouper.ws-2.1.0.tar.gz

File exists: c:\apps\installerLocal\grouper.ws-2.1.0.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\grouper.ws-2.1.0.tar.gz

Expanding: c:\apps\installerLocal\grouper.ws-2.1.0.tar

Editing c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.properties:

- set property: grouper.dir from: ../grouper to: c:/apps/installerLocal/grouper.apiBinary-2.1.0

Do you want to build the Grouper WS? (t|f) [t]:

Tomcat is supposed to be listening on port: 8600, port not listening, assuming tomcat is not running...

Should we stop tomcat anyway? (t|f)? [f]

 

##################################

Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set):

 c:\apps\installerLocal\apache-tomcat-6.0.35\bin\shutdown.bat

 

 

End tomcat stop (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to stop (t|f)? [t]: f

Waiting 10 seconds for tomcat to stop...

 

##################################

Building WS with command:

c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws> cmd /c c:\apps\installerLocal\apache-ant-1.8.2\bin\ant.bat dist

 

stdout: Buildfile: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml

 

checkGrouper:

 

dist:

 

distHelper:

 

compile:

    [javac] c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml:359: warning: 'includeantruntime' was not set, defaulting to build.sysclasspa

th=last; set to false for repeatable builds

    [javac] Compiling 197 source files to c:\apps\installerLocal\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: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\src\grouper-ws\edu\internet2\middleware\grouper\ws\query\WsQueryFilterType.java u

ses unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

    [javac] c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml:364: warning: 'includeantruntime' was not set, defaulting to build.sysclasspa

th=last; set to false for repeatable builds

    [javac] Compiling 79 source files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws

    [javac] c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml:368: warning: 'includeantruntime' was not set, defaulting to build.sysclasspa

th=last; set to false for repeatable builds

    [javac] Compiling 81 source files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws

    [javac] c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml:372: warning: 'includeantruntime' was not set, defaulting to build.sysclasspa

th=last; set to false for repeatable builds

    [javac] Compiling 90 source files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws

      [jar] Building jar: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws.jar

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\lib

     [copy] Copying 3 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes

     [copy] Copying 20 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\ehcache.example.xml to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\buil

d\dist\grouper-ws\WEB-INF\classes\ehcache.example.xml

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\ehcache.xml to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\g

rouper-ws\WEB-INF\classes\ehcache.xml

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper-loader.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\g

rouper-ws\build\dist\grouper-ws\WEB-INF\classes\grouper-loader.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper-loader.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-w

s\build\dist\grouper-ws\WEB-INF\classes\grouper-loader.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.client.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\g

rouper-ws\build\dist\grouper-ws\WEB-INF\classes\grouper.client.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.client.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-w

s\build\dist\grouper-ws\WEB-INF\classes\grouper.client.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-

ws\build\dist\grouper-ws\WEB-INF\classes\grouper.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.example.properties to c:\apps\installerLocal\grouper.ws-2.1.

0\grouper-ws\build\dist\grouper-ws\WEB-INF\classes\grouper.hibernate.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.properties to c:\apps\installerLocal\grouper.ws-2.1.0\groupe

r-ws\build\dist\grouper-ws\WEB-INF\classes\grouper.hibernate.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build

\dist\grouper-ws\WEB-INF\classes\grouper.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\log4j.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws

\build\dist\grouper-ws\WEB-INF\classes\log4j.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\log4j.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\d

ist\grouper-ws\WEB-INF\classes\log4j.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\morphString.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grou

per-ws\build\dist\grouper-ws\WEB-INF\classes\morphString.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\morphString.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\b

uild\dist\grouper-ws\WEB-INF\classes\morphString.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\server.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-w

s\build\dist\grouper-ws\WEB-INF\classes\server.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\server.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\

dist\grouper-ws\WEB-INF\classes\server.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\sources.example.xml to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\buil

d\dist\grouper-ws\WEB-INF\classes\sources.example.xml

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\sources.xml to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\g

rouper-ws\WEB-INF\classes\sources.xml

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\spy.example.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\b

uild\dist\grouper-ws\WEB-INF\classes\spy.example.properties

     [copy] Copying c:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\spy.properties to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dis

t\grouper-ws\WEB-INF\classes\spy.properties

     [copy] Copying 90 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\lib

     [copy] Copying 5 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\lib

     [copy] Copying 23 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws

     [move] Moving 1 file to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\services

     [move] Moving 1 file to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\services

     [move] Moving 1 file to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws\WEB-INF\services

      [jar] Building jar: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws.war

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

   [delete] Deleting directory c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

    [mkdir] Created dir: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

    [javac] c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build.xml:631: warning: 'includeantruntime' was not set, defaulting to build.sysclasspa

th=last; set to false for repeatable builds

    [javac] Compiling 243 source files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

    [javac] Note: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws-java-generated-client\src\edu\internet2\middleware\grouper\webservicesClient\Ramp

artPwHandlerClient.java uses or overrides a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] Note: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws-java-generated-client\src\edu\internet2\middleware\grouper\webservicesClient\Grou

perServiceStub.java uses unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

     [copy] Copying 247 files to c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

     [copy] Copied 5 empty directories to 3 empty directories under c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\grouper-ws-soap-client

      [jar] Building jar: c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws-soap-client.jar

 

BUILD SUCCESSFUL

Total time: 20 seconds

 

Do you want to set the log dir of WS (t|f)? [t]:

Enter the WS log dir: [c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperWs]:

Editing file: c:\apps\installerLocal\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: 'c:/apps/installerLocal/apache-tomcat-6.0.35/logs/grouperWs'

- changing WS log directory from old value: '${grouper.home}logs' to new value: 'c:/apps/installerLocal/apache-tomcat-6.0.35/logs/grouperWs'

- changing WS log directory from old value: '${grouper.home}logs' to new value: 'c:/apps/installerLocal/apache-tomcat-6.0.35/logs/grouperWs'

- changing WS log directory from old value: '${grouper.home}logs' to new value: 'c:/apps/installerLocal/apache-tomcat-6.0.35/logs/grouperWs'

Creating log directory: c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperWs

Created and deleted a test file successfully in dir: c:\apps\installerLocal\apache-tomcat-6.0.35\logs\grouperWs

 

End building Ws

##################################

 

Enter the URL path for the WS [grouper-ws]:

Editing tomcat config file: c:\apps\installerLocal\apache-tomcat-6.0.35\conf\server.xml

- adding tomcat context for WS line: '<Context docBase="c:\apps\installerLocal\grouper.ws-2.1.0\grouper-ws\build\dist\grouper-ws" path="/grouper-ws"

reloadable="false"/>'

Tomcat is supposed to be listening on port: 8600, port not listening, assuming tomcat is not running...

Should we stop tomcat anyway? (t|f)? [f]

 

##################################

Tomcat stop with command (note you need CATALINA_HOME and JAVA_HOME set):

  c:\apps\installerLocal\apache-tomcat-6.0.35\bin\shutdown.bat

 

Mar 15, 2012 3:45:42 PM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommand

SEVERE: Process exit status=1: out: , err: Mar 15, 2012 3:45:42 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

        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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

       at java.net.Socket.<init>(Socket.java:180)

        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: c:\dev_inst\java\bin\java -XX:MaxPermSize=150m -Xmx640m -Dcatalina.home=c:\apps\installerLocal\apache-tomcat-6.0.35 -jar c:\apps\install

erLocal\apache-tomcat-6.0.35\bin\bootstrap.jar stop , workingDir: c:\apps\installerLocal\apache-tomcat-6.0.35\bin

java.lang.RuntimeException: Process exit status=1: out: , err: Mar 15, 2012 3:45:42 PM org.apache.catalina.startup.Catalina stopServer

SEVERE: Catalina.stop:

java.net.ConnectException: Connection refused: connect

        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:519)

        at java.net.Socket.connect(Socket.java:469)

        at java.net.Socket.<init>(Socket.java:366)

        at java.net.Socket.<init>(Socket.java:180)

        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)

 

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:9572)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.tomcatBounce(GrouperInstaller.java:580)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.tomcatBounce(GrouperInstaller.java:515)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1058)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:174)

Do you want to continue (t|f)? [f] t

 

End tomcat stop (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to stop (t|f)? [t]: f

Waiting 10 seconds for tomcat to stop...

 

##################################

Tomcat start with command (note you need CATALINA_HOME and JAVA_HOME set):

  c:\apps\installerLocal\apache-tomcat-6.0.35\bin\startup.bat

 

 

End tomcat start (note: logs are in c:\apps\installerLocal\apache-tomcat-6.0.35\logs)

##################################

 

Should we check ports to see if tomcat was able to start (t|f)? [t]: f

Waiting 10 seconds for tomcat to start...

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: c:\apps\installerLocal\grouper.clientB

inary-2.1.0.tar.gz

File exists: c:\apps\installerLocal\grouper.clientBinary-2.1.0.tar.gz, should we use the local file (t|f)? [t]:

Unzipping: c:\apps\installerLocal\grouper.clientBinary-2.1.0.tar.gz

Expanding: c:\apps\installerLocal\grouper.clientBinary-2.1.0.tar

Editing c:\apps\installerLocal\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: pass

 

##################################

Adding user GrouperSystem to grouper-ws users group with command:

  cmd /c c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\gsh.bat c:\apps\installerLocal\grouper.apiBinary-2.1.0\addGrouperSystemWsGroup.gsh

 

stderr: Couldnt startup grouper: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsqldb.jdbcDriver

java.lang.RuntimeException: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsqldb.jdbcDriver

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:42)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:402)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:307)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:112)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:136)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:39)

        ... 5 more

Exception in thread "main" java.lang.RuntimeException: Problems with db: DB: user: sa, url: jdbc:hsqldb:hsql://localhost:9001/grouper, driver: org.hsq

ldb.jdbcDriver

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:42)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:402)

        at edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:307)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:112)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:136)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

Caused by: java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:39)

        ... 5 more

 

stdout: Using GROUPER_HOME:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..

Using GROUPER_CONF:           c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\../conf

Using JAVA:                   "c:\dev_inst\java/bin/java"

using MEMORY:                 64m-750m

Grouper starting up: version: 2.1.0, build date: 2012/03/08 14:16:06, env: <no label configured>

grouper.properties read from: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.properties

Grouper current directory is: c:\apps\installerLocal\grouper.apiBinary-2.1.0

log4j.properties read from:   C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\log4j.properties

Grouper is logging to file:   c:\apps\installerLocal\grouper.apiBinary-2.1.0\bin\..\logs\grouper_error.log, at min level WARN for package: edu.interne

t2.middleware.grouper, based on log4j.properties

grouper.hibernate.properties: C:\apps\installerLocal\grouper.apiBinary-2.1.0\conf\grouper.hibernate.properties

grouper.hibernate.properties: sa@jdbc:hsqldb:hsql://localhost:9001/grouper

sources.xml read from:        C:\apps\installerLocal\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

Grouper error: Error connecting to the database with credentials from grouper.hibernate.properties, url: jdbc:hsqldb:hsql://localhost:9001/grouper, dr

iver: org.hsqldb.jdbcDriver, user: sa, java.sql.SQLException: Connection is broken: java.net.SocketException: Connection reset

        at org.hsqldb.jdbc.Util.sqlException(Unknown Source)

        at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)

        at org.hsqldb.jdbcDriver.getConnection(Unknown Source)

        at org.hsqldb.jdbcDriver.connect(Unknown Source)

        at java.sql.DriverManager.getConnection(DriverManager.java:582)

        at java.sql.DriverManager.getConnection(DriverManager.java:185)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkDatabase(GrouperCheckConfig.java:762)

        at edu.internet2.middleware.grouper.misc.GrouperCheckConfig.checkGrouperDb(GrouperCheckConfig.java:652)

        at edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:107)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:136)

        at edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:16)

 

 

##################################

Running client command:

c:\apps\installerLocal\grouper.clientBinary-2.1.0> c:\dev_inst\java\bin\java -jar grouperClient.jar --operation=getMembersWs --groupNames=etc:webServi

ceClientUsers

Mar 15, 2012 3:48:02 PM edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils execCommand

SEVERE: Process exit status=1: out: , err: Error with grouper client, check the logs: Web service did not even respond! http://localhost:8600/grouper-

ws/servicesRest

Mar 15, 2012 3:48:02 PM edu.internet2.middleware.grouperClient.GrouperClient main

SEVERE: Web service did not even respond! http://localhost:8600/grouper-ws/servicesRest

java.lang.RuntimeException: Web service did not even respond! http://localhost:8600/grouper-ws/servicesRest

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeServiceHelper(GrouperClientWs.java:624)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.access$000(GrouperClientWs.java:55)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:551)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:545)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.internal_failoverLogic(FailoverClient.java:687)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:596)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:572)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeService(GrouperClientWs.java:545)

        at edu.internet2.middleware.grouperClient.api.GcGetMembers.execute(GcGetMembers.java:309)

        at edu.internet2.middleware.grouperClient.GrouperClient.getMembers(GrouperClient.java:2111)

        at edu.internet2.middleware.grouperClient.GrouperClient.main(GrouperClient.java:322)

, on command: c:\dev_inst\java\bin\java -jar -jar grouperClient.jar --operation=getMembersWs --groupNames=etc:webServiceClientUsers , workingDir: c:\a

pps\installerLocal\grouper.clientBinary-2.1.0

Exception in thread "main" java.lang.RuntimeException: Process exit status=1: out: , err: Error with grouper client, check the logs: Web service did n

ot even respond! http://localhost:8600/grouper-ws/servicesRest

Mar 15, 2012 3:48:02 PM edu.internet2.middleware.grouperClient.GrouperClient main

SEVERE: Web service did not even respond! http://localhost:8600/grouper-ws/servicesRest

java.lang.RuntimeException: Web service did not even respond! http://localhost:8600/grouper-ws/servicesRest

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeServiceHelper(GrouperClientWs.java:624)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.access$000(GrouperClientWs.java:55)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:551)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs$1.logic(GrouperClientWs.java:545)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.internal_failoverLogic(FailoverClient.java:687)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:596)

        at edu.internet2.middleware.grouperClient.failover.FailoverClient.failoverLogic(FailoverClient.java:572)

        at edu.internet2.middleware.grouperClient.ws.GrouperClientWs.executeService(GrouperClientWs.java:545)

        at edu.internet2.middleware.grouperClient.api.GcGetMembers.execute(GcGetMembers.java:309)

        at edu.internet2.middleware.grouperClient.GrouperClient.getMembers(GrouperClient.java:2111)

        at edu.internet2.middleware.grouperClient.GrouperClient.main(GrouperClient.java:322)

 

        at edu.internet2.middleware.grouperInstaller.util.GrouperInstallerUtils.execCommand(GrouperInstallerUtils.java:9572)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.runClientCommand(GrouperInstaller.java:2051)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.mainLogic(GrouperInstaller.java:1083)

        at edu.internet2.middleware.grouperInstaller.GrouperInstaller.main(GrouperInstaller.java:174)

 

 

 

From: Jeff Mccullough [mailto:]
Sent: Thursday, March 15, 2012 12:58 PM
To: Chris Hyzer
Cc: Jeff McCullough; Grouper Dev
Subject: Re: [grouper-dev] grouper installer 2.1.0 - local files?

 

Hi Chris,

 

The idea was to use the installer without the host being connected to the public network, eg. a 1918 network. The documentation (snippet below) suggested that this was possible, so I copied the tar balls to the same directory as the installer jar. The documentation also suggested that the installer prompted for local or network install, which the installer didn't do. Just trying to confirm if i was missing something. Make sense? 

 

Jeff


On Mar 15, 2012, at 3:52 AM, Chris Hyzer <> wrote:

It will install the first time without using local files.  Then once things are downloaded, stop tomcat and hsql, and put some jars in the API lib/custom directory.  Then run the installer again, but dont download or extract the tarballs again, and it should build the UI/WS with your jars.  Is that what you want?

Thanks,
Chris


From: [] on behalf of Jeff McCullough []
Sent: Wednesday, March 14, 2012 5:48 PM
To: Grouper Dev
Subject: [grouper-dev] grouper installer 2.1.0 - local files?

 

I'm using local files for grouperInstaller.jar, but don't see an option for using local files which are in the jar's directory.

 

sudo java -jar grouperInstaller.2.1.jar 

Enter in the Grouper install directory (note: better if no spaces or special chars) [/home/downloads/grouper/grouperinstaller-2.1]: /apps/grouper/grouper-2.1.0

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: /apps/grouper/grouper-2.1.0/grouper.apiBinary-2.1.0.tar.gz

 

Running without network

The Grouper installer requires the internet to download the Grouper tarballs.  If you want to run this without the network, download all the tarballs (example links for 2.0.2) (apiBinaryuiwsclient) and the subjects file (into subjects.sql), and quickstart file (into quickstart.xml), anttomcat to the install directory.  When the script asks if you want to use the local files, type: t (or just <Enter> since the default is t)

 

Thanks,

Jeff




Archive powered by MHonArc 2.6.16.

Top of Page