ASM proxy improvement

2012-12-31 Thread Mark Struberg
hi folks! While looking at the ASM proxy David imported to OWB I saw that it's based on the sun.misc.Unsafe class. This makes this approach non-portable to other JVMs. I now played around with an alternative way to do the same: I just invoke the protected ClassLoader#defineClass method via

Re: ASM proxy improvement

2012-12-31 Thread Mark Struberg
@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, December 31, 2012 12:20 PM Subject: Re: ASM proxy improvement Hi Mark, unsafe is used in all frameworks so i'd consider it as safe ;) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com

Re: ASM proxy improvement

2012-12-31 Thread Mark Struberg
. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, December 31, 2012 1:21 PM Subject: Re: ASM proxy improvement so no library is portable, that's my point... grepcode Unsafe

Re: DISCUSS - Wait or not OWB 1.1.7

2012-11-27 Thread Mark Struberg
+ (currently fixing it) a huge bug in Producers. So definitely worth waiting a bit. We should fix it this week and then I'm fine to do a release. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org Cc: Sent: Monday,

Re: [DISCUSS] TomEE as the TLP name

2012-11-19 Thread Mark Struberg
Well, the problem is that we would need to pick one package name. Afair the policy so far has been that all packages must be under the TLP name. That was the reason why CODI also has org.apache.myfaces.extension.cdi and not simply org.apache.codi. That was the main reason for proposing two

Re: [DISCUSS] TomEE as the TLP name

2012-11-19 Thread Mark Struberg
: Re: [DISCUSS] TomEE as the TLP name So all is fine? What are we waiting for now? Le 19 nov. 2012 22:39, David Blevins david.blev...@gmail.com a écrit : On Nov 19, 2012, at 7:49 AM, Mark Struberg strub...@yahoo.de wrote: Afair the policy so far has been that all packages must

Re: MyFaces 2.1.9 / Glassfish 3.1.2.2: Migrating to CDI Managed Beans

2012-11-17 Thread Mark Struberg
issues and update in they trunk svn everyday. Please suscribe to TomEE mailing lists. Rommain is a great commiter guy who help immediately with other people. I hope this experience can help you. SCJA. Jose Luis Cetina maxtorzito   El 17/11/2012 06:06, Mark Struberg strub

tomee tuning

2012-11-13 Thread Mark Struberg
Hi folks! A quick note about getting tomee a bit faster in big real world scenarios. Tomcat 7.0.23 introduced a parallel start feature. Please change to the following in your conf/server.xml:   Host name=localhost  appBase=webapps     unpackWARs=true autoDeploy=true

Re: [DISCUSS] TomEE as the TLP name

2012-11-13 Thread Mark Struberg
What about having 2 TLPs? Actually OpenEJB is still very valuable as own standalone project. So I'd rather go for having TomEE AND OpenEJB as TLPs. It is already pretty much separated from the build structure. LieGrue, strub - Original Message - From: David Blevins

Re: Can jpa queries be cached?

2012-10-04 Thread Mark Struberg
OpenJPA has the ability to cache both. LieGrue, struy - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org Cc: Sent: Thursday, October 4, 2012 7:18 AM Subject: Re: Can jpa queries be cached? Hi, With a jta persistence unit you

which annotation is missing in my code? :)

2012-10-02 Thread Mark Struberg
Hi folks! This is NOT a bug report for tomee. I created an Arquillian test (over at DeltaSpike) and obviously have left out an annotation. But which one? Maybe we could improve the logging to show the class where this happens at least? 02.10.2012 21:38:46

Re: stochastic test errors

2012-07-30 Thread Mark Struberg
From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Sent: Monday, July 30, 2012 9:56 AM Subject: Re: stochastic test errors Hey Mark, JL got this error too but David fixed it weeks ago...is it possible your are not sync

Re: OpenEjbContainer CreationalContext handling

2012-07-30 Thread Mark Struberg
From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Sent: Monday, July 30, 2012 10:23 AM Subject: Re: OpenEjbContainer CreationalContext handling Hi, yes noticed it too, will remove it. - Romain 2012/7/28

Re: stochastic test errors

