aspose file tools*
The moose likes Websphere and the fly likes WAS7: Resource reference for Datasource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WAS7: Resource reference for Datasource" Watch "WAS7: Resource reference for Datasource" New topic
Author

WAS7: Resource reference for Datasource

ak swie
Greenhorn

Joined: Dec 08, 2009
Posts: 9
I am using Eclipse EE and WAS 7.0. I want to create a new resource reference for datasource within web.xml. But not able to do the same.
Could you please help me.
Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Could you please point to the exact issue? What error you are facing..


SCJP 5, SCWCD 5
ak swie
Greenhorn

Joined: Dec 08, 2009
Posts: 9
Earlier I used RAD6 in which I was able to add resource reference in web.xml. I used to get a wizard with tab "References" to add reference for datasource but now with Eclipse I do not see that option.
Prabhakar Reddy Bokka
Ranch Hand

Joined: Jul 26, 2005
Posts: 189

Why dont you change web.xml in source mode?
ak swie
Greenhorn

Joined: Dec 08, 2009
Posts: 9
I have tried writing directly in source code of web.xml file but its not working. Do we have any issue with WAS7 like resource reference will not work?
ak swie
Greenhorn

Joined: Dec 08, 2009
Posts: 9
issue is resolved. as we do not have resource reference wizard in eclipse.
we need to add resource reference at the time we install ear in admin console for the first time.
thanks!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS7: Resource reference for Datasource
 
Similar Threads
global parameter for EJBs
get datasource outside action class
How to use PostgreSQL with WSAD 5.1
Difference between resource-ref and resource-env-ref ejb3
NameNotFoundException