Re: Deploying Pet-catalog

2012-06-27 Thread Jeremyau
You're more than welcome! Thanks for your help (especially Romain) and your great work! -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655858.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying Pet-catalog

2012-06-26 Thread Jean-Louis MONTEIRO
Hey, that's looks great. Thanks for sharing. May be we can add and entry on our examples page. Any thoughts? JLouis 2012/6/26 Jeremyau > Hi, > > Here is the source updated of the pet-catalog application for Tomee if some > people are interested: > https://github.com/Stackato-Apps/pet-catalog/

Re: Deploying Pet-catalog

2012-06-26 Thread Jeremyau
Hi, Here is the source updated of the pet-catalog application for Tomee if some people are interested: https://github.com/Stackato-Apps/pet-catalog/tree/stackato Jeremy -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655815.html Sent from th

Re: Deploying Pet-catalog

2012-06-13 Thread Jeremyau
Ok it works well! I did some small changes. (Annotation, JTA...) Thanks Romain! -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655597.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying Pet-catalog

2012-06-08 Thread Romain Manni-Bucau
i'll try again but i did almost the same thing this afternoon - Romain 2012/6/8 Jeremyau > Ok so after several tests, it actually seems the problem comes from my > managedBean. > > I've got a managedBean named catalog: > @ManagedBean > @SessionScoped > public class Catalog > > And I call it in

RE: Deploying Pet-catalog

2012-06-08 Thread Jeremyau
Ok so after several tests, it actually seems the problem comes from my managedBean. I've got a managedBean named catalog: @ManagedBean @SessionScoped public class Catalog And I call it in my view: ...action="#{catalog.prev}"... But it's null. I've added a trace in my Catalog.java: public St

RE: Deploying Pet-catalog

2012-06-07 Thread Robin
How may I be removed from this mailing list -Original Message- From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: Thursday, June 07, 2012 7:20 PM To: users@openejb.apache.org Subject: Re: Deploying Pet-catalog what did mean "empty database"? no tables? -> lo

Re: Deploying Pet-catalog

2012-06-07 Thread Romain Manni-Bucau
what did mean "empty database"? no tables? -> look (or other values) - Romain 2012/6/8 Jeremyau > Here, it is: > > Jun 07, 2012 3:56:55 PM org.apache.openejb.config.ConfigurationFactory > configureApplication > INFO: Configuring enterprise application: > /home/jeremya/Documents/Tomcat/apache

Re: Deploying Pet-catalog

2012-06-07 Thread Jeremyau
Here, it is: Jun 07, 2012 3:56:55 PM org.apache.openejb.config.ConfigurationFactory configureApplication INFO: Configuring enterprise application: /home/jeremya/Documents/Tomcat/apache-tomee-plus-1.0.0/webapps/ROOT Jun 07, 2012 3:56:55 PM org.apache.openejb.config.AutoConfig deploy INFO: Configuri

Re: Deploying Pet-catalog

2012-06-07 Thread Romain Manni-Bucau
Hi. META-INF/resources.xml can be enough to define a datasource. Can tou share your logs? Le 7 juin 2012 23:01, "Jeremyau" a écrit : > Ok, I'm still trying to make it work. Now I'm working on the persistence > side. > > So I've defined a resource in tomee.xml. I've added the > mysql-connectors.j

Re: Deploying Pet-catalog

2012-06-07 Thread Jeremyau
Ok, I'm still trying to make it work. Now I'm working on the persistence side. So I've defined a resource in tomee.xml. I've added the mysql-connectors.jar in the tomee lib directory. ... JdbcDriver com.mysql.jdbc.Driver JdbcUrl jdbc:mysql://localhost:3306/test?autoReconnect=true UserName

Re: Deploying Pet-catalog

2012-06-06 Thread Romain Manni-Bucau
To say "i put everythink in xml DD, dont scan my app" Le 7 juin 2012 04:33, "José Luis Cetina" a écrit : > The attribute metadata-complete="true" is for what? > El 06/06/2012 18:31, "Jeremyau" escribió: > > > It works ! You were right. I missed metadata-complete="true" in > > web.xml. >

Re: Deploying Pet-catalog

2012-06-06 Thread José Luis Cetina
The attribute metadata-complete="true" is for what? El 06/06/2012 18:31, "Jeremyau" escribió: > It works ! You were right. I missed metadata-complete="true" in > web.xml. > > Thanks so much Romain. That's awesome! > > -- > View this message in context: > http://openejb.979440.n4.nabble.co

