<div dir="ltr"><div><div><div>You should not remove that part of script that tells you what is wrong :)<br><br>it is telling you that you are running script from different folder that your JBOSS_HOME environment variable points to and that that could cause &quot;unpredictable results&quot;<br><br></div>which is exactly what happens next.<br><br></div>just unset JBOSS_HOME and you will be fine.<br><br></div><div>you can do that by typing this:<br></div><b>set JBOSS_HOME=</b><br><div><div><div><br></div><div>or under system properties of you computer.<br><br>--<br></div><div>tomaz<br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 7, 2014 at 4:57 PM, Tom Schuller <span dir="ltr">&lt;<a href="mailto:tom@schuller.lu" target="_blank">tom@schuller.lu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hy,<br>
I have problems for testing the latest WildFly builds on my windows environment.<br>
I have downloaded the versions from:<br>
 <a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">https</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">://</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">ci.jboss.org</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">/</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">hudson</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">/job/</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">WildFly</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">-</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">latest</a><a href="https://ci.jboss.org/hudson/job/WildFly-latest-master/" target="_blank">-master/</a><br><br></p>
<p dir="ltr">On wildfly-#1467, I had to remove in the &quot;bin\add-user.bat&quot; this part to get it working:<br>
  lines 32-37<br>
  if /i &quot;%RESOLVED_JBOSS_HOME%&quot; NEQ &quot;%SANITIZED_JBOSS_HOME%&quot; (<br>
     echo.<br>
     echo   WARNING: The JBOSS_HOME (&quot;%SANITIZED_JBOSS_HOME%&quot;) that this script uses points to a different installation than the one that this script resides in (&quot;%RESOLVED_JBOSS_HOME%&quot;). Unpredictable results may occur.<br>
     echo.<br>
     echo       JBOSS_HOME: &quot;%JBOSS_HOME%&quot;<br>
     echo.<br>
  )</p>
<p dir="ltr">After this, I could use the &quot;add-user.bat&quot; batch file.</p>
<p dir="ltr">Now with wildfly-#1470, I also have to remove these line to fix the bug of &quot;add-user.bat&quot; as above.<br>
But then, I&#39;m getting this error:<br>
  D:\java\wildfly-9.0.0.Alpha2-1470\bin&gt;add-user.bat<br>
  org.jboss.modules.ModuleNotFoundException: org.jboss.as.domain-add-user:main<br>
        at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:236)<br>
        at org.jboss.modules.Main.main(Main.java:385)<br>
  Press any key to continue . . .<br>
  <br>
 What can/should I do?<br>
 <br>
 I don&#39;t  know if this is the right place to make these observations.<br>
 But I think, I should not spam the forum with this really in-development observations.<br>
 <br>
 Thanks, <span class="HOEnZb"><font color="#888888"><br>
  Tom<br>
</font></span></p>
<br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br></div>