[jboss-user] [Datasource Configuration] - Re: Conexión MySQL y JBoss 7.1.1
Jose Moreno
do-not-reply at jboss.com
Thu May 2 10:46:21 EDT 2013
Jose Moreno [https://community.jboss.org/people/josemo] created the discussion
"Re: Conexión MySQL y JBoss 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/811269#811269
--------------------------------------------------------------
I have seen the web that you say and I have copied it, but I have the same problem...
I have questions:
1. What do I do in the META-INF directory? Where is it?
2. Is neccesary that I declare the datasource again in the file domain.xml?
My module.xml is in the directory: C:\Documents and Settings\Administrador\Mis documentos\*jboss-as-7.1.1.Final\modules\com\mysql\main*
It is together the MySQL connector and his .INDEX.
standalone.xml
<datasource jndi-name="java:jboss/datasources/MySqlDS" pool-name="MySqlDS">
<connection-url>jdbc:mysql://localhost:3306/login</connection-url>
<driver>com.mysql</driver>
<transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
<pool>
<min-pool-size>10</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>true</prefill>
</pool>
<security>
<user-name>root</user-name>
</security>
<statement>
<prepared-statement-cache-size>32</prepared-statement-cache-size>
<share-prepared-statements>true</share-prepared-statements>
</statement>
</datasource>
and my module.xml is the same that the module.xml of your web.
My console says:
*JBAS014775: New missing/unsatisfied dependencies:*
* service jboss.jdbc-driver.com_mysql (missing) dependents: [service jboss.data-source.java:jboss/datasources/MySqlDS]*
But when I stop it says:
*JBAS014776: Newly corrected services:*
* service jboss.jdbc-driver.com_mysql (new available)*
service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (new available)
Sorry for my poor English level.
Thanks,
yours sincerely.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/811269#811269]
Start a new discussion in Datasource Configuration at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130502/05a1e01a/attachment.html
More information about the jboss-user
mailing list