Hey ...

I am working with JBoss Portal 2.2.1 and DB2 8.1 ... now I followed the install 
instructions, copied the connection XML to default/deploy and changed important 
informations ...

here is my portal-db2-ds.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!-- ===================================================================== 
-->
  | <!--                                                                       
-->
  | <!--  JBoss Server Configuration                                           
-->
  | <!--                                                                       
-->
  | <!-- ===================================================================== 
-->
  | 
  | <!-- $Id: db2-ds.xml,v 1.3 2004/09/15 14:37:40 loubyansky Exp $ -->
  | 
  | 
  | <datasources>
  |   <local-tx-datasource>
  |     <jndi-name>DB2DS</jndi-name>
  |     <connection-url>jdbc:db2:PORTALDB</connection-url>
  |     <driver-class>COM.ibm.db2.jdbc.app.DB2Driver</driver-class>
  |     <user-name>db2admin</user-name>
  |     <password>db2admin</password>
  |     <min-pool-size>0</min-pool-size>
  |         <!-- sql to call when connection is created
  |         <new-connection-sql>some arbitrary sql</new-connection-sql>
  |         -->
  | 
  |         <!-- sql to call on an existing pooled connection when it is 
obtained from pool 
  |         <check-valid-connection-sql>some arbitrary 
sql</check-valid-connection-sql>
  |         -->
  | 
  |       <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml 
(optional) -->
  |       <metadata>
  |          <type-mapping>DB2</type-mapping>
  |       </metadata>
  |   </local-tx-datasource>
  | 
  | </datasources>

I know it would be better not to use db2admin, but for testing its okey ... 
But the cnnection doesn't work ... why ? I dont know what the error message is, 
but staring JBoss AS doesn't dreate any tables ...
Is there any step-by-step tutorial for DB2 as database ?

Thanks a lot ... Frank ...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951304#3951304

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951304


_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to