<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 "unpredictable results"<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"><<a href="mailto:tom@schuller.lu" target="_blank">tom@schuller.lu</a>></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 "bin\add-user.bat" this part to get it working:<br>
lines 32-37<br>
if /i "%RESOLVED_JBOSS_HOME%" NEQ "%SANITIZED_JBOSS_HOME%" (<br>
echo.<br>
echo WARNING: The JBOSS_HOME ("%SANITIZED_JBOSS_HOME%") that this script uses points to a different installation than the one that this script resides in ("%RESOLVED_JBOSS_HOME%"). Unpredictable results may occur.<br>
echo.<br>
echo JBOSS_HOME: "%JBOSS_HOME%"<br>
echo.<br>
)</p>
<p dir="ltr">After this, I could use the "add-user.bat" batch file.</p>
<p dir="ltr">Now with wildfly-#1470, I also have to remove these line to fix the bug of "add-user.bat" as above.<br>
But then, I'm getting this error:<br>
D:\java\wildfly-9.0.0.Alpha2-1470\bin>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'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>