Re: How do i deploy a ManagedConnectionFactory in a war file?

2013-01-07 Thread Jean-Louis MONTEIRO
The collapsed EAR (not fully compatible with what it really is nowadays) was an OpenEJB feature. With Java EE 6, we pushed that feature to the spec so that now it's fully standard. Jean-Louis 2013/1/6 Anthony Fryer apfr...@hotmail.com If the collapsed ear concept is a tomee' specific idea and

Re: Feedback on TomEE 1.5.1

2013-01-02 Thread Jean-Louis MONTEIRO
Hi Eric, Thanks for the feedback. It's really interesting to get such a feedback. So feel free to keep us informed of your work and how it actually works on IBM OS/400. Jean-Louis 2013/1/1 Eric Henson ehen...@gartman.com Thanks to everybody for this project! I will be trying to use this

Re: Using TomEE 1.5.2 SNAPSHOT, and NO errors in log files!!!

2012-12-30 Thread Jean-Louis MONTEIRO
José, That's true that the WAR (collasped EAR mode) is much (much) more tested and used than EAR in TomEE. Nevertheless, we try to work as much as possible on issues reported by users, so no worries, and feel free to raise issue as soon as you find some. There are also some peaces of the specs

Re: Using TomEE 1.5.2 SNAPSHOT, and NO errors in log files!!!

2012-12-29 Thread Jean-Louis MONTEIRO
Hi Howard, Thanks for the feedback and let us know about those new tests and the results. With such a feedback and the whole amount of questions you can raise, you are making TomEE even better each time. So thanks again for that. Jean-Louis 2012/12/29 Howard W. Smith, Jr.

Re: Using TomEE 1.5.2 SNAPSHOT, and NO errors in log files!!!

2012-12-29 Thread Jean-Louis MONTEIRO
Side note, feel free to push a small message on G+ to share your user experience. JLouis 2012/12/29 Jean-Louis MONTEIRO jeano...@gmail.com Hi Howard, Thanks for the feedback and let us know about those new tests and the results. With such a feedback and the whole amount of questions you

Re: Using TomEE 1.5.2 SNAPSHOT, and NO errors in log files!!!

2012-12-29 Thread Jean-Louis MONTEIRO
, Dec 29, 2012 at 5:32 PM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Side note, feel free to push a small message on G+ to share your user experience. -- Jean-Louis

Re: link drop in wars unviable

2012-12-17 Thread Jean-Louis MONTEIRO
Good catch! A bad search/replace command. Will fix that quickly. In the mean time, all downloads are in that page http://www.apache.org/dyn/closer.cgi/openejb/openejb-4.5.1 JLouis 2012/12/17 José Luiz Siesler Junior jrsies...@gmail.com God nigth. The links tomee-plus-webapp-1.5.1.war

Re: TomEE can't find ehcache.xml

2012-12-16 Thread Jean-Louis MONTEIRO
Cool. Le 16 déc. 2012 15:12, Luca Merolla luca.mero...@gmail.com a écrit : Thanks I have solved by removing new CacheManager with: manager = CacheManager.newInstance(getClass().getResource( /ehcache.xml)); On Sun, Dec 16, 2012 at 10:35 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote

Re: Reusing Datasource

2012-12-16 Thread Jean-Louis MONTEIRO
I think the more related to synonyms It's possible for ejbs, but we don't actually have the same feature for datasources JLouis 2012/12/17 Romain Manni-Bucau rmannibu...@gmail.com Hi, First i think we never release openejb 3.2 Then you can define the datasource globally either in

Re: tomee would not start with tomee-catalina-1.5.1-20121212.041530-107.jar

2012-12-15 Thread Jean-Louis MONTEIRO
And what was the reason of such a replacement? Le 15 déc. 2012 06:02, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : I just replaced catalina.jar with tomee-catalina-1.5.1-20121212.041530-107.jar, and TomEE would not start; I only saw the following in the stderr log; nothing in catalina

Re: TomEE: EAR: Cannot locate the class from the codebase

2012-12-15 Thread Jean-Louis MONTEIRO
Can you it a try with 1.5.1? Le 15 déc. 2012 01:42, Jukkales s...@nodch.de a écrit : Hi, i have a problem with an EJB Class inside of EAR File. When i deploy i will get the error: org.apache.openejb.OpenEJBException: Error while loading bean class de.juserv.winnr.ejb.timer.BasicTaskService

Re: Unable to configure MYSQL resource in tomee.xml

2012-12-14 Thread Jean-Louis MONTEIRO
Just on point, did you see a message in logs (please grep into logs/ dir) like Adjusting If so, could you copy/paste those lines? JLouis 2012/12/14 Romain Manni-Bucau rmannibu...@gmail.com ok basically create the following structure: src main java your classes