2012-07-30 Thread Mark Struberg
Do you know what David fixed? I didn't find any corresponding JIRA entry. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, July 30, 2012 10:52 AM Subject: Re

Re: stochastic test errors

2012-07-30 Thread Mark Struberg
: Romain Manni-Bucau rmannibu...@gmail.com To: Mark Struberg strub...@yahoo.de; dev@openejb.apache.org Cc: Sent: Monday, July 30, 2012 11:30 AM Subject: Re: stochastic test errors I think it was simply preloading this class in Core. - Romain Le 30 juil. 2012 11:20, Mark Struberg strub

Re: stochastic test errors

2012-07-30 Thread Mark Struberg
)     at org.apache.openejb.core.stateless.StatelessPoolStatsTest.testAging(StatelessPoolStatsTest.java:384) LieGrue, strub From: Romain Manni-Bucau rmannibu...@gmail.com To: Mark Struberg strub...@yahoo.de; dev@openejb.apache.org Sent: Monday, July 30

Re: stochastic test errors

2012-07-30 Thread Mark Struberg
@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, July 30, 2012 4:14 PM Subject: Re: stochastic test errors well this one is different, we have several bad tests in the sense where we do some timing tests so it is easy to make them failing but we *need* them. we should

Re: OpenEjbContainer CreationalContext handling

2012-07-30 Thread Mark Struberg
or not... That was the main intention behind removing the inject() method with no CreationalContext parameter. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, July 30

OpenEjbContainer CreationalContext handling

2012-07-28 Thread Mark Struberg
Hi! While applying a fix for the OWBInjector, I found that your OpenEjbContainer has a field private CreationalContextObject creationalContext but this only gets released and never set ^^ LieGrue, strub

stochastic test errors

2012-07-28 Thread Mark Struberg
Hi folks! When doing a full build of the container module, I get the following Exception: Test set: org.apache.openejb.persistence.ResourceLocalCdiEmTest --- Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time

Re: stochastic test errors

2012-07-28 Thread Mark Struberg
)     at org.apache.openejb.assembler.classic.ReloadableEntityManagerFactory.createEntityManager(ReloadableEntityManagerFactory.java:114)     at org.apache.openejb.persistence.ResourceLocalCdiEmTest$EMFProducer.em(ResourceLocalCdiEmTest.java:97)   LieGrue, strub - Original Message - From: Mark Struberg strub...@yahoo.de To: openejb-dev dev

Re: Owb jsf?

2012-07-19 Thread Mark Struberg
Hi! Please let me first explain what we do in webbeans-jsf. First, it obviously contains all the JSF-2 functionality as we like to keep the OWB core (webbeans-impl) independent of any other spec. OWB core only contains core EE APIs like cdi, atinject and interceptors. No JSF, no JPA, no EJB,

Re: Owb jsf?

2012-07-19 Thread Mark Struberg
not be used in the OpenEJBLifecycle. That way you would not need to tweak anything for JSF integration at all. LieGrue, strub - Original Message - From: Mark Struberg strub...@yahoo.de To: dev@openejb.apache.org dev@openejb.apache.org Cc: Sent: Thursday, July 19, 2012 3:04 PM Subject

Re: travis?

2012-07-18 Thread Mark Struberg
the way to go is to report such things ... LieGrue, strub - Original Message - From: Aldrin Leal ald...@leal.eng.br To: dev@openejb.apache.org Cc: Sent: Tuesday, July 17, 2012 4:25 PM Subject: Re: travis? Cloudbees used to have a tendency to 'hang' builds. (Actually, that

Re: javaagent?

2012-07-15 Thread Mark Struberg
Might be the same issue I experienced here: https://issues.apache.org/jira/browse/OPENJPA-1454 The bug is closed as there have been improvements for a few scenarios. But the basic problem still exists. I did not reopen the bug as I have an idea how to fix that: Creating an own ClassLoader for

Re: javaagent?

2012-07-15 Thread Mark Struberg
; Mark Struberg strub...@yahoo.de Sent: Sunday, July 15, 2012 5:33 PM Subject: Re: javaagent? typically for deploy time enhancement i created a temp classloader only for the enhancement since the enhancing needs to load the clss (WTF? asm doesnt need it normally! is it because of serp?) - Romain

Re: javaagent?

2012-07-12 Thread Mark Struberg
I fully agree that the javaagent has plenty of issues (both inOpenJPA, but mostly in Java itself) and shall only be used as last resort. But I hope TomEE doesn't do any CMP processing anymore, isn't? That would be a shame, as CMP got ditched a long time ago and is not part of the EE6 WebProfile

Re: why do we use hsqldb?

2012-07-09 Thread Mark Struberg
Size is from 0 to 600kB. Derby comes out of the box in JDK5 and 6 afaik. Not sure if it's part of JRE though. Start time should be measured. LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To: dev@openejb.apache.org Cc: Sent: Friday, July 6, 2012

Re: why do we use hsqldb?

2012-07-09 Thread Mark Struberg
Well, the default DB is just for samples anyway ;) No real project is using that stuff I guess ^^ LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Monday, July 9, 2012 5:28 PM

