Hi,

I am trying to lookup a jdbc-datasource on WebLogic using jndi-lookup in my context-file.

Code:
<jee:jndi-lookup id="dataSource" jndi-name="ds.jndi.name"/>
but when I run my junit-test I get the following error:

Invalid property 'exposeAccessContext' of bean class [org.springframework.jndi.JndiObjectFactoryBean]: Bean property 'exposeAccessContext' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Even if I set the expected type to javax.sql.Datasource it doesnt work. What am I doing wrong here?
BTW, I am using spring-jee-3.1


/