Re: Why are Tomcat's threads more costly than background threads?

2012-12-12 Thread Jean-Louis MONTEIRO
I tend to recommend to set any finder methods to SUPPORT which is far better in terms of performances and allow reusability of finder methods in business methods. JLouis 2012/12/11 David Blevins david.blev...@gmail.com Setting the LockModeType is good. Understand, though, that all the values

Re: Why are Tomcat's threads more costly than background threads?

2012-12-12 Thread Jean-Louis MONTEIRO
. smithh032...@gmail.com Jean-Louis, please clarify 'finder methods' and/provide a short example, thanks. On Wed, Dec 12, 2012 at 3:08 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: I tend to recommend to set any finder methods to SUPPORT which is far better in terms of performances

Re: TomEE: @Stateless EJB holds transaction/database-locks after @Schedule method completed

2012-12-12 Thread Jean-Louis MONTEIRO
32 Bits = 3,2GB max AFAIR 2012/12/12 Howard W. Smith, Jr. smithh032...@gmail.com I really think this is hardware related issue. Why would 64bit 16GB RAM development server (2 seconds for 2 emails) out perform 32bit 4GB RAM production server (10 minutes for same 2 emails). ? :-) I am

Re: TomEE: @Stateless EJB holds transaction/database-locks after @Schedule method completed

2012-12-12 Thread Jean-Louis MONTEIRO
Server 2003 32bit 4GB RAM)? On Wed, Dec 12, 2012 at 9:44 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: 32 Bits = 3,2GB max AFAIR -- Jean-Louis

Re: TomEE: @Stateless EJB holds transaction/database-locks after @Schedule method completed

2012-12-12 Thread Jean-Louis MONTEIRO
for the response. I'll keep that in mind when I present issues/questions. I'm loving TomEE, especially the committers! thank you all for all your responses...so far! On Wed, Dec 12, 2012 at 11:04 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Interesting question :) I of course still use

Re: TomEE 1.5.1 release date?

2012-12-08 Thread Jean-Louis MONTEIRO
Sure, the topic is indeed important and as mentioned by both of you Herald and Alex, we must improve the release process to get more regular releases and be able to follow security patches when necessary. Jlouis Le 8 déc. 2012 18:15, Harald Wellmann hwellmann...@gmail.com a écrit : 2012/12/8

Re: Suggestion: tick client JARs provisionning service

2012-12-08 Thread Jean-Louis MONTEIRO
+1 Don't really understand the question. Could you elaborate a bit more? Le 8 déc. 2012 18:11, Romain Manni-Bucau rmannibu...@gmail.com a écrit : Not sure i got you. These jars are not always mandatory and depends on your needs. Le 8 déc. 2012 17:56, Alex The Rocker alex.m3...@gmail.com a

Re: How to configure MySQL data source?

2012-12-07 Thread Jean-Louis MONTEIRO
Hi, yes the openejb.xml file is the oldest one. Now it's tomes.xml Maybe we have to grep the doc and replace when relevant. You can also use the top-right pen icon to submit a change to the doc (even in an anonymous way). Basically the configuration you tried should work. Resource id=TestDS

Re: TOMEE web service deployment failure.

2012-12-07 Thread Jean-Louis MONTEIRO
Good point Howard, war is usually far easier for simple needs. Could you share you simple sample? And provide us with the full log please. JLouis 2012/12/7 Howard W. Smith, Jr. smithh032...@gmail.com Robert, What is the date/time/version of that SNAPSHOT? Per my experience, I usually

Re: TomEE with Eclipse Juno: any plugin or docs?

2012-12-07 Thread Jean-Louis MONTEIRO
It should not be necessary to have a dedicated TomEE integration even if we are actually thinking about that for other purposes. Everything working with Tomcat must work with TomEE, otherwise, there is maybe a bug ;-) anyway, is that what you are looking for:

Re: Just added a guide about using Netbeans with TomEE

2012-11-30 Thread Jean-Louis MONTEIRO
Awesome! Thanks for the contribution. JLouis 2012/11/30 tikluganguly tiklugang...@gmail.com Thanks got it :D On Fri, Nov 30, 2012 at 2:21 PM, Romain Manni-Bucau [via OpenEJB] ml-node+s979440n4659009...@n4.nabble.com wrote: Normally you can with the small pen on the right icon

Re: drop-in war install instructions

2012-11-30 Thread Jean-Louis MONTEIRO
Thanks, the page should be fixed. We receive the patch. Jean-Louis 2012/11/25 Marco de Booij marco.develo...@debooy.eu I have tried to change the pages but either they are not accepted or I did something wrong. Marco Op 23-11-12 21:06, Jean-Louis MONTEIRO schreef: here it is http

