Hi all,
following the quickstart guide for globus 4.2.1 for setting up a single
machine,
I persistently run into some problems when starting the
globus-ws-java-container services:
glo...@graz:~$ /etc/init.d/globus-ws-java-container start
Starting Globus container. PID: 16720
seems ok, but calling globus-crft gives
beckm...@graz:~$ cat transfer
gsiftp://graz.cgv.tugraz.at/etc/group gsiftp://graz.cgv.tugraz.at/tmp/asd
beckm...@graz:~$ *globus-crft -ez -f transfer*
Communicating with delegation service.
Creating the RFT service.
globus_soap_message_module: SOAP Fault
Fault code: soapenv:Server.userException
Fault string: java.rmi.RemoteException: Unable to create RFT resource;
nested exception is:
org.globus.transfer.reliable.service.database.RftDBException:
Unable to connect to database.Cannot get a connection, pool exhausted
[Caused by: Cannot get a connection, pool exhausted]
and the log message upon starting the container yields:
glo...@graz:~$ cat /usr/local/globus-4.2.1.1/var/container.log
Unable to connect to database.Cannot get a connection, pool exhausted.
Caused by org.apache.commons.dbcp.SQLNestedException: Cannot get a
connection, pool exhausted
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:183)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at
org.globus.transfer.reliable.service.database.RFTDatabaseSetup.getDBConnection(RFTDatabaseSetup.java:261)
at
org.globus.transfer.reliable.service.database.ReliableFileTransferDbAdapter.setSchemaVersion(ReliableFileTransferDbAdapter.java:441)
at
org.globus.transfer.reliable.service.database.ReliableFileTransferDbAdapter.setup(ReliableFileTransferDbAdapter.java:155)
at
org.globus.transfer.reliable.service.ReliableFileTransferImpl.<init>(ReliableFileTransferImpl.java:78)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.globus.axis.providers.RPCProvider.getNewServiceInstance(RPCProvider.java:120)
at
org.globus.axis.description.ServiceDescUtil.initializeProviders(ServiceDescUtil.java:214)
at
org.globus.axis.description.ServiceDescUtil.initializeService(ServiceDescUtil.java:163)
at
org.globus.wsrf.container.ServiceManager$InitPrivilegedAction.initialize(ServiceManager.java:384)
at
org.globus.wsrf.container.ServiceManager$InitPrivilegedAction.run(ServiceManager.java:396)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.globus.gsi.jaas.GlobusSubject.runAs(GlobusSubject.java:60)
at org.globus.gsi.jaas.JaasSubject.doAs(JaasSubject.java:100)
at
org.globus.wsrf.container.ServiceManager.initializeService(ServiceManager.java:271)
at
org.globus.wsrf.container.ServiceManager.start(ServiceManager.java:177)
at
org.globus.wsrf.container.ServiceDispatcher.startServices(ServiceDispatcher.java:799)
at
org.globus.wsrf.container.ServiceDispatcher.init(ServiceDispatcher.java:435)
at
org.globus.wsrf.container.ServiceContainer.start(ServiceContainer.java:252)
at
org.globus.wsrf.container.ServiceContainer.<init>(ServiceContainer.java:212)
at
org.globus.wsrf.container.GSIServiceContainer.<init>(GSIServiceContainer.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
org.globus.wsrf.container.ServiceContainer.createContainer(ServiceContainer.java:168)
at
org.globus.wsrf.container.ServiceContainer.startSecurityContainer(ServiceContainer.java:606)
at
org.globus.wsrf.container.ServiceContainer.main(ServiceContainer.java:539)
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.globus.bootstrap.BootstrapBase.launch(BootstrapBase.java:114)
at
org.globus.bootstrap.ContainerBootstrap.main(ContainerBootstrap.java:40)
Caused by: java.util.NoSuchElementException: Could not create a
validated object, cause: A read-only user or a user in a read-only
database is not permitted to disable read-only mode on a connection.
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:806)
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
... 41 more
2010-01-12T16:52:14.623+01:00 ERROR service.ReliableFileTransferImpl
[main,oldLog:179] Unable to setup database driver with pooling.Unable to
connect to database.Cannot get a connection, pool exhausted [Caused by:
Cannot get a connection, pool exhausted]
2010-01-12T16:52:15.189+01:00 WARN service.ReliableFileTransferHome
[main,oldLog:190] All RFT requests will fail and all GRAM jobs that
require file staging will fail.Unable to connect to database.Cannot get
a connection, pool exhausted [Caused by: Cannot get a connection, pool
exhausted]
Starting SOAP server at https://129.27.218.67:8443/wsrf/services/
With the following services:
[1]: https://129.27.218.67:8443/wsrf/services/AdminService
[2]: https://129.27.218.67:8443/wsrf/services/AttachmentTestService
[3]: https://129.27.218.67:8443/wsrf/services/AuthzCalloutTestService
[4]: https://129.27.218.67:8443/wsrf/services/CASService
[5]: https://129.27.218.67:8443/wsrf/services/ContainerRegistryEntryService
[6]: https://129.27.218.67:8443/wsrf/services/ContainerRegistryService
[7]: https://129.27.218.67:8443/wsrf/services/CounterService
[8]: https://129.27.218.67:8443/wsrf/services/DefaultIndexService
[9]: https://129.27.218.67:8443/wsrf/services/DefaultIndexServiceEntry
[10]: https://129.27.218.67:8443/wsrf/services/DelegationFactoryService
[11]: https://129.27.218.67:8443/wsrf/services/DelegationService
[12]: https://129.27.218.67:8443/wsrf/services/DelegationTestService
[13]: https://129.27.218.67:8443/wsrf/services/DeployService
[14]: https://129.27.218.67:8443/wsrf/services/GKrellmService
[15]: https://129.27.218.67:8443/wsrf/services/InMemoryServiceGroup
[16]: https://129.27.218.67:8443/wsrf/services/InMemoryServiceGroupEntry
[17]: https://129.27.218.67:8443/wsrf/services/InMemoryServiceGroupFactory
[18]: https://129.27.218.67:8443/wsrf/services/IndexFactoryService
[19]: https://129.27.218.67:8443/wsrf/services/IndexService
[20]: https://129.27.218.67:8443/wsrf/services/IndexServiceEntry
[21]: https://129.27.218.67:8443/wsrf/services/JWSCoreVersion
[22]: https://129.27.218.67:8443/wsrf/services/LoggingService
[23]: https://129.27.218.67:8443/wsrf/services/ManagedExecutableJobService
[24]: https://129.27.218.67:8443/wsrf/services/ManagedJobFactoryService
[25]: https://129.27.218.67:8443/wsrf/services/ManagedMultiJobService
[26]: https://129.27.218.67:8443/wsrf/services/ManagementService
[27]:
https://129.27.218.67:8443/wsrf/services/NotificationConsumerFactoryService
[28]: https://129.27.218.67:8443/wsrf/services/NotificationConsumerService
[29]: https://129.27.218.67:8443/wsrf/services/NotificationTestService
[30]:
https://129.27.218.67:8443/wsrf/services/PersistenceTestSubscriptionManager
[31]: https://129.27.218.67:8443/wsrf/services/QueryTestService
[32]: https://129.27.218.67:8443/wsrf/services/RPParamTestService
[33]:
https://129.27.218.67:8443/wsrf/services/ReliableFileTransferFactoryService
[34]: https://129.27.218.67:8443/wsrf/services/ReliableFileTransferService
[35]: https://129.27.218.67:8443/wsrf/services/RendezvousFactoryService
[36]: https://129.27.218.67:8443/wsrf/services/ReplicationService
[37]: https://129.27.218.67:8443/wsrf/services/SAMLAuthzTestService
[38]: https://129.27.218.67:8443/wsrf/services/SampleAuthzService
[39]: https://129.27.218.67:8443/wsrf/services/SecureCounterService
[40]: https://129.27.218.67:8443/wsrf/services/SecurityTestService
[41]: https://129.27.218.67:8443/wsrf/services/ShutdownService
[42]: https://129.27.218.67:8443/wsrf/services/SubscriptionManagerService
[43]: https://129.27.218.67:8443/wsrf/services/TestAuthzService
[44]: https://129.27.218.67:8443/wsrf/services/TestCASService
[45]: https://129.27.218.67:8443/wsrf/services/TestEnumService
[46]: https://129.27.218.67:8443/wsrf/services/TestLoginModuleService
[47]: https://129.27.218.67:8443/wsrf/services/TestPDPService
[48]: https://129.27.218.67:8443/wsrf/services/TestParamAuthzService
[49]: https://129.27.218.67:8443/wsrf/services/TestRPCService
[50]: https://129.27.218.67:8443/wsrf/services/TestService
[51]: https://129.27.218.67:8443/wsrf/services/TestServiceRequest
[52]: https://129.27.218.67:8443/wsrf/services/TestServiceWrongWSDL
[53]: https://129.27.218.67:8443/wsrf/services/TriggerFactoryService
[54]: https://129.27.218.67:8443/wsrf/services/TriggerRegistrationService
[55]:
https://129.27.218.67:8443/wsrf/services/TriggerRegistrationServiceEntry
[56]: https://129.27.218.67:8443/wsrf/services/TriggerService
[57]: https://129.27.218.67:8443/wsrf/services/Version
[58]: https://129.27.218.67:8443/wsrf/services/WidgetNotificationService
[59]: https://129.27.218.67:8443/wsrf/services/WidgetService
[60]: https://129.27.218.67:8443/wsrf/services/gsi/AuthenticationService
[61]:
https://129.27.218.67:8443/wsrf/services/mds/test/execsource/IndexService
[62]:
https://129.27.218.67:8443/wsrf/services/mds/test/execsource/IndexServiceEntry
[63]:
https://129.27.218.67:8443/wsrf/services/mds/test/httpsource/IndexService
[64]:
https://129.27.218.67:8443/wsrf/services/mds/test/httpsource/IndexServiceEntry
[65]:
https://129.27.218.67:8443/wsrf/services/mds/test/subsource/IndexService
[66]:
https://129.27.218.67:8443/wsrf/services/mds/test/subsource/IndexServiceEntry
[67]:
https://129.27.218.67:8443/wsrf/services/mds/test/usefulrp/IndexService
[68]:
https://129.27.218.67:8443/wsrf/services/mds/test/usefulrp/IndexServiceEntry
2010-01-12T16:52:40.582+01:00 INFO impl.DefaultIndexService
[ServiceThread-56,performDefaultRegistrations:228] Processing upstream
registration to
https://graz.cgv.tugraz.at:8443/wsrf/services/DefaultIndexService
2010-01-12T16:52:40.586+01:00 WARN impl.DefaultIndexService
[ServiceThread-56,performDefaultRegistrations:246] Check configuration -
loopback condition detected in upstream registration - check
configuration: Registrant EPR was:
[https://graz.cgv.tugraz.at:8443/wsrf/services/DefaultIndexService]
Local EPR was:
[https://129.27.218.67:8443/wsrf/services/DefaultIndexService]
2010-01-12T16:52:40.586+01:00 INFO impl.DefaultIndexService
[ServiceThread-56,performDefaultRegistrations:261]
guid=838b0dd0-ff92-11de-b66e-f9537271f2a4
event=org.globus.mds.index.performDefaultRegistrations.end status=0
2010-01-12T16:52:41.910+01:00 ERROR
factory.ReliableFileTransferFactoryService [ServiceThread-60,oldLog:175]
Unable to create RFT resource
Unable to connect to database.Cannot get a connection, pool exhausted.
Caused by org.apache.commons.dbcp.SQLNestedException: Cannot get a
connection, pool exhausted
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:183)
at java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:207)
at
org.globus.transfer.reliable.service.database.RFTDatabaseSetup.getDBConnection(RFTDatabaseSetup.java:261)
at
org.globus.transfer.reliable.service.database.ReliableFileTransferDbAdapter.storeTransferRequest(ReliableFileTransferDbAdapter.java:204)
at
org.globus.transfer.reliable.service.ReliableFileTransferResource.<init>(ReliableFileTransferResource.java:191)
at
org.globus.transfer.reliable.service.ReliableFileTransferHome.create(ReliableFileTransferHome.java:126)
at
org.globus.transfer.reliable.service.factory.ReliableFileTransferFactoryService.createReliableFileTransfer(ReliableFileTransferFactoryService.java:249)
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.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:410)
at
org.globus.axis.providers.RPCProvider.invokeMethodSub(RPCProvider.java:112)
at
org.globus.axis.providers.PrivilegedInvokeMethodAction.run(PrivilegedInvokeMethodAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.globus.gsi.jaas.GlobusSubject.runAs(GlobusSubject.java:60)
at org.globus.gsi.jaas.JaasSubject.doAs(JaasSubject.java:100)
at
org.globus.axis.providers.RPCProvider.invokeMethod(RPCProvider.java:102)
at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:332)
at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at
org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at
org.apache.axis.server.AxisServer.invokeService(AxisServer.java:234)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:375)
at
org.globus.wsrf.container.ServiceThread.doPost(ServiceThread.java:949)
at
org.globus.wsrf.container.ServiceThread.process(ServiceThread.java:684)
at
org.globus.wsrf.container.GSIServiceThread.process(GSIServiceThread.java:182)
at
org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:471)
Caused by: java.util.NoSuchElementException: Could not create a
validated object, cause: A read-only user or a user in a read-only
database is not permitted to disable read-only mode on a connection.
at
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:806)
at
org.apache.commons.dbcp.PoolingDriver.connect(PoolingDriver.java:175)
... 31 more
2010-01-12T16:52:56.656+01:00 WARN
client.ServiceGroupRegistrationClient
[org.globus.wsrf.impl.servicegroup.client.ServiceGroupRegistrationClient$RegTimer,timerExpired:910]
Could not register
https://129.27.218.67:8443/wsrf/services/DefaultIndexService to
servicegroup at
https://graz.cgv.tugraz.at:8443/wsrf/services/DefaultIndexService --
check the URL and that the remote service is up. Remote exception was
org.oasis.wsrf.servicegroup.AddRefusedFaultType: Loopback or duplicate
registrant address submitted
All other serives described in the quickstart guide work well, though.
Has somebody an answer to
this puzzling behavior or experienced a similar problem? I'd appreciate
any help!
Thanks in advance for helping me...
Philipp