1

I have used following commands to install java.

 wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u112-b15/jdk-8u112-linux-x64.rpm"

After that yum install jdk-8u112-linux-x64.rpm

Now i downloaded the jboss

wget http://download.jboss.org/jbossas/7.1/jboss-as-7.1.1.Final/jboss-as-7.1.1.Final.zip

after that unziped it

unzip jboss-as-7.1.1.Final.zip
I have placed jboss in /opt/jboss-as-7.1.1.Final directory

after that i have used following commands

 adduser jboss
 chown -fR jboss.jboss /opt/jboss-as-7.1.1.Final/
 su jboss

also i saved that path using the command

export JAVA_HOME=/usr/java/jdk1.8.0_112/
export PATH=$PATH:$JAVA_HOME/bin

Actually i am following these steps from a tutorial and in the last when i am running the standalone.sh file its showing following lines and not moving beyond this, please help its is not moving beyond this

    [jboss@centos_pc2 bin]$ ./standalone.sh 
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /opt/jboss-as

  JAVA: /usr/java/jdk1.8.0_112//bin/java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx1024m -XX:MaxPermSize=512m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

=========================================================================

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
12:47:33,368 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
12:47:33,608 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
12:47:33,679 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
harsh sharma
  • 121
  • 2
  • 4
  • 14

1 Answers1

1

All you need is to change to Java version 7 or 6 and then try to start JBoss again.

Ali Golestan
  • 317
  • 2
  • 4
  • 21