Re: Apache TomEE documentation: WTP and TomEE logging

2012-11-29 Thread Jean-Louis MONTEIRO
Hi Howard, No no, everyone can propose changes. Apache CMS supports anonymous contributions. When it asks if you have an Apache ID, just answer No, it you should switch to an anonymous mode. As soon as you submit it, we receive a patch we can apply for you. Thanks in advance for your

Re: APR based Apache Tomcat Native library ... not found on java.library.path

2012-11-29 Thread Jean-Louis MONTEIRO
That should be similar to Tomcat usage. Everything working with Tomcat should work with TomEE. If not, that's a bug so let us know to fix it. Jean-Louis 2012/11/26 Howard W. Smith, Jr. smithh032...@gmail.com cat Native library to my java.library -- Jean-Louis

Re: APR based Apache Tomcat Native library ... not found on java.library.path

2012-11-29 Thread Jean-Louis MONTEIRO
Push a post on Tomcat mailing list to get more relevant advises on APR usage. JLouis 2012/11/29 Jean-Louis MONTEIRO jeano...@gmail.com That should be similar to Tomcat usage. Everything working with Tomcat should work with TomEE. If not, that's a bug so let us know to fix it. Jean-Louis

Re: drop-in war install instructions

2012-11-23 Thread Jean-Louis MONTEIRO
to check if I missed something. Regards, Marco Op 23-11-12 18:55, Jean-Louis MONTEIRO schreef: Jon did the page 2 weeks ago afair Le 23 nov. 2012 17:21, Harald Wellmann hwellmann...@gmail.com a écrit : Any progress with the web page on Drop-in WAR installation? Searching

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Jean-Louis MONTEIRO
Hey guys, Thanks so much for the feedback. If you think it would be valuable, let's create it. Maybe the best way to get something relevant is to allow you both write it. If you agree, I can create an empty page and let you write the content. It's pretty cool and easy using Apache CMS cause you

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Jean-Louis MONTEIRO
notes/journal and my brain/memory to document my experience on such a page. Thanks, Howard On Thu, Nov 22, 2012 at 11:01 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Hey guys, Thanks so much for the feedback. If you think it would be valuable, let's create it. Maybe

Re: TomEE 1.5.1 Release Date

2012-11-16 Thread Jean-Louis MONTEIRO
At least I'm working on it with other people. But it also depends on my office work and the time I can get for TomEE. Crossing fingers Jean-Louis 2012/11/16 Alex The Rocker alex.m3...@gmail.com Hi, Any chance to have 1.5.1 officially release before end of next week? -- Jean-Louis

Re: Status of CDI in EAR

2012-11-15 Thread Jean-Louis MONTEIRO
Yes it is. Sorry, I missed something I guess :) 2012/11/15 Luca Merolla luca.mero...@gmail.com Isn't @DependsOn only between Singleton? In my scenario I have the TaskBean that can be a Singleton but it is invoking and @EJB (which is stateless) On Thu, Nov 15, 2012 at 10:17 AM, Jean-Louis

Re: TomEE 1.5.1 Release Date

2012-11-12 Thread Jean-Louis MONTEIRO
Just started the process yesterday see TomEE jira to follow the process. Hope to get binaries and fire a vote next week. Le 12 nov. 2012 11:29, Alex The Rocker alex.m3...@gmail.com a écrit : Hello, On our side we badly need an official 1.5.1 release because we have showstoppers on Windows

Re: @Remove on stateful session bean does not work?

2012-11-11 Thread Jean-Louis MONTEIRO
Hi, it's tested on the project itself AFAIR, so would it be possible to get a simple test to reproduce please? Jean-Louis 2012/11/11 Throwable ant.kura...@gmail.com Hello, I have a remote client that invokes a stateful session bean. An EJB has a dispose() method annotated with @Remove.

Re: can't add persistence.xml to my EJB jar META-INF exceptions are thrown and application is not deployed

2012-11-11 Thread Jean-Louis MONTEIRO
Hi, maybe i'm wrong but that exception makes me thing about a bad packaging. I mean, maybe your are actually embedding jars/classes already included in TomEE. Could you print the list of jars in the /lib directory of the EAR as well as the contain of WEB-INF/lib? Jean-Louis 2012/11/10 elico

Re: How can I catch OptimisticLockException?

2012-11-08 Thread Jean-Louis MONTEIRO
Glassfish is actually using the reference implementation (eclipse link). It seems to not work the same way as Hibernate or other. Maybe, it's flushing by default for any changes whereas Hibernate tends to get as much as possible changes in the PersistenceContext and only flush when relevant or at

Re: DataSource Password Encryption

