Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JFrog JIRA by Yoav Landman, 2 years ago
via JFrog JIRA by Yoav Landman, 1 year ago
java.sql.SQLException: A lock could not be obtained within the time requested	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)	at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)	at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown Source)	at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown Source)	at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:365)	at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmtInternal(ConnectionRecoveryManager.java:292)	at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:257)	at org.apache.jackrabbit.core.persistence.bundle.util.ConnectionRecoveryManager.executeStmt(ConnectionRecoveryManager.java:237)	at org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(DbDataStore.java:292)	at org.apache.jackrabbit.core.value.BLOBInDataStore.getInstance(BLOBInDataStore.java:120)	at org.apache.jackrabbit.core.value.InternalValue.getBLOBFileValue(InternalValue.java:644)	at org.apache.jackrabbit.core.value.InternalValue.create(InternalValue.java:123)	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:609)	at org.apache.jackrabbit.core.PropertyImpl.setValue(PropertyImpl.java:525)	at org.apache.jackrabbit.core.NodeImpl.setProperty(NodeImpl.java:2312)	at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadataInternal(MetadataServiceImpl.java:399)	at org.artifactory.jcr.md.MetadataServiceImpl.setXmlMetadata(MetadataServiceImpl.java:170)	at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)	at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:79)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy18.setXmlMetadata(Unknown Source)	at org.artifactory.jcr.fs.JcrFolder.importChildren(JcrFolder.java:440)	at org.artifactory.repo.jcr.JcrRepoBase.importFrom(JcrRepoBase.java:512)	at org.artifactory.repo.service.RepositoryServiceImpl.importRepo(RepositoryServiceImpl.java:655)	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:585)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)	at org.artifactory.jcr.lock.LockingAdvice.invoke(LockingAdvice.java:81)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)	at $Proxy12.importRepo(Unknown Source)	at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:68)	at org.artifactory.repo.service.ImportJob.onExecute(ImportJob.java:34)	at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43)	at org.quartz.core.JobRunShell.run(JobRunShell.java:202)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)	at java.lang.Thread.run(Thread.java:595)