-
Dec 17th, 2007, 02:59 AM
#1
create Datasource bean to invoke secured datasource in weblogic server
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules