Hi,
I use JBoss 4.0.0 with an Informix Database.
I think, the configuration of the database is ok, because having a look at the
JMX-Console (or at the server startup) I can see the following:
jboss.jdbc
datasource=DefaultDS,service=metadata
datasource=informix_jdbc_1,service=metadata
But when I try to connect the database I receive the error:
java.rmi.RemoteException: javax.naming.NameNotFoundException: informix_jdbc_1
not bound
The jndi-name is "informix_jdbc_1" and my code in order to get a connection is:
DataSource dataSource = (DataSource) initialContext.lookup("informix_jdbc_1");
Does anyone have an idea what's the problem?
Thanks in advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867611#3867611
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867611
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user