3 Replies Latest reply on May 21, 2002 11:42 AM by ben

    Muliple datasources in jaws.xml

    Bani Greyling Newbie


      When you deploy a couple of CMP beans, you usually use something like the following in jaws.xml:

      <?xml version="1.0" encoding="Cp1252"?>
       <datasource>java:/Billing</datasource> <<== NOTE
       <type-mapping>MS SQLSERVER</type-mapping>

      If, however, I want to deploy multiple beans in the same JAR that use different datasources, how must I specify the datasource for each bean? I tried something like the following, but JAWS ignored it.

       <datasource>java:/Billing</datasource> <<== NOTE

      Alternatively I could deploy Beans using the same datasource in there own JAR, but this would be second prize :)

      Any suggestions?