Re: We did it!!!
Gang! you guys did an outstanding job! Congratulations! I hope for a bright future of TomEE container! (I know it will have it) Again, great job guys! -M On Thu, Oct 6, 2011 at 2:14 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: i think it is before JEE 6 it was the only one to be able to do it with a good quality so since you are able to do something you only can do it (it is often like it :() - Romain 2011/10/6 dsh daniel.hais...@googlemail.com Actually I hear that quite often that OEJB is just for unit testing... no idea why... Cheers Daniel On Thu, Oct 6, 2011 at 1:51 PM, Jacek Laskowski ja...@japila.pl wrote: On Thu, Oct 6, 2011 at 12:38 PM, David Blevins david.blev...@gmail.com wrote: The talk is tomorrow at 11am. Slides done, just trying to get some slightly more interesting demo code working. Oh, is it? I read about openejb and tomee on Cay Horstmann's blog in JavaOne 2011 Day 3 [1]: In the afternoon, I saw a presentation of OpenEJB, Apache's EJB server whose claim to fame is that you can start it up via public static void main. That's really useful for unit testing. I had looked at it three years ago when it wasn't quite ready for prime time, but now it looked pretty nice. Check it out for testing your session and entity beans. Doh, it wasn't really about tomee :) [1] http://weblogs.java.net/blog/cayhorstmann/archive/2011/10/05/javaone-2011-day-3 Jacek -- Jacek Laskowski Java EE, functional languages and IBM WebSphere - http://blog.japila.pl Warszawa JUG conference = Confitura (formerly Javarsovia) :: http://confitura.pl Hoping to save time by spending it by David Blevins (Apache OpenEJB) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: OpenEJB Get-Together 2011
Hello, enjoy the meetup! I will not attend it, due to several reasons: -No longer working on JavaEE projects -five weeks of business travel before the get-together Good luck with all the future plans for OpenEJB! Greetings, Matthias On Mon, Feb 21, 2011 at 11:23 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: David Blevins-2 wrote: This one looks pretty nice and has free internet and rooms for 55-65E for one person. Only slightly more for two people. http://www.hotel-ronsard.com/ Amelia also liked this one: http://www.hoteldeschateaux.fr/ Both are in the center. That's should be nice for you as you can walk and optionally use bus lan. May be if some people more are interested we can get better prices. Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/OpenEJB-Get-Together-2011-tp3163586p3317104.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: OpenEJB Get-Together 2011
I'd support a 'meeting' at confeesss conference as well :-) -Matthias On Sat, Dec 25, 2010 at 9:15 PM, Mark Struberg strub...@yahoo.de wrote: there is a neat little conference in early April here in Vienna http://con-fess.com/ organized by Irian (founders of Apache MyFaces) and SpringSource. If you get a talk ready for it then we might also meet in Vienna ;) LieGrue, strub --- On Sat, 12/25/10, David Blevins david.blev...@visi.com wrote: From: David Blevins david.blev...@visi.com Subject: OpenEJB Get-Together 2011 To: dev@openejb.apache.org Date: Saturday, December 25, 2010, 12:06 AM As some may recall, we had a little informal get-together in January 2010 in Milan, Italy. Was thinking we could do the same again this year, perhaps in the end of March -- happens to be my birthday :). Jean-Louis and I were chatting and he suggested Paris. No details finalized yet, but as it would be great to get as many of us there as possible I'm posting a save the date. -David -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Devoxx... Apache meetup ?
FYI: http://www.mail-archive.com/commun...@apache.org/msg04862.html -M -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Renaming the OpenEJB/Tomcat bundle
+1 on TomEE Also, I am currently (when ever time permits) trying to merge MyFaces and OWB into it... That's even more EE -Matthias On Fri, Nov 5, 2010 at 4:15 PM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Interesting post from Adam http://www.adam-bien.com/roller/abien/entry/tomcat_on_steroids_with_ejb Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/Renaming-the-OpenEJB-Tomcat-bundle-tp3027804p3028765.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Renaming the OpenEJB/Tomcat bundle
Cool! -Matze sent from my Android phone On Nov 5, 2010 6:43 PM, Gurkan Erdogdu gurkanerdo...@yahoo.com wrote: Hi folks; We are thinking to propose SIwpas as an incubator porject in ASF. Gurkan - Original Message From: Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com To: dev@openejb.apache.org Sent: Fri, November 5, 2010 4:44:48 PM Subject: Re: Renaming the OpenEJB/Tomcat bundle WDYT about http://code.google.com/p/siwpas/ and the company http://mechsoft.com.tr/Mechsoft/software/en/acikkaynak/siwpas.html JLouis -- View this message in context: http://openejb.979440.n4.nabble.com/Renaming-the-OpenEJB-Tomcat-bundle-tp3027804p3028709.html Sent from the OpenEJB Dev mailing list archive at Nabble.com.
Re: [VOTE] OpenEJB 3.1.4 release
+1 -David -- Shawn -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Error / Issue with OpenEJB 3.1.3 ?
Does that mean you noticed it as well ? -M On Fri, Oct 29, 2010 at 4:12 AM, David Blevins david.blev...@visi.com wrote: On Oct 27, 2010, at 10:34 AM, David Blevins wrote: On Oct 27, 2010, at 8:02 AM, Matthias Wessendorf wrote: Hi, I am seeing this error, when running OpenEJB 3.1.3 + OpenWebBeans + OpenJPA (2.x and 1.x) in Tomcat 6.x: org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property. the persistence.xml is like: persistence-unit name=foobar providerorg.apache.openjpa.persistence.PersistenceProviderImpl/provider jta-data-sourcejava:openejb/Resource/My DataSource/jta-data-source non-jta-data-sourcejava:openejb/Resource/My UnmanagedDataSource/non-jta-data-source classnet.wessendorf.User/class properties property name=openjpa.Log value=DefaultLevel=TRACE / property name=openjpa.jdbc.SynchronizeMappings value=buildSchema(ForeignKeys=true) / /properties /persistence-unit /persistence With an older version, like OpenEJB 3.1.2 I was never seeing that error above.. and no, I never specified the ConnectionDriverName with the above (non-)jta-data-source settings. Am I missing some configuration, or is there an issue regarding this ? Not familiar with that error. If you can post some log output and the stacktrace that might shed some light. FYI, this one is on the radar for 3.1.4. Hopefully we can get to the bottom of it before we roll. -David -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: [Tomcat 7] OPENEJB-1261 present on 7.0.2
I see similar issues, when rebooting tomcat. Will check details and post results here On Wed, Oct 13, 2010 at 1:10 AM, Jonathan Gallimore jonathan.gallim...@gmail.com wrote: I've added the patch to my working copy here, and the installation seemed to complete ok, but I ran into a couple of problems with this using Tomcat 7.0.2 on my Mac. The EJB lookup didn't work for me, and then once I had installed the Java agent, Tomcat refused to start with this exception: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.NoClassDefFoundError: org/apache/catalina/ServerFactory at org.apache.openejb.tomcat.loader.OpenEJBListener.findOpenEjbWar(OpenEJBListener.java:77) at org.apache.openejb.tomcat.loader.OpenEJBListener.lifecycleEvent(OpenEJBListener.java:59) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:89) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:313) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:293) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:97) at org.apache.catalina.startup.Catalina.load(Catalina.java:537) at org.apache.catalina.startup.Catalina.load(Catalina.java:560) ... 6 more Caused by: java.lang.ClassNotFoundException: org.apache.catalina.ServerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 15 more At first glance it looks to me like the Tomcat 7 API had changed, and we probably just need to adapt some of our code to cope with it. I'll carry on having a look at this tomorrow, but please let me know if I've missed something obvious. Cheers Jon On Tue, Oct 12, 2010 at 11:48 PM, Jonathan Gallimore jonathan.gallim...@gmail.com wrote: Hi Matthias Thanks for the patch, I'll take a look and get it committed. Jon On Tue, Oct 12, 2010 at 5:27 PM, Matthias Wessendorf mat...@apache.orgwrote: On Mon, Oct 11, 2010 at 11:54 PM, David Blevins david.blev...@visi.com wrote: On Oct 11, 2010, at 12:11 PM, Matthias Wessendorf wrote: hello, what it is Tomcat 7 version that is supposed to work with OpenEJB 3.2 SNAPSHOT ? The WAR from [1] does not work on 7.0.2. I reopened [2]. I haven't tried Tomcat 7 yet myself, but that's the version we'll need to certify Web Profile. Someone recently posted an error that looked like there was no longer a lib directory for us to put jars in. na, that's wrong . see OPENEJB-1367 If you're interested in digging in, I have a standing offer to get on skype and fork over any info I have to anyone who'd like to help. -David [1] https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/openejb-webapp/3.2-SNAPSHOT/ [2] https://issues.apache.org/jira/browse/OPENEJB-1261 -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: [Tomcat 7] OPENEJB-1261 present on 7.0.2
On Mon, Oct 11, 2010 at 11:54 PM, David Blevins david.blev...@visi.com wrote: On Oct 11, 2010, at 12:11 PM, Matthias Wessendorf wrote: hello, what it is Tomcat 7 version that is supposed to work with OpenEJB 3.2 SNAPSHOT ? The WAR from [1] does not work on 7.0.2. I reopened [2]. I haven't tried Tomcat 7 yet myself, but that's the version we'll need to certify Web Profile. Someone recently posted an error that looked like there was no longer a lib directory for us to put jars in. na, that's wrong . see OPENEJB-1367 If you're interested in digging in, I have a standing offer to get on skype and fork over any info I have to anyone who'd like to help. -David [1] https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/openejb-webapp/3.2-SNAPSHOT/ [2] https://issues.apache.org/jira/browse/OPENEJB-1261 -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: [Tomcat 7] OPENEJB-1261 present on 7.0.2
I also added a new patch to OPENEJB-1261 (for installer-view) == Somehow the webapp is present in two folders: -assembly/openejb-webapp -/assembly/openejb-tomcat/openejb-tomcat-webapp/ .Matthias On Tue, Oct 12, 2010 at 6:27 PM, Matthias Wessendorf mat...@apache.org wrote: On Mon, Oct 11, 2010 at 11:54 PM, David Blevins david.blev...@visi.com wrote: On Oct 11, 2010, at 12:11 PM, Matthias Wessendorf wrote: hello, what it is Tomcat 7 version that is supposed to work with OpenEJB 3.2 SNAPSHOT ? The WAR from [1] does not work on 7.0.2. I reopened [2]. I haven't tried Tomcat 7 yet myself, but that's the version we'll need to certify Web Profile. Someone recently posted an error that looked like there was no longer a lib directory for us to put jars in. na, that's wrong . see OPENEJB-1367 If you're interested in digging in, I have a standing offer to get on skype and fork over any info I have to anyone who'd like to help. -David [1] https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/openejb-webapp/3.2-SNAPSHOT/ [2] https://issues.apache.org/jira/browse/OPENEJB-1261 -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Devoxx 2010
Howdy, I am arriving on Thurs afternoon, flying back home on Saturday morning. So I think I am ready for a beer on Friday (or Thursday) :) -Matthias On Fri, Oct 8, 2010 at 8:53 AM, Jean-Louis MONTEIRO jeano...@gmail.com wrote: Hello guys, Just a small note to know if some of you will be in Antwerp by the end of November. Matthias will be there because his proposal has been accepted ;-) I'll also be there to follow some conferences. So may be is a good opportunity to get together (with a beer may be). Jean-Louis -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
[Tomcat 7] OPENEJB-1261 present on 7.0.2
hello, what it is Tomcat 7 version that is supposed to work with OpenEJB 3.2 SNAPSHOT ? The WAR from [1] does not work on 7.0.2. I reopened [2]. -Matthias [1] https://repository.apache.org/content/repositories/snapshots/org/apache/openejb/openejb-webapp/3.2-SNAPSHOT/ [2] https://issues.apache.org/jira/browse/OPENEJB-1261 -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: OPENEJB-1257
On Mon, Sep 27, 2010 at 6:49 PM, David Blevins david.blev...@visi.com wrote: On Sep 27, 2010, at 5:21 PM, Matthias Wessendorf wrote: Hey David, On Sun, Sep 26, 2010 at 8:33 PM, David Blevins david.blev...@visi.com wrote: On Sep 25, 2010, at 7:03 PM, Matthias Wessendorf wrote: Hi guys, I wondering about the state of OPENEJB-1257 Is it still needed? If yes, will it be committed ? :) Hi Matthias! Missed you at JavaOne. Didn't realize you were heading over till too late. Let me know if you're coming to ApacheCon NA. Nope. No more travel to the US this year :-) We had that patch in for a bit then decided to go with a much deeper integration. Now we have OWB working right in the openejb-core code. The integration is still in flux but generally working. I haven't tried any JSF/CDI stuff, but you're more than welcome to dig in. The more the merrier. Check out openejb3/assembly/openejb-tomcat/openejb-tomcat-bundle/. That's basically a Web Profile stack. There's a TCK setup for it as well. Let me chekc the that one, when back in Germany. Regarding the TCK. Is there some plan to apply for Web Profile certification, within OpenEJB ? Check out the Tomcat integration. It's pretty much been web profile for years now. yeah I know - I really collapsed EAR approach :-) Would be nice to get an official nod if we can. Indeed, that would be sweat! -Matthias -David -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: OPENEJB-1257
Hey David, On Sun, Sep 26, 2010 at 8:33 PM, David Blevins david.blev...@visi.com wrote: On Sep 25, 2010, at 7:03 PM, Matthias Wessendorf wrote: Hi guys, I wondering about the state of OPENEJB-1257 Is it still needed? If yes, will it be committed ? :) Hi Matthias! Missed you at JavaOne. Didn't realize you were heading over till too late. Let me know if you're coming to ApacheCon NA. Nope. No more travel to the US this year :-) We had that patch in for a bit then decided to go with a much deeper integration. Now we have OWB working right in the openejb-core code. The integration is still in flux but generally working. I haven't tried any JSF/CDI stuff, but you're more than welcome to dig in. The more the merrier. Check out openejb3/assembly/openejb-tomcat/openejb-tomcat-bundle/. That's basically a Web Profile stack. There's a TCK setup for it as well. Let me chekc the that one, when back in Germany. Regarding the TCK. Is there some plan to apply for Web Profile certification, within OpenEJB ? -M -David -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
OPENEJB-1257
Hi guys, I wondering about the state of OPENEJB-1257 Is it still needed? If yes, will it be committed ? :) Thanks! Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: OpenEJB 3.1.3
Hi, I am using that too (3.1.3 SNAPSHOT) + OpenJPA2. JEan-Louis made binary preview available. Based on the patch: https://issues.apache.org/jira/browse/OPENEJB-1257 thread: http://markmail.org/message/6bd5p5qz7z2i3jdj On Fri, Apr 30, 2010 at 6:51 AM, Henri Gomez henri.go...@gmail.com wrote: Hi to all, We're currently use OpenEJB 3.1.2 with Tomcat 6 and are very happy with it. We'll have to use JPA 2.0 and someone on the Facebook Fan Page told me it allready works and should be available in OpenEJB 3.1.3. When should be released OpenEJB 3.1.3 ? BTW, did there is a 3.1.3-SNAPSHOT build available somewhere ? Regards -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Web Profile using OpenEJB OpenWebBeans MyFaces 2 ...
On Mon, Apr 26, 2010 at 9:34 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Hi all, I've been working for 2 weeks on this area and I (now) have a better understanding (thx Mark, Gurkan). I plan to have a look to some great patches provided by OpenWebBeans community (namely Gurkan, Matthias and Mark). Any body else already started working on that? Kinda: https://issues.apache.org/jira/browse/OWB-362 I tried the patch from Gurkan to even more refactor the jsf sample to use @Named (instead of @ManagedBean, which is used by my patch) Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2064811.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Web Profile using OpenEJB OpenWebBeans MyFaces 2 ...
ah, that's great. let me know if you need a new patch for https://issues.apache.org/jira/browse/OPENEJB-1264 in order to run/test that example via the 299/330 APIs. But basically I did the following (on-top of the above patch) -added atinject/jcdi as provided scoped dependency -changed the CalculatorBean to use @Named/@RequestScoped (from 299) -changed the @EJB to @Inject When I was running into problems I replaced the @Remote with @Local, and even got completely rid of it, but looks like the invocation part of OWB has a (slight) issue: https://issues.apache.org/jira/browse/OWB-362 -Matthias On Tue, Apr 27, 2010 at 11:48 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Got that exception too. It seems to me, Gurkan's patch breaks something. BTW, I reverted a small change and it seems to solve this issue. Going ahead JLouis Matthias Wessendorf wrote: On Tue, Apr 27, 2010 at 11:03 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Hey Matthias, Thanks for the feedback. Actually, i'm still trying to make the whole working with Gurkan's provided patch. I get some exceptions i need to fix. I'm running under Tomcat 6.0.26. have you tried 6.0.14 ? I think that worked for me, Generally I am seeing this: http://markmail.org/message/tb7wz7qr3vpt2ur5 Jean-Louis Matthias Wessendorf wrote: On Mon, Apr 26, 2010 at 9:34 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Hi all, I've been working for 2 weeks on this area and I (now) have a better understanding (thx Mark, Gurkan). I plan to have a look to some great patches provided by OpenWebBeans community (namely Gurkan, Matthias and Mark). Any body else already started working on that? Kinda: https://issues.apache.org/jira/browse/OWB-362 I tried the patch from Gurkan to even more refactor the jsf sample to use @Named (instead of @ManagedBean, which is used by my patch) Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2064811.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067254.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067299.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: Web Profile using OpenEJB OpenWebBeans MyFaces 2 ...
Hrm.. I saw something related to Caused by: javax.naming.NamingException: Aucun Contexte de nommage lié à ce thread at org.apache.naming.ContextBindings.getThreadName(ContextBindings.java:214) but.. I think that lead me to use 6.0.14 On Tue, Apr 27, 2010 at 7:58 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Did you already get this kind of exception? http://pastebin.com/Y2LUszsM http://pastebin.com/Y2LUszsM Jean-Louis Matthias Wessendorf wrote: ah, that's great. let me know if you need a new patch for https://issues.apache.org/jira/browse/OPENEJB-1264 in order to run/test that example via the 299/330 APIs. But basically I did the following (on-top of the above patch) -added atinject/jcdi as provided scoped dependency -changed the CalculatorBean to use @Named/@RequestScoped (from 299) -changed the @EJB to @Inject When I was running into problems I replaced the @Remote with @Local, and even got completely rid of it, but looks like the invocation part of OWB has a (slight) issue: https://issues.apache.org/jira/browse/OWB-362 -Matthias On Tue, Apr 27, 2010 at 11:48 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Got that exception too. It seems to me, Gurkan's patch breaks something. BTW, I reverted a small change and it seems to solve this issue. Going ahead JLouis Matthias Wessendorf wrote: On Tue, Apr 27, 2010 at 11:03 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Hey Matthias, Thanks for the feedback. Actually, i'm still trying to make the whole working with Gurkan's provided patch. I get some exceptions i need to fix. I'm running under Tomcat 6.0.26. have you tried 6.0.14 ? I think that worked for me, Generally I am seeing this: http://markmail.org/message/tb7wz7qr3vpt2ur5 Jean-Louis Matthias Wessendorf wrote: On Mon, Apr 26, 2010 at 9:34 AM, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com wrote: Hi all, I've been working for 2 weeks on this area and I (now) have a better understanding (thx Mark, Gurkan). I plan to have a look to some great patches provided by OpenWebBeans community (namely Gurkan, Matthias and Mark). Any body else already started working on that? Kinda: https://issues.apache.org/jira/browse/OWB-362 I tried the patch from Gurkan to even more refactor the jsf sample to use @Named (instead of @ManagedBean, which is used by my patch) Jean-Louis -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2064811.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067254.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067299.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf -- View this message in context: http://openejb.979440.n4.nabble.com/Web-Profile-using-OpenEJB-OpenWebBeans-MyFaces-2-tp2064811p2067713.html Sent from the OpenEJB Dev mailing list archive at Nabble.com. -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf
Re: IllegalAccessException with TomcatThreadContextListener
In the meantime, I used Tomcat 6.0.14, as a work-around. ;-) On Sat, Apr 24, 2010 at 4:28 PM, Matthias Wessendorf mat...@apache.org wrote: Hi, I checked out the 3.1.2 TAG, applied the following patches: - https://issues.apache.org/jira/browse/OPENEJB-1131 - https://issues.apache.org/jira/browse/OPENEJB-1257 I deployed the openejb.war to Tomcat 6.0.26 and when I deploy (and access the openejb jsf demo (see [1])), I see the following in the openejb.log: 2010-04-24 16:02:34,572 - ERROR - Exception in method getThreadName java.lang.IllegalAccessException: Class org.apache.openejb.tomcat.catalina.TomcatThreadContextListener can not access a member of class org.apache.naming.ContextBindings with modifiers static at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.reflect.Method.invoke(Method.java:588) at org.apache.openejb.tomcat.catalina.TomcatThreadContextListener.getThreadName(TomcatThreadContextListener.java:109) at org.apache.openejb.tomcat.catalina.TomcatThreadContextListener.contextEntered(TomcatThreadContextListener.java:70) at org.apache.openejb.core.ThreadContext.enter(ThreadContext.java:53) at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:148) at org.apache.openejb.core.ivm.EjbHomeProxyHandler.create(EjbHomeProxyHandler.java:276) at org.apache.openejb.core.ivm.EjbHomeProxyHandler._invoke(EjbHomeProxyHandler.java:161) at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:281) at $Proxy34.create(Unknown Source) at org.apache.openejb.core.ivm.naming.BusinessRemoteReference.getObject(BusinessRemoteReference.java:33) at org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:171) at org.apache.openejb.core.ivm.naming.IvmContext.lookup(IvmContext.java:121) at org.apache.openejb.tomcat.common.AbstractObjectFactory.lookup(AbstractObjectFactory.java:60) at org.apache.openejb.tomcat.common.AbstractObjectFactory.getObjectInstance(AbstractObjectFactory.java:47) at org.apache.openejb.tomcat.common.EjbFactory.getObjectInstance(EjbFactory.java:50) at org.apache.naming.factory.EjbFactory.getObjectInstance(EjbFactory.java:161) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:793) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.catalina.util.DefaultAnnotationProcessor.lookupFieldResource(DefaultAnnotationProcessor.java:278) at org.apache.catalina.util.DefaultAnnotationProcessor.processAnnotations(DefaultAnnotationProcessor.java:192) at org.apache.myfaces.config.annotation.TomcatAnnotationLifecycleProvider.newInstance(TomcatAnnotationLifecycleProvider.java:46) at org.apache.myfaces.config.ManagedBeanBuilder.buildManagedBean(ManagedBeanBuilder.java:81) at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.createManagedBean(ManagedBeanResolver.java:196) at org.apache.myfaces.el.unified.resolver.ManagedBeanResolver.getValue(ManagedBeanResolver.java:162) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.access$301(FacesCompositeELResolver.java:46) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver$4.invoke(FacesCompositeELResolver.java:108) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.invoke(FacesCompositeELResolver.java:148) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:104) at org.apache.myfaces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:61) at org.apache.myfaces.el.convert.VariableResolverToELResolver.getValue(VariableResolverToELResolver.java:93) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.access$301(FacesCompositeELResolver.java:46) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver$4.invoke(FacesCompositeELResolver.java:108) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.invoke(FacesCompositeELResolver.java:148) at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:104) at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:68) at org.apache.el.parser.AstValue.getTarget(AstValue.java:68) at org.apache.el.parser.AstValue.invoke(AstValue.java:187
IllegalAccessException with TomcatThreadContextListener
(LifecycleImpl.java:76) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:148) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:619) The Apache Tomcat class that the TomcatThreadContextListener complains about can be seen here: http://j.mp/bDsgtY Any ideas? Or seen before ? Thanks, Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf