Re: Transaction with RemoteEJB

2017-11-20 Thread Yann Blazart
> unspecified in term of protocol). > > Romain Manni-Bucau > @rmannibucau | Blog | Old Blog | Github | LinkedIn > > > 2017-11-20 12:47 GMT+01:00 Yann Blazart : > > Well, I just read again ejb 3.2 spec, > > > > At 10.6.1.1, of what I understand, context propag

Re: Transaction with RemoteEJB

2017-11-20 Thread Yann Blazart
t; > > On Nov 19, 2017, at 6:13 AM, Romain Manni-Bucau > wrote: > > > > Le 19 nov. 2017 13:58, "Yann Blazart" a écrit : > > > > Wait Romain. > > > > You mean remote ejb TX do not work with tomee ??? > > > > > > Not really, i

Re: Transaction with RemoteEJB

2017-11-19 Thread Yann Blazart
Wait Romain. You mean remote ejb TX do not work with tomee ??? That is a big problem Le 19 nov. 2017 1:53 PM, "Thiago Rodrigues" a écrit : > Hi > Thans for the quick response! > > If i remove the MANDATORY from EJB2 everything works fine, but EJB2 perform > inserts (with XA Oracle Datasource),

Re: About TomEE 7.x specification supported clarification

2017-03-03 Thread Yann Blazart
Hello. TomEE is not certified, but it's a full EE! More than weblogic 12.2.1, trust me :) I imagine that certification process is complicated or cost a much. Le 3 mars 2017 12:45 PM, "COURTAULT Francois" < francois.courta...@gemalto.com> a écrit : > Hello, > > If I refer to http://tomee.apache.

RE: Tomee Run reload

2017-02-13 Thread Yann BLAZART
annibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-13 14:11 GMT+01:00 Yann BLAZART : > I have added the two properties in system variables : > true > >

RE: Tomee Run reload

2017-02-13 Thread Yann BLAZART
;https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-13 14:04 GMT+01:00 Yann BLAZART : > I 've added : > true > true deployOpenEjbApplication> > > Same thing >

RE: Tomee Run reload

2017-02-13 Thread Yann BLAZART
https://www.linkedin.com/in/rmannibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-13 14:02 GMT+01:00 Yann BLAZART : > How to do it ? > > I tried to add ejbRemote true > > -Original Message- > From: Romain Manni-Bucau [mailto:rman

RE: Tomee Run reload

2017-02-13 Thread Yann BLAZART
ibucau> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-13 11:58 GMT+01:00 Yann BLAZART : > Hello, I try to use the hot reload with tomee maven plugin but I have > this error when the class change is detected, is anybody have an idea ? : > > févr. 13, 2

RE: Tomee Run reload

2017-02-13 Thread Yann BLAZART
actory <https://javaeefactory-rmannibucau.rhcloud.com> 2017-02-13 11:58 GMT+01:00 Yann BLAZART : > Hello, I try to use the hot reload with tomee maven plugin but I have > this error when the class change is detected, is anybody have an idea ? : > > févr. 13, 2017 11:45:34 AM

Tomee Run reload

2017-02-13 Thread Yann BLAZART
Hello, I try to use the hot reload with tomee maven plugin but I have this error when the class change is detected, is anybody have an idea ? : févr. 13, 2017 11:45:34 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:58080/tomee/ejb} 13-F

Re: Arquillian tests running on 7.0.0-M3 falis on 7.0.0

2016-06-26 Thread Yann Blazart
Or simply use ApplicationComposer wich is faster and more powerfull than arquillian !! ;) 2016-06-26 13:32 GMT+02:00 Romain Manni-Bucau : > Hi > > It is a bug in tomcat - fixed for 7.0.1. > > Exclude the jar you use which misses META-INF/MANIFEST.MF using > exclusions.list > Le 26 juin 2016 13:12

ManagedSecheduledExecutor

2016-06-02 Thread Yann BLAZART
Hello, It seems there is a little problem on TomEE 7.0.0 with ManagedScheduledExecutor. In the Task, I have a Thread.sleep (intentional), this because I use scheduledAtFixRate , then it's to make some pauses. Well. When I canl ScheduledFutur.cancel(false), it sould not repeat the task, but not

Multiple MDB Container type=MESSAGE