Re: why do we use hsqldb?

2012-07-06 Thread Mark Struberg
+1 for derby as it comes with java LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org Cc: Sent: Friday, July 6, 2012 10:40 AM Subject: why do we use hsqldb? Hi, why are we using hsqdb by default? as embedded

Re: WebBeansPhaseListener conversation issue in OWBs

2012-07-05 Thread Mark Struberg
Hi Hamzah! I'm registered at openejb-dev@a.o, just didn't have time to response. In a new TomEE we should use a new MyFaces. In the newer MyFaces, the DebugPhaseListener is not enabled by default (as it created a few side effects). So this issue should not happen. In fact we did not do a

Re: Fwd: svn commit: r1355952 - in /openejb/trunk/openejb/tomee/tomee-catalina/src/main/java/org/apache/tomee/catalina: LazyStopWebappClassLoader.java TomEEClassLoaderHelper.java TomEEWebappLoader.jav

2012-07-01 Thread Mark Struberg
Please note that this is not a bug in _any_ case but might also be an _explicitly_ thrown Exception in Tomcats WebAppClassLoader! What happens: The Servlet specification says that a servlet container must not allow web applications to overwrite 'system classes'. Please check the according

[TomEE] OpenJPA deploy time enhancement?

2012-06-17 Thread Mark Struberg
Hi folks, quick Question: Does TomEE already do deploy-time enhancement with OpenJPA? Or does it use runtime enhancement? txs and LieGrue, strub

Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA

2012-05-28 Thread Mark Struberg
+1 for ApacheCon ;) Will be there anyway... LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To: dev@openejb.apache.org Cc: Sent: Friday, May 25, 2012 10:52 PM Subject: Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA I could only do one or the

Re: CDI: disposal methods for producer fields

2012-05-10 Thread Mark Struberg
an older version of CDI? Should it be upgraded to allow @Disposes methods with @Produces fileds? Thank you, Daniel On Wed, May 9, 2012 at 4:39 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: the cdi lifecycle, not the field one :p - Romain 2012/5/9 Mark

Re: CDI: disposal methods for producer fields

2012-05-09 Thread Mark Struberg
Hi Daniel! We (the CDI EG) added this feature only in CDI-1.1. But there is also another outstanding problem with @Disposes methods: If you @Specializes a producer method, the disposal method doesn't work anymore because it complains that the 2 must be in the same class. The goal is to have

Re: CDI: disposal methods for producer fields

2012-05-09 Thread Mark Struberg
the lifecycle is the same for producer fields, producer methods or standard beans of a given scope. Just think of it as 'factory rule'. In one case it's a factory by creating the field, calling the producer method or newInstance() on the bean type. The result is the same... LieGrue, strub

Re: patched libs

2012-05-03 Thread Mark Struberg
openwebbeans-jsf - exclude 1 file, TODO (how?) What file? Just open a n OWB JIRA  ;) LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org Cc: Sent: Thursday, May 3, 2012 12:35 PM Subject: patched libs looking patched

Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-001)

2012-04-27 Thread Mark Struberg
I'll give it a test run. LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To: dev@openejb.apache.org Cc: Sent: Friday, April 27, 2012 10:08 AM Subject: Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-001) Reminder that the announcement is Monday

