Guest User

Untitled

a guest
Apr 19th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. java.lang.ClassCastException: org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper cannot be cast to javax.sql.PooledConnection
  2.  
  3. <api context="/transaction" name="TransactionAPI" xmlns="http://ws.apache.org/ns/synapse">
  4. <resource methods="GET">
  5. <inSequence>
  6. <transaction action="use-existing-or-new"/>
  7. <dbreport useTransaction="true">
  8. <connection>
  9. <pool>
  10. <password>1</password>
  11. <driver>oracle.jdbc.OracleDriver</driver>
  12. <url>jdbc:oracle:thin:@10.10.90.241:1522:orcl</url>
  13. <user>bap_sr</user>
  14. </pool>
  15. </connection>
  16. <statement>
  17. <sql><![CDATA[insert into action_view values('c','s','a')]]></sql>
  18. </statement>
  19. </dbreport>
  20. <send>
  21. <endpoint key="FormEp"/>
  22. </send>
  23. </inSequence>
  24. <outSequence>
  25. <transaction action="commit"/>
  26. <send/>
  27. </outSequence>
  28. <faultSequence/>
  29. </resource>
Add Comment
Please, Sign In to add comment