EJB socket deamon in tomee

2012-11-22 Thread middleware
I'd like to test TomEE ejb remote invocation performance. For this reason, I'd like to invoke ejb via TCP socket instead of via HTTP. How do I configure the ejb socket daemon in Tomee? I found somewhere, these properties: properties.setProperty(openejb.embedded.remotable, true); //Uncomment

Re: EJB socket deamon in tomee

2012-11-22 Thread Romain Manni-Bucau
Hi Davide, to skip tomcat in tomee on ejbd invocations you need: 1) set system property (either on the jvm or in conf/system.properties) openejb.service.manager.class=org.apache.openejb.server.SimpleServiceManager 2) set the properties (ejbd.*) you mentionned either as system properties or

Re: Possible to run Apache Wicket on TomEE?

2012-11-22 Thread Romain Manni-Bucau
So it works ;) ok let me explain: from what you say it seems you meant the cdi injection doesn't work. That's expected since wicket is not integrated with cdi by default. To do so there are several extensions (/!\ wicket-cdi is linked to weld so that's not a standard extension) on github for

openejb not destroying ManagedConnections on shutdown

2012-11-22 Thread Anthony Fryer
I am unit testing a JCA adapter and am interested in what happens when the container shutsdown. My test case is below... I was hoping to see the ManageConnection destroy() method being called once when the openejb container shutdown. It wasn't called but the cleanup() method was called twice

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread smithh032772
I agree, this is a great discussion! I know this is an old topic, but I was doing some browsing, came across this topic, and thought I might take a look, since I have had the same goal... 'Tomee Plus instead of Glassfish'. :) It 'sounds' good, and for good 'business' to allow developers to

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 Howard W. Smith, Jr.
Jean-Louis, Sounds good to me. I would have to refer to my daily 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.comwrote: Hey guys, Thanks so much for the feedback. If you

Re: Tomee Plus instead of Glassfish

2012-11-22 Thread Jean-Louis MONTEIRO
Done. The page is here. http://openejb.staging.apache.org/from-glassfish-to-tomee.html The button is on top right. It's in the staging website for the moment. Jean-Louis 2012/11/22 Howard W. Smith, Jr. smithh032...@gmail.com Jean-Louis, Sounds good to me. I would have to refer to my daily

Re: openejb not destroying ManagedConnections on shutdown

2012-11-22 Thread Romain Manni-Bucau
Yes, That's the pdf but you need to go through some small click steps to be able to read it Le 22 nov. 2012 19:33, Howard W. Smith, Jr. smithh032...@gmail.com a écrit : Romain, the hyperlink you provided responds with the following: http://www.oracle.com/ An unauthorized request.Back to

Re: NPE when calling webservice

2012-11-22 Thread Romain Manni-Bucau
Hi, Can you give it a try on the next version or snapshot (release is close) please? Le 22 nov. 2012 19:35, xaviarias xavi.arias.se...@gmail.com a écrit : I'm using OpenEJB 4.0 and I have exactly the same problem. When I put a breakpoint in the method start of

Re: openejb not destroying ManagedConnections on shutdown

2012-11-22 Thread Anthony Fryer
I still think destroy should be called at some point. The jca spec states this is when the resource adapter can destroy physical connections and reclaim system resources... An application server should explicitly call ManagedConnection.destroy to destroy a physical connection. An application