[ https://issues.apache.org/jira/browse/GERONIMO-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
YunFeng Ma updated GERONIMO-4165: --------------------------------- Attachment: GERONIMO-4165.patch The root cause is that there is no DeployTool GBean in G v2.1.2. A proposed patch. But I'm still confusing why this doesn't happen to trunk build. > The deploy command in a assembled server fail to start > ------------------------------------------------------- > > Key: GERONIMO-4165 > URL: https://issues.apache.org/jira/browse/GERONIMO-4165 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: buildsystem > Affects Versions: 2.1.2, 2.1.x > Reporter: YunFeng Ma > Attachments: GERONIMO-4165.patch > > > Assemble a server which only includes > org.apache.geronimo.assemblies/geronimo-boilerplate-minimal/2.1.2-SNAPSHOT/jar, > the deploy.bat/sh in the assembled server fails to start with the following > exception: > {noformat} > C:\geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT\var\temp\sdf-1.0\bin>deploy --user > system --password manager list-modules > Using GERONIMO_BASE: > C:\geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT\var\temp\sdf-1.0 > Using GERONIMO_HOME: > C:\geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT\var\temp\sdf-1.0 > Using GERONIMO_TMPDIR: var\temp > Using JRE_HOME: C:\Program Files\IBM\Java50\jre > org.apache.geronimo.kernel.GBeanNotFoundException: No GBeans found: > [?#org.apache.geronimo.kernel.util.Main] > at > org.apache.geronimo.kernel.basic.BasicRegistry.getGBeanInstance(BasicRegistry.java:153) > at > org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.java:286) > at > org.apache.geronimo.kernel.basic.BasicKernel.getGBean(BasicKernel.java:282) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:100) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.getMain(MainConfigurationBootstrapper.java:59) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:38) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > {noformat} > The same function works well in the trunk build. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.