You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by PeterAU2 <in...@plusplus.com.au> on 2007/09/28 02:25:22 UTC
Deployment plan required
Hi. Please forgive my second newbie question!
I'm also trying to get the Geronimo Hello world sample to work, from
http://cwiki.apache.org/GMOxDOC11/deployment-plans-level-1.html
Heading: Deploying JAR containing Simple EJB application
I'm running Geronimo 1.0, but am thinking this example from 1.1 should work?
When I attempt to deploy using the console, if I just enter the Archive file
helloworld-ejbs.jar and no Plan I get the error:
'Currently a Geronimo deployment plan is required for an EJB module. Please
provide a plan as a deployer argument or packaged in the EJB JAR at
META-INF/openejb-jar.xml'
If I include the file META-INF\openejb-jar.xml (listed at bottom) then I get
the same error.
Please help.
I'll update the wiki once I get this to work!
Thanks again
Peter
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
<dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
<dep:moduleId>
<dep:groupId>org.geronimo.</dep:groupId>
<dep:artifactId>ejbsample</dep:artifactId>
<dep:version>1.0</dep:version>
<dep:type>car</dep:type>
</dep:moduleId>
<dep:dependencies/>
<dep:hidden-classes/>
<dep:non-overridable-classes/>
</dep:environment>
<enterprise-beans>
<session>
<ejb-name>HelloBean</ejb-name>
<jndi-name>org.geronimo.ejbsample.HomeBean</jndi-name>
</session>
</enterprise-beans>
</openejb-jar>
--
View this message in context: http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12932664
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Deployment plan required- Thanks
Posted by PeterAU2 <in...@plusplus.com.au>.
Thanks Kanchana. I was trying G1.0 as I was getting further with my
application than with 2.0.
I've since given up on 1.0, and are focussing on getting 2.0.1 working.
Anything you could contribute to this thread:
http://www.nabble.com/forum/ViewPost.jtp?post=12932131&framed=y&skin=134
would be appreciated.
Peter
Kanchana wrote:
>
> Hi Peter
>
> Deployment plans are version specific.If you are using geronimo1.0 you
> can't
> deploy that with a V1.1 deployment plan.That's why it has been updated
> with
> the version reason is the schema changes for each.I'm wondering why you
> are
> not trying with latest geronimo version.
> Thanks
> Kanchana
> On 9/28/07, PeterAU2 <in...@plusplus.com.au> wrote:
>>
>>
>> Hi. Please forgive my second newbie question!
>>
>> I'm also trying to get the Geronimo Hello world sample to work, from
>> http://cwiki.apache.org/GMOxDOC11/deployment-plans-level-1.html
>> Heading: Deploying JAR containing Simple EJB application
>>
>> I'm running Geronimo 1.0, but am thinking this example from 1.1 should
>> work?
>>
>> When I attempt to deploy using the console, if I just enter the Archive
>> file
>> helloworld-ejbs.jar and no Plan I get the error:
>> 'Currently a Geronimo deployment plan is required for an EJB
>> module. Please
>> provide a plan as a deployer argument or packaged in the EJB JAR at
>> META-INF/openejb-jar.xml'
>> If I include the file META-INF\openejb-jar.xml (listed at bottom) then I
>> get
>> the same error.
>>
>>
>> Please help.
>>
>> I'll update the wiki once I get this to work!
>>
>> Thanks again
>>
>>
>> Peter
>>
>> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
>> <dep:environment
>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
>> <dep:moduleId>
>> <dep:groupId>org.geronimo.</dep:groupId>
>> <dep:artifactId>ejbsample</dep:artifactId>
>> <dep:version>1.0</dep:version>
>> <dep:type>car</dep:type>
>> </dep:moduleId>
>> <dep:dependencies/>
>> <dep:hidden-classes/>
>> <dep:non-overridable-classes/>
>> </dep:environment>
>> <enterprise-beans>
>> <session>
>> <ejb-name>HelloBean</ejb-name>
>> <jndi-name>org.geronimo.ejbsample.HomeBean</jndi-name>
>> </session>
>> </enterprise-beans>
>> </openejb-jar>
>> --
>> View this message in context:
>> http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12932664
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12938079
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Deployment plan required
Posted by Kanchana Welagedara <ka...@gmail.com>.
Hi Peter
Deployment plans are version specific.If you are using geronimo1.0 you can't
deploy that with a V1.1 deployment plan.That's why it has been updated with
the version reason is the schema changes for each.I'm wondering why you are
not trying with latest geronimo version.
Thanks
Kanchana
On 9/28/07, PeterAU2 <in...@plusplus.com.au> wrote:
>
>
> Hi. Please forgive my second newbie question!
>
> I'm also trying to get the Geronimo Hello world sample to work, from
> http://cwiki.apache.org/GMOxDOC11/deployment-plans-level-1.html
> Heading: Deploying JAR containing Simple EJB application
>
> I'm running Geronimo 1.0, but am thinking this example from 1.1 should
> work?
>
> When I attempt to deploy using the console, if I just enter the Archive
> file
> helloworld-ejbs.jar and no Plan I get the error:
> 'Currently a Geronimo deployment plan is required for an EJB
> module. Please
> provide a plan as a deployer argument or packaged in the EJB JAR at
> META-INF/openejb-jar.xml'
> If I include the file META-INF\openejb-jar.xml (listed at bottom) then I
> get
> the same error.
>
>
> Please help.
>
> I'll update the wiki once I get this to work!
>
> Thanks again
>
>
> Peter
>
> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
> <dep:environment
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
> <dep:moduleId>
> <dep:groupId>org.geronimo.</dep:groupId>
> <dep:artifactId>ejbsample</dep:artifactId>
> <dep:version>1.0</dep:version>
> <dep:type>car</dep:type>
> </dep:moduleId>
> <dep:dependencies/>
> <dep:hidden-classes/>
> <dep:non-overridable-classes/>
> </dep:environment>
> <enterprise-beans>
> <session>
> <ejb-name>HelloBean</ejb-name>
> <jndi-name>org.geronimo.ejbsample.HomeBean</jndi-name>
> </session>
> </enterprise-beans>
> </openejb-jar>
> --
> View this message in context:
> http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12932664
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>
Re: Deployment plan required
Posted by PeterAU2 <in...@plusplus.com.au>.
Thanks sol. I was trying G1.0 as I was getting further with my application
than with 2.0.
I've since given up on 1.0, and are focussing on getting 2.0.1 working.
Anything you could contribute to this thread:
http://www.nabble.com/forum/ViewPost.jtp?post=12932131&framed=y&skin=134
would be appreciated.
Peter
solprovider-2 wrote:
>
> Hi Peter,
>
> You are attempting to deploy a JAR. Geronimo requires a WAR or an
> EAR. A WAR must include WEB-INF/web.xml and have the different
> extension. You can create a WAR with any zip program, Java's jar
> command, Eclipse, and other programs.
>
> My experience was with Geronimo 2.0 (or maybe 1.2.) I never created a
> deployment plan or any files specifically for Geronimo.
>
> Why are you starting with an obsolete version? I will contribute
> towards getting you a more recent release if you need help.
>
> solprovider
>
>
> On 9/27/07, PeterAU2 <in...@plusplus.com.au> wrote:
>>
>> Hi. Please forgive my second newbie question!
>>
>> I'm also trying to get the Geronimo Hello world sample to work, from
>> http://cwiki.apache.org/GMOxDOC11/deployment-plans-level-1.html
>> Heading: Deploying JAR containing Simple EJB application
>>
>> I'm running Geronimo 1.0, but am thinking this example from 1.1 should
>> work?
>>
>> When I attempt to deploy using the console, if I just enter the Archive
>> file
>> helloworld-ejbs.jar and no Plan I get the error:
>> 'Currently a Geronimo deployment plan is required for an EJB module.
>> Please
>> provide a plan as a deployer argument or packaged in the EJB JAR at
>> META-INF/openejb-jar.xml'
>> If I include the file META-INF\openejb-jar.xml (listed at bottom) then I
>> get
>> the same error.
>>
>> Please help.
>>
>> I'll update the wiki once I get this to work!
>>
>> Thanks again
>> Peter
>>
>> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
>> <dep:environment
>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
>> <dep:moduleId>
>> <dep:groupId>org.geronimo.</dep:groupId>
>> <dep:artifactId>ejbsample</dep:artifactId>
>> <dep:version>1.0</dep:version>
>> <dep:type>car</dep:type>
>> </dep:moduleId>
>> <dep:dependencies/>
>> <dep:hidden-classes/>
>> <dep:non-overridable-classes/>
>> </dep:environment>
>> <enterprise-beans>
>> <session>
>> <ejb-name>HelloBean</ejb-name>
>> <jndi-name>org.geronimo.ejbsample.HomeBean</jndi-name>
>> </session>
>> </enterprise-beans>
>> </openejb-jar>
>> --
>> View this message in context:
>> http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12932664
>> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>
--
View this message in context: http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12935627
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Deployment plan required
Posted by so...@apache.org.
Hi Peter,
You are attempting to deploy a JAR. Geronimo requires a WAR or an
EAR. A WAR must include WEB-INF/web.xml and have the different
extension. You can create a WAR with any zip program, Java's jar
command, Eclipse, and other programs.
My experience was with Geronimo 2.0 (or maybe 1.2.) I never created a
deployment plan or any files specifically for Geronimo.
Why are you starting with an obsolete version? I will contribute
towards getting you a more recent release if you need help.
solprovider
On 9/27/07, PeterAU2 <in...@plusplus.com.au> wrote:
>
> Hi. Please forgive my second newbie question!
>
> I'm also trying to get the Geronimo Hello world sample to work, from
> http://cwiki.apache.org/GMOxDOC11/deployment-plans-level-1.html
> Heading: Deploying JAR containing Simple EJB application
>
> I'm running Geronimo 1.0, but am thinking this example from 1.1 should work?
>
> When I attempt to deploy using the console, if I just enter the Archive file
> helloworld-ejbs.jar and no Plan I get the error:
> 'Currently a Geronimo deployment plan is required for an EJB module. Please
> provide a plan as a deployer argument or packaged in the EJB JAR at
> META-INF/openejb-jar.xml'
> If I include the file META-INF\openejb-jar.xml (listed at bottom) then I get
> the same error.
>
> Please help.
>
> I'll update the wiki once I get this to work!
>
> Thanks again
> Peter
>
> <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
> <dep:environment
> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1">
> <dep:moduleId>
> <dep:groupId>org.geronimo.</dep:groupId>
> <dep:artifactId>ejbsample</dep:artifactId>
> <dep:version>1.0</dep:version>
> <dep:type>car</dep:type>
> </dep:moduleId>
> <dep:dependencies/>
> <dep:hidden-classes/>
> <dep:non-overridable-classes/>
> </dep:environment>
> <enterprise-beans>
> <session>
> <ejb-name>HelloBean</ejb-name>
> <jndi-name>org.geronimo.ejbsample.HomeBean</jndi-name>
> </session>
> </enterprise-beans>
> </openejb-jar>
> --
> View this message in context: http://www.nabble.com/Deployment-plan-required-tf4531791s134.html#a12932664
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.