-
1. Re: eap-6.1 with Java 8 seems DOA
ctomc Mar 23, 2014 4:43 PM (in response to chrisbitmead)Looks like you didn't set JAVA_HOME properly to JDK7.
when you start the server you get java being used printed out, make sure that that java that you see there is JDK7.
-
2. Re: eap-6.1 with Java 8 seems DOA
chrisbitmead Mar 23, 2014 5:14 PM (in response to ctomc)I definitely set JAVA_HOME correctly to jdk7 and it was printed out before hanging again.
Strangely, I installed eap6.2 and it did start correctly, java-8 and all. Then I installed an Oracle and Derby driver, and back to hanging. Then I deleted, installed 6.2 again the same, then installed oracle and derby again, and it works. Doesn't make sense all, something seems flakey about Java8 and JBoss on Mac, but I don't know what.
-
3. Re: eap-6.1 with Java 8 seems DOA
ctomc Mar 23, 2014 5:19 PM (in response to chrisbitmead)Hang on boot you are seeing in EAP 6.1 is a known issue that prevents running it on JDK8.
6.2 has that problem resolved and it boots on JDK8 correctly.
I would say that you have something messed up with your JDK installation whatever it is.
It is still using JDK8 even when you think you set it to JDK7.
-
4. Re: Re: eap-6.1 with Java 8 seems DOA
sfcoy Mar 23, 2014 6:08 PM (in response to chrisbitmead)The correct way to set JAVA_HOME on a Mac is:
export JAVA_HOME=`/usr/libexec/java_home -v1.7`
Is that how you are doing it?
-
5. Re: Re: eap-6.1 with Java 8 seems DOA
chrisbitmead Mar 23, 2014 6:14 PM (in response to sfcoy)That's how I'm doing it, but come to think of it I'm sudo-ing the script so it can bind to port 80, and it isn't getting passed through.
-
6. Re: Re: Re: eap-6.1 with Java 8 seems DOA
sfcoy Mar 24, 2014 7:23 PM (in response to chrisbitmead)Your Mac has Apache httpd on it. It's pretty easy to set up mod_proxy and thereby avoid having to run JBossAS/WildFly etc as a privileged user.
Just add /private/etc/apache2/other/jbossas.conf
ProxyPass /external-context/ http://localhost:8080/internal-context/ ProxyPassReverse /external-context/ http://localhost:8080/internal-context/