datasource-db2-sample.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jeus-system xmlns="http://www.tmaxsoft.com/xml/ns/jeus"
  3. xmlns:ns2="http://java.sun.com/xml/ns/javaee"
  4. xmlns:ns3="http://java.sun.com/xml/ns/persistence">
  5. <resource>
  6. <data-source>
  7. <database>
  8. <vendor>others</vendor>
  9. <export-name>UDDIDB</export-name>
  10. <data-source-class-name>jeus.jdbc.driver.blackbox.BlackboxConnectionPoolDataSource</data-source-class-name>
  11. <data-source-type>ConnectionPoolDataSource</data-source-type>
  12. <property>
  13. <name>URL</name>
  14. <type>java.lang.String</type>
  15. <value>jdbc:db2://localhost:50000/UDDIDB</value>
  16. </property>
  17. <property>
  18. <name>DriverClassName</name>
  19. <type>java.lang.String</type>
  20. <value>COM.ibm.db2.jdbc.net.DB2Driver</value>
  21. </property>
  22. <property>
  23. <name>User</name>
  24. <type>java.lang.String</type>
  25. <value>db2admin</value>
  26. </property>
  27. <property>
  28. <name>Password</name>
  29. <type>java.lang.String</type>
  30. <value>db2admin</value>
  31. </property>
  32. <connection-pool>
  33. <pooling>
  34. <min>2</min>
  35. <max>5</max>
  36. <step>1</step>
  37. <period>600000</period>
  38. </pooling>
  39. <wait-free-connection>
  40. <enable-wait>false</enable-wait>
  41. <wait-time>10000</wait-time>
  42. </wait-free-connection>
  43. </connection-pool>
  44. </database>
  45. </data-source>
  46. </resource>
  47. </jeus-system>