2016-05-06 Thread Yann BLAZART
Hello, How can I do if I have multiple Connection Factories for different MDB ? For now I'm using tome-embedded then I use system properties to configure mdb : Console new://Resource?type=ActiveMQResourceAdapter tcp://127.0.0.1:61616 new://Resource?type=javax.jms.C

LiveReload

2016-04-01 Thread Yann BLAZART
Hello, What is LiveReload in tomee embedded plugin ? How does it work ? No informations in http://tomee.apache.org/tomee-embedded-maven-plugin.html Regards This message and any attachments (the "message") is intended solely for the intended addressees and is confidential. If you receive this

About JMS 2

2016-01-15 Thread Yann BLAZART
Hello, is there any news about JMS 2 support in TomEE 7 ? In the snapshot ? This message and any attachments (the "message") is intended solely for the intended addressees and is confidential. If you receive this message in error,or are not the intended recipient(s), please delete it and any c

RE: TomEE 7.0.0 Perf

2016-01-13 Thread Yann BLAZART
6-01-08 17:19 GMT+01:00 Romain Manni-Bucau : > Nop m1 got 1.1.0-alpha1, next one is pby an alpha2 and after few > iterations - and legal discussions - we ll get a 1.1.0. > Le 8 janv. 2016 16:53, "Yann BLAZART" > > a écrit : > >> Sorry ? TomEE 7.0.0-M1 get 1.1.0. &

evaluatin Apache Ignite with TomEE

2016-01-13 Thread Yann BLAZART
Hello, I have to compare Ignite against Hazelcast. But I have a little problem, when Ignite start, it try to "serialize" System.properties by using System.getProperties().store(new PrintWriter(sw)); But in my test with applicationComposer, it seems that Application composer put a special key i

RE: TomEE 7.0.0 Perf

2016-01-08 Thread Yann BLAZART
n asf snapshot repo Le 8 janv. 2016 16:07, "Yann BLAZART" a écrit : > > Is bval 1.1.1-SNAPSHOT somewhere ? > > Not in > https://repository.apache.org/content/groups/snapshots/org/apache/bval > /bval-core/ > ? > -Original Message- > From: Romain Manni-B

RE: TomEE 7.0.0 Perf

2016-01-08 Thread Yann BLAZART
7.0.0 Perf Removing uber classifier you can yes otherwise it is an uber jar so you would need to extract/rejar it. Le 8 janv. 2016 15:42, "Yann BLAZART" a écrit : > Ok, I'm going to try this. > > Just for information, by removing validations, perf are growing from

RE: TomEE 7.0.0 Perf

2016-01-08 Thread Yann BLAZART
: vendredi 8 janvier 2016 15:30 To: users@tomee.apache.org Subject: RE: TomEE 7.0.0 Perf Hi Yann Can you replace bval by its snapshot please? Think it has been fixed already. Le 8 janv. 2016 15:21, "Yann BLAZART" a écrit : > Can you have acces to it now ? > > -Original M

RE: TomEE 7.0.0 Perf

2016-01-08 Thread Yann BLAZART
r.com/jlouismonteiro http://www.tomitribe.com On Fri, Jan 8, 2016 at 2:52 PM, Yann BLAZART < yann.blaz...@externe.bnpparibas.com> wrote: > Hello, I’m making my project on TomEE, with HazelCast. > > > > I’m inserting lot of JPA objet, with some Bean validations. > > > > I

TomEE 7.0.0 Perf

2016-01-08 Thread Yann BLAZART
Hello, I'm making my project on TomEE, with HazelCast. I'm inserting lot of JPA objet, with some Bean validations. I made a visual vm profiling, and I can see that bval is taking lot of time on getInstance() ! Any idea ?? [cid:image001.png@01D14A23.DD4D3370] This message and any attachments

RE: TomEE embedded vs Spring Boot/Spring Cloud... Heeeeellllpppp

2016-01-05 Thread Yann BLAZART
.which is never a guarantee of a good maintenance cause of project constraints from my experience. So yes embedded is nice and cool and trendy...for dev but lack a big part of the IT world from what I saw. Le 5 janv. 2016 10:14, "Yann BLAZART" a écrit : > I think so too. > >

RE: TomEE embedded vs Spring Boot/Spring Cloud... Heeeeellllpppp

