Re: Invoke EJB on Glassfish

2013-05-28 Thread Mark Struberg
I've tried such things once and gave up. For accessing the Remote EJB you need some client.jar from that very server (glassfish-client.jar). And those often contain lots of classes which really create classpath clashes. They are really only meant for clients which do not have any EJB knowledge

Re: Invoke EJB on Glassfish

2013-05-28 Thread Romain Manni-Bucau
@Mark: depends, using remote ejb between TomEEs (didn't try glassfish) can lead to perf improvement since ejbd is really fast compared to soap or rest. it really depends the app and the remote usage it does *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: Invoke EJB on Glassfish

2013-05-28 Thread Jean-Louis MONTEIRO
Agree, except that EJB Remote calls are usually better in terms of performance and overhead. Depending on the server you can also get additional features like failover, multicast, etc Of course, that is also possible using an ESB, or provider built in features (like failover in CXF), but it's

Re: Eclipse timeout

2013-05-28 Thread Caterpillar
Il 26/05/2013 23:14, Romain Manni-Bucau ha scritto: Hi does the app start outside eclipse (no class def found?) that said the timeout can be increased in eclipse, no issue setting it to something very high (45000 ;)). *Romain Manni-Bucau* *Twitter: @rmannibucau

Re: Eclipse timeout

2013-05-28 Thread Romain Manni-Bucau
not sure i got your config, any screenshot? *Romain Manni-Bucau* *Twitter: @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*

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread AndreasN
I have a similar situation as Andrew had, but I didn't get it working. The static constant of a particular JBoss EJB interface class is constructed this way: EARName/ImplementationClass/remote When I do a lookup, it only works by prefixing and remove the remote token: ITestBeanIntf obj =

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread AndreasN
Hi Andrew, thank you for answer! I have a slightly different setup and these properties were already set... I guess the problem is the InitialContext which is constructed by OpenEJB in conjunction with the usage of an ApplicationComposer instance, where the persistence unit and the EJBs got

Re: Tomee-Embedded : Use custom broker

2013-05-28 Thread Romain Manni-Bucau
TomEE needs the broker, you can just reference your own broker using a remote url. isn't it enough? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn:

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread AndreasN
I know, are there a way to gather the InitialContext that easy way? Or alternatives wich aligns with the given setup? -- View this message in context: http://openejb.979440.n4.nabble.com/How-to-create-JNDI-interface-in-Application-Composer-later-tp4663243p4663277.html Sent from the OpenEJB

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread Romain Manni-Bucau
new InitialContext i think *Romain Manni-Bucau* *Twitter: @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* 2013/5/28 AndreasN

Re: Eclipse timeout

2013-05-28 Thread Caterpillar
2013/5/28 Romain Manni-Bucau rmannibu...@gmail.com not sure i got your config, any screenshot? Here two screenshots

Logging remote exceptions

2013-05-28 Thread vhubuo
Hello. I use standalone tomee plus 1.5.2 I have a remote stateless bean witch throws an exception. The exception is visible on client side as an error but is not visible in the server output. How to configure logging to achieve this behavior? -- View this message in context:

Remote exceptions logging

2013-05-28 Thread vhubuo
Hello. I use standalone tomee plus 1.5.2 I have a remote stateless bean witch throws an exception. The exception is visible on client side as an error but is not visible in the server output. How to configure logging to achieve this behavior? -- View this message in context:

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread Romain Manni-Bucau
you have a sample showing what you state? *Romain Manni-Bucau* *Twitter: @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*

Re: Eclipse timeout

2013-05-28 Thread Romain Manni-Bucau
i don't see them :s *Romain Manni-Bucau* *Twitter: @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* 2013/5/28 Caterpillar

Re: Eclipse timeout

2013-05-28 Thread Caterpillar
2013/5/28 Romain Manni-Bucau rmannibu...@gmail.com i don't see them :s 1) http://i.imgur.com/Vg9yoTm.png 2) http://i.imgur.com/1njQf3c.png

Re: Eclipse timeout

2013-05-28 Thread Romain Manni-Bucau
any procedure to reproduce it? *Romain Manni-Bucau* *Twitter: @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* 2013/5/28

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread AndreasN
Romain, I think I can live with the current solution by going over the @AppResource context and the global lookup. I think I outlined as complete as possible what's the matter, no sample required... Thank you and kind regards, Andreas -- View this message in context:

Re: Eclipse timeout

2013-05-28 Thread Romain Manni-Bucau
PS: SEVERE: FAIL ... LAI_Test_daInternetCompleto6:Missing required persistence.xml for @PersistenceContext ref em to unit did you package a persistence.xml? *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: Eclipse timeout

2013-05-28 Thread Caterpillar
2013/5/28 Romain Manni-Bucau rmannibu...@gmail.com any procedure to reproduce it? Simply add a new server in Eclipse, and then try to start it. 2013/5/28 John D. Ament john.d.am...@gmail.com Can you post the entire stack trace that is in the console? Based on the rough output it's taking

Re: How to create JNDI interface in Application Composer later ?

2013-05-28 Thread Romain Manni-Bucau
FYI (just added) http://svn.apache.org/repos/asf/tomee/tomee/trunk/container/openejb-core/src/test/java/org/apache/openejb/testing/AppComposerContextInjectionTest.java *Romain Manni-Bucau* *Twitter: @rmannibucau https://twitter.com/rmannibucau* *Blog:

Re: Eclipse timeout

2013-05-28 Thread John D. Ament
Just like Romain noted SEVERE: FAIL ... LAI_Test_daInternetCompleto6:Missing required persistence.xml for @PersistenceContext ref em to unit On Tue, May 28, 2013 at 11:49 AM, Caterpillar caterpilla...@gmail.comwrote: 2013/5/28 Romain Manni-Bucau rmannibu...@gmail.com any procedure to

Re: Eclipse timeout

2013-05-28 Thread Caterpillar
2013/5/28 John D. Ament john.d.am...@gmail.com Just like Romain noted SEVERE: FAIL ... LAI_Test_daInternetCompleto6:Missing required persistence.xml for @PersistenceContext ref em to unit It is right: there is no persistence.xml in LAI_Test_daInternetCompleto6 project. But I don't

Re: Abstract producer method cause UnsatisfiedResolutionException

2013-05-28 Thread Reinis Vicups
Thank you for the hints. Alas, am still struggling with realization of template method. I tried different approaches now and am unable to find the clean implementation for my problem. Ok thats my problem and not a CDI issue, but just for the sake of completeness I'd like to show the solution