ClassNotFound exception while starting JBoss 5

Solution Verified - Updated -

Issue

  • ClassNotFound exception while starting JBoss 5
  • Getting below ERROR logs in server.log
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/opt/redhat/jboss-eap-5.2/jboss-as/server/test/conf/jboss-service.xml state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.security:service=JaasSecurityManager
..
..
Caused by: java.lang.ClassNotFoundException: org.jboss.security.plugins.JaasSecurityManagerService from BaseClassLoader@226946d2{vfsfile:/opt/redhat/jboss-eap-5.2/jboss-as/server/test/conf/jboss-service.xml}
    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:481)
.
.
ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/opt/redhat/jboss-eap-5.2/jboss-as/server/test/deployers/ejb3.deployer/ state=PreReal mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error deploying: vfsfile:/opt/redhat/jboss-eap-5.2/jboss-as/server/test/deployers/ejb3.deployer/
.
.
Caused by: java.lang.NoClassDefFoundError: org/jboss/jpa/resolvers/DataSourceDependencyResolver
.
.
Caused by: java.lang.ClassNotFoundException: org.jboss.jpa.resolvers.DataSourceDependencyResolver
.
.
Caused by: java.lang.ClassNotFoundException: org.jboss.resource.metadata.RARDeploymentMetaData

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 5.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