[
https://issues.apache.org/jira/browse/GERONIMO-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563037#action_12563037
]
YunFeng Ma commented on GERONIMO-3786:
--------------------------------------
Thanks for your advice, David. I exported a server including
geronimo-boilerplate-minimal config, but the deploy.bat/sh command failed with
the following error:
H:\gt2.1\var\temp\a-1.0\bin>deploy.bat --user system --password manager
list-modules
Using GERONIMO_BASE: H:\gt2.1\var\temp\a-1.0
Using GERONIMO_HOME: H:\gt2.1\var\temp\a-1.0
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME: C:\Program Files\IBM\Java50\jre
09:41:14,640 ERROR [BaseDeploymentFactory] More than one Configuration Manager w
as found in the kernel: "org.apache.geronimo.framework/j2ee-system/2.1-SNAPSHOT/
car?ServiceModule=org.apache.geronimo.framework/j2ee-system/2.1-SNAPSHOT/car,j2e
eType=ConfigurationManager,name=ConfigurationManager" "org.apache.geronimo.frame
work/client-system/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/
client-system/2.1-SNAPSHOT/car,j2eeType=ConfigurationManager,name=ConfigurationM
anager"
java.lang.IllegalStateException: More than one Configuration Manager was found i
n the kernel: "org.apache.geronimo.framework/j2ee-system/2.1-SNAPSHOT/car?Servic
eModule=org.apache.geronimo.framework/j2ee-system/2.1-SNAPSHOT/car,j2eeType=Conf
igurationManager,name=ConfigurationManager" "org.apache.geronimo.framework/clien
t-system/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/client-sys
tem/2.1-SNAPSHOT/car,j2eeType=ConfigurationManager,name=ConfigurationManager"
at org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationM
anagerName(ConfigurationUtil.java:307)
at org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationM
anager(ConfigurationUtil.java:320)
at org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.initia
lize(JMXDeploymentManager.java:75)
at org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.ini
t(RemoteDeploymentManager.java:86)
at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory
.newRemoteDeploymentManager(BaseDeploymentFactory.java:175)
at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory
.getDeploymentManager(BaseDeploymentFactory.java:137)
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
DeploymentManager(DeploymentFactoryManager.java:111)
at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(Serv
erConnection.java:186)
at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConn
ection.java:94)
at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:161)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
)
Exception in thread "main" java.lang.IllegalStateException: More than one Config
uration Manager was found in the kernel: "org.apache.geronimo.framework/j2ee-sys
tem/2.1-SNAPSHOT/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/2.1
-SNAPSHOT/car,j2eeType=ConfigurationManager,name=ConfigurationManager" "org.apac
he.geronimo.framework/client-system/2.1-SNAPSHOT/car?ServiceModule=org.apache.ge
ronimo.framework/client-system/2.1-SNAPSHOT/car,j2eeType=ConfigurationManager,na
me=ConfigurationManager"
at org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationM
anagerName(ConfigurationUtil.java:307)
at org.apache.geronimo.kernel.config.ConfigurationUtil.getConfigurationM
anager(ConfigurationUtil.java:320)
at org.apache.geronimo.deployment.plugin.jmx.JMXDeploymentManager.initia
lize(JMXDeploymentManager.java:75)
at org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.ini
t(RemoteDeploymentManager.java:86)
at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory
.newRemoteDeploymentManager(BaseDeploymentFactory.java:175)
at org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory
.getDeploymentManager(BaseDeploymentFactory.java:137)
at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
DeploymentManager(DeploymentFactoryManager.java:111)
at org.apache.geronimo.deployment.cli.ServerConnection.tryToConnect(Serv
erConnection.java:186)
at org.apache.geronimo.deployment.cli.ServerConnection.<init>(ServerConn
ection.java:94)
at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:161)
at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
)
> Command deploy.bat/sh failed to start in the exported server
> ------------------------------------------------------------
>
> Key: GERONIMO-3786
> URL: https://issues.apache.org/jira/browse/GERONIMO-3786
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 2.1
> Reporter: YunFeng Ma
> Fix For: 2.1
>
>
> In the exported server, command deploy.bat/sh failed to start with error:
> H:\gt2.1\var\temp\--bin\-\bin>deploy --user system --password manager
> list-modules
> Using GERONIMO_BASE: H:\gt2.1\var\temp\--bin\-
> Using GERONIMO_HOME: H:\gt2.1\var\temp\--bin\-
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME: C:\Program Files\IBM\Java50\jre
> 09:44:04,171 ERROR [GBeanInstanceState] Error while starting; GBean is now in
> th
> e FAILED state:
> abstractName="org.apache.geronimo.framework/online-deployer/2.1-
> SNAPSHOT/car?configurationName=org.apache.geronimo.framework/online-deployer/2.1
> -SNAPSHOT/car"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing
> depend
> ency: org.apache.geronimo.framework/geronimo-deploy-jsr88/2.1-SNAPSHOT/jar
> at
> org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(Confi
> gurationResolver.java:113)
> at
> org.apache.geronimo.kernel.config.Configuration.buildClassPath(Config
> uration.java:405)
> at
> org.apache.geronimo.kernel.config.Configuration.createConfigurationCl
> asssLoader(Configuration.java:322)
> at
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.
> java:267)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
> orAccessorImpl.java:67)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
> onstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:948)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:268)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:541)
> at
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.j
> ava:361)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:195)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:159)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
> tConfiguration(MainConfigurationBootstrapper.java:84)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
> (MainConfigurationBootstrapper.java:57)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
> inConfigurationBootstrapper.java:38)
> at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
> at
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
> )
> java.lang.IllegalStateException: GBean is not running:
> org.apache.geronimo.frame
> work/online-deployer/2.1-SNAPSHOT/car?configurationName=org.apache.geronimo.fram
> ework/online-deployer/2.1-SNAPSHOT/car
> at
> org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.jav
> a:304)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:197)
> at
> org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConf
> iguration(ConfigurationUtil.java:159)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.loadBoo
> tConfiguration(MainConfigurationBootstrapper.java:84)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain
> (MainConfigurationBootstrapper.java:57)
> at
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
> inConfigurationBootstrapper.java:38)
> at
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
> at
> org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
> )
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.