Hi G-Reg team,
I have encountered the following error while upgrading AppManager to use
carbon 4.4.0

Registry version : 4.4.3
Governance Version : 4.5.1

What could be the cause?

--------------------------------------------------

[2015-07-02 19:00:18,911] ERROR - AsyncIndexer Error while indexing.

org.wso2.carbon.registry.core.exceptions.RegistryException: Error at
IndexDocumentCreator when getting Registry Comment.

at
org.wso2.carbon.registry.indexing.indexer.IndexDocumentCreator.addComments(IndexDocumentCreator.java:217)

at
org.wso2.carbon.registry.indexing.indexer.IndexDocumentCreator.createIndexDocument(IndexDocumentCreator.java:110)

at
org.wso2.carbon.registry.indexing.AsyncIndexer$IndexingTask.createIndexDocument(AsyncIndexer.java:212)

at
org.wso2.carbon.registry.indexing.AsyncIndexer$IndexingTask.run(AsyncIndexer.java:196)

at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException:
Failed to check the existence of the resource
/_system/governance/appmgt/applicationdata/provider/admin/a31/a31/webapp.
Timeout trying to lock table "REG_RESOURCE"; SQL statement:

SELECT REG_VERSION FROM REG_RESOURCE WHERE REG_PATH_ID=? AND REG_NAME=? AND
REG_TENANT_ID=? [50200-140]

at
org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getVersion(JDBCResourceDAO.java:206)

at
org.wso2.carbon.registry.core.utils.RegistryUtils.getResourceWithMinimumData(RegistryUtils.java:1804)

at
org.wso2.carbon.registry.core.jdbc.dao.JDBCCommentsVersionDAO.getResourceWithMinimumData(JDBCCommentsVersionDAO.java:521)

at
org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.getComments(EmbeddedRegistry.java:1980)

at
org.wso2.carbon.registry.core.caching.CacheBackedRegistry.getComments(CacheBackedRegistry.java:381)

at
org.wso2.carbon.registry.core.session.UserRegistry.getCommentsInternal(UserRegistry.java:1590)

at
org.wso2.carbon.registry.core.session.UserRegistry.access$3100(UserRegistry.java:60)

at
org.wso2.carbon.registry.core.session.UserRegistry$32.run(UserRegistry.java:1573)

at
org.wso2.carbon.registry.core.session.UserRegistry$32.run(UserRegistry.java:1570)

at java.security.AccessController.doPrivileged(Native Method)

at
org.wso2.carbon.registry.core.session.UserRegistry.getComments(UserRegistry.java:1570)

at
org.wso2.carbon.registry.indexing.indexer.IndexDocumentCreator.addComments(IndexDocumentCreator.java:213)

... 8 more

Caused by: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table
"REG_RESOURCE"; SQL statement:

-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 777739736
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to