<div dir="ltr"><div><div><div>Hi,<br><br></div>discussions like this belong to forums.<br><br>please post to <a href="https://community.jboss.org/en/jbosseap">https://community.jboss.org/en/jbosseap</a><br></div>where you will more likely to get help you seek.<br>
<br>--<br>tomaz<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 3, 2014 at 10:25 AM, ArchangelAurora . <span dir="ltr"><<a href="mailto:archangel.aurora@gmail.com" target="_blank">archangel.aurora@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all, I'm using jboss-eap 6.2 as 7.4, when I start the server with<br>
default standalone.xml config, it sees my MySQL driver deployd as a<br>
module and I can connect to the datasource. But when I start it with<br>
standalone-full.xml, it says:<br>
<br>
ERROR [org.jboss.as.controller.management-operation] (ServerService<br>
Thread Pool -- 31) JBAS014613: Operation ("add") failed - address: ([<br>
("subsystem" => "datasources"),<br>
("jdbc-driver" => "mysql")<br>
]) - failure description: "JBAS010441: Failed to load module for<br>
driver [com.mysql]"<br>
<br>
<br>
though datasource parts in my standalone and standalone-full.xml files<br>
are exactly the same:<br>
<br>
<subsystem xmlns="urn:jboss:domain:datasources:1.1"><br>
<datasources><br>
<datasource<br>
jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS"<br>
enabled="true" use-java-context="true"><br>
<br>
<connection-url>jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE</connection-url><br>
<driver>h2</driver><br>
<security><br>
<user-name>sa</user-name><br>
<password>sa</password><br>
</security><br>
</datasource><br>
<datasource jndi-name="java:jboss/datasources/yyDS"<br>
pool-name="yyDS" enabled="true" use-java-context="true"><br>
<br>
<connection-url>jdbc:mysql://localhost:3306/yy</connection-url><br>
<driver>mysql</driver><br>
<pool><br>
<min-pool-size>30</min-pool-size><br>
<max-pool-size>400</max-pool-size><br>
<prefill>true</prefill><br>
</pool><br>
<security><br>
<user-name>yy</user-name><br>
<password>yy</password><br>
</security><br>
</datasource><br>
<drivers><br>
<driver name="h2" module="com.h2database.h2"><br>
<br>
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class><br>
</driver><br>
<driver name="mysql" module="com.mysql"/><br>
</drivers><br>
</datasources><br>
</subsystem><br>
<br>
Secondly, when I start jboss from the console with standalone.bat, I<br>
can login to management console but when I start it from JBoss<br>
developer studio, it says "However you have not yet added any users to<br>
be able to access the admin console.". What's the difference?<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote></div><br></div>