Hello All,

I have a question regarding how to invoke secured datasource in weblogic server.

We configure datasource bean as:

<bean id="dataSource"
class="org.springframework.jndi.JndiObjectFactoryB ean"
singleton="true">
<property name="jndiName">
<value>myDatasource</value>
</property>
</bean>

Now, we apply security policy to myDatasource in weblogic server. After the security configured, we got the error:

"<anonymous>" does not have permission to perform operation "reserve" on resource myDatasource...

I would like to know how to resolve this issue from spring configuration side.

Do I need to configure the env property before initialize the bean class?

Thanks ahead for any suggestions.

Yi