0 Replies Latest reply on Aug 26, 2009 2:39 PM by Lewis Gass

    org.jboss.deployers.spi.DeploymentException: Error deploying

    Lewis Gass Newbie

      I have been working to get the beta3.SP9 embedded jboss working for a while now, and have made alot of progress, but I am stumped here where it complains that the SystemProperties bean has already been installed and the only place it is declared is in the bootstrap-beans.xml, any ideas what would cause this?

      I am running this in JDK 5.0 Update 20 and the following is the stack trace:

      13:36:36,834 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/J:/Development/Java/workspace/developer_enterprise/target/classes/conf/bootstrap-beans.xml state=PostClassLoader mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying: SystemProperties
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:73)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:42)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
      at org.jboss.embedded.DeploymentScanner.start(DeploymentScanner.java:105)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:56)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:110)
      at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:214)
      at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:45)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:108)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:69)
      at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
      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:327)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:574)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:309)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:279)
      at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
      at org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer.deploy(BeanXMLDeployer.java:96)
      at org.jboss.embedded.Bootstrap.deployBaseBootstrapUrl(Bootstrap.java:130)
      at org.jboss.embedded.Bootstrap.bootstrapURL(Bootstrap.java:142)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:183)
      at org.jboss.embedded.Bootstrap.bootstrap(Bootstrap.java:195)
      at net.sourceforge.javautil.developer.enterprise.jboss.JBossEmbedded.(JBossEmbedded.java:46)
      at net.sourceforge.javautil.developer.ui.DeveloperContextInitializer.setupEnterprise(DeveloperContextInitializer.java:202)
      at net.sourceforge.javautil.developer.ui.DeveloperContextInitializer.initialize(DeveloperContextInitializer.java:76)
      at net.sourceforge.javautil.developer.ui.cli.DeveloperCLI.initialize(DeveloperCLI.java:58)
      at net.sourceforge.javautil.common.ui.cli.CommandLineInterfaceAbstract.run(CommandLineInterfaceAbstract.java:94)
      at net.sourceforge.javautil.developer.ui.DeveloperUI.execute(DeveloperUI.java:91)
      at net.sourceforge.javautil.developer.ui.DeveloperUI.main(DeveloperUI.java:54)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at net.sourceforge.javautil.common.reflection.cache.ClassMethod.invoke(ClassMethod.java:77)
      at net.sourceforge.javautil.common.reflection.cache.ClassDescriptor.invoke(ClassDescriptor.java:359)
      at net.sourceforge.javautil.classloader.boot.EntryPoint.boot(EntryPoint.java:306)
      at net.sourceforge.javautil.classloader.impl.maven.MavenEntryPoint.main(MavenEntryPoint.java:133)
      at net.sourceforge.javautil.classloader.boot.EntryPoint.boot(EntryPoint.java:284)
      at net.sourceforge.javautil.classloader.boot.EntryPoint.main(EntryPoint.java:131)
      Caused by: java.lang.IllegalStateException: SystemProperties is already installed.
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:525)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:398)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:69)
      ... 66 more