geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Warner" <jaw...@gmail.com>
Subject Re: deploying minimal gbean jar file
Date Mon, 10 Sep 2007 15:27:06 GMT
Hello,

Assuming you copied the sample plan.xml exactly, try changing :

<configuration
    xmlns="http://geronimo.apache.org/xml/ns/deployment"
    configId="example1/MyGBean"
    >

to:

<configuration
    xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"
    configId="example1/MyGBean"
    >

Notice the "-1.2" on the end of deployment.

Hope this helps,

Jason Warner


On 9/10/07, thebugslayer <thebugslayer@gmail.com> wrote:
>
> Hi,
> The doc from http://cwiki.apache.org/GMOxDEV/gbeans.html seems little
> outdated for G2.0.1, and I got error when deploying the simple MyGBean
> app. Can someone help?
>
> Error Received:
> $ /opt/geronimo/bin/deploy.sh deploy mygbean.jar mygbean-plan.xml
> Using GERONIMO_BASE:   /opt/geronimo
> Using GERONIMO_HOME:   /opt/geronimo
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:
> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
>     Error: Unable to distribute mygbean.jar: Cannot deploy the requested
>     application module because no deployer is able to handle it.  This
>     can happen if you have omitted the J2EE deployment descriptor,
>     disabled a deployer module, or if, for example, you are trying to
>     deploy an EJB module on a minimal Geronimo server that does not have
>     EJB support installed.
>     (planFile=/Users/bugslayer/geronimo-example/mygbean-plan.xml,
>     moduleFile=/opt/geronimo-jetty6-jee5-2.0.1/var/temp/geronimo-
> deployer17472.tmpdir/mygbean.jar)
>
>
> --
> /bugslayer
>

Mime
View raw message