How I cat configure datasource mapping? My stateless bean (ejb3) have this strings:
| @Stateless(name="StatLoaderSEJB3") | @RemoteBinding(jndiBinding="StatLoaderSEJB3") | public class StatLoaderSEJB3 implements IStatLoader{ | ... | @Resource(name="java:comp/env/jdbc/StatDS") | private DataSource ds=null; | ... | } | There is global datasource "java:/RadiusDS" I tried to configure resource mapping via jboss.xml: | <?xml version='1.0' encoding='UTF-8'?> | <jboss> | <enterprise-beans> | <session> | <ejb-name>StatLoaderSEJB3</ejb-name> | <resource-ref> | <res-ref-name>java:comp/env/jdbc/StatDS</res-ref-name> | <jndi-name>java:/RadiusDS</jndi-name> | <!--<res-type>javax.sql.DataSource</res-type>--> | </resource-ref> | </session> | </enterprise-beans> | </jboss> | When I deploy myapp.ejb3 to Jboss, I saw there message: | 15:37:59,803 WARN [ResourceHandler] Unbound injected resource interface javax.sql.DataSource ds | What I did whong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910624#3910624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910624 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user