<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: NameNotFoundException:  not bound</title> <atom:link href="http://iderror.com/errors/java/java-ejb/namenotfoundexception-not-bound/feed/" rel="self" type="application/rss+xml" /><link>http://iderror.com/errors/java/java-ejb/namenotfoundexception-not-bound/</link> <description>You have errors, we have solutions!</description> <lastBuildDate>Fri, 10 Jun 2011 15:06:54 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>By: admin</title><link>http://iderror.com/errors/java/java-ejb/namenotfoundexception-not-bound/comment-page-1/#comment-585</link> <dc:creator>admin</dc:creator> <pubDate>Mon, 09 Mar 2009 18:22:43 +0000</pubDate> <guid
isPermaLink="false">http://localhost/idError/?p=347#comment-585</guid> <description>Follow these steps to do a context.lookup(&quot;java:comp/env/OracleDS&quot;):
1. In ejb-jar.xml file, include the following lines:
&lt;resource-ref&gt;
&lt;res-ref-name&gt;OracleDS&lt;/res-ref-name&gt;
&lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;
&lt;res-auth&gt;Container&lt;/res-auth&gt;
&lt;/resource-ref&gt;
2. Map the datasource declaration and reference in ejb-jar.xml:
&lt;reference-descriptor&gt;
&lt;resource-description&gt;
&lt;res-ref-name&gt;OracleDS&lt;/res-ref-name&gt;
&lt;jndi-name&gt;java:/OracleDS&lt;/jndi-name&gt;
&lt;/resource-description&gt;
&lt;/reference-descriptor&gt; </description> <content:encoded><![CDATA[<p>Follow these steps to do a context.lookup(&#8220;java:comp/env/OracleDS&#8221;):<br
/> 1. In ejb-jar.xml file, include the following lines:<br
/> <resource
-ref><br
/> <res
-ref-name>OracleDS</res><br
/> <res
-type>javax.sql.DataSource</res><br
/> <res
-auth>Container</res><br
/> </resource><br
/> 2. Map the datasource declaration and reference in ejb-jar.xml:<br
/> <reference
-descriptor><br
/> <resource
-description><br
/> <res
-ref-name>OracleDS</res><br
/> <jndi
-name>java:/OracleDS</jndi><br
/> </resource><br
/> </reference></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: iderror.com @ 2012-02-09 02:41:49 -->