2012-11-08 Thread Jean-Louis MONTEIRO
BTW, just updated a bit the datasource password encryption page 2012/11/8 Romain Manni-Bucau rmannibu...@gmail.com Hi, fine, are you volonteer? just open a jira on openejb or tomee project ( issues.apache.org/jira/browse/TOMEE) and attach the patch(s) (examples) and we'll be able to add

Re: DataSource Password Encryption

2012-11-07 Thread Jean-Louis MONTEIRO
Hi Yousef, Which version are you using? Since latest (1.5.0) we changed the default connection pool to tomcat-pool instead of Apache DBCP. The feature only works for the moment in Apache DBCP. Regarding the way it works, please have a look to the PasswordCodec interface.

Re: How can I catch OptimisticLockException?

2012-10-29 Thread Jean-Louis MONTEIRO
On 29/10/2012 7:47 AM, Jean-Louis MONTEIRO wrote: There is no trivial way to get that in the client cause the spec requires it to be wrapped. As the exception is thrown during commit (flush at least), you can in the business method (ie. the session bean method) force a em.flush

Re: Upgraded to Tomee 1.5, Password cipher not working anymore

2012-10-25 Thread Jean-Louis MONTEIRO
Hi, Not for the moment. That's only an OpenEJB feature on DBCP original pool. I guess it should not be so tricky to make it available on tomcat-pool as well. JLouis 2012/10/25 mommymutya gcalu...@yahoo.com Oh, come to think of it, how do I now encrypt my password if I want to use the default

Re: EJB 3.0 API

2012-10-19 Thread Jean-Louis MONTEIRO
Hello, 4.x implements EJB 3.1 3.x implements EJB 3.0 But EJB 3.1 does not break compatibility AFAIR, then, you should be able to use 4.x. Could you share something (logs, etc)? JLouis 2012/10/19 Miguel Figueiredo ollliega...@gmail.com Hello, I wan't to use OpenEJB in a JUnit environment

Re: EJB 3.0 API

2012-10-19 Thread Jean-Louis MONTEIRO
[INFO] Best regards, Miguel On Fri, Oct 19, 2012 at 2:48 PM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Hello, 4.x implements EJB 3.1 3.x implements EJB 3.0 But EJB 3.1 does not break compatibility AFAIR

Re: TomEE and catalina_base / catalina_home variables

2012-10-16 Thread Jean-Louis MONTEIRO
No need to set OPENEJB_(HOME|BASE). When running in TomEE openejb automatically get the same values as catalina. Jean-Louis 2012/10/16 diuis di...@yahoo.it Hi, I have to deploy multiple instances of TomEE on the same server; with Tomcat it's simple: I set the two environment variables

Re: failed to register TomEE 1.5.0 latest snapshot on 64-bit Windows 7

