grouper-users - RE: [grouper-users] more information
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: tom dopirak <>, "" <>
- Subject: RE: [grouper-users] more information
- Date: Sun, 7 May 2017 20:37:25 +0000
- Accept-language: en-US
- Authentication-results: andrew.cmu.edu; dkim=none (message not signed) header.d=none;andrew.cmu.edu; dmarc=none action=none header.from=isc.upenn.edu;
- Ironport-phdr: 9a23:HwVqBB1yFXMf5jivsmDT+DRfVm0co7zxezQtwd8ZseMeKvad9pjvdHbS+e9qxAeQG96KtbQa26GP7vmocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbQhFgDuwbalzIRi1ogndq8kbjZZ/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTlkzkMOSIn/27Li8xwlKNbrwynpxxj2I7ffYWZOONjcq/BYd8WQGxMVdtTWSNcGIOxd4sBAfQcM+ZEoYfzpFUOohm/BQawC+3gxSRFhmPt0qEmz+gtDR3K0Q4mEtkTsHrUttL1NKIKXOy7zqfJzTTCYO1M2Tvl9YPFbBAhoeuNXbJrf8ba1E4iFwbZgVWQqY3kPi2a1v4Wvmia9OpvSfiji3M/qw5vpDivwN0ghZfUiYII013J8zhyzogyJd29UkF7YNikHYNftyGAMIt2X9siTH9yuCog0LIGoYa7cS4Xw5ok3x7Sc+KLf5WJ7x75WuudPy10iG9mdb6jnRq+71WsxvXhWsS6zFpGtC5InsTWunwTyhDe7tKLRuZ/80qg3zuEyhrd5fteIU8ukKrWM54hzaA0lpoUqUnNBjP7lkLqgKOIb0kq5/Cm5/n+brXhvZCTKZV4igbjMqQygcO/Bvk4Mg4TUGSB4eS8zrrj/VHnT7pWkv02k67ZsJbAKcQcu665HwtV0oEk6xa8FTupzNMYnXwfIFJEfhKIkZTpNknQLPzlDPqzmVqhnClxy/zbPbDtHo/BImbenLv5eLZy8U9cyA49zdBF4JJUD6kMIPfvVU/xtN3ZDwE2MxavzubmE9VyypkSWX+XAqCHNqPSt0WE6fwyLOmRfIMVoiryK+A55/7yin80gVAdfbOu3ZsKcHC3AO5mL1yEYXr3nNgBC3wKsxE6TOzrk12CTSVTa2ioU6I94DE7FJypDZ3FRo+znLyNwj23EYNLaWBbWRiwFiL0cIDMV/AUaTibIYc1jjADTbm7QowJ3BeirgLljbFiM6zZ9jBO8dqp28Jy+vXej1Qv7jFuFOyc1X2AVWd5gjlOSjMrlugrrlZ610+Oy+1lmPFCDvRS4e9ESAE3KcSawuBnXYPcQAXEK52pWUSrWJHuKjErT8l7i4sLaEZsCdi4phHY1Gy3G7ITkfqGCIFiofGU5GT4O8sokyWO76ImlVRzB5IXbWA=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
I think you only need GROUPER_HOME if you don’t start grouper from the
directory where its installed. If you are in the bin directory and start gsh
(and assuming the database is started), then you should be fine.
Thanks
Chris
-----Original Message-----
From:
[mailto:]
On Behalf Of tom dopirak
Sent: Saturday, May 06, 2017 1:45 PM
To:
Subject: [grouper-users] more information
So once I figured out the GROUPER_HOME didn't get set by the install
script I was able to use gsh and restart grouper. Obviously the install
of the database didn't go well or something is missing from the ubuntu
distribution. Anyone care to save me a bit of time?
Tom
t@t-VirtualBox:~/grouper/grouper.apiBinary-2.3.0$ bin/gsh --loader >
./test.errCouldnt 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:254)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:436)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:340)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:251)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:151)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.sql.SQLException: Connections could not be acquired from
the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
at
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
at
edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:251)
... 5 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:1469)
at
com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
at
com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
... 7 more
Caused by: java.sql.SQLTransientConnectionException:
java.net.ConnectException: Connection refused (Connection refused)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Caused by: org.hsqldb.HsqlException: java.net.ConnectException:
Connection refused (Connection refused)
at org.hsqldb.ClientConnection.openConnection(Unknown Source)
at org.hsqldb.ClientConnection.initConnection(Unknown Source)
at org.hsqldb.ClientConnection.<init>(Unknown Source)
... 12 more
Caused by: java.net.ConnectException: Connection refused (Connection
refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at org.hsqldb.server.HsqlSocketFactory.createSocket(Unknown Source)
... 15 more
Exception in thread "main" 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:254)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrapHelper(GrouperDdlUtils.java:436)
at
edu.internet2.middleware.grouper.ddl.GrouperDdlUtils.bootstrap(GrouperDdlUtils.java:340)
at
edu.internet2.middleware.grouper.misc.GrouperStartup.startup(GrouperStartup.java:251)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShell.main(GrouperShell.java:151)
at
edu.internet2.middleware.grouper.app.gsh.GrouperShellWrapper.main(GrouperShellWrapper.java:31)
Caused by: java.sql.SQLException: Connections could not be acquired from
the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)
at
com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
at
edu.internet2.middleware.grouper.app.loader.db.GrouperLoaderDb.connection(GrouperLoaderDb.java:251)
... 5 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:1469)
at
com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)
at
com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)
... 7 more
Caused by: java.sql.SQLTransientConnectionException:
java.net.ConnectException: Connection refused (Connection refused)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
at
com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)
at
com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)
at
com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)
at
com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)
at
com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)
at
com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)
at
com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
Caused by: org.hsqldb.HsqlException: java.net.ConnectException:
Connection refused (Connection refused)
at org.hsqldb.ClientConnection.openConnection(Unknown Source)
at org.hsqldb.ClientConnection.initConnection(Unknown Source)
at org.hsqldb.ClientConnection.<init>(Unknown Source)
... 12 more
Caused by: java.net.ConnectException: Connection refused (Connection
refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at java.net.Socket.connect(Socket.java:538)
at java.net.Socket.<init>(Socket.java:434)
at java.net.Socket.<init>(Socket.java:211)
at org.hsqldb.server.HsqlSocketFactory.createSocket(Unknown Source)
... 15 more
- [grouper-users] more information, tom dopirak, 05/06/2017
- RE: [grouper-users] more information, Hyzer, Chris, 05/07/2017
Archive powered by MHonArc 2.6.19.