Re: A Hello World in ejb3
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 org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:299) ... at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:296) ... 33 more [INFO] [ERROR] BUILD ERROR [INFO] [INFO] org.apache.geronimo.framework/geronimo-gbean-deployer/2.1-SNAPSHOT/car however the ear file for calculator is there, so I deployed it in Geronimo and it works! now, is there a simple maven project? let's say, just calculator, what in the trunk now has a lot of sample projects, and many level of pom.xml, this is too advanced for newbie like me, i need a single project, any one available? thanks. A.C. Jacek Laskowski wrote: On Jan 29, 2008 4:14 PM, Angelo Chen [EMAIL PROTECTED] wrote: I believe you downloaded the samples of Geronimo from https://svn.apache.org/repos/asf/geronimo/samples/trunk, didn't you? If so, the issue was resolved yesterday so you should check out yesterday's changes and give it a whirl again. It should build and work fine. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15193814.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Hi, Could you describe the steps you took until it hit the state 'does not compile'? I'd be glad to help you out with the sample. You could take a look at the article (in Polish) about Geronimo, Maven and JSF - http://www.jaceklaskowski.pl/wiki/Tworzenie_aplikacji_z_JavaServer_Faces%2C_Apache_Maven_i_Apache_Geronimo. There're a couple of samples in Apache OpenEJB project - http://openejb.apache.org/examples.html. Jacek (Geronimo and OpenEJB committer) -- Jacek Laskowski http://www.JacekLaskowski.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.geronimo.buildsupport:car-maven-plugin' does not exist or no valid version could be found Jacek Laskowski wrote: 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 project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Hi, Could you describe the steps you took until it hit the state 'does not compile'? I'd be glad to help you out with the sample. You could take a look at the article (in Polish) about Geronimo, Maven and JSF - http://www.jaceklaskowski.pl/wiki/Tworzenie_aplikacji_z_JavaServer_Faces%2C_Apache_Maven_i_Apache_Geronimo. There're a couple of samples in Apache OpenEJB project - http://openejb.apache.org/examples.html. Jacek (Geronimo and OpenEJB committer) -- Jacek Laskowski http://www.JacekLaskowski.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15160496.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.geronimo.buildsupport:car-maven-plugin' does not exist or no valid version could be found Hi, I believe you downloaded the samples of Geronimo from https://svn.apache.org/repos/asf/geronimo/samples/trunk, didn't you? If so, the issue was resolved yesterday so you should check out yesterday's changes and give it a whirl again. It should build and work fine. Jacek -- Jacek Laskowski http://www.JacekLaskowski.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
unsubscribe Den 29. jan. 2008 kl. 17.13 skrev Martin Gainty: Hi Angelo i found a copy here..(no guarantees that its the version,groupId or artifactId you're looking for or even that the pom is valid) perhaps adding this to the list of repositories? http://repo1.maven.org/maven2/org/apache/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. mvn install then i got this error: [INFO] artifact org.apache.geronimo.buildsupport:car-maven-plugin: checking for updates from codehaus [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] The plugin 'org.apache.geronimo.buildsupport:car-maven- plugin' does not exist or no valid version could be found Jacek Laskowski wrote: On Jan 28, 2008 4:12 PM, Angelo Chen [EMAIL PROTECTED] wrote: http://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/ calculator-st ateless-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 project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Hi, Could you describe the steps you took until it hit the state 'does not compile'? I'd be glad to help you out with the sample. You could take a look at the article (in Polish) about Geronimo, Maven and JSF - http://www.jaceklaskowski.pl/wiki/ Tworzenie_aplikacji_z_JavaServer_Faces%2C_ Apache_Maven_i_Apache_Geronimo. There're a couple of samples in Apache OpenEJB project - http://openejb.apache.org/examples.html. Jacek (Geronimo and OpenEJB committer) -- Jacek Laskowski http://www.JacekLaskowski.pl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3- tp15127007s177p15160496.ht ml Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: 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 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: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 the above project too, the layout is a little different from the zip file, but it does not compile, this is the only maven project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Thanks, A.C. Daniele De Francesco wrote: 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 new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: 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 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: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15136736.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath(DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: 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 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: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 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 the above project too, the layout is a little different from the zip file, but it does not compile, this is the only maven project for ejb3 I found in the net so far, two days spent and I can not even produce a 'hello world' in maven, managed to make a 'hello world' in command line, but not for real code. Thanks, A.C. Daniele De Francesco wrote: 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 new', selected the EAR file, and got following error: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2 ): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] org.apache.geronimo.common.DeploymentException: Manifest class path entries must be a valid jar file (JAVAEE 5 Section 8.2): path=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar, resolved to targetURI=lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar looking at: calculator-stateless-war-2.0-SNAPSHOT.warcurrent classpath: [WEB-INF/classes/, ../lib/calculator-stateless-ejb-2.0-SNAPSHOT.jar]ignoring modules: [calculator-stateless-ejb-2.0-SNAPSHOT.jar, calculator-stateless-war-2.0-SNAPSHOT.war] at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:367) at org.apache.geronimo.deployment.DeploymentContext.getCompleteManifestClassPath (DeploymentContext.java:286) Since I'm not familiar to Genonimo, so don't know how to fix this. I'm just looking for a working maven example, from there i can proceed with my ejb3 project with maven. Thanks, Wayne Fay wrote: 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 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: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15134930.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15136736.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-—-part-2-ear-deployment/ (the page seems down at the moment) hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: PGP signature
Re: A Hello World in ejb3
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: 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 www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup-with-maven-—-part-2-ear-deployment/ (the page seems down at the moment) hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 -- View this message in context: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15148339.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: A Hello World in ejb3
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 in the build section: configuration ejbVersion3.0/ejbVersion /configuration Just as described in Maven - The Definitve Guide [1]. hth, - martin [0] http://docs.codehaus.org/display/MAVENUSER/Archetypes+List [1] http://www.sonatype.com/book/j2ee.html -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: PGP signature
Re: A Hello World in ejb3
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 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: http://www.nabble.com/A-%22Hello-World%22-in-ejb3-tp15127007s177p15127007.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]