You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Kevan Miller (JIRA)" <ji...@apache.org> on 2008/06/29 01:19:45 UTC

[jira] Commented: (GERONIMO-4165) The deploy command in a assembled server fail to start

    [ https://issues.apache.org/jira/browse/GERONIMO-4165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609056#action_12609056 ] 

Kevan Miller commented on GERONIMO-4165:
----------------------------------------

Not really something that boilerplate is intended to support... If you want this support, simply assemble a server with boilerplate *and* jsr88-cli.

Some depate, perhaps, since you must include jsr88-cli to do anything very useful wrt to deployment... For instance to create a miminal jsp/servlet server with deploy capabilities, you need to assemble:

deploy/assemble -g my.test -a minimal-server org.apache.geronimo.framework/jsr88-cli/2.1.2-SNAPSHOT/car org.apache.geronimo.configs/jasper-deployer/2.1.2-SNAPSHOT/car org.apache.geronimo.configs/tomcat6-deployer/2.1.2-SNAPSHOT/car

Will leave open a bit longer... See if anyone else has comments...

This does raise the question of pluggable commands (similar to pluggable console). However, that's a question of trunk functionality. I don't think we'll be changing this behavior in branches/2.1.



> 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.