Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
+1
person also asked this
people also asked this
Replies
6 replies
Subscribers
8 subscribers
Views
54375 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Getting error: Could not open JPA EntityManager for transaction
tushark171
over 7 years ago
Hi,
Any idea what might be the issue behind below error ? also I have attached complete stacktrace of error.
Thanks,
Tushar
com.appiancorp.process.expression.ExpressionRuntimeException$AppianExceptionProvider: Expression evaluation error in rule 'pfdc_getrevieworganizationdata' (called by rules 'pfdc_getorganizationgroupidbyname' > 'pfdc_checkreviewgroupsplitrequired' > 'pfdc_viewloanmainscreen') at function a!queryEntity [line 33]: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection (APNX-1-4198-000)
at com.appiancorp.process.expression.ExpressionRuntimeException.<init>(ExpressionRuntimeException.java:70)
at com.appiancorp.core.expr.exceptions.AppianScriptException.<init>(AppianScriptExcept...
OriginalPostID-251643
Connectionerror.txt
Discussion posts and replies are publicly visible
Parents
0
tushark171
over 7 years ago
...ion.java:25)
at com.appiancorp.core.expr.exceptions.AppianScriptException.wrapException(AppianScriptException.java:44)
at com.appiancorp.core.expr.exceptions.AppianScriptException.convert(AppianScriptException.java:34)
at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:47)
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:427)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManage...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
tushark171
over 7 years ago
...ion.java:25)
at com.appiancorp.core.expr.exceptions.AppianScriptException.wrapException(AppianScriptException.java:44)
at com.appiancorp.core.expr.exceptions.AppianScriptException.convert(AppianScriptException.java:34)
at com.appiancorp.core.expr.tree.FreeformRule.eval0(FreeformRule.java:47)
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:427)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Cannot open connection
at org.hibernate.ejb.AbstractEntityManagerImpl.convert(AbstractEntityManage...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data