Re: A Hello World in ejb3

2008-01-30 Thread Angelo Chen
Hi Jacek, Thanks, I checked out that trunk, and mvn compile, everything compiles then mvn package, I got this error: org.apache.geronimo.kernel.config.LifecycleException: load of org.apache.geronimo.framework/geronimo-gbean-deployer/2.1-SNAPSHOT/car failed at

Re: A Hello World in ejb3

2008-01-29 Thread Jacek Laskowski
On Jan 28, 2008 4:12 PM, Angelo Chen [EMAIL PROTECTED] wrote: http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/ I checked out the above project too, the layout is a little different from the zip file, but it does not compile, this is the only maven

Re: A Hello World in ejb3

2008-01-29 Thread Angelo Chen
Hi Jacek, Thanks, here are the steps: I checked out the source code 2. mvn install then i got this error: [INFO] artifact org.apache.geronimo.buildsupport:car-maven-plugin: checking for updates from codehaus [INFO]

Re: A Hello World in ejb3

2008-01-29 Thread Jacek Laskowski
On Jan 29, 2008 4:14 PM, Angelo Chen [EMAIL PROTECTED] wrote: I checked out the source code 2. mvn install then i got this error: [INFO] artifact org.apache.geronimo.buildsupport:car-maven-plugin: checking for updates from codehaus [INFO]

Re: A Hello World in ejb3

2008-01-29 Thread Steinar Overbeck Cook
/geronimo/plugins/car-maven- plugin/2 0.2/ Anyone? M- - Original Message - From: Angelo Chen [EMAIL PROTECTED] To: users@maven.apache.org Sent: Tuesday, January 29, 2008 10:14 AM Subject: Re: A Hello World in ejb3 Hi Jacek, Thanks, here are the steps: I checked out the source code 2

Re: A Hello World in ejb3

2008-01-28 Thread Daniele De Francesco
Hi, may you supply the pom.xml? cheers Daniele On Jan 28, 2008 2:09 PM, Angelo Chen [EMAIL PROTECTED] wrote: Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy

Re: A Hello World in ejb3

2008-01-28 Thread Angelo Chen
Hi Daniele, there are several pom.xml files, very long, you can browse them from the zip file here: http://www.sonatype.com/book/examples/book-j2ee.zip the readme in the zip give svn url: http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/calculator-stateless-pojo/ I checked out

Re: A Hello World in ejb3

2008-01-28 Thread Angelo Chen
Hi Wayne, Thanks for the reply, actually the calculator sample's maven project compiles, problem is running: I started the Genonimo server, went to the console, choose 'deploy new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5

Re: A Hello World in ejb3

2008-01-28 Thread Wayne Fay
Are you sure this is a Maven problem and not a defect in Geronimo? Given that the Geronimo team is the creator of this sample, I think its best to ask them why its broken, and what you should do to fix it. Wayne On 1/28/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi Daniele, there are several

Re: A Hello World in ejb3

2008-01-28 Thread Martin Hoeller
On 27 Jan 2008, Angelo Chen wrote: I'm looking for a simple sample Maven project for ejb3, Have a look at this: http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-simple.html It's not just EJB but a complete EAR, but it's a good starting point. Also have a look at

Re: A Hello World in ejb3

2008-01-28 Thread Angelo Chen
Hi Martin, Thanks but maven-archetype-j2ee-simple is not for ejb3, is there archetype for ejb3? thanks. A.C. matinh wrote: On 27 Jan 2008, Angelo Chen wrote: I'm looking for a simple sample Maven project for ejb3, Have a look at this:

Re: A Hello World in ejb3

2008-01-28 Thread Martin Hoeller
On 28 Jan 2008, Angelo Chen wrote: Thanks but maven-archetype-j2ee-simple is not for ejb3, is there archetype for ejb3? thanks. Unfortunately not that I know of and not in the list of archetypes [0]. However, you can use the j2ee archetype and just add this to your maven-ejb-plugin definition

A Hello World in ejb3

2008-01-27 Thread Angelo Chen
Hi, I'm looking for a simple sample Maven project for ejb3, I have tried this: http://www.sonatype.com/book/examples/book-j2ee.zip, everything compile, and I follow the exact steps in the maven-user-guide.pdf, but it just not working. Thanks, A.C. -- View this message in context:

Re: A Hello World in ejb3

2008-01-27 Thread Wayne Fay
It is just not working -- can you be more specific? Try adding -X to the call to Maven (eg mvn -X package) to get debugging information. If you spot a specific error in the debug log, paste it in a reply to this email. Wayne On 1/27/08, Angelo Chen [EMAIL PROTECTED] wrote: Hi, I'm looking