02-13-2017 10:01 AM
I am not an expert when it comes to SQL servers, specially using macOS, but I went through all steps from Server Installation Guide and getting help from a couple videos I finished all intalation steps.
However, when trying to execute the standalone.sh file I get the message bellow and no acces to localhost:8080. It might be something with the java path, but how to configure it?
Last login: Mon Feb 13 11:11:03 on ttys000
/Users/Ostrowski/Documents/bin/standalone.sh ; exit;
Ostrowskis-MacBook-Pro:~ Ostrowski$ /Users/Ostrowski/Documents/bin/standalone.sh ; exit;
JBoss Bootstrap Environment
JAVA: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin
JAVA_OPTS: -server -Xms1303m -Xmx6144M -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.modules.policy-permissions=true -Duser.country=US -Duser.language=en -Dcom.sun.jndi.ldap.connect.pool.timeout=300000
/Users/Ostrowski/Documents/bin/standalone.sh: line 310: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin
...copying shared history...
...saving history...truncating history files...
Thanks for your time guys!
Solved! Go to Solution.
02-13-2017 10:23 AM
you can specify the Java path (JAVA_HOME) in the standalone.conf files. If you are starting the server via standalone.sh you need to modify the standalone.conf file. In case of standalone.bat you need to edit the standalone.conf.bat file.
02-13-2017 10:26 AM
Ok, I'm not a MAC user but I'm sure there's a way to set your PATH environment variables. I have a JAVA_HOME path set to C:\Program Files\Java\jdk1.8.0_91\ and that does the trick for me.
Another thing to check into, in Linux had to do a chmod +x ./standalone.sh in the past, it might also be a permission issue.
02-13-2017 10:50 AM
Ok changing the path did the trick!
It was apparently a bug that when getthing the path from java from System Preferences > Java > Java > View the Path already contained the final "/bin/java" which is applied by default on the standalone.sh. By removing the final extension the installation finished properly!
Thank you RM Community!