Re: JAX Innovation Awards 2012

2012-04-27 Thread Mark Struberg
+1 LieGrue, strub - Original Message - From: David Blevins david.blev...@visi.com To: dev@openejb.apache.org Cc: Sent: Saturday, April 28, 2012 12:01 AM Subject: JAX Innovation Awards 2012 G ot this from JAX.  Interested to see how TomEE does after our announcement Monday. 

Re: [jira] [Created] (TOMEE-167) Disable support for legacy v2 openejb-jar.xml by default. Only needed for Geronimo

2012-04-25 Thread Mark Struberg
In general I'm +1 for the change. Is there any configuration in TomEE where we could enable the old behaviour with if someone needs it? LieGrue, strub - Original Message - From: Jean-Louis MONTEIRO jeano...@gmail.com To: dev@openejb.apache.org Cc: Sent: Wednesday, April 25, 2012

Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA

2012-04-24 Thread Mark Struberg
I could probably join both. Do we have someone in Spain who can organize a venue where we do a bit hacking? Probably some JUG? LieGrue, strub - Original Message - From: Mohammad Nour El-Din nour.moham...@gmail.com To: dev@openejb.apache.org Cc: Sent: Tuesday, April 24, 2012

Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA

2012-04-24 Thread Mark Struberg
@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Tuesday, April 24, 2012 1:40 PM Subject: Re: [VOTE] - OpenEJB 2012 Meetup - EU or USA Wha! That'd be awesome! Not yet, but JUG or sending an email to community@a.o could also help. Let's everybody agree on the place and the week

Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-068)

2012-04-22 Thread Mark Struberg
version. This makes it easier to setup. Also note that the nexus numbers will be re-used, so they are not unique. LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Sunday, April 22

generated beans.xml content in tomee?

