Hi, I've been hunting around for fixes for the "jdbc not bound" naming exception problem found when trying to create a datasource without any luck. It must be a configuration issue.
I'm using a PostgreSQL database but cannot connect to it. I just get the "jbdc not bound" error message. My configuration files are below. Can anyone spot the problem. Cheers, Rilux postgres-service.xml <?xml version="1.0" encoding="UTF-8"?> <!-- $Id: postgres-ds.xml,v 1.1.2.1 2003/09/05 16:38:24 patriot1burke Exp $ --> <local-tx-datasource> <jndi-name>FooDS</jndi-name> <connection-url>jdbc:postgresql://localhost:5432/foo</connection-url> <driver-class>org.postgresql.Driver</driver-class> <user-name>foo</user-name> bar <!-- sql to call when connection is created <new-connection-sql>some arbitrary sql</new-connection-sql> --> <!-- sql to call on an existing pooled connection when it is obtained from pool <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> --> </local-tx-datasource> ejb-jar.xml: <resource-ref > <res-ref-name>FooDS</res-ref-name> <res-jndi-name>java:/comp/env/jdbc/FooDS</res-jndi-name> <res-type>javax.sql.Datasource</res-type> <res-auth>Container</res-auth> </resource-ref> (this is at the start of the file. Should it be at the end?) jboss.xml: <resource-managers> <resource-manager res-class="org.jboss.ejb.deployment.JDBCResource"> <res-name>FooDS</res-name> <res-jndi-name>java:/comp/env/jdbc/FooDS</res-jndi-name> </resource-manager> </resource-managers> View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831476#3831476 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831476 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user