{"id":77,"date":"2006-12-07T12:58:55","date_gmt":"2006-12-07T17:58:55","guid":{"rendered":"http:\/\/stein.everybody.org\/brain\/crystal-jndi\/"},"modified":"2011-03-10T10:57:30","modified_gmt":"2011-03-10T15:57:30","slug":"crystal-jndi-tomcat","status":"publish","type":"post","link":"https:\/\/jeremystein.com\/brain\/crystal-jndi-tomcat\/","title":{"rendered":"Crystal JNDI Tomcat"},"content":{"rendered":"<p>Tomcat&#8217;s JNDI service <a href=\"http:\/\/tomcat.apache.org\/faq\/misc.html#externalJndi\">cannot currently be accessed<\/a> outside the container.<\/p>\n<p>To have a Crystal report use Tomcat&#8217;s JNDI connection, set the <strong>connection name<\/strong> to the JNDI name (e.g. &#8220;java:comp\/env\/jdbc\/myconn&#8221;)<\/p>\n<p>Apparently the way it works is that Crystal will first attempt to lookup the JNDI name.  Then if that doesn&#8217;t work, it will use the provided connection URL and classname.<\/p>\n<p>Note that there are <a href=\"http:\/\/stein.everybody.org\/brain\/crystal-jndi\/\">other problems with Crystal and JNDI<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tomcat&#8217;s JNDI service cannot currently be accessed outside the container. To have a Crystal report use Tomcat&#8217;s JNDI connection, set the connection name to the JNDI name (e.g. &#8220;java:comp\/env\/jdbc\/myconn&#8221;) Apparently the way it works is that Crystal will first attempt to lookup the JNDI name. Then if that doesn&#8217;t work, it will use the provided [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-77","post","type-post","status-publish","format-standard","hentry","category-crystal-reports"],"_links":{"self":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/77","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":0,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"wp:attachment":[{"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeremystein.com\/brain\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}