Unable to access jarfile jboss-modules.jar by starting JBoss EAP 6

Solution Verified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Issue

  • I am getting the following error by starting JBoss EAP 6.x
WARNING JBOSS_HOME may be pointing to a different installation - unpredictable results may occur.
Unable to access jarfile jboss-modules.jar

or

java -jar jboss-modules.jar
Error: Unable to access jarfile jboss-modules.jar
  • Issue while install Jboss 6.4.0 on the Linux server

Resolution

  • Make sure to follow the EAP installation steps defined in Installation guide.
  • This error usually means that the JBOSS_HOME variable is not pointing to the right path. It should point to the jboss installation directory path where you can find jboss-modules.jar.

Diagnostic Steps

  • Check if JBOSS_HOME has been set up manually;
  • Check if JBOSS_HOME is pointing to the right path.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments