JBoss Fails to Start with FileNotFoundException

Solution Verified - Updated -

Issue

  • JBoss fails to start with FileNotFoundExceptions:
    • log4j:ERROR Failed to create directory structure: /usr/local/jboss-eap-5.1/jboss-as/server/default/log
      log4j:ERROR setFile(null,false) call failed.
      java.io.FileNotFoundException: /usr/local/jboss-eap-5.1/jboss-as/server/default-01/log/boot.log (No such file or directory)
              at java.io.FileOutputStream.open(Native Method)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
              at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
              at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
      
    • ERROR [AbstractKernelController] Error installing to Create: name=AspectManager state=Configured
      java.io.FileNotFoundException: Failed to create tmpClassesDir: /usr/local/jboss-eap-5.1/jboss-as/server/default/tmp/aopdynclasses
              at org.jboss.aop.asintegration.core.AspectManagerServiceDelegate.create(AspectManagerServiceDelegate.java:237)
              at org.jboss.aop.deployers.AbstractAspectManager.create(AbstractAspectManager.java:89)
      

Environment

  • JBoss Enterprise Application Platform (EAP)

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.