I am getting the following when I tried to deployed my plan, however I am able 
to install the module:

deploy -u system -p manager install-library --groupId example2 
f:\MyJavaprojects\SimpleServerGBean-1.0.jar
Using GERONIMO_HOME:   F:\geronimo-framework-2.2.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_18\jre
    Installed example2/SimpleServerGBean/1.0/jar
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++

F:\geronimo-framework-2.2.1\bin>deploy -u system -p manager deploy  
simpleServer_deployment_plan.xml
Using GERONIMO_HOME:   F:\geronimo-framework-2.2.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        C:\Java\jdk1.6.0_18\jre
2011-02-23 21:42:12,328 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy simpleServer_de
ployment_plan.xml: No Deployer GBean present in running Geronimo server. This us
ually indicates a serious problem with the configuration of your running Geronim
o server.  If the deployer is present but not started, the workaround is to run
a deploy command like 'start geronimo/geronimo-gbean-deployer/1.0/car'.  If the
deployer service is not present at all (it was undeployed) then you need to eith
er re-install Geronimo or get a deployment plan for the runtime deployer and dis
tribute it while the server is not running and then start the server with a comm
and like the above.  For help on this, write to  and inc
lude the contents of your var/config/config.xml file.
        at org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDe
ploy.java:45)
        at org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(Co
mmandDistribute.java:149)
        at org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandD
istribute.java:125)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java
:172)
        at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
inConfigurationBootstrapper.java:45)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31
)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attributes xmlns:ns2="http://geronimo.apache.org/xml/ns/plugins-1.3"; xmlns="http://geronimo.apache.org/xml/ns/attributes-1.2";>
    <comment>
==================================================================
Warning - This XML file is regenerated by Geronimo whenever
changes are made to Geronimo's configuration.

If you want to include comments, create a single comment element
element.  They are allowable at any level of the configuration.

!!!! Do not edit this file while Geronimo is running !!!!
==================================================================</comment>
    <module name="org.apache.geronimo.framework/client-system/2.2.1/car" load="false"/>
    <module name="org.apache.geronimo.framework/online-deployer/2.2.1/car" load="false"/>
    <module name="org.apache.geronimo.framework/j2ee-system/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/shutdown/2.2.1/car" load="false"/>
    <module name="org.apache.geronimo.framework/transformer-agent/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/gshell-framework/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/gshell-geronimo/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/gshell-remote/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/jee-specs/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/rmi-naming/2.2.1/car">
        <gbean name="RMIRegistry">
            <attribute name="port">${NamingPort + PortOffset}</attribute>
            <attribute name="host">${ServerHostname}</attribute>
        </gbean>
        <gbean name="NamingProperties">
            <attribute name="namingProviderUrl">rmi://${ServerHostname}:${NamingPort + PortOffset}</attribute>
        </gbean>
        <gbean name="DefaultThreadPool">
            <attribute name="keepAliveTime">30000</attribute>
            <attribute name="minPoolSize">${MinThreadPoolSize}</attribute>
            <attribute name="maxPoolSize">${MaxThreadPoolSize}</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.plugins.classloaders/geronimo-javaee-deployment_1.1MR3_spec/2.2.1/car"/>
    <module name="org.apache.geronimo.framework/plugin/2.2.1/car">
        <gbean name="DownloadedPluginRepos">
            <attribute name="repositoryList">http://geronimo.apache.org/plugins/plugin-repository-list-2.2.txt</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.framework/j2ee-security/2.2.1/car">
        <gbean name="JMXService">
            <attribute name="protocol">rmi</attribute>
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${JMXPort + PortOffset}</attribute>
            <attribute name="urlPath">/jndi/rmi://${ServerHostname}:${NamingPort + PortOffset}/JMXConnector</attribute>
        </gbean>
    </module>
    <module name="org.apache.geronimo.framework/server-security-config/2.2.1/car"/>
</attributes>
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2";>
    <environment>
        <moduleId>
	    <groupId>example2</groupId>
	        <artifactId>SimpleServerGBean</artifactId>
		<version>1.0</version>
		<type>jar</type>
	</moduleId>

	<dependencies/>


	<hidden-classes />

	<non-overridable-classes />

    </environment>

    <gbean name="echoserver" class="example2.SimpleServerGBean">
        <attribute name="port">7777</attribute>
	 <attribute name="gbeanName">SimpleServerGBean</attribute>  
    </gbean>
</module>

Reply via email to