[jboss-user] [JNDI/Naming/Network] - What is mapped-name?

jwbaker do-not-reply at jboss.com
Wed Aug 8 16:46:03 EDT 2007


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

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

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



More information about the jboss-user mailing list