Application cannot load classes from JDK tools.jar in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • Setting CLASSPATH for jdk 1.8 tools.jar so that it's loaded/read during JBoss EAP 6.4 server startup error:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/].[TestServlet]] (http-/0.0.0.0:12402-1) JBWEB000236: Servlet.service() for servlet TestServlet threw exception: java.lang.NoClassDefFoundError: com/sun/tools/javac/Main

Environment

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

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.