2 Replies Latest reply on Feb 2, 2007 6:32 PM by Scott Stark

    default server in /trunk doesn't start when using profile se

    Charles Crouch Expert

      As described in another thread in order to use the profile service in /trunk you have to do the following:

      1. In the directory .\jboss-head\build\output\jboss-5.0.0.XXX\server\default\conf\ rename bootstrap-repo-beans.xml to be bootstrap-beans.xml
       2. Copy the .\jboss-head\profileservice/src/resources/profileservice-beans.xml to the .\jboss-head\build\output\jboss-5.0.0.Beta2\server\default\deployers directory.


      When I try to start the -c default server after making these changes I get:


      ...
      ======> AOPDependencyBuilder 20
      ====> AOPDependencyBuilder - Has dependencies: false
      ======> AOPDependencyBuilder 21
      ====> AOPDependencyBuilder - Has dependencies: false
      ======> AOPDependencyBuilder 22
      ====> AOPDependencyBuilder - Has dependencies: false
      17:02:37,498 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_10-b03,Sun Microsystems Inc.
      17:02:37,498 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      17:02:37,558 INFO [JMXKernel] Legacy JMX core initialized
      17:02:37,568 ERROR [AbstractKernelController] Error installing to Configured: name=AspectManager state=Instantiated
      org.jboss.joinpoint.spi.JoinpointException: Property mbeanServer not found for AbstractBeanInfo@1f1bd98{name=org.jboss.aop.deployers.AspectManagerJDK5 classInfo= properties=[log, s
      uppressTransformationErrors, ignore, enableTransformer, aspectManager, class, enableLoadtimeWeaving, exclude, include, stateString, prune, tmpClassesDir, deploymentInfo, optimized,
       serviceName, suppressReferenceErrors, verbose, state, server, notificationInfo, name, instrumentor] methods=[hashCode, hashCode, setIgnore, start, setEnableLoadtimeWeaving, sendNo
      tification, registeredClassLoaders, getSuppressTransformationErrors, getInclude, destroy, aspectDefinitions, getOptimized, getTmpClassesDir, addNotificationListener, interceptorFac
      tories, setTmpClassesDir, deployBaseAspects, nextNotificationSequenceNumber, getEnableTransformer, stacks, stop, setEnableTransformer, getInstrumentor, getNotificationInfo, equals,
       equals, wait, wait, wait, getDeploymentInfo, setVerbose, getVerbose, notify, getStateString, getClass, postDeregister, toString, toString, getSuppressReferenceErrors, jbossInterna
      lLifecycle, notifyAll, getAspectManager, create, getServiceName, preRegister, attachClass, setSuppressTransformationErrors, setInstrumentor, getIgnore, preDeregister, getEnableLoad
      timeWeaving, getExclude, removeNotificationListener, removeNotificationListener, handleNotification, getServer, setExclude, setSuppressReferenceErrors, introductions, setOptimized,
       getState, getName, bindings, getLog, postRegister, getPrune, setInclude, setPrune] constructors=[] events=}
       at org.jboss.kernel.plugins.config.Configurator.resolveProperty(Configurator.java:723)
       at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoint(Configurator.java:443)
       at org.jboss.kernel.plugins.config.Configurator.getPropertySetterJoinPoints(Configurator.java:408)
       at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getPropertySetterJoinPoints(AbstractKernelConfigurator.java:120)
       at org.jboss.kernel.plugins.dependency.ConfigureAction.installActionInternal(ConfigureAction.java:59)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197)
       at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:430)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:540)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:474)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:274)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:177)
       at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:84)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:232)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      Failed to boot JBoss:
      java.lang.RuntimeException: Exception during Bootstrap
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:99)
       at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:508)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: org.jboss.deployers.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      AspectDeployer
       -> AspectManager{Create:**ERROR**}
       -> AspectManager{Start:**ERROR**}
      
      MainDeployer
       -> AspectManager{Start:**ERROR**}
       -> AspectManager{Create:**ERROR**}
       -> jboss.kernel:service=Kernel{Configured:**ERROR**}
      
      ProfileService
       -> AspectManager{Create:**ERROR**}
       -> AspectManager{Start:**ERROR**}
      
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      AspectManager -> org.jboss.joinpoint.spi.JoinpointException: Property mbeanServer not found for AbstractBeanInfo@1f1bd98{name=org.jboss.aop.deployers.AspectManagerJDK5 classInfo= p
      roperties=[log, suppressTransformationErrors, ignore, enableTransformer, aspectManager, class, enableLoadtimeWeaving, exclude, include, stateString, prune, tmpClassesDir, deploymen
      tInfo, optimized, serviceName, suppressReferenceErrors, verbose, state, server, notificationInfo, name, instrumentor] methods=[hashCode, hashCode, setIgnore, start, setEnableLoadti
      meWeaving, sendNotification, registeredClassLoaders, getSuppressTransformationErrors, getInclude, destroy, aspectDefinitions, getOptimized, getTmpClassesDir, addNotificationListene
      r, interceptorFactories, setTmpClassesDir, deployBaseAspects, nextNotificationSequenceNumber, getEnableTransformer, stacks, stop, setEnableTransformer, getInstrumentor, getNotifica
      tionInfo, equals, equals, wait, wait, wait, getDeploymentInfo, setVerbose, getVerbose, notify, getStateString, getClass, postDeregister, toString, toString, getSuppressReferenceErr
      ors, jbossInternalLifecycle, notifyAll, getAspectManager, create, getServiceName, preRegister, attachClass, setSuppressTransformationErrors, setInstrumentor, getIgnore, preDeregist
      er, getEnableLoadtimeWeaving, getExclude, removeNotificationListener, removeNotificationListener, handleNotification, getServer, setExclude, setSuppressReferenceErrors, introductio
      ns, setOptimized, getState, getName, bindings, getLog, postRegister, getPrune, setInclude, setPrune] constructors=[] events=}
      
      jboss.kernel:service=Kernel -> **ERROR**
      
      
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.checkIncomplete(ProfileServiceBootstrap.java:385)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:236)
       at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
       ... 5 more
      17:02:37,578 INFO [ServerImpl] JBoss SHUTDOWN