2016-01-05 Thread Yann BLAZART
more copy paste in the apps so more errors and it will be harder to fix bugs or security issues. Really depends the company to be honest but tomee is a good compromise between simplicity, evolutivity and knowledge sharing IMO. Le 5 janv. 2016 08:47, "Yann BLAZART" a écrit : > Hell

TomEE embedded vs Spring Boot/Spring Cloud... Heeeeellllpppp

2016-01-04 Thread Yann BLAZART
Hello everybody. I need help. I'm currently working on a stack with TomEE 7 embedded to make a micro-service architecture oriented App. But my chief and some people of my team begin to be afraid (if I want to leave my mission for example). So they ask to me to take a look to Spring's stuffes.

Re: Question about Java EE certification TomEE and Plume

2015-12-28 Thread Yann Blazart
Hello, from my point of view, there's no problem. You can change the JPA implementation following your needs, put Hibernate for example. I can garanty you that all my products running on webspehere and weblogic was able to run in tomee. Sometimes some "proprietary" config files to write or change

RE: [PRIVATE] ApplicationComposer 7.0.0 and @Jars

2015-12-23 Thread Yann BLAZART
; | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-12-23 18:30 GMT+01:00 Yann BLAZART : > Well, I have more information. > > In CdiScanner I can see the classes in BeanInfo beans. &

RE: [PRIVATE] ApplicationComposer 7.0.0 and @Jars

2015-12-23 Thread Yann BLAZART
class } ) @Jars(value = "metrics-cdi") public EjbJar war() { return new EjbJar(); } From: Yann BLAZART Sent: mercredi 23 décembre 2015 18:31 To: 'users@tomee.apache.org' Subject: RE: [PRIVATE] ApplicationComposer 7.0.0 and @Jars Well, I have more information. In CdiScan

RE: [PRIVATE] ApplicationComposer 7.0.0 and @Jars

2015-12-23 Thread Yann BLAZART
dule for my persistenceUnit ? So What can I do to include the metrics-cdi jar ? From: Yann BLAZART Sent: mercredi 23 décembre 2015 18:17 To: users@tomee.apache.org Subject: [PRIVATE] ApplicationComposer 7.0.0 and @Jars Hello, I want to make unit test with metrics-cdi. This lib have a CDI exten

RE: ApplicationComposer, ApplicationRuleBug

2015-12-02 Thread Yann BLAZART
cefd88dda48bbe440c2036a5f Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitrib

ApplicationComposer, ApplicationRuleBug