Re: Deploying Pet-catalog

2012-06-06 Thread Jeremyau
It works ! You were right. I missed metadata-complete="true" in web.xml. Thanks so much Romain. That's awesome! -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655468.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying Pet-catalog

2012-06-06 Thread Jeremyau
Thank you for your answer. I did the same and I still have the same issue... I just changed: jdbc/petcatalog And I got : "user lacks privilege or object not found" I guess I forgot something but I can't figure out what. As the error is about privilege, maybe it's about tomcat

Re: Deploying Pet-catalog

2012-06-06 Thread Romain Manni-Bucau
just retried, to be able to test i just added to your persistence.xml but it works as ROOT webapps here my steps 1) co your repo 2) mvn package 3) rm ROOT from tomee 4) mv catalog.war to ROOT.war in webapps folder of tomee - Romain 2012/6/7 Romain Manni-Bucau > is metadata-complete="true

Re: Deploying Pet-catalog

2012-06-06 Thread Romain Manni-Bucau
is metadata-complete="true" in the ROOT/WEB-INF/web.xml? - Romain 2012/6/7 Jeremyau > Ok so I git co the tomee trunk and build it with maven. Everything is ok, > I've got my zip file with tomee plus. > > I repeat the same step: > 1. Delete the ROOT folder in webapp > 2. Deploy my application (

Re: Deploying Pet-catalog

2012-06-06 Thread Jeremyau
Ok so I git co the tomee trunk and build it with maven. Everything is ok, I've got my zip file with tomee plus. I repeat the same step: 1. Delete the ROOT folder in webapp 2. Deploy my application (I've deployed 2 wars: ROOT.war and catalog.war which both contain pet-catalog application) 3. I run

Re: Deploying Pet-catalog

2012-06-05 Thread Romain Manni-Bucau
isn't the snapshot usable for you? - Romain 2012/6/6 Jeremyau > Oh I see. So how can I proceed to patch my Tomee server? > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655437.html > Sent from the OpenEJB User mailing list archive a

Re: Deploying Pet-catalog

2012-06-05 Thread Jeremyau
Oh I see. So how can I proceed to patch my Tomee server? -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655437.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying Pet-catalog

2012-06-05 Thread Romain Manni-Bucau
sorry i dont open the code again (a bit busy) but if catalogue is a managedbean there is an issue fixed on trunk in tomee 1.0.0 - Romain 2012/6/5 Jeremyau > Yes, you're right. This is what I did but unfortunately, there is still the > same issue. > > I delete the ROOT folder. > I copy paste my

Re: Deploying Pet-catalog

2012-06-05 Thread Jeremyau
Yes, you're right. This is what I did but unfortunately, there is still the same issue. I delete the ROOT folder. I copy paste my ROOT.war. I start the server. TomEE deploy my ROOT.war and create a ROOT folder. Still the same error. I'm not familiar with EJB and JEE6 but it seems the error comes

Re: Deploying Pet-catalog

2012-06-05 Thread Romain Manni-Bucau
ROOT folder should already exist i guess, delete it before starting - Romain 2012/6/5 Jeremyau > I copied pasted my ROOT.war to the webapp folder.* (Sorry) > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655425.html > Sent from the

Re: Deploying Pet-catalog

2012-06-05 Thread Jeremyau
Thanks for your quick response Romain! Well, it's really weird because I just downloaded http://mirror.csclub.uwaterloo.ca/apache/openejb/openejb-4.0.0/apache-tomee-1.0.0-plus.tar.gz Apache TomEE Plus 1.0. I git clone https://github.com/tikalk/jee6-pet-catalog-sample pet-catalog project . I

Re: Deploying Pet-catalog

2012-06-05 Thread Jeremyau
I copied pasted my ROOT.war to the webapp folder.* (Sorry) -- View this message in context: http://openejb.979440.n4.nabble.com/Deploying-Pet-catalog-tp4655421p4655425.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Deploying Pet-catalog

2012-06-05 Thread Romain Manni-Bucau
Hi, i had no issues on trunk - Romain 2012/6/5 Jeremyau > Hi, > > I'm trying to deploy the JEE6 > https://github.com/tikalk/jee6-pet-catalog-sample pet-catalog example on > TomEE plus. > So I create the war file with maven and I deploy it on webapps. Everything > is ok, it works well. > > Bu