hey,

you should have a datasource "portal-db-ds.xml" which defines a datasource 
"PortalDS" (or you could change your db2-ds.xml accordingly):

 <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <!-- ===================================================================== 
-->
  | <!--                                                                       
-->
  | <!--  JBoss Server Configuration                                           
-->
  | <!--                                                                       
-->
  | <!-- ===================================================================== 
-->
  | <!-- $Id: portal-db2-ds.xml,v 1.0 2006/06/15 14:37:40 [EMAIL PROTECTED] $ 
-->
  | <datasources>
  | 
  |   <local-tx-datasource>
  |     <jndi-name>PortalDS</jndi-name>
  |     <connection-url>jdbc:db2://localhost:50000/portalDB</connection-url>
  |     <driver-class>com.ibm.db2.jcc.DB2Driver</driver-class>
  |     <user-name>db2inst1</user-name>
  |     <password>geheimpw</password>
  |     <min-pool-size>5</min-pool-size>
  |    <metadata>
  |     <type-mapping>DB2</type-mapping>
  |    </metadata>
  |   </local-tx-datasource>
  | </datasources>



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

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


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

Reply via email to