JBossEAP cartridge uses JRE, not JDK in OpenShift

Solution Verified - Updated -

Issue

The "standalone.conf" file in /var/lib/openshift/.cartridge_repository/redhat-jbosseap/0.0.1/versions/6.0/bin references the JRE, not the JDK.

If someone is using any framework which requires compiler API or any class/utility which is present in JDK lib/bin can not be used by the application. For eg :

Apache CXF framework which uses compiler API (JavaCompiler) and need "tools.jar" present in JDK lib. See [2]

The file "standalone.conf" is owned by root user and can not be edited by any other user.

-rwxr-xr-x.  1 root                     5225c48be0b8cd9b32000013  4677 Sep  3 07:14 standalone.conf

Environment

  • OpenShift Enterprise

    • 1.2
  • OpenShift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.