Hi, I'm new to Seam. I have a current interest to integrate Spring and Seam's data access strategy. However, I am unable to lookup the data source from JNDI using embedded ejb3 + SEAM configuration. I am using the "jpa" example from SEAM 1.1.0GA.
My log reports:
12:40:46,196 [main] INFO DataSourceFactory:43 - starting Datasource at JNDI name: java:/DefaultDS 12:40:46,216 [main] INFO LocalTxDataSource:102 - Bound datasource to JNDI name 'java:/DefaultDS'
#jndi.properties java.naming.factory.initial org.jnp.interfaces.LocalOnlyContextFactory java.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces
// ds is of type LocalTxDataSource ds.setJndiName(jndiName); ds.setInitialContextProperties(Naming.getInitialContextProperties());