• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

DataSource null in DWR

 
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Hi
I am using DWR for the first time so cant figure out why datasource is null.I tried different things wont wont work.
DWR works without using DB calls and some dummy data but i use SimpleJdbcTemplate and add dataSource...I get exception.
All my DAO classes extend AbstractDataAccess class ...which sets dataSource and i tried extending my Bean to that also but dint help .I can change the design little bit if suggested.





Besides that i get so much confused about configuration of DWR if i should use dwr.xml or applicationContext.xml for configuration or both and different websites mention different things .

And what is the different and application.Context.xml configuration for dwr alone didnt work for me so iadded dwr.xml.

Thanks
but i am not 100% clear.
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic