-
1. Re: start jboss 7 in --admin-only mode windows CLI
ctomc Dec 12, 2016 3:53 PM (in response to benboss)JBoss AS 7.0.0.Final or JBoss EAP 7.0.0.GA?
for running EAP7 you need JDK8, so I am assuming you are trying to run initial community release of AS 7, which is way older than 7.1.1...
app server works the same on linux and windows and so do all parameters you pass to it.
-
2. Re: start jboss 7 in --admin-only mode windows CLI
benboss Dec 13, 2016 6:50 AM (in response to ctomc)Interesting, thank you very much for your help.
So attest to Tomaz's suggestion.
I needed to install Jboss 7.1.1 , just installing Java8 was not enough. it only stopped throwing an exception when I had jdk8 and jboss 7.1.1 installed.
Its no longer throwing an exception so I presume jboss must be running in admin only mode. Thanks again for your quick response and help.
C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final>cd bin
C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin>standalone --admin-only
Calling "C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
===============================================================================JBoss Bootstrap Environment
JBOSS_HOME: C:\jboss-as-7.1.1.Final\jboss-as-7.1.1.Final
JAVA: C:\Program Files\Java\jdk1.8.0_112\bin\java
JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxP
ient.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=
ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=stand===============================================================================
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was re
11:39:44,089 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA
11:39:46,956 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA
11:39:47,079 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting -
3. Re: start jboss 7 in --admin-only mode windows CLI
ctomc Dec 13, 2016 9:43 AM (in response to benboss)Yes it does.
But you should know that AS7 does not work on JDK8 properly.
for more info on that see JBoss AS7 and JDK8
-
4. Re: start jboss 7 in --admin-only mode windows CLI
benboss Dec 13, 2016 10:59 AM (in response to ctomc)You're right Jboss didn't start properly with JDK8 , So I switch it back to JDK7 and it started fully.
So a quick note for the the answer, running jboss 7.1.1 with JDK7 does allow jboss to start fully in --admin-only mode
Thanks to the conscientious response. It did help.