<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I can confirm the issue with the fixed password. Doing some more tests I come to the conclusion that the whole idea of testing the connection during the "Create Datasource" wizard is a bad idea. There are more issues related to this [1].&nbsp;</div><div class=""><br class=""></div><div class="">[1]&nbsp;<a href="http://wildfly-development.1055759.n5.nabble.com/Test-connection-issues-in-management-console-td5716696.html" class="">http://wildfly-development.1055759.n5.nabble.com/Test-connection-issues-in-management-console-td5716696.html</a></div><br class=""><div><blockquote type="cite" class=""><div class="">Am 30.01.2016 um 22:46 schrieb Renann Prado &lt;<a href="mailto:darkness.renann@gmail.com" class="">darkness.renann@gmail.com</a>&gt;:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I've just downloaded Wildfly 10.0.0.Final and it's still not working 100%.<div class=""><br class=""></div><div class="">1 - Fill all the fields, but put some wrong information like password, ip, whatever</div><div class="">2 - Get to the last screen where you can test the connection</div><div class="">3 - Test the connection (and fails)</div><div class="">4 - Go back, fix the connection info with right information</div><div class="">5 - Test connection and still fails (it's using old credentials)</div><div class=""><br class=""></div><div class="">Btw I was also able to see org.jboss.msc.service.DuplicateServiceException when I was testing, though I don't have clear steps how to reproduce.</div><div class="">I don't believe the problem is in the web UI.</div><div class=""><br class=""></div><div class="">Another minor issue is that when it fails to test, most of the times (if not always), regardless of the type of error I get in the server, in web UI I always get same generic error message:</div><div class=""><br class=""></div><div class=""><p class=""><span class="">19:41:01,345 ERROR [org.jboss.as.controller.management-operation] (management task-5) WFLYCTL0013: Operation ("test-connection-in-pool") failed - address: ([</span></p><p class=""><span class="">&nbsp; &nbsp; ("subsystem" =&gt; "datasources"),</span></p><p class=""><span class="">&nbsp; &nbsp; ("data-source" =&gt; "MySqlDS")</span></p><p class=""><span class="">]) - failure description: "WFLYJCA0040: failed to invoke operation: WFLYJCA0047: Connection is not valid"</span></p><p class=""><span class=""><br class=""></span></p><p class="">And when I went to look in the server log:<br class=""><br class=""></p><p class=""><span class="">Caused by: java.sql.SQLInvalidAuthorizationSpecException: Could not connect: Access denied for user 'admin'@'192.168.0.107' (using password: YES)</span></p><p class=""><span class=""><span class="">        </span>at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:121)</span></p><p class=""><span class=""><span class="">        </span>at org.mariadb.jdbc.internal.util.ExceptionMapper.throwException(ExceptionMapper.java:69)</span></p><p class=""><span class=""><span class="">        </span>at org.mariadb.jdbc.Driver.connect(Driver.java:110)</span></p><p class=""><span class=""><span class="">        </span>at org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:319)</span></p><div class="">












<br class="webkit-block-placeholder"></div><p class=""><span class=""><span class="">        </span>... 31 more</span></p></div><div class=""><br class=""></div><div class="">It would be nice to propagete the correct error to the web UI.</div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div>







<div class="gmail_extra"><br clear="all" class=""><div class=""><div class="gmail_signature">Renann Prado</div></div>
<br class=""><div class="gmail_quote">On Fri, Jan 29, 2016 at 7:22 AM, Darran Lofthouse <span dir="ltr" class="">&lt;<a href="mailto:darran.lofthouse@jboss.com" target="_blank" class="">darran.lofthouse@jboss.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br class="">
<br class="">
On 29/01/16 02:07, Renann Prado wrote:<br class="">
&gt; I'm pretty sure I reported same issue as yours.<br class="">
&gt;<br class="">
&gt; See:<br class="">
&gt; <a href="https://issues.jboss.org/browse/WFLY-6015" rel="noreferrer" target="_blank" class="">https://issues.jboss.org/browse/WFLY-6015</a><br class="">
&gt;<br class="">
&gt; Seems to be fixed, but it's not clear to me whether it will be part of<br class="">
&gt; Wildfly 10 Final or not.<br class="">
<br class="">
</span>Apart from the occasional mistake in Jira if the status is 'Resolved'<br class="">
the 'Fix Version/s' field shows the release the fix is or will be<br class="">
included in.<br class="">
<span class=""><br class="">
&gt; However you can easily work around: just add the datasource with with<br class="">
&gt; your driver &amp;&amp; config and DO NOT CLICK IN TEST CONNECTION, then while<br class="">
&gt; EDITING the datasource you can test the connection as many times as you<br class="">
&gt; want. I did that in Wildfly 10.0.0.CR5 and it worked just fine.<br class="">
&gt;<br class="">
&gt; I wouldn't call that a blocker as there are couple of ways to create a<br class="">
&gt; datasource.<br class="">
&gt;<br class="">
&gt; Hope it helps.<br class="">
&gt;<br class="">
&gt; Renann Prado<br class="">
&gt;<br class="">
&gt; On Thu, Jan 28, 2016 at 11:58 PM, Danilo Cominotti Marques<br class="">
</span><span class="">&gt; &lt;<a href="mailto:dcominottim@gmail.com" target="_blank" class="">dcominottim@gmail.com</a> &lt;mailto:<a href="mailto:dcominottim@gmail.com" target="_blank" class="">dcominottim@gmail.com</a>&gt;&gt; wrote:<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;Hello there,<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;I have seen the e-mail that listed the following issues as blockers<br class="">
&gt;&nbsp; &nbsp; &nbsp;for WildFly 10 Final,<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;1. <a href="https://issues.jboss.org/browse/WFLY-5480" rel="noreferrer" target="_blank" class="">https://issues.jboss.org/browse/WFLY-5480</a><br class="">
&gt;&nbsp; &nbsp; &nbsp;2. <a href="https://issues.jboss.org/browse/WFCORE-1277" rel="noreferrer" target="_blank" class="">https://issues.jboss.org/browse/WFCORE-1277</a><br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;but I would clearly add the following one to that list,<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;3. <a href="https://issues.jboss.org/browse/HAL-1030" rel="noreferrer" target="_blank" class="">https://issues.jboss.org/browse/HAL-1030</a><br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;because my company certainly wouldn't deploy WildFly 10 Final before<br class="">
&gt;&nbsp; &nbsp; &nbsp;this issue is solved.<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;Any chances of having somebody look into it before the final release?<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;Thanks.<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;Danilo Cominotti Marques<br class="">
&gt;<br class="">
&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;_______________________________________________<br class="">
&gt;&nbsp; &nbsp; &nbsp;wildfly-dev mailing list<br class="">
</span>&gt;&nbsp; &nbsp; &nbsp;<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank" class="">wildfly-dev@lists.jboss.org</a> &lt;mailto:<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank" class="">wildfly-dev@lists.jboss.org</a>&gt;<br class="">
&gt;&nbsp; &nbsp; &nbsp;<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br class="">
<div class=""><div class="">&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
&gt;<br class="">
&gt; _______________________________________________<br class="">
&gt; wildfly-dev mailing list<br class="">
&gt; <a href="mailto:wildfly-dev@lists.jboss.org" target="_blank" class="">wildfly-dev@lists.jboss.org</a><br class="">
&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br class="">
&gt;<br class="">
_______________________________________________<br class="">
wildfly-dev mailing list<br class="">
<a href="mailto:wildfly-dev@lists.jboss.org" target="_blank" class="">wildfly-dev@lists.jboss.org</a><br class="">
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br class="">
</div></div></blockquote></div><br class=""></div></div>
_______________________________________________<br class="">wildfly-dev mailing list<br class=""><a href="mailto:wildfly-dev@lists.jboss.org" class="">wildfly-dev@lists.jboss.org</a><br class="">https://lists.jboss.org/mailman/listinfo/wildfly-dev</div></blockquote></div><br class=""><div class="">
---<br class="">Harald Pehl<br class="">JBoss by Red Hat<br class=""><a href="http://hpehl.info" class="">http://hpehl.info</a><br class="">

</div>
<br class=""></body></html>