3 Replies Latest reply on Aug 9, 2007 11:16 AM by Peter Johnson

    What is mapped-name?

    John Baker Newbie

      When deploying a web application that has a data source, there is a
      runtime error:

      java.lang.RuntimeException: mapped-name is required for jdbc/TRAVEL_ApacheDerby of deployment WebApplication374.war

      Is mapped-name supposed to be declared in jms-ds.xml ?

      My jms-ds.xml file contains

      -
      - <local-tx-datasource>
      <jndi-name>jdbc/TRAVEL_ApacheDerby</jndi-name>
      <connection-url>jdbc:derby://localhost:1527/travel</connection-url>
      <driver-class>org.apache.derby.jdbc.ClientDriver</driver-class>
      <user-name>travel</user-name>
      travel
      <min-pool-size>5</min-pool-size>
      <max-pool-size>20</max-pool-size>
      <idle-timeout-minutes>5</idle-timeout-minutes>
      </local-tx-datasource>


      Thanks
      John