[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-20 Thread neelesh.parulkar
 
  DB Connection
  jdbc/LOYALTY
  javax.sql.DataSource
  Container


Here is the correct web-xml entry I have. Previsous one is missing the  tag

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244021
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-20 Thread Wolfgang Knauf
Hi,

the "res-ref-name" is the name of the entry in your Environment Naming Context 
(needed only for programmatic JNDI lookups), it is NOT the name of the 
datasource in JNDI.

You need something like this (might still contain minor errors):

  | 
  |   NameForLookup
  |   javax.sql.DataSource
  |   jdbc/LOYALTY
  |   Container
  | 
  | 

Hope this helps

Wolfgang

PS: Please use "[ code ]" tags to mark XML, so that no information is lost.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244055
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-20 Thread Wolfgang Knauf
Duplicate of http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158388

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4244053
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-15 Thread neelesh.parulkar
I have already tried putting mapped-name in resource ref but no luck..

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243655
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-15 Thread neelesh.parulkar
Here is snippet from web.xml and -ds.xml respectively:


web.xml:


DB Connection
jdbc/LOYALTY
javax.sql.DataSource
Container




hsqldb-ds.xml:


   
 
 
 jdbc/LOYALTY  
  
jdbc:mysql://192.168.1.109:3306/LOYALTY 
   
 
 com.mysql.jdbc.Driver
 
 root
 root
 
 5
 
 true
   
  

mySQL
 
   


I am facing same problem with Jboss 5.1.0 GA. However I am able to deploy the 
war on 4.2.3 GA successfully. Only change in web.xml being a wrapper tag around 
resource-ref as . This is not required in Jboss 5.x.x as this gives 
invalid schema related errors.











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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243654
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: mapped-name is required for jdbc

2009-07-14 Thread Wolfgang Knauf
Hi,

please post the relevant snippet of "web.xml".

And maybe you should follow the error message and add the "mapped-name" element 
in "resource-ref" ;-).

Hope this helps

Wolfgang

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243453
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user