users@glassfish.java.net

Re:Problem with glassfish jdbc connection pool -apparently jndi

From: xuqingkang2 <xuqingkang2_at_163.com>
Date: Thu, 22 Oct 2009 09:48:13 +0800 (CST)

Hello:
  you can refer to the "jndi.properties" file which package in $glassfish_home/lib/appserv-launch.jar.


Hello:
  Can you try it like following.
----------------
props.setProperty("java.naming.factory.initial",
"com.sun.enterprise.naming.SerialInitContextFactory");
---------------
>Um, you want me to use that code verbatim? What is the proer value for java.naming.factory,initial? I can't find anything definitive on this.





09年新晋3D主流网游《天下贰》,网易六年亿资打造