2012-10-08 Thread Jean-Louis MONTEIRO
Hi Andy, Not for the moment :-( But now the JIRA is filled so we have to deal with. Dunno, maybe a Maven issue with the filtering of resources. Maybe trying to reproduce with a simple maven project containing only those binaries would help. Alex, maybe you could give it a try? Jean-Louis

Re: Cobertura error

2012-10-08 Thread Jean-Louis MONTEIRO
://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/10/8 Jean-Louis MONTEIRO jeano...@gmail.com Maybe, we could filter Cobertura interfaces during scanning and application

Re: Cobertura error

2012-10-08 Thread Jean-Louis MONTEIRO
* 2012/10/8 Jean-Louis MONTEIRO jeano...@gmail.com Thanks Romain but I would prefer to make it optional. Something like -Dopenejb.skip.cobertura 2012/10/8 Romain Manni-Bucau rmannibu...@gmail.com done https://issues.apache.org/jira/browse/OPENEJB-1915 *Romain Manni-Bucau

Re: failed to register TomEE 1.5.0 latest snapshot on 64-bit Windows 7

2012-10-08 Thread Jean-Louis MONTEIRO
: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/* http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2012/10/8 Jean-Louis MONTEIRO jeano...@gmail.com Hi Andy, Not for the moment

Re: Tomee news [was: download page on tomee.apache.org not refreshed]

2012-10-05 Thread Jean-Louis MONTEIRO
Thanks for reading that page deeply and giving feedback. Il will try to update that page during the weekend if possible or on Monday. Jean-Louis 2012/10/5 Fernando Lozano ferna...@lozano.eti.br Hi, Now I can see both download pages have the same contents, but the tomee.apache.org home page

Re: failed to register TomEE 1.5.0 latest snapshot on 64-bit Windows 7

2012-10-03 Thread Jean-Louis MONTEIRO
Hi, Yes please fill a jira. Jean louis Le 2 oct. 2012 20:34, Alex The Rocker alex.m3...@gmail.com a écrit : Andy: Thank you very much, the Windows executable files at the link you provided works for me, so I have a by-pass. Nevertheless, don't you think I should fill a JIRA to track

Re: Can webapps/tomee directory be deleted for a production environment?

2012-09-20 Thread Jean-Louis MONTEIRO
Amazing, we got that discussion on my company as well where we have a lot of instances. Yes, that'd be awesome if you could feel a jura for that. Jean-Louis 2012/9/20 Alex The Rocker alex.m3...@gmail.com Romain: It would be great to move TomEE's transport out of the tomee management UI web

Re: Different module share same container?

2012-09-19 Thread Jean-Louis MONTEIRO
Hi, In my opinion, it should be the target for unit tests. I mean, getting a fresh new container for each test. Otherwise, you can maybe focus on integration tests using our Arquillian adapter. Just one question: what do you mean by cost lots of time? Because, we start/stop openejb thousand of

Re: No provider available for resource-ref 'null' of type 'javax.servlet.http.HttpServletResponse'

2012-09-19 Thread Jean-Louis MONTEIRO
Hi, It should have been fixed. Did you give it a try with the latest snapshot? Jean Louis Le 20 sept. 2012 02:17, Jeremyau ja.activest...@gmail.com a écrit : I'm working on a Spring Application using RESTful on TomEE snapshot. If I delete the hadoop-core-1.0.0.jar and the

Re: How to configure default transaction timeout in TomEE?

2012-09-12 Thread Jean-Louis MONTEIRO
Hi, Didn't check, but I guess there is nothing on the documentation. Regarding the timeout, you need in tomee.xml, redifine the Default Transaction Manager as you just mentionned here after. Something like that should do the trick !-- Default transaction time out is 600 -- TransactionManager

Re: Recommended Reading?

2012-09-07 Thread Jean-Louis MONTEIRO
Well, there is nothing for TomEE currently AFAIK. Then, I guess Antonio's (Goncalves) book is a good starting point. You can also try to buy Adam's (Bien) ones. He just revisited and published a new version few days ago. Then, you can pay with all examples from OpenEJB/TomEE website. The

Re: Confusion about InitialContexts with my Spring JUnit test

2012-09-03 Thread Jean-Louis MONTEIRO
Something like that ... jee:jndi-lookup id=myBean jndi-name=MyProjectStandardManager jee:environment java.naming.factory.initial = org.apache.openejb. /jee:environment /jee:jndi-lookup 2012/9/3 Romain Manni-Bucau rmannibu...@gmail.com

Re: OpenEJB Mockito unit test

2012-08-31 Thread Jean-Louis MONTEIRO
Romain, maybe a proxy handler on top of the business interface can do the trick. Not sure it will work, but it should be able to provide any implementation even a mock to a business interface. The need is there, so that be great to have a look. Any other ideas? Jean-Louis 2012/8/30 Romain

Re: OpenEJB Mockito unit test

2012-08-31 Thread Jean-Louis MONTEIRO
core for this need) - Romain Le 31 août 2012 09:15, Jean-Louis MONTEIRO jeano...@gmail.com a écrit : Romain, maybe a proxy handler on top of the business interface can do the trick. Not sure it will work, but it should be able to provide any implementation even a mock

Re: JavaMail Session with Authentication

2012-08-29 Thread Jean-Louis MONTEIRO
Thanks Anthony for helping on that area. Was not aware about that restriction. If you wanna move forward, maybe you could open a JIRA and push a patch. We could commit it for you and it would be welcome. Jean-Louis 2012/8/29 Anthony Fryer apfr...@hotmail.com I had the same issue and

Re: Call By Reference

2012-08-28 Thread Jean-Louis MONTEIRO
Setting the property openejb.localcopy=false should do the trick. JLouis 2012/8/28 eltonk kuzniew...@gmail.com And yes Romain, is about the parameter that a client send to a service. (sorry, I forgot answer this before) -- View this message in context:

Re: need help in unit testing EJB + ibatis.

2012-08-27 Thread Jean-Louis MONTEIRO
It should be more likely due to the namespace used. java:comp/env/ is only accessible from managed object which is obviously not the case in UnitTest. Try using the fully qualified name instead. Jean-Louis 2012/8/25 stratwine tovishwan...@gmail.com Hi Ritesh, Looks like the datasource is not

Re: HttpServletResponse

2012-08-27 Thread Jean-Louis MONTEIRO
Hi, If your managed bean (export) is using the Servlet Response, it seems to me difficult to make it work without sending the serialized object itself. Moreover, I agree, it's not clear at all. I would recommend to change the export bean a bit and make it work with common Input/OutputStream.

Re: include/exclude classpath

2012-08-27 Thread Jean-Louis MONTEIRO
Or to use Maven filtering if applicable. JLouis 2012/8/24 eltonk kuzniew...@gmail.com Thank you for the tip! :) I'll try it. -- View this message in context: http://openejb.979440.n4.nabble.com/include-exclude-classpath-tp4657023p4657079.html Sent from the OpenEJB User mailing list

Re: war packaged exclusions.list

2012-07-23 Thread Jean-Louis MONTEIRO
Seam = 3s MyFaces = 9s We can do things, but would be great to also decrease third-party libraries startup time. Maybe posting to myface dev@list would be great. JLouis 2012/7/23 David Blevins david.blev...@gmail.com On Jul 22, 2012, at 8:38 PM, zeeman wrote: Thanks David, your suggested

[POLL] TomEE TShirt

2012-07-18 Thread Jean-Louis MONTEIRO
Hey guys, We have had some questions regarding our TomEE TShirt (See ParisJUG photos). Actually, Romain did them by himself and there are currently only 2 TShirts (Romain and I). If Romain agrees, maybe we could submit the picture and the logo here. If it has success, I can try to arrange a way

Re: EclipseLink + TomEE?

2012-07-06 Thread Jean-Louis MONTEIRO
Guess David's purpose was not to delete EclipseLink jar if you wanna use it as you JPA provider. The first error reported (ClassCastException) is commonly related to duplicate classes in different classloaders. The point is that as a JEE Application Server, we already deliver the JPA API (as

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 ja.activest...@gmail.com Hi, Here is the source updated of the pet-catalog application for Tomee if some people are interested:

Re: EJB via JNDI

2012-06-25 Thread Jean-Louis MONTEIRO
Is the question: how can I predict the final JNDI name without have to dig into log files? If yes, the JNDI naming is now defined by the spec. So, if the name you wanna lookup does not work, that sounds like a bug;-) If you wanna change the naming convention, I guess that is still possible (it

Re: Testing

2012-06-11 Thread Jean-Louis MONTEIRO
Hi, We are usually notified when a post is marked as spam. Then We are able to approve the message or to decline. This one seems to have reach the list. Could you try again ? Thanks, Jean Louis Le 9 juin 2012 21:39, Bradley Rintoul brint...@sbcglobal.net a écrit : All of my emails are being

Re: Tomee Plus instead of Glassfish

2012-06-04 Thread Jean-Louis MONTEIRO
David, Not sure how to understand that post content. IMO, a @Local annotation (without any interface specified) on the bean class is not allowed by the spec. JLouis 2012/6/4 David Blevins david.blev...@gmail.com On Jun 3, 2012, at 9:18 AM, Marco de Booij wrote: @Local

Re: ExceptionMapper provider

2012-05-25 Thread Jean-Louis MONTEIRO
Hi, Do you think about something like we can find in Spring? In any case, fill a JIRA with what you have in mind and shoot again here. We be more than happy to hack if possible (or you can also provide us with a patch ;-)). Jean-Louis 2012/5/25 stx_g st...@yahoo.it Hi All. Is it possible

Re: Tomee Datasource

2012-05-14 Thread Jean-Louis MONTEIRO
That seems correct to me. Can you try adding the property localDataSource=true to the following realm definition ? Realm className=org.apache.catalina.realm.DataSourceRealm dataSourceName=MyDataSource userTable=userTable userNameCol=user

Re: Just installed TomEE- Getting forbidden error when I try to access tomee mgmt interface

2012-05-10 Thread Jean-Louis MONTEIRO
Hi, For security reasons, there is a tomcat valve allowing only local access. Try it locally or temporary remove the valve. Jean-louis Le 10 mai 2012 17:45, arvindikchari arvindikch...@yahoo.com a écrit : Hi I am trying out TomEE- I installed it successfully, and Tomcat is up and running,

Re: TomEE Versions..

2012-04-27 Thread Jean-Louis MONTEIRO
but if somebody can perl it it is the best ;) Le 26 avr. 2012 21:13, Jean-Louis MONTEIRO jeano...@gmail.com a écrit : If we can automate the process why not. I usually just open a distro to look what's inside. JLouis Le 26 avril 2012 20:59, David Blevins david.blev...@gmail.com a écrit

Re: TomEE Versions..

2012-04-26 Thread Jean-Louis MONTEIRO
If we can automate the process why not. I usually just open a distro to look what's inside. JLouis Le 26 avril 2012 20:59, David Blevins david.blev...@gmail.com a écrit : We had the versions on that page originally. Then once we released beta-2 the obvious problem of which versions to

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
Hi Adrien, First of, thanks a lot for the feedback. That is an important point to make OpenEJB/TomEE progress in a good way. Just one note regarding the drop-in-war approach versus the TomEE full package: the drop-in-war should work in most cases, but we had to tweek tomcat and our integration

Re: Feedback on TomEE 1.0.0-beta-2

2012-03-15 Thread Jean-Louis MONTEIRO
Hum strange, the download links seem great now. Didn't do anything but ... Jean-Louis 2012/3/15 Jean-Louis MONTEIRO jeano...@gmail.com Hi Adrien, First of, thanks a lot for the feedback. That is an important point to make OpenEJB/TomEE progress in a good way. Just one note regarding

Re: OpenEJB vs JBoss

2012-03-15 Thread Jean-Louis MONTEIRO
Some month ago, we also got a similar feedback from another user and company. Here is the article refering the user blog. https://blogs.apache.org/openejb/entry/user_blog_openejb_rapid_j2ee Hope it helps on the discussion. Jean-Louis 2012/3/15 Neale Rudd ne...@metawerx.net Hi Markus, Very

Re: Maven plugin for OpenEJB

2012-02-18 Thread Jean-Louis MONTEIRO
Some month ago, I did a plugin to manage standalone mode. I guess it's still available in sandbox area. May be, if we consider it as useful, we can try to merge it with Romain's one or enhance Romain's plugin to make it work in a standalone mode. Jean-Louis 2012/2/17 Romain Manni-Bucau

Re: Injection fails in any class that didn't instantiate an embedded ejb container

2012-02-18 Thread Jean-Louis MONTEIRO
+1 2012/2/17 Romain Manni-Bucau rmannibu...@gmail.com Beta 2 is gold, next will be diamond ;) Le 17 févr. 2012 19:09, David Blevins david.blev...@gmail.com a écrit : On Feb 17, 2012, at 5:08 AM, afryer wrote: Just upgraded to beta-2 and now @ManagedBean works. I had to change the

Re: HELP! Using EJB3.1+JSP only is it possible?

2012-02-06 Thread Jean-Louis MONTEIRO
Hi, Not sure to help. BTW, a JSP is at the end a Servlet. You can either inject whatever you need in your JSP (@PersistenceContext, etc) is you wanna develop something quickly. You can also create some kind of backing beans you may want to use in your JSP files. In such a situation, you can

Re: how to unsubscribe this email list ?

2012-01-31 Thread Jean-Louis MONTEIRO
I guess sending a mail to users-unsubscr...@openejb.apache.org should be enough. Jean-Louis 2012/2/1 Edward Chen java...@gmail.com Hi, folk, how to unsubscribe this email list ? regards Edward

Re: Openejb lite bundles

2012-01-30 Thread Jean-Louis MONTEIRO
Hi, we managed to set up some OSGi features making OpenEJB to work with Apache Karaf. Could you have a look to our existing features and let us know if that is enough or not? May be, we'll have to change some import to make EclipseLink imports optional but there. Feel free to open a JIRA with a

Re: Setting UserTransaction Timeout via configuration

2011-12-12 Thread Jean-Louis MONTEIRO
Hi, Yes it's possible to override the default timeout of the transaction manager. By default its value is 600s In your openejb.xml file, redefine the Default Transaction Manager and add the parameter defaultTransactionTimeoutSeconds where is the value in seconds. Hope it helps.

Re: unit test with openejb on karaf

2011-12-07 Thread Jean-Louis MONTEIRO
Hi Charles, the openejb.embedded.remotable system property must be set in the server side (ie. Karaf). Otherwise, OpenEJB won't start remote services. Jean-Louis 2011/12/7 Charles Moulliard cmoulli...@gmail.com Same error if I use this config too. protected void setUp() throws Exception

Re: create a web application with OpenEjb embedded

2011-09-19 Thread Jean-Louis MONTEIRO
Hi Mauro, If you want to deploy a web application in Tomcat and OpenEJB, you need to install first OpenEJB in Tomcat. Please, have a look here to get the full process description. http://openejb.apache.org/3.0/tomcat.html Also note that we are currently working in a full package named Apache

Re: Next official release OpenEJB/TomEE

2011-09-14 Thread Jean-Louis MONTEIRO
Hi, thanks for the feedback. Yes, we've been working hard in providing the community with a real Open Source Web Profile 1.0 server. We are currently in the progess of certification which is hard and time consuming. We are not so far (I can't give you any numbers and figures). Anyway, as far as

Re: Can't invoke web service

2011-09-13 Thread Jean-Louis MONTEIRO
Everybody can create a JIRA account easily (just few minutes). Then, you can push your test project. Jean-Louis 2011/9/13 samwun9988 leiwun2...@gmail.com hi, can you tell me how to attach my project there if I don't have jira login account for openejb? Thanks Sam -- View this message

Re: OpenEJB 3.2 availability question

2011-09-02 Thread Jean-Louis MONTEIRO
Hi, be careful! The right version is 3.2.0-SNAPSHOT (don't forget the -0) Actually, it was an error to publish a 3.2-SNAPSHOT and as you may know, Maven does not allow use to remove already published artifacts. Jean-Louis 2011/9/1 Marius Kruger ama...@gmail.com On 29 August 2011 17:13, Bjorn

Re: OpenEJB 3.2 availability question

2011-09-02 Thread Jean-Louis MONTEIRO
Hi, Adding the snapshot repository and specifying 3.2.0-SNAPSHOT instead of 3.2-SNAPSHOT is enough. Then, the magic will appear and Maven will provide you with the latest snapshot deployed. Jean-Louis 2011/9/2 Bjorn Danielsson bjorn-apa...@lists.cuspycode.com Marius Kruger ama...@gmail.com

Re: open ejb error

2011-09-01 Thread Jean-Louis MONTEIRO
Hi, hum, first time I see that error. Could you provide us with a small test case. That'd be great if we can reproduce it. Thanks in advance, Jean-Louis 2011/9/1 David Glendenning itsupp...@intus.co.nz Hello. We are currently trying to use openEJB in our junit test classes. We are getting

Re: Tomcat Servlet Filters (or Valves) and OpenEJB

2011-07-22 Thread Jean-Louis MONTEIRO
FYI, JIRA https://issues.apache.org/jira/browse/OPENEJB-1529 is now closed. Thanks Romain for the fix. It's available only in the trunk but we'll see to merge it in the branch 3.2.x as well. Jean-Louis -- View this message in context:

Re: Tomcat Servlet Filters (or Valves) and OpenEJB

2011-07-20 Thread Jean-Louis MONTEIRO
Hi, not sure to understand the question/issue. Tomcat is responsible for managing Servlet filters and OpenEJB does not skip them. Hope it helps Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/Tomcat-Servlet-Filters-or-Valves-and-OpenEJB-tp3680204p3680238.html

Re: Tomcat Servlet Filters (or Valves) and OpenEJB

2011-07-20 Thread Jean-Louis MONTEIRO
are you trying to achieve? May be you can use JAX-WS Handlers? Jean-Louis 2011/7/20 rnieto gamma_...@yahoo.com Jean-Louis MONTEIRO wrote: Hi, not sure to understand the question/issue. Tomcat is responsible for managing Servlet filters and OpenEJB does not skip them. Hope

Re: OpenEJB deploy doesn't occur when xmlparserv2.jar is in the lib directory

2011-06-27 Thread Jean-Louis MONTEIRO
Hi Andre, did it work with previous versions? I guess you already checked that the ejb jar actually contains the META-INF/persistence.xml file. If so, you are may be right. Adding the XML jar probably breaks deployment preventing OpenEJB to successfully read the persistence.xml file. What is

Re: Translating validation i18n messages

2011-05-26 Thread Jean-Louis MONTEIRO
Hi David, I guess we can easily (or not actually) produce translations for: - French (Romain and I) - Germain (Daniel) - Italian (Simone our prefered contributor ;-)) - Spanish (Juan Manuel from my team) Jean-Louis -- View this message in context:

Re: memory issue while scanning other Tomcat Webapps

2011-05-25 Thread Jean-Louis MONTEIRO
Hi, which openejb version are you using? Can you print here the content of the Zk war? Jean-Louis 2011/5/25 mclu m...@markuslutum.de Hi out there. I try to integrate OpenEJB with OpenJPA and Tomcat 6 to an embedded device with only 256 MB Memory. It works perferct with 40 MB heap size but

Re: NPE when calling webservice

2011-05-18 Thread Jean-Louis MONTEIRO
Hi, Is it possible to get your example? It would be easier to reproduce the problem and fix it if possible. Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/NPE-when-calling-webservice-tp3527162p3532559.html Sent from the OpenEJB User mailing list archive at

Re: NPE when calling webservice

2011-05-18 Thread Jean-Louis MONTEIRO
wrong :-) Maybe add the code above at that point? Or add a meaningful check if that property is set? Roy On Wed, May 18, 2011 at 2:52 PM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Hi, Is it possible to get your example? It would be easier to reproduce the problem and fix it if possible

Re: datasource wrong error message

2011-05-16 Thread Jean-Louis MONTEIRO
Hi, do you have the server side log? (openejb.xml) We should get more relevant information. Thanks, Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/datasource-wrong-error-message-tp3521634p3525561.html Sent from the OpenEJB User mailing list archive at

Re: InitialContext in tomcat

2011-05-08 Thread Jean-Louis MONTEIRO
Hi all, No, AFAIK that is not possible to override Tomcat behavior. Be default when looking up resources in java: prefix, Tomcat will be always the default one who will answer (not OpenEJB). In OpenEJB, we use openejb: prefix which is unknown for Tomcat. It works fine in OpenEJB standalone as

  1   2   3   >