Hello Vinod,

I suspect there is some type of db problem, you can do:

docker logs mariadb
docker logs pap

will help you out to diagnose if the database has been populated correctly.

Jorge

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Vinod Pillai
Sent: Wednesday, April 11, 2018 12:22 AM
To: onap-discuss@lists.onap.org
Subject: [onap-discuss] POLICY -

Hi,

I am getting below error in POLICY - PAP for Amsterdam release. Could this be  
a configuration issue ? Any workaround / solution around this.

Error:

Query: ReadObjectQuery(name="readDatabaseLockEntity" 
referenceClass=DatabaseLockEntity sql="SELECT lock_key FROM DatabaseLockEntity 
WHERE (lock_key = ?) FOR UPDATE")
Could not get lock entity
Apr 10, 2018 12:34:03 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet 
org.onap.policy.pap.xacml.rest.XACMLPapServlet
javax.servlet.ServletException: PE200 - System Error: PAP not initialized; 
unexpected error: javax.persistence.PersistenceException: Could not lock 
transaction within 500000 milliseconds


Regards,
Vinod Pillai
============================================================================================================================
Disclaimer:  This message and the information contained herein is proprietary 
and confidential and subject to the Tech Mahindra policy statement, you may 
review the policy at 
http://www.techmahindra.com/Disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.techmahindra.com_Disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=AOclne09odx6cmeimzFUhQ&m=Zu19xv1WXHzlNjorgF0ThWDx62ldKeRL1jp_gXi8C-c&s=X79SOHiDM28ZR_TyGVuNRs5tRU9bdZ-kV2lgkGgPJ5Q&e=>
 externally 
http://tim.techmahindra.com/tim/disclaimer.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__tim.techmahindra.com_tim_disclaimer.html&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=AOclne09odx6cmeimzFUhQ&m=Zu19xv1WXHzlNjorgF0ThWDx62ldKeRL1jp_gXi8C-c&s=MLJGTrFSET1xqfWJmQ9iFZnV6573QYVKFvfTorFpjQY&e=>
 internally within TechMahindra.
============================================================================================================================
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to