users@glassfish.java.net

Re: Problem with JDBC JNDI from EJB -> WS

From: <glassfish_at_javadesktop.org>
Date: Tue, 02 Dec 2008 20:58:23 PST

I am using NetBeans 6.0.1, and glassfihs v2,
By default IDE doesn’t add any deployment descriptor ejb-jar.xml file, after building jar file I deploy from admin window of glassfish, in domain.xml files contains the ejb info details

So you mean I have to add ejb-jar.xml file under 'Configuration Files' node? and put teh jdbc/jndi resource -ref there

-----------
The sun-resources.xml contaisn below entry

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE resources PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 9.0 Resource Definitions //EN" "http://www.sun.com/software/appserver/dtds/sun-resources_1_3.dtd">
<resources>
  <jdbc-resource enabled="true" jndi-name="jdbc/cibsDB1" object-type="user" pool-name="CIBSDBPoolFull">
    <description/>
  </jdbc-resource>
</resources>
------------------
[Message sent by forum member 'shafi77' (shafi77)]

http://forums.java.net/jive/thread.jspa?messageID=319694