[jboss-user] [Datasource Configuration] - Re: Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: comp not bound
Srinivasan Purushothaman
do-not-reply at jboss.com
Sat Nov 12 15:17:46 EST 2011
Srinivasan Purushothaman [http://community.jboss.org/people/cyberjack] created the discussion
"Re: Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException: comp not bound"
To view the discussion, visit: http://community.jboss.org/message/636290#636290
--------------------------------------------------------------
One more info....
I try to utilize this connection in my application from Spring applicationContext file as below
+*4. applicationContextr.xml*+
<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiName" value="java:comp/env/my_ds"/>
</bean>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/636290#636290]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111112/c788e639/attachment-0001.html
More information about the jboss-user
mailing list