[jboss-user] [Beginner's Corner] - Problem encountered in starting JBoss in Eclipse

deepak bisht do-not-reply at jboss.com
Thu Nov 3 06:24:44 EDT 2011


deepak bisht [http://community.jboss.org/people/dpkbisht87] created the discussion

"Problem encountered in starting JBoss in Eclipse"

To view the discussion, visit: http://community.jboss.org/message/634784#634784

--------------------------------------------------------------
Hi 

I am facing the following problem while starting JBoss through Eclipse.
"Server JBoss v5.0 at localhost failed to start."

JAVA_HOME, PATH, CLASSPATH are properly set.
I am using jdk1.6.0_16.

java.lang.NoClassDefFoundError: org/jboss/aop/standalone/PluggableInstrumentor
    at org.jboss.aop.asintegration.core.AspectManagerServiceDelegateJDK5.attachTranslator(AspectManagerServiceDelegateJDK5.java:42)
    at org.jboss.aop.asintegration.core.AspectManagerServiceDelegate.create(AspectManagerServiceDelegate.java:252)
    at org.jboss.aop.deployers.AbstractAspectManager.create(AbstractAspectManager.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
    at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
    at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
    at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
    at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
    at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
    at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:138)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
    at org.jboss.Main.boot(Main.java:221)
    at org.jboss.Main$1.run(Main.java:556)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.jboss.aop.standalone.PluggableInstrumentor from BaseClassLoader at 8b8a47{VFSClassLoaderPolicy at 1236cd5{name=aop-classloader:0.0.0$MODULE domain=ClassLoaderDomain at 1ecfe07{name=DefaultDomain parentPolicy=BEFORE parent=org.jboss.bootstrap.NoAnnotationURLClassLoader at ca0b6} roots=[DelegatingHandler at 12470752[path=jboss-aop-asintegration-core.jar context=file:/D:/WebServices/jboss-5.1.0.GA/lib/ real=file:/D:/WebServices/jboss-5.1.0.GA/lib/jboss-aop-asintegration-core.jar], DelegatingHandler at 14949315[path=jboss-aop-asintegration-jmx.jar context=file:/D:/WebServices/jboss-5.1.0.GA/lib/ real=file:/D:/WebServices/jboss-5.1.0.GA/lib/jboss-aop-asintegration-jmx.jar], DelegatingHandler at 31116492[path=jboss-aop-asintegration-mc.jar context=file:/D:/WebServices/jboss-5.1.0.GA/lib/ real=file:/D:/WebServices/jboss-5.1.0.GA/lib/jboss-aop-asintegration-mc.jar], DelegatingHandler at 29071960[path=jboss-aop-deployers.jar context=file:/D:/WebServices/jboss-5.1.0.GA/lib/ real=file:/D:/WebServices/jboss-5.1.0.GA/lib/jboss-aop-deployers.jar], DelegatingHandler at 26357574[path=jboss-aop-jboss5.jar context=file:/D:/WebServices/jboss-5.1.0.GA/lib/ real=file:/D:/WebServices/jboss-5.1.0.GA/lib/jboss-aop-jboss5.jar]]  delegates=null exported=[, META-INF.maven.org.jboss.aop.jboss-aop-deployers, org.jboss.aop.classpool.ucl, META-INF.maven.org.jboss.aop.jboss-aop-asintegration-mc, META-INF.maven.org.jboss.aop.jboss-aop-asintegration-core, org.jboss.aop.classpool, META-INF, org.jboss.aop.deployers, org.jboss.aop.asintegration.core, org.jboss.aop.domain, META-INF.maven.org.jboss.aop.jboss-aop-asintegration-jmx, org.jboss.aop.asintegration.jboss5, org.jboss.aop.asintegration.jboss4, org.jboss.aop.asintegration, org.jboss.aop.deployment, org.jboss.aop.classpool.jbosscl] <IMPORT-ALL>NON_EMPTY}}
    at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 38 more
15:36:14,062 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
15:36:14,062 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
15:36:14,062 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 19.1-b02,Sun Microsystems Inc.
15:36:14,062 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
15:36:14,062 INFO  [ServerInfo] VM arguments: -Dprogram.name=run.bat -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dfile.encoding=Cp1252 
15:36:14,078 INFO  [JMXKernel] Legacy JMX core initialized
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
  Deployment "AspectManager" is in error due to: java.lang.NoClassDefFoundError: org/jboss/aop/standalone/PluggableInstrumentor

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment "JMXCreateDestroyAdvice$AspectBinding" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "BeansDeploymentAopMetaDataDeployer" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
    Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "JMXRegistrationAdvice$AspectBinding" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "JMXStartStopAdvice$AspectBinding" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "AspectManagerJMXRegistrar" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "AOPClassLoaderDeployer" is missing the following dependencies:
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")
  Deployment "AOPDeploymentAopMetaDataDeployer" is missing the following dependencies:
    Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")
    Dependency "AspectManager" (should be in state "Installed", but is actually in state "**ERROR**")

    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
    at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
    at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)
    at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
    at org.jboss.Main.boot(Main.java:221)
    at org.jboss.Main$1.run(Main.java:556)
    at java.lang.Thread.run(Unknown Source)
15:36:14,984 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
15:36:14,984 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM

please help.

thanks
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/634784#634784]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111103/74a19ae5/attachment-0001.html 


More information about the jboss-user mailing list