pippodev [
http://community.jboss.org/people/pippodev] created the discussion
"mysql javax.naming.NameNotFoundException"
To view the discussion, visit:
http://community.jboss.org/message/587063#587063
--------------------------------------------------------------
I have the error javax.naming.NameNotFoundException: prova not bound
my mysql-ds.xml:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<local-tx-datasource>
<jndi-name>prova</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/prova</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>root</password>
<!-- should only be used on drivers after 3.22.1 with
"ping" support
<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker</valid-connection-checker-class-name>
-->
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
</datasources>
"prova" is in the java: namespace but not in the Global JNDI Namespace
h1. java: Namespace
[.....]
+- prova (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
+- timedCacheFactory (class: javax.naming.Context)
I'm using jboss-5.0.1.GA
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/587063#587063]
Start a new discussion in Datasource Configuration at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]