2015-12-02 Thread Yann BLAZART
Hello, it seems there is a bug in ApplicationRule with ApplicationComposer. With the following code : public class AppRuleBugTest { private static final ContainerRule instanceContainer = new ContainerRule(new Container()); private static final ApplicationRule instanceServer = new App

RE: References of TomEE popular deployments

2015-11-18 Thread Yann BLAZART
+1 -Original Message- From: prasadkgvs [mailto:prasad.k...@gmail.com] Sent: mercredi 18 novembre 2015 10:06 To: users@tomee.apache.org Subject: Re: References of TomEE popular deployments Hi Steven and Jonathan, Thanks for your response and the shared information. It is encouraging to s

RE: TomEE 7.0.0-SNAPSHOT , ApplicationComposer, CDI, @Transactional

2015-11-17 Thread Yann BLAZART
ubject: Re: TomEE 7.0.0-SNAPSHOT , ApplicationComposer, CDI, @Transactional try adding RequiredNewInterceptor in cdiInterceptors :p Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-11-16 8:58 GMT-08:00 Yann BLAZART : > Normally, as I read the code this should work,

RE: TomEE 7.0.0-SNAPSHOT , ApplicationComposer, CDI, @Transactional

2015-11-17 Thread Yann BLAZART
, @Transactional try adding RequiredNewInterceptor in cdiInterceptors :p Romain Manni-Bucau @rmannibucau | Blog | Github | LinkedIn | Tomitriber 2015-11-16 8:58 GMT-08:00 Yann BLAZART : > Normally, as I read the code this should work, as @Priority is specified on > interceptor : > >

RE: TomEE 7.0.0-SNAPSHOT , ApplicationComposer, CDI, @Transactional

2015-11-16 Thread Yann BLAZART
Normally, as I read the code this should work, as @Priority is specified on interceptor : @Interceptor @Transactional(Transactional.TxType.REQUIRES_NEW) @Priority(200) public class RequiredNewInterceptor extends InterceptorBase { From: Yann BLAZART Sent: lundi 16 novembre 2015 17:47 To: users

TomEE 7.0.0-SNAPSHOT , ApplicationComposer, CDI, @Transactional

2015-11-16 Thread Yann BLAZART
Hello, It seems that there is a problem with ApplicationComposer and CDI @Transactional service. The test class: @EnableServices("jaxrs") @RunWith(ApplicationComposer.class) @Classes(cdi = true, innerClassesAsBean = true, value = { LoggerProducer.class, R

RE: Problem with tomee-maven-plugin/tomee:exec

2015-10-27 Thread Yann BLAZART
s "/conf" instead of "/bin", > and we need to get the absolute path for the command to run. > > That's all :) > > I put the ExecRunner.java who works in this email. > > Regards > > > > - Mail original - > De: "Yann BLA

RE: Problem with tomee-maven-plugin/tomee:exec

2015-10-27 Thread Yann BLAZART
Just a suggestion. Perhaps you can use the tomee-maven-plugin 7.0.0-SNAPSHOT while specifying the tome version to package to 1.7.2 ? It sould work. -Original Message- From: Edouard LAMOTTE [mailto:elamo...@sedona.fr] Sent: lundi 26 octobre 2015 19:10 To: users@tomee.apache.org Subject:

RE: What a pity

2015-10-20 Thread Yann BLAZART
com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-20 17:43 GMT+02:00 Yann BLAZART : > Ho, I didn't underst

RE: What a pity

2015-10-20 Thread Yann BLAZART
nnibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-20 17:39 GMT+02:00 Yann BLAZART : >

RE: What a pity

2015-10-20 Thread Yann BLAZART
pdateOnlyExtensions Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-2

RE: What a pity

2015-10-20 Thread Yann BLAZART
t;https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-20 17:01 GMT+02:00 Yann BLAZART : > Hello, I'm currently make some dev with tomee, and a web app in ear. > > I'm using tome:run. >

What a pity

2015-10-20 Thread Yann BLAZART
Hello, I'm currently make some dev with tomee, and a web app in ear. I'm using tome:run. What a pity to have a global reloadonupdate. When I change some classes, ok, but when it's static resources like js, the simple copy resource will be juste enough... org.apache.tomee.maven tomee-m

RE: Tomee maven plugin, reload on update, datasource not reinjected

2015-10-14 Thread Yann BLAZART
au> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-10-14 11:38 GMT+02:00 Yann BLAZART : > Hello everybody. > > I'm currently u

Tomee maven plugin, reload on update, datasource not reinjected

2015-10-14 Thread Yann BLAZART
Hello everybody. I'm currently using the tomee maven plugin to make some UI dev with vaddin. The app is an ear, with an ejb module (where are ejb's of course) and with a war that use the ejb's. Why ? Because the target server is a weblogic 10.3.6 (Java EE 5). So ejb must be in ejb module. So,

RE: tomcat MBeans in tomee embedded

2015-09-22 Thread Yann BLAZART
t; | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-09-22 9:52 GMT-07:00 Yann BLAZART : > Hello everybody. > > In my projects I need to know dynamically the remote port of the > launched tomee-embedded (http/https). >

tomcat MBeans in tomee embedded

2015-09-22 Thread Yann BLAZART
Hello everybody. In my projects I need to know dynamically the remote port of the launched tomee-embedded (http/https). For that I user the following code : private Integer[] detectPort() { Integer [] ports = new Integer[]{-1,-1}; try { MBeanServer mBeanServer = MBea

RE: openejb-hessian and tomee embedded

2015-09-15 Thread Yann BLAZART
nkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-09-15 9:10 GMT-07:00 Yann BLAZART : > Cdi extension starting well. > > This is why we have this message : > > SEVERE: HessianService not yet started, no hessian CDI webservices > > The problem

RE: openejb-hessian and tomee embedded

2015-09-15 Thread Yann BLAZART
- From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: mardi 15 septembre 2015 16:15 To: users@tomee.apache.org Subject: Re: openejb-hessian and tomee embedded Hey Yann Did you merge - ie concatenate - cdi extension spi file in the uber jar? Le 15 sept. 2015 07:10, "Yann BLAZART&qu

openejb-hessian and tomee embedded

2015-09-15 Thread Yann BLAZART
Hi ! First thanks to Romain for TOMEE-1630, this has solved my issue with remote ejb and tomee-embedded. But now, I wish to test the more powerfull protocol hessian (as in Romain's blog : https://rmannibucau.wordpress.com/2013/07/16/hessian-and-tomeeopenejb-make-remote-services-insanely-fast/

RE: TomEE EJB remote

2015-09-11 Thread Yann BLAZART
gt; | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-09-10 8:32 GMT-07:00 Yann BLAZART : > I can precise that I'm using tomee embedded. > > Do I have anything to do for "

RE: TomEE EJB remote

2015-09-10 Thread Yann BLAZART
I can precise that I'm using tomee embedded. Do I have anything to do for "tome/ejb" context ? From: Yann BLAZART Sent: jeudi 10 septembre 2015 17:27 To: 'users@tomee.apache.org' Subject: RE: TomEE EJB remote My bad... I had < java :global/... > in my lokkup.

RE: TomEE EJB remote

2015-09-10 Thread Yann BLAZART
Remote {error=Cannot open input stream to server: } sept. 10, 2015 5:24:26 PM com.vaadin.server.DefaultErrorHandler doDefault SEVERE: org.apache.openejb.client.ClientRuntimeException: Invalid response from server: -1 From: Yann BLAZART Sent: jeudi 10 septembre 2015 17:13 To: users@tomee.apache.org S

TomEE EJB remote

2015-09-10 Thread Yann BLAZART
Hello ! I'm trying to use remote EJB from TomEE to TomEE. But it doesn't work as expected. In fact it's seems that in real it's connecting "locally" : With this code, I get values from local tome not the remote one. But port is ok // remote call to status. Properties p = new Pro

Re: TomEE embedded classloader behhaviours

2015-09-04 Thread Yann Blazart
; | Tomitriber > <http://www.tomitribe.com> > > 2015-09-04 13:22 GMT+02:00 Yann BLAZART < > yann.blaz...@externe.bnpparibas.com > >: > > > In fact the problem come from Log4j2. > > The classloading is well suited, TomEEWebappClassloader first. > > B

RE: TomEE embedded classloader behhaviours

2015-09-04 Thread Yann BLAZART
In fact the problem come from Log4j2. The classloading is well suited, TomEEWebappClassloader first. But Log4j2 do a getParent himself -Original Message- From: Yann Blazart [mailto:yann.blaz...@bycode.fr] Sent: jeudi 3 septembre 2015 21:09 To: users@tomee.apache.org Subject: Re

Re: TomEE embedded classloader behhaviours

2015-09-03 Thread Yann Blazart
"big" uber jar with all inside. 2015-09-03 21:14 GMT+02:00 Romain Manni-Bucau : > 2015-09-03 21:12 GMT+02:00 Yann Blazart : > > > I just read classloader in tomcat, so in tomee I suppose. > > > > Normally, in the webapp it looks in the war first for resources,

Re: TomEE embedded classloader behhaviours

2015-09-03 Thread Yann Blazart
I just read classloader in tomcat, so in tomee I suppose. Normally, in the webapp it looks in the war first for resources, after it goes to parents. Isn't it ? So why it doesn't work like that in my case ? 2015-09-03 21:08 GMT+02:00 Yann Blazart : > Hmmm. I don't know. > &

Re: TomEE embedded classloader behhaviours

2015-09-03 Thread Yann Blazart
www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-09-03 19:05 GMT+02:00 Yann BLAZART < > yann.blaz...@externe.bnpparibas.com > >: > > > Hello all. > > > > Now I'm trying to deliver my application as micro se

TomEE embedded classloader behhaviours

2015-09-03 Thread Yann BLAZART
Hello all. Now I'm trying to deliver my application as micro servers using tomee embedded. My problem come from log4j2 configs. I've made an "extension" of tome-embedded to add inside the log4j2 jars, one log4j2.xml and some parameters in the Main (baseport for exemple). This is repackaged in on

RE: ApplicationComposer and CDI jars.

2015-09-03 Thread Yann BLAZART
apike")? Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com>

ApplicationComposer and CDI jars.

2015-09-03 Thread Yann BLAZART
Hello list. I'm currently use ApplicationComposer to make my advanced 'unit' tests. But now I'm facing to a problem : I'm trying to make some test in a project when I use Vaadin-CDI. In this one I'm making a test for one RestService @Module @Classes( cdi = true, value = {

Re: Questions about TomEE embedded

2015-08-15 Thread Yann Blazart
Hi Felipe. I can give you just my two cents about that question. I'm currently make somes tests around tomee:exec (build a packaged tomee) and tomee:embedded (in the two forms, standalone jar or the embedded jar and the war). Why I'm doing this ? Because I want to be able to work on what will be

Autonomus jar

2015-08-13 Thread Yann Blazart
) at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:145) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ... 17 more NFO - Undeploying app: But this directory exists. -- Message transféré -- De : "yann Blazart" Date : 13 août 201

Autonomus jar

2015-08-13 Thread Yann BLAZART
urceSet.java:172) at org.apache.catalina.webresources.AbstractFileResourceSet.initInternal(AbstractFileResourceSet.java:145) at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102) ... 17 more INFO - Undeploying app: But this directory exists. From: Yann BLAZART Sent: jeudi 13 août 2015 11:28 To: 'users@tomee.apache.o

Autonomus jar

2015-08-13 Thread Yann BLAZART
Hello. I'm currently trying to use TomEE for my customer. The goal is to deliver applications as standalone jar. I successed to do this with tome:exec. But as it launch two process and as it embedded a full tome, I want to try to do it with tome embedded. So I followed the post 50 shades of Tom

Re: mvn tomee:exec and vars in server.xml

2015-08-12 Thread Yann Blazart
I'm using tomee:run and tomee:exec IRL, so I know that my corrections work. Regards. Le 11 août 2015 16:34, "Romain Manni-Bucau" a écrit : > Sure but very few (1) rely on the type integer. > Le 11 août 2015 07:32, "Yann Blazart" a écrit : > > > Yop per

Re: mvn tomee:exec and vars in server.xml

2015-08-11 Thread Yann Blazart
/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-08-11 7:13 GMT-07:00 Yann Blazart : > > > Yep, but with tomee:run ? > > > > I think this code was here for this goal, typically to

Re: mvn tomee:exec and vars in server.xml

2015-08-11 Thread Yann Blazart
r.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-08-11 6:51 GMT-07:00 Yann Blazart : > > &g

Re: mvn tomee:exec and vars in server.xml

2015-08-11 Thread Yann Blazart
Check my patch : TOMEE-1626. With it, it will be cool with tomee:run for dev and tomee:exec for delivering. Le 11 août 2015 15:49, "Romain Manni-Bucau" a écrit : > Ah yeah, ports should be strings. > Le 11 août 2015 06:37, "Yann Blazart" a écrit : > > > wel

Re: mvn tomee:exec and vars in server.xml

2015-08-11 Thread Yann Blazart
NA_OPTS or setenv.sh|bat Le 11 août 2015 00:53, "Yann Blazart" a écrit : > hmmm. this option seems to have disapperead in tomee 7 > Le 10 août 2015 19:21, "Romain Manni-Bucau" a > écrit : > > > use keepServerXmlAsthis I think during build phase > &

Re: mvn tomee:exec and vars in server.xml

2015-08-11 Thread Yann Blazart
//rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www.tomitribe.com> > > 2015-08-10 10:19 GMT-07:00 Yann Blazart : > > > it does'nt work. it's b

Re: mvn tomee:exec and vars in server.xml

2015-08-10 Thread Yann Blazart
> > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <http://rmannibucau.wordpress.com> | Github < > https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > <http://www

mvn tomee:exec and vars in server.xml

2015-08-10 Thread Yann Blazart
Hello, currently I'm trying to make packing to deliver TomEE and Apps in production as One Jar to run with tomee:exec. The only way I found to permit to the production team to configure resources is to make them write a tomee.xml and provide its path by using the -DadditionalSystemProperties=-Dopen

Re: Conditional properties to EntityManagerFactory

2015-07-17 Thread Yann Blazart
And yes that's working too, but only for TomEE ;) I'm using this in my "units" tests with app composer (thanks Romain !) Well I'd just put the properties I want in conf/system.properties. > Side note: if you want to do it by persistence unit you can as well > prefixing it by PERSISTENCEUNIT and

Re: Conditional properties to EntityManagerFactory

2015-07-17 Thread Yann Blazart
Hello ! I made a such thing for one client. In facts and brievly, I made a persistence provider that was able to load propperties and create a delegated real persistence provider (hibernate for example). In my persistence.xml I refered to my own persistence provider. In this way I'm able to dy

Re: Just curious, what parts of JEE is everyone using?

2015-02-08 Thread Yann Blazart
Damned phone. Not "all of the année too" but all of the above too Le 8 févr. 2015 20:16, "Yann Blazart" a écrit : > All of the année too. > > But EJB3 Not Only because of Transaction support > > First we are forced to use JEE6, sadly , > Second, we have M

Re: Just curious, what parts of JEE is everyone using?

2015-02-08 Thread Yann Blazart
All of the année too. But EJB3 Not Only because of Transaction support First we are forced to use JEE6, sadly , Second, we have Mdb, use of async methodes, timer and scheduled, and @lock on @singleton and more of that Ejb remote, yes it is usefull. Le 8 févr. 2015 19:41, "Romain Manni-Bucau

Re: Namespace for openejb-jar.xml changed between 1.7.1 & 1.7.2 ?

2014-11-25 Thread Yann Blazart
e is a sample > > https://git-wip-us.apache.org/repos/asf?p=tomee.git;a=blob;f=examples/webservice-ws-with-resources-config/src/main/resources/META-INF/openejb-jar.xml;h=cb05baec48602f04a3bd3bc52a386f4b5f8965ac;hb=91e9840fe035ba433cffa3d4f64a8f5151882be2 > > > Romain Manni-Bucau > @rman

Namespace for openejb-jar.xml changed between 1.7.1 & 1.7.2 ?

2014-11-25 Thread Yann Blazart
Namespace has changed between 1.7.1 and 1.7.2 for openejb-jar.xml ? http://openejb.apache.org/xml/ns/openejb-jar-2.2 -> 1.7.1 http://tomee.apache.org/xml/ns/openejb-jar-2.2 -> 1.7.2 Caused by: javax.xml.bind.UnmarshalException: élément inattendu (URI : " http://openejb.apache.org/xml/ns/openej

Re: Tomee (plus/plume) 1.7.1 : Already a destination Bug

2014-11-24 Thread Yann Blazart
//www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-11-21 14:54 GMT+01:00 Yann Blazart : > > Same... > > > > I use : > > > > org.apache.openejb.maven > > tomee-maven-plugin

Re: Tomee (plus/plume) 1.7.1 : Already a destination Bug

2014-11-21 Thread Yann Blazart
ce it doesn't use > this destination anymore > > > Romain Manni-Bucau > @rmannibucau > http://www.tomitribe.com > http://rmannibucau.wordpress.com > https://github.com/rmannibucau > > > 2014-11-21 14:10 GMT+01:00 Yann Blazart : > > Hi ! > > > > I&#

Remote EJB informations

2014-11-21 Thread Yann Blazart
Just to share some thing. To access to a remote EJB, the doc show you can use a JndiProvider et an @EJB annotation with a mapped name. *This is non portable.* To make it usable, in a portable manner I'm using it following theses principles : public String testRemote() { RemoteCalc remot

Tomee (plus/plume) 1.7.1 : Already a destination Bug

2014-11-21 Thread Yann Blazart
Hi ! I'm facing to a reload bug while developping on TomEE. I'm using the tomee maven plugin. My application is packaged in an EAR (I have to deal with it). The webservice is an EJB packaged in a jar. This jar is included in the WEB-INF/lib The first load is ok. INFO: Webservice(wsdl= http://l

Re: Apache TomEE Cookbook

2013-08-21 Thread Yann Blazart
Sorry, but it's the printed version ? Where can I buy the pdf version ? 2013/8/21 Gurkan Erdogdu > Hi folks > > I have written a small cook book about Apache TomEE. My book "Apache TomEE > Cookbook" published by Amazon Create Space. You can get e-book format of > the book from http://tinyurl.co