[jboss-user] [Installation, Configuration & DEPLOYMENT] - ServletContextListener -DataSource File

AlexPandiyan do-not-reply at jboss.com
Wed Jul 9 07:41:08 EDT 2008


Hi All,
I m working on struts application.I can able to lookup the datasource file, when my server fully deployed everything.
But i want to lookup the datasource file in  
ServletContextListener

see i tryied to lookup..but its saying particular (datasource)ds.xml file is not bound. 
this is my problem. i need to lookup the DataSource file in ServletContextListener.

In contextinitialized method i need to fetch some information from database.

Hope i ll get a solution from here,

Thanks
-----------
Alex


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

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



More information about the jboss-user mailing list