juddi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt T Stam (JIRA)" <juddi-...@ws.apache.org>
Subject [jira] [Updated] (JUDDI-483) ERROR 40XL1: A lock could not be obtained within the time requested
Date Thu, 19 May 2011 14:48:48 GMT

     [ https://issues.apache.org/jira/browse/JUDDI-483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kurt T Stam updated JUDDI-483:
------------------------------

    Fix Version/s:     (was: 3.1.1)
                   3.1.0

This is related to the code in the SubscriptionNotifier that takes out a write lock. I'm pulling
this into the 3.1.0 release where I'm reviewing this code anyway.

> ERROR 40XL1: A lock could not be obtained within the time requested
> -------------------------------------------------------------------
>
>                 Key: JUDDI-483
>                 URL: https://issues.apache.org/jira/browse/JUDDI-483
>             Project: jUDDI
>          Issue Type: Bug
>            Reporter: Kurt T Stam
>            Assignee: Kurt T Stam
>            Priority: Minor
>             Fix For: 3.1.0
>
>
> Seems to happen on the hibernate build when trying to remove the subscription when the
test is completed. 
> 07:18:04,273 INFO  [UDDI_090_SubscriptionListenerIntegrationTest] Updating Service **********

> [WARNING] [talledLocalContainer] May 19, 2011 7:19:04 AM org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLogging
> [WARNING] [talledLocalContainer] WARNING: Application {urn:uddi-org:v3_service}UDDISubscriptionService#{urn:uddi-org:v3_service}delete_subscription
has thrown exception, unwinding now
> [WARNING] [talledLocalContainer] org.apache.cxf.interceptor.Fault: Error while commiting
the transaction
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:86)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
> [WARNING] [talledLocalContainer] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> [WARNING] [talledLocalContainer] 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> [WARNING] [talledLocalContainer] 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:255)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:113)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:97)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:461)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:188)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:148)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
> [WARNING] [talledLocalContainer] 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:394)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> [WARNING] [talledLocalContainer] 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> [WARNING] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
> [WARNING] [talledLocalContainer] 	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> [WARNING] [talledLocalContainer] 	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> [WARNING] [talledLocalContainer] 	at java.lang.Thread.run(Thread.java:662)
> [WARNING] [talledLocalContainer] Caused by: javax.persistence.RollbackException: Error
while commiting the transaction
> [WARNING] [talledLocalContainer] 	at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:71)
> [WARNING] [talledLocalContainer] 	at org.apache.juddi.api.impl.UDDISubscriptionImpl.deleteSubscription(UDDISubscriptionImpl.java:120)
> [WARNING] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> [WARNING] [talledLocalContainer] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [WARNING] [talledLocalContainer] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [WARNING] [talledLocalContainer] 	at java.lang.reflect.Method.invoke(Method.java:597)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
> [WARNING] [talledLocalContainer] 	at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
> [WARNING] [talledLocalContainer] 	... 31 more
> [WARNING] [talledLocalContainer] Caused by: org.hibernate.exception.GenericJDBCException:
could not delete: [org.apache.juddi.model.Subscription#uddi:uddi.joepublisher.com:subscriptionone]
> [WARNING] [talledLocalContainer] 	at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
> [WARNING] [talledLocalContainer] 	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
> [WARNING] [talledLocalContainer] 	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
> [WARNING] [talledLocalContainer] 	at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2541)
> [WARNING] [talledLocalContainer] 	at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2697)
> [WARNING] [talledLocalContainer] 	at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:74)
> [WARNING] [talledLocalContainer] 	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
> [WARNING] [talledLocalContainer] 	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
> [WARNING] [talledLocalContainer] 	at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:146)
> [WARNING] [talledLocalContainer] 	at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
> [WARNING] [talledLocalContainer] 	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
> [WARNING] [talledLocalContainer] 	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
> [WARNING] [talledLocalContainer] 	at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
> [WARNING] [talledLocalContainer] 	at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
> [WARNING] [talledLocalContainer] 	at org.hibernate.ejb.TransactionImpl.commit(TransactionImpl.java:54)
> [WARNING] [talledLocalContainer] 	... 38 more
> .07:19:05,002 ERROR [TckSubscriptionListener] Error while commiting the transaction
> [WARNING] [talledLocalContainer] Caused by: java.sql.SQLTransactionRollbackException:
A lock could not be obtained within the time requested
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
> javax.xml.ws.soap.SOAPFaultException: Error while commiting the transaction
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
> 	at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:188)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
> 	at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:122)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
> 	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
> 	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
> 	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
> 	at $Proxy52.deleteSubscription(Unknown Source)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
> 	at org.apache.juddi.v3.tck.TckSubscriptionListener.deleteSubscription(TckSubscriptionListener.java:156)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeUpdate(Unknown
Source)
> 	at org.apache.juddi.v3.tck.TckSubscriptionListener.deleteNotifierSubscription(TckSubscriptionListener.java:115)
> [WARNING] [talledLocalContainer] 	at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:102)
> 	at org.apache.juddi.v3.tck.UDDI_090_SubscriptionListenerIntegrationTest.joePublisher(UDDI_090_SubscriptionListenerIntegrationTest.java:127)
> [WARNING] [talledLocalContainer] 	at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [WARNING] [talledLocalContainer] 	at org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2520)
> [WARNING] [talledLocalContainer] 	... 49 more
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> [WARNING] [talledLocalContainer] Caused by: java.sql.SQLException: A lock could not be
obtained within the time requested
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
> [WARNING] [talledLocalContainer] 	... 61 more
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> [WARNING] [talledLocalContainer] Caused by: ERROR 40XL1: A lock could not be obtained
within the time requested
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
> 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.services.locks.ConcurrentLockSet.lockObject(Unknown
Source)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.services.locks.AbstractPool.lockObject(Unknown
Source)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.raw.xact.RowLocking3.lockRecordForWrite(Unknown
Source)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown
Source)
> 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
> 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
> 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown
Source)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockRowOnPage(Unknown
Source)
> 	at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3._lockScanRow(Unknown
Source)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.btree.index.B2IRowLockingRR.lockScanRow(Unknown
Source)
> 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.btree.BTreeForwardScan.fetchRows(Unknown
Source)
> 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.store.access.btree.BTreeScan.fetchNext(Unknown
Source)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.TableScanResultSet.getNextRowCore(Unknown
Source)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(Unknown
Source)
> 	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(Unknown
Source)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown
Source)
> 	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.DeleteResultSet.setup(Unknown
Source)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown
Source)
> 	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
> [WARNING] [talledLocalContainer] 	at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [WARNING] [talledLocalContainer] 	... 55 more
> 	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.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:334)
> 	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:980)
> 07:19:05,004 INFO  [UDDIClerkManager] Stopping UDDI Clerks for manager test-manager

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message