This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes DataSource null in DWR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "DataSource null in DWR " Watch "DataSource null in DWR " New topic
Author

DataSource null in DWR

Lucky J Verma
Ranch Hand

Joined: Apr 11, 2007
Posts: 278


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.
 
 
subject: DataSource null in DWR
 
Similar Threads
java.lang.NoClassDefFoundError: java/util/concurrent/ConcurrentSkipListMap
Spring / Hibernate / cxf problems connecting with oracle
Configuration problem with DWR and Spring
No suitable driver Error in Test Class
Spring Integration with Drools