[jboss-as7-dev] datasource driver in standalone-full.xml
Tomaž Cerar
tomaz.cerar at gmail.com
Thu Jul 3 05:34:48 EDT 2014
Hi,
discussions like this belong to forums.
please post to https://community.jboss.org/en/jbosseap
where you will more likely to get help you seek.
--
tomaz
On Thu, Jul 3, 2014 at 10:25 AM, ArchangelAurora . <
archangel.aurora at gmail.com> wrote:
> Hi all, I'm using jboss-eap 6.2 as 7.4, when I start the server with
> default standalone.xml config, it sees my MySQL driver deployd as a
> module and I can connect to the datasource. But when I start it with
> standalone-full.xml, it says:
>
> ERROR [org.jboss.as.controller.management-operation] (ServerService
> Thread Pool -- 31) JBAS014613: Operation ("add") failed - address: ([
> ("subsystem" => "datasources"),
> ("jdbc-driver" => "mysql")
> ]) - failure description: "JBAS010441: Failed to load module for
> driver [com.mysql]"
>
>
> though datasource parts in my standalone and standalone-full.xml files
> are exactly the same:
>
> <subsystem xmlns="urn:jboss:domain:datasources:1.1">
> <datasources>
> <datasource
> jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS"
> enabled="true" use-java-context="true">
>
>
> <connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url>
> <driver>h2</driver>
> <security>
> <user-name>sa</user-name>
> <password>sa</password>
> </security>
> </datasource>
> <datasource jndi-name="java:jboss/datasources/yyDS"
> pool-name="yyDS" enabled="true" use-java-context="true">
>
> <connection-url>jdbc:mysql://localhost:3306/yy</connection-url>
> <driver>mysql</driver>
> <pool>
> <min-pool-size>30</min-pool-size>
> <max-pool-size>400</max-pool-size>
> <prefill>true</prefill>
> </pool>
> <security>
> <user-name>yy</user-name>
> <password>yy</password>
> </security>
> </datasource>
> <drivers>
> <driver name="h2" module="com.h2database.h2">
>
> <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
> </driver>
> <driver name="mysql" module="com.mysql"/>
> </drivers>
> </datasources>
> </subsystem>
>
> Secondly, when I start jboss from the console with standalone.bat, I
> can login to management console but when I start it from JBoss
> developer studio, it says "However you have not yet added any users to
> be able to access the admin console.". What's the difference?
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20140703/56b70aad/attachment.html
More information about the jboss-as7-dev
mailing list