2012-04-21 Thread Mark Struberg
Hi! In my EAR projects with tons of jars I have a interceptors and alternatives section in ONE of my jars. But it seems that $ ./bin/tomee.sh deploy my_app.ear propagates this info to other jars ending up in ./apps/myapp/lib/*.jar ? ^^ a.) how is the rule which determines to which jars it

Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-068) -- EXTENDED

2012-04-20 Thread Mark Struberg
I catched an ugly bug in the latest TomEE build. will write more details in a Jira issue Why don't you build a few 1.0.0-rc1..n until we did enough testing? LieGrue, strub PS: your sources contains lots of tabs/spaces mismatch. I hope to also provide a strict checkstyle rule config for your

Re: [VOTE] OpenEJB 4.0.0/TomEE 1.0.0 (staging-068)

2012-04-18 Thread Mark Struberg
Hi folks! I can do a performance check with our full app on the weekend. Would be nice to have some real numbers... But only an do this on sat/sun as I'm off to JAX in a few hours. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To:

Re: tomee in deltaspike

2012-03-15 Thread Mark Struberg
Yes, big thanks to Romain, Gerhard and Aslak! This will be pretty valuable in the future. We don't have that many tests atm but by running the DeltaSpike ITs in CI we will hit potential non-portability issues very early. LieGrue, strub From: David Blevins

Re: Logging

2012-01-28 Thread Mark Struberg
folks, we face a very similar problem in DeltaSpike, OWB and MyFaces (OpenJPA has it's own logging as well). I'm not sure if this doesn't qualify to build a commons-logging-3.0 or so :) LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To:

Re: Release time?

2012-01-04 Thread Mark Struberg
if you have the openjpa-maven-plugin-2.2.0-SNAPSHOT, then you most definitely also have openjpa itself in 2.2.0-SNAPSHOT. I'm using an internally released version of it in 2 projects, and OpenJPA-2.2.0-SNAPSHOT is really stable. So we could also push for shipping an OpenJPA release. I can take

Re: Inclusion of MyFace API in javaee-api jar

2012-01-04 Thread Mark Struberg
actually most of the other javaee APIs share the same problem like myfaces. E.g. you cannot exchange javax.el-api.jar with the tomcat or juel versions, because they really must fit to their impl jars! They are all API compatible, but _not_ runtime compatible! The CDI and atinject apis are

Re: Release time?

2012-01-04 Thread Mark Struberg
? We should build the whole stuff with | tee mvn.log and grep out all 'Downloading' and revisit them. LieGrue, strub - Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Wednesday, January 4, 2012 9

Re: Release time?

2012-01-04 Thread Mark Struberg
; Mark Struberg strub...@yahoo.de Cc: Sent: Wednesday, January 4, 2012 10:58 AM Subject: Re: Release time? t omee-connector? - Romain 2012/1/4 Mark Struberg strub...@yahoo.de It seems the tomee-connector compiles now, but the build is still a big mystery to me. It now downloads

Re: Inclusion of MyFace API in javaee-api jar

2012-01-04 Thread Mark Struberg
...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Wednesday, January 4, 2012 5:38 PM Subject: Re: Inclusion of MyFace API in javaee-api jar On Jan 4, 2012, at 12:37 AM, Mark Struberg wrote: actually most of the other javaee APIs share the same problem

Re: Release time?

2012-01-04 Thread Mark Struberg
david.blev...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Wednesday, January 4, 2012 6:01 PM Subject: Re: Release time? On Jan 4, 2012, at 12:33 AM, Mark Struberg wrote: if you have the openjpa-maven-plugin-2.2.0-SNAPSHOT, then you most definitely

Re: Release time?

2012-01-04 Thread Mark Struberg
bug right? -David 2012/1/4 David Blevins david.blev...@gmail.com On Jan 4, 2012, at 12:33 AM, Mark Struberg wrote: if you have the openjpa-maven-plugin-2.2.0-SNAPSHOT, then you most definitely also have openjpa itself in 2.2.0-SNAPSHOT. I'm using an internally released

Re: Release time?

2012-01-04 Thread Mark Struberg
- Original Message - From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Cc: Sent: Wednesday, January 4, 2012 8:39 PM Subject: Re: Release time? i'll redo my fix on trunk then we'll be able to use the previous version. - Romain

Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF)

2011-11-27 Thread Mark Struberg
Of course GIT can be used under Windows! That's the reason why git 1.2 or so changed all commands from git-xxx to git xxx. Originally there was a 'git' executable and tons of symlinks like git-clone, git-fetch, git-ls-files etc. This was really a bummer in windows, because the only way to

Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF)

2011-11-27 Thread Mark Struberg
A number of their developers also have forks on Github, so I wasn't ever 100% convinced I was looking at the right thing. I know what you are talking about, and it really is PITA and we must not have those issues That's why the ASF insists on ONE canonical repository location which is hosted

Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF)

2011-11-27 Thread Mark Struberg
active projects. I'm not sure of the gain for us (from a project point of view) - Romain 2011/11/27 David Blevins david.blev...@gmail.com On Nov 27, 2011, at 4:35 AM, Mark Struberg wrote: * tags and branches are always repository-global! It's not possible to just tag a single subdirectory

Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF)

2011-11-27 Thread Mark Struberg
Blevins david.blev...@gmail.com To: dev@openejb.apache.org Cc: Sent: Sunday, November 27, 2011 8:57 PM Subject: Re: [DISCUSS] - OpenEJB to use Git (Fwd: [PROPOSAL] Wicket to use Git@ASF) On Nov 27, 2011, at 4:35 AM, Mark Struberg wrote: * tags and branches are always repository-global

Re: [RESULT][VOTE] Apache OpenEJB 3.0.4 (3rd Try)

2011-10-27 Thread Mark Struberg
2011/10/25 Mark Struberg strub...@yahoo.de Hi folks! Where can I find the sources.zip? This usually gets created via a task defined in apache-parent.pom It should be somewhere in the staging repo, but I couldn't find it. LieGrue, strub - Original Message - From

Re: [VOTE] Apache OpenEJB 3.0.4 (3rd Try)

2011-10-25 Thread Mark Struberg
Hi folks! Where can I find the sources.zip? This usually gets created via a task defined in apache-parent.pom It should be somewhere in the staging repo, but I couldn't find it. LieGrue, strub - Original Message - From: David Blevins david.blev...@gmail.com To:

Re: openejb jrat

2011-10-21 Thread Mark Struberg
you also have to distinguish between: 1.) classpath scanning time itself 2.) information extraction from the scanned classes As a whole container, we can reduce 1.) because this part could be shared between OpenEJB, OpenWebBeans, Tomcat, MyFaces, etc (all libs which do classpathscanning on

Re: openejb jrat

2011-10-21 Thread Mark Struberg
thinking about moving to xbean-finder since quite a while). From: Romain Manni-Bucau rmannibu...@gmail.com To: dev@openejb.apache.org; Mark Struberg strub...@yahoo.de Sent: Friday, October 21, 2011 10:18 AM Subject: Re: openejb jrat hmm, a common scanner already

Re: comparison

2011-10-20 Thread Mark Struberg
to be honest: a comparison without a single webapp click is almost worth nothing! Every OSGi container will lazily load it's stuff and thus boots much faster and consumes much less memory _initially_ Whereas 'old' containers start up and load all the apps they are deployed into it

FYI Fw: [VOTE] Release Apache OpenWebBeans-1.1.2

2011-10-17 Thread Mark Struberg
Hi! Since OWB makes a core part of TomEE, I guess it's better to keep you all in the chain as well :) txs and LieGrue, strub - Forwarded Message - From: Mark Struberg strub...@yahoo.de To: openwebbeans-dev d...@openwebbeans.apache.org Cc: u...@openwebbeans.apache.org u

Re: tomee

2011-10-07 Thread Mark Struberg
what about a sketched cat face 'smoking' the OpenEJB chilly? LieGrue, strub - Original Message - From: Jacek Laskowski ja...@japila.pl To: dev@openejb.apache.org Cc: Sent: Thursday, October 6, 2011 1:59 PM Subject: Re: tomee On Wed, Oct 5, 2011 at 11:29 PM, Romain Manni-Bucau

Re: Arquillian adapters

2011-10-04 Thread Mark Struberg
You could take a look at what Dan and I did for native owb: https://github.com/struberg/arquillian-container-openwebbeans LieGrue, strub - Original Message - From: Jonathan Gallimore jonathan.gallim...@gmail.com To: dev@openejb.apache.org Cc: Sent: Wednesday, October 5, 2011 12:57

Fw: [VOTE] Release Apache OpenWebBeans-1.1.1

2011-08-29 Thread Mark Struberg
FYI: the OWB community is currently Voting on the new release. This might also be interesting for geronimo3 and tomee I guess ;) have fun! LieGrue, strub --- On Mon, 8/29/11, Mark Struberg strub...@yahoo.de wrote: From: Mark Struberg strub...@yahoo.de Subject: [VOTE] Release Apache

Re: @Disposes

2011-07-18 Thread Mark Struberg
The @Disposes will get called once the Context gets destroyed. For a @RequestScoped bean thats at the end of the request. Are you sure the context gets cleaned up? lLieGrue, strub --- On Mon, 7/18/11, Ranga S sra...@yahoo.com wrote: From: Ranga S sra...@yahoo.com Subject: Re: @Disposes To:

Re: Examples - CDI

2011-06-13 Thread Mark Struberg
Yes that's true, but actually it's also the case that lots of TCks are full of errors, invalid assumptions which only works on the RI, non-portable behaviour, etc :) LieGrue, strub --- On Mon, 6/13/11, David Blevins david.blev...@gmail.com wrote: From: David Blevins david.blev...@gmail.com

Re: Examples - CDI

2011-06-11 Thread Mark Struberg
: Re: Examples - CDI To: dev@openejb.apache.org Date: Friday, June 10, 2011, 11:49 PM On Jun 10, 2011, at 3:36 AM, Mark Struberg wrote: The one from JSR-317 is a zombie since it was born (3 days before the spec went final...). It is not even used by the RI itself (glassfish). That one

Re: Examples - CDI

2011-06-10 Thread Mark Struberg
Hi David! _Which_ of the 4 @ManagedBean classes are you talking of? ;) I'd prefer to drop all of them altogether :D Really, the one from JSF doesn't make much sense in the future since it is very likely that the JSF-2.2 EG will deprecate it. The one from JSR-317 is a zombie since it was born

Re: Examples - CDI

2011-06-10 Thread Mark Struberg
for our examples. -David From: Mark Struberg strub...@yahoo.de To: dev@openejb.apache.org; Ranga S sra...@yahoo.com Sent: Wednesday, June 8, 2011 12:59 PM Subject: Re: Examples - CDI hi! You could look at the maven archetypes for Apache

Re: Examples - CDI

2011-06-08 Thread Mark Struberg
hi! You could look at the maven archetypes for Apache MyFaces CODI [1] which is a CDI extension. $ mvn archetype:generate -DarchetypeCatalog=http://myfaces.apache.org It creates a small OWB + MyFaces +CODI based example stub. Just add OpenEJB on top (e.g. for the database service layer) and

Re: Examples - CDI

2011-06-08 Thread Mark Struberg
let me know and I shall look at integrated examples. - Ranga From: Mark Struberg strub...@yahoo.de To: dev@openejb.apache.org; Ranga S sra...@yahoo.com Sent: Wednesday, June 8, 2011 12:59 PM Subject: Re: Examples - CDI hi! You could look

Re: Ideas for Getting the word out

2011-05-30 Thread Mark Struberg
IDE files must never, _never_, NEVER be checked in into any SCM! Most times IDE config files contain lots of absolute paths, and personal configs. In ancient times Eclipse config files did also contain CVS passwords... Trust me, you do not like to have such a waste into your Source Code

Re: Ideas for Getting the word out

2011-05-30 Thread Mark Struberg
May 2011 14:16, dsh daniel.hais...@googlemail.com wrote: On Mon, May 30, 2011 at 8:32 AM, Mark Struberg strub...@yahoo.de wrote: IDE files must never, _never_, NEVER be checked in into any SCM! LOL couldn't resist... guess what we do each day at work??? Glad I don't work for your

Re: Ideas for Getting the word out

2011-05-29 Thread Mark Struberg
Hi David! As this is true for a lot Apache projects, we might also discuss this on a foundation level? I think there is already such a small incubator project which contains 'inhouse' tools as far as I remember. LieGrue, strub --- On Sat, 5/28/11, David Blevins david.blev...@gmail.com wrote:

unit test failure while building openejb3

2011-05-08 Thread Mark Struberg
Hi folks! I have not compiled openejb for a looong time, but like to build all the stuff so I can run the JCDI TCK tests from within openwebbeans. I got the following test failure while compiling openejb3 trunk. Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.924 sec

Re: unit test failure while building openejb3

2011-05-08 Thread Mark Struberg
pushed properly? david jencks On May 8, 2011, at 3:39 AM, Mark Struberg wrote: Hi folks! I have not compiled openejb for a looong time, but like to build all the stuff so I can run the JCDI TCK tests from within openwebbeans. I got the following test failure while compiling openejb3

Re: unit test failure while building openejb3

2011-05-08 Thread Mark Struberg
too. david jencks On May 8, 2011, at 12:04 PM, Mark Struberg wrote: humm, so this is depending on a geronimo part? What parts will get packaged in tomee? Is there a way to only build the parts I need for TomEE? Imo this should all be self contained, isn't? txs and LieGrue

Re: Using OpenWebBeans CDI with Junit ?

2011-04-29 Thread Mark Struberg
Hi! We wrote a small test stub for starting up CDI containers from unit tests. Just add the following to your pom dependency groupIdorg.apache.openwebbeans.test/groupId artifactIdcditest/artifactId /dependency dependency

Re: OWB 1.1.0 or 1.1.1-SNAPSHOT in openejb and geornimo ?

2011-04-01 Thread Mark Struberg
I will deploy an 1.1.1-SNAPSHOT now. LieGrue, strub --- On Thu, 3/31/11, David Blevins david.blev...@gmail.com wrote: From: David Blevins david.blev...@gmail.com Subject: Re: OWB 1.1.0 or 1.1.1-SNAPSHOT in openejb and geornimo ? To: dev@openejb.apache.org Date: Thursday, March 31, 2011,

Re: PermGen space usage

2011-03-31 Thread Mark Struberg
In OpenWebBeans we face a similar problem. Over there it's caused by the fact that we need to do lots of classpath scanning and basically every class.getDeclaredMethod() class.getDeclaredField() etc sucks in lots of trash to the classloader. Grab a yourkit test license and check the

Re: OpenWebBeans-1.1.0 release planing

2011-03-21 Thread Mark Struberg
Miller kevan.mil...@gmail.com wrote: From: Kevan Miller kevan.mil...@gmail.com Subject: Re: release planing To: d...@openwebbeans.apache.org Date: Monday, March 21, 2011, 5:01 PM On Mar 16, 2011, at 6:39 AM, Mark Struberg wrote: Hi folks! I'd like to fix/finish a few of my open tasks

Re: Fwd: Can't compile openejb trunk with the latest openwebbens trunk artifacts.

2011-01-17 Thread Mark Struberg
deployed the snapshot a few hours ago. should be on the mirrors now. LieGrue, strub --- On Mon, 1/17/11, Mark Struberg strub...@yahoo.de wrote: From: Mark Struberg strub...@yahoo.de Subject: Re: Fwd: Can't compile openejb trunk with the latest openwebbens trunk artifacts. To: d

Re: CdiResourceInjectionService question

2011-01-04 Thread Mark Struberg
The reason for this is because of OWB + OpenEJB standalone with tomcat or jetty. In this case you cannot assume a modifyable JNDI context, thus the easiest way was to let OpenEJB deal with that part ;) LieGrue, strub --- On Tue, 1/4/11, Jean-Louis MONTEIRO jean-louis.monte...@atosorigin.com

Re: OpenEJB Get-Together 2011

2010-12-25 Thread Mark Struberg
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

Re: using OpenEJB in JUnit tests

2009-04-27 Thread Mark Struberg
, 22.4.2009: Von: David Blevins david.blev...@visi.com Betreff: Re: using OpenEJB in JUnit tests An: dev@openejb.apache.org Datum: Mittwoch, 22. April 2009, 23:06 On Apr 16, 2009, at 1:25 AM, Mark Struberg wrote: That might be, I hooked a break point to JtaEntityManager and it has  never

Re: using OpenEJB in JUnit tests

2009-04-16 Thread Mark Struberg
david.blev...@visi.com Betreff: Re: using OpenEJB in JUnit tests An: dev@openejb.apache.org Datum: Donnerstag, 16. April 2009, 5:15 On Apr 13, 2009, at 1:45 AM, Mark Struberg wrote: Hi David! Do you have any log output you could post? I've attached a tee of the mvn test output

Re: using OpenEJB in JUnit tests

2009-04-13 Thread Mark Struberg
On Apr 12, 2009, at 2:41 PM, Mark Struberg wrote: Hi! Somehow this doesn't work. If I startup OpenEJB like the examples do: Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, org.apache.openejb.client.LocalInitialContextFactory); Context context = new

Re: using OpenEJB in JUnit tests

2009-04-13 Thread Mark Struberg
it seems my 2nd attachment got dropped. So here it is finally. txs and LieGrue, strub --- Mark Struberg strub...@yahoo.de schrieb am Mo, 13.4.2009: Von: Mark Struberg strub...@yahoo.de Betreff: Re: using OpenEJB in JUnit tests An: dev@openejb.apache.org Datum: Montag, 13. April 2009, 10:45

Re: using OpenEJB in JUnit tests

2009-04-12 Thread Mark Struberg
Hi! Somehow this doesn't work. If I startup OpenEJB like the examples do: Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, org.apache.openejb.client.LocalInitialContextFactory); Context context = new InitialContext(p); then no JtaEntityManager gets initialised. Do

obtaining the JtaEntityManager

2009-03-25 Thread Mark Struberg
Hi! I currently code the integration of OpenEJB into OpenWebBeans and need your help. The JSR-299 spec requires us to inject @PersistenceContext and @PersistenceUnit into contextual beans. If we are running with OpenEJB, I like to inject the JtaEntityManager OpenEJB provides. So my question

AW: obtaining the JtaEntityManager

2009-03-25 Thread Mark Struberg
); } catch (NamingException e) { throw new WebBeansCreationException( PersistenceUnit ' + unitName + ' not found ); } return factory; } completely weird, or do I at least go in the right direction? txs and LieGrue, strub --- Mark Struberg strub...@yahoo.de schrieb am