Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-12-16 Thread jieryn
I never got this working all my ITs are broken. :-( On Fri, Dec 16, 2016 at 6:53 PM, alexdron wrote: > Romain, > Do you know if that was resolved? > > I have a similar issue. Jackson provider v2.1.5 was working perfectly fine > along with Tomee Plus 7.0.1 until we

Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-21 Thread jieryn
er.com/rmannibucau> | Blog > <https://blog-rmannibucau.rhcloud.com> | Old Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rm

Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-17 Thread jieryn
b.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-11-17 18:43 GMT+01:00 jieryn <jie...@gmail.com>: > >> I have to support application/xml too though. >>

Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-17 Thread jieryn
annibucau.wordpress.com> | Github <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory > <https://javaeefactory-rmannibucau.rhcloud.com> > > 2016-11-17 18:37 GMT+01:00 jieryn <jie...@gmail.com>: > >> I thi

Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-17 Thread jieryn
y("thing-1"); } } ...can I just disable Johnzon with some configuration file under src/main/tomee/conf/? or src/main/webapp/WEB-INF/? On Thu, Nov 17, 2016 at 12:28 PM, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > 2016-11-17 18:12 GMT+01:00 jieryn <jie...@gmail.c

Re: TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-17 Thread jieryn
but not wildcard > > Le 11 nov. 2016 21:50, "jieryn" <jie...@gmail.com> a écrit : > >> Hi, I'm hitting another migration issue. With 1.7, we see these providers: >> >> INFO: Using providers: >> Nov 11, 2016

TomEE 1.7 -> 7.x migration - Arquillian and JAX-RS providers

2016-11-11 Thread jieryn
Hi, I'm hitting another migration issue. With 1.7, we see these providers: INFO: Using providers: Nov 11, 2016 3:43:19 PM org.apache.openejb.server.cxf.rs.CxfRsHttpListener configureFactory INFO: com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider@3703a400 Nov 11, 2016 3:43:19 PM

Re: Apache TomEE 7 - tomee:run - resource reloading failing

2016-11-08 Thread jieryn
.css .html .js .ui.xml - 8009 plus 8080 8005 7.0.1 tomee /home/jieryn/workspaces

Apache TomEE 7 - tomee:run - resource reloading failing

2016-11-08 Thread jieryn
Nov 08, 2016 5:18:51 PM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri=http://localhost:8080/tomee/ejb} Nov 08, 2016 5:18:51 PM org.apache.openejb.client.EventLogger log WARNING: RequestFailed{server=http://localhost:8080/tomee/ejb}

Re: TomEE 7.0.1 + Arquillian + Java 8

2016-11-02 Thread jieryn
, Nov 2, 2016 at 4:17 PM, Romain Manni-Bucau <rmannibu...@gmail.com> wrote: > Cdi api jar of ee 6 in the deps > > Le 2 nov. 2016 21:07, "jieryn" <jie...@gmail.com> a écrit : > >> Some of my Arquillian tests are now failing with the following error. >>

TomEE 7.0.1 + Arquillian + Java 8

2016-11-02 Thread jieryn
Some of my Arquillian tests are now failing with the following error. Many tests pass fine, any hints? Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Creating application failed: /home/jieryn/workspaces/acme/com.acme.base/web/jaxrs/hostname/target

tomee:exec built executable, dynamic port setting?

2015-10-30 Thread jieryn
How can a user override the ports I specified during the building of the executable war? The tomcat:exec built executable allows command line flag overriding. I looked through the documentation and haven't discovered it, sorry, any help is appreciated, thanks!

Re: Arquillian and TomEE Embedded

2015-10-08 Thread jieryn
onal.exclude=prefix1,prefix2container> > > > 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&g

TomEE comparision page; SSL errors

2015-05-29 Thread jieryn
https://tomee.apache.org/comparison.html This page references images off site and behind an ASF protected authentication. It seems it would just be easier to put an 'x' mark instead and avoid these SSL issues. Also, the firefox is complaining about this page's SSL certificate.

Re: Tomee version for Tomcat 7.0.59

2015-05-21 Thread jieryn
Tried the binaries, the maven plugin, the arquillian support. Several internal projects, mainly JPA, BVAL, JAXB, JAXRS, Servlet. Everything is working as expected. Thanks! On Thu, May 21, 2015 at 2:27 PM, Jonathan Gallimore jgallim...@tomitribe.com wrote: I second that - if you have tried the

TomEE 2.0.0-SNAPSHOT JAX-RS JSON Serialization

2015-05-05 Thread jieryn
I am trying out tomee-embedded-m-p:2.0.0-SNAPSHOT to get past a couple of 1.7.1 issues. I can successfully get TomEE to serve up my JAX-RS resources, but by default it seems to only want to serialize as XML. How can I additionally get JSON? During start up I see: [INFO] Using providers: [INFO]

Re: Apache TomEE and symlinks

2015-03-17 Thread jieryn
Is 1.7.x relegated to just security fixes now? I'm just curious how likely we are to see a 1.7.2 without some critical vulnerability being disclosed.. On Fri, Mar 13, 2015 at 2:01 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Sure Le 13 mars 2015 01:37, jieryn jie...@gmail.com a écrit

Re: Apache TomEE and symlinks

2015-03-17 Thread jieryn
://www.tomitribe.com On Wed, Mar 18, 2015 at 1:25 AM, jieryn jie...@gmail.com wrote: Is 1.7.x relegated to just security fixes now? I'm just curious how likely we are to see a 1.7.2 without some critical vulnerability being disclosed.. On Fri, Mar 13, 2015 at 2:01 AM, Romain Manni-Bucau rmannibu

Re: Strange ROOT.unpacked directory

2015-03-13 Thread jieryn
like it - not related to ROOT - on snapshots Le 13 mars 2015 02:46, jieryn jie...@gmail.com a écrit : Using Apache TomEE 1.7.1 PLUS. I can't remember if this is new, or relatively new, or but automatic unpack of the ROOT.war application seems to be triggering the creation of ROOT.unpacked

Apache TomEE and symlinks

2015-03-12 Thread jieryn
I have a fresh Apache TomEE 1.7.1 PLUS unpacked. My ROOT.war web application has many @WebServlets in WEB-INF/lib/*jar files. If I start the application they are automatically discovered. If I now symlink the apache-tomee-plus-1.7.1 to be apache-tomee-wtf, and then start up exactly the same way,

Re: Tomee 1.7.1 compatible in Java 8

2015-02-19 Thread jieryn
It's a quick fix.. DeltaSpike should do it *cough cough* https://weblogs.java.net/blog/montanajava/archive/2014/06/17/using-java-8-datetime-classes-jpa On Thu, Feb 19, 2015 at 1:47 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: yes but JPA doesnt support it even in JavaEE 7 Romain

Re: EJB timers stop working.

2015-02-11 Thread jieryn
I've seen this in production for quite a while, too, on Apache TomEE 1.7.1. I've never been able to catch a log message which showed it, we end up having to restart periodically in order to ensure the timers are reactivated. I suspect this is a user error, but .. no log messages. It's not easy to

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
can go from proxy to HTTP pretty easily and it makes code really easier than having to stick on string (path, param name etc...). Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-24 21:16 GMT+01:00 jieryn jie

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
, 2015 at 3:56 PM, jieryn jie...@gmail.com wrote: It looks like: dependency groupIdorg.apache.cxf/groupId artifactIdcxf-rt-rs-client/artifactId version3.0.3/version scopetest/scope /dependency does the trick, now I can javax.ws.rs.client.ClientBuilder.newClient

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
am I out of luck? On Sat, Jan 24, 2015 at 4:35 PM, jieryn jie...@gmail.com wrote: Damn, spoke too soon: java.lang.NoSuchMethodError: org.apache.cxf.bus.managers.BindingFactoryManagerImpl.setMapProvider(Lorg/apache/cxf/configuration/spring/MapProvider;)V

JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
What is the preferred Apache / Apache TomEE dependency to start using JAX-RS 2.0 Client API? I want to write tests using the 2.0 client code without hard depending on specific implementation (currently Apache Wink).

Re: JAX-RS 2.0: Client API

2015-01-24 Thread jieryn
Yep, looks like it.. TomEE depends on: cxf.version2.6.16/cxf.version So am I out of luck? On Sat, Jan 24, 2015 at 4:35 PM, jieryn jie...@gmail.com wrote: Damn, spoke too soon: java.lang.NoSuchMethodError: org.apache.cxf.bus.managers.BindingFactoryManagerImpl.setMapProvider(Lorg/apache

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 17:41 GMT+01:00 jieryn jie...@gmail.com: https://github.com/jieryn/javaee-example Would someone please give that small example project a try (mvn install)? The same tests using JAX-RS 2.0 Client library (via jboss

JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
https://github.com/jieryn/javaee-example Would someone please give that small example project a try (mvn install)? The same tests using JAX-RS 2.0 Client library (via jboss resteasy) fail, but work with Apache Wink's native client. I'm also seeing other weird errors with not being able to marshal

Re: JAX-RS Testing with JAX-RS 2.0 Client

2015-01-15 Thread jieryn
? Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2015-01-15 19:28 GMT+01:00 jieryn jie...@gmail.com: Oh, hm, I'm seeing something else strange now: java.lang.NoSuchMethodError: javax.ws.rs.core.Response.getMediaType

Re: Testing Best practices - JPA persistence.xml different between Arquillian JUnit test and deploy in Production

2014-11-19 Thread jieryn
I'd recommend using Apache Maven to build, test, and deploy your application. Then you can just have src/main/webapp/META-INF/persistence.xml for your production persistence.xml, and src/test/resources/META-INF/persistence.xml as your test persistence.xml, and finally your

Re: apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-07 Thread jieryn
http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-11-06 22:17 GMT+00:00 jieryn jie...@gmail.com: Sorry, it's TomEE 1.7.1. On Thu, Nov 6, 2014 at 5:16 PM, jieryn jie...@gmail.com wrote: https://github.com/jieryn/javaee-example mvn install ; mvn -pl :war tomee:run

apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-06 Thread jieryn
https://github.com/jieryn/javaee-example mvn install ; mvn -pl :war tomee:run Notice two deployments: INFO: REST Application: http://localhost:8080/ - org.apache.openejb.server.rest.InternalApplication INFO: REST Application: http://localhost:8080/api

Re: apache tomee 1.7.0 -- rest application duplicate deploy

2014-11-06 Thread jieryn
Sorry, it's TomEE 1.7.1. On Thu, Nov 6, 2014 at 5:16 PM, jieryn jie...@gmail.com wrote: https://github.com/jieryn/javaee-example mvn install ; mvn -pl :war tomee:run Notice two deployments: INFO: REST Application: http://localhost:8080

Re: Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2014-10-30 Thread jieryn
I was giving you an example. You need to replace it wink-* junk with whatever is causing the problems for you.. Romain: in my case, we don't use CXF directly because we have legacy JAX-RS client stuff that pre-dates JAX-RS 2.0 client stuff. And even if we didn't, TomEE doesn't yet bundle the nice

Re: Apache TomEE 1.7.0 Release

2014-08-15 Thread jieryn
YES GREAT WORK EVERYONE! On Fri, Aug 15, 2014 at 8:58 AM, Andy Gumbrecht agumbre...@tomitribe.com wrote: Boom!!! @ApacheTomEE 1.7.0 release rocks @TheASF world today - http://tomee.apache.org http://t.co/ahbu6794su Hi Absolutely Everyone, Finally, we made it through the vote. We are so

Re: tomee-maven-plugin @PersistenceUnit multiple matches

2014-07-17 Thread jieryn
I think the current behavior should be left alone. If you have an Apache Maven multi-module project where you are putting different persistence.xml units for different modules, then you should exclude them from the final artifact for those intermediary modules. Both m-jar-p and m-war-p support

recent tomee / arquillian / openjpa failure

2014-06-03 Thread jieryn
/jieryn/javaee-example https://travis-ci.org/jieryn/javaee-example/builds/26695945 Check out, build with mvn clean install. Failure will be because of persistence.xml location failure. Please note, if I run with -Dtest= listing a single test class, it works as expected. So it seems there is some

Split from OpenEJB?

2014-04-03 Thread jieryn
Should Apache TomEE be its own project?

tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread jieryn
Hello, trying to embed tomee into a tomcat 7 executable war via tomcat7-m-p:2.0 (2.1 and 2.2 have huge failures). The executable war is built and seems to want to run except it takes an exception on start up: https://gist.github.com/jieryn/312e8d14fae84ee7da95 This is with pom.xml and src/main

Re: tomee 1.6.1-snapshot tomcat7:exec-war-only failure

2014-03-05 Thread jieryn
for your help! On Wed, Mar 5, 2014 at 4:11 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: It needs a npe protection i was not able to commit tonight (ill try tmr if nby beats be) Thats a case you cant get with normal tomcat/tomee actually. Le 5 mars 2014 20:59, jieryn jie...@gmail.com

Re: Deploying Archiva on tomEE+

2013-12-02 Thread jieryn
http://jira.codehaus.org/browse/MRM-1794 On Mon, Dec 2, 2013 at 2:14 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: upgrading archiva to quartz 2 would make everybody happy

Re: tomee maven plugin

2013-11-25 Thread jieryn
Try again with the recently released Apache TomEE 1.6.0? On Mon, Nov 25, 2013 at 9:01 PM, José Luis Cetina maxtorz...@gmail.com wrote: Any advice?

Re: Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2013-11-22 Thread jieryn
: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/22 jieryn jie...@gmail.com: Oh, I see they are.. I requested they be ignored because of messages like: 22-Nov-2013 09:25:47.581 WARNING [localhost

Re: Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2013-11-21 Thread jieryn
This is happening again with the recently released Apache TomEE 1.6.0 Plus. Aaargh. On Wed, Oct 9, 2013 at 3:09 PM, jieryn jie...@gmail.com wrote: Some changes in between apache-tomee-1.6.0-20131008.041119-199-plus.tar.gz and apache-tomee-1.6.0-20131009.041119-200-plus.tar.gz are causing

Re: Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2013-11-21 Thread jieryn
Yes, I'm sure. Here is an example project which demonstrates the problem: https://github.com/jieryn/tomee-wink-failure Make sure you run: mvn clean package tomee:run You will see the java.lang.InstantiationException being thrown. On Thu, Nov 21, 2013 at 4:26 PM, Romain Manni-Bucau rmannibu

Re: Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2013-11-21 Thread jieryn
/jira/browse/TOMEE-1085 btw you can add in exclusions.list the line wink-client to workaround it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/22 jieryn jie

Re: Apache TomEE Maven Plugin -- Executable WAR

2013-11-18 Thread jieryn
? it should work. 2013/11/18 jieryn jie...@gmail.com: Is there any easy way to produce an executable WAR file, which embeds Apache TomEE? Apache Tomcat Maven plugin makes this trivial - http://tomcat.apache.org/maven-plugin-2.2/executable-war-jar.html It is extremely convenient to be able

Re: Apache TomEE Maven Plugin -- Executable WAR

2013-11-18 Thread jieryn
/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/18 jieryn jie...@gmail.com: According to Maven Repository: http://search.maven.org/#search|ga|1|tomee there seems to be a problem with that WAR module TomEE provides. I see: org.apache.openejb:tomee-jaxrs-webapp:1.5.2

Re: Apache TomEE Maven Plugin -- Executable WAR

2013-11-18 Thread jieryn
if you spend few time doing the plus uber jar we can add it (just open a jira for it and attach a patch) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/11/18 jieryn

Apache TomEE - Disable Timer ?

2013-11-17 Thread jieryn
Is it possible to disable the Quartz timer via a property or some other configuration option? I am running tests in Arquillian and want to test some of my @Schedule logic, but do not want the @Schedule to actually fire.. Thanks!

Apache TomEE Maven Plugin -- Executable WAR

2013-11-17 Thread jieryn
Is there any easy way to produce an executable WAR file, which embeds Apache TomEE? Apache Tomcat Maven plugin makes this trivial - http://tomcat.apache.org/maven-plugin-2.2/executable-war-jar.html It is extremely convenient to be able to bundle up a single JAR file which contains everything

Re: Apache TomEE and @Schedule timeout

2013-10-31 Thread jieryn
scheduling. In particular in write mode. We have a retry config but maybe check you do what you want cause all technical solutions about this timeout will be workarounds and not real solutions Le 31 oct. 2013 05:58, jieryn jie...@gmail.com a écrit : Thanks for that information, Howard. Even

Re: Apache TomEE and @Schedule timeout

2013-10-31 Thread jieryn
://github.com/rmannibucau 2013/10/31 jieryn jie...@gmail.com: Hello, I did not customize the timeout of the transaction manager, I'm sorry, how do I do that? The transaction time is generally less than the @Schedule frequency, unless something goes wrong, and then we have more and more

Re: Apache TomEE and @Schedule timeout

2013-10-31 Thread jieryn
-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2013/10/31 jieryn jie...@gmail.com: Thank you for that information, I also find https://tomee.apache.org/containers-and-resources.html

Apache TomEE and @Schedule timeout

2013-10-30 Thread jieryn
Greetings, I'm using Apache TomEE 1.6.0-SNAPSHOT from a couple of weeks ago. I am frequently seeing my @Lock(LockType.WRITE) @Singleton @Startup MySchedule { @Schedule(/**/) public void run() { /* slowish */ } } have the following error: WARNING [EjbTimerPool - 901]

Re: Apache TomEE and @Schedule timeout

2013-10-30 Thread jieryn
/gipsz/index.html */ @Singleton @Lock(LockType.WRITE) @AccessTimeout(value = 2, unit = TimeUnit.MINUTES) public class EmailRequestBean { On Wed, Oct 30, 2013 at 8:38 AM, jieryn jie...@gmail.com wrote: Greetings, I'm using Apache TomEE 1.6.0-SNAPSHOT from a couple of weeks ago. I am

Apache TomEE Maven Plugin - broken config parameter

2013-10-26 Thread jieryn
an example of this here: https://github.com/jieryn/multiple-contexts-example Run mvn install from root module, then tomee:start from the tomee module. If tomee/src/main/tomee/conf/server.xml is respected, TomEE will run on 9xxx instead of 8xxx port number scheme. I can even break the server.xml

Re: Apache TomEE Maven Plugin - broken config parameter

2013-10-26 Thread jieryn
Greetings, On Sat, Oct 26, 2013 at 10:24 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Looks keepServerXmlAsThis http://tomee.apache.org/tomee-maven-plugin.html Looks like a camel-case typo, the property is keepServerXmlAsthis, with a lower case t. When I set this property it behaves more

Re: Manager Context in server.xml, Broken

2013-10-15 Thread jieryn
oct. 2013 22:19, jieryn jie...@gmail.com a écrit : I'll add it, but this is a difference with Apache Tomcat. Tomcat happily handles this case.. I'd expect Apache TomEE to handle it the same way. On Thu, Oct 10, 2013 at 4:14 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Docbase

Re: Manager Context in server.xml, Broken

2013-10-15 Thread jieryn
* *Blog: **http://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/15 jieryn jie...@gmail.com I tested out a locally built version for 20131012, and that indeed fixes the /manager

Re: Manager Context in server.xml, Broken

2013-10-15 Thread jieryn
://github.com/rmannibucau* 2013/10/15 jieryn jie...@gmail.com It is deployed, but @EJBs are not injected. If I just revert back to 20131003 it works. On Tue, Oct 15, 2013 at 11:37 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: you mean ROOT.war doesn't work? I use it ATM *Romain Manni

Re: Apache TomEE 1.6.0-SNAPSHOT - web-fragment.xml UnmarshallException

2013-10-09 Thread jieryn
://rmannibucau.wordpress.com/*http://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/8 jieryn jie...@gmail.com Right, I have this: https://github.com/jieryn/web-fragment-example But it works, much to my surprise and sadness

Re: Apache TomEE 1.6.0-SNAPSHOT - web-fragment.xml UnmarshallException

2013-10-09 Thread jieryn
://github.com/rmannibucau* 2013/10/9 jieryn jie...@gmail.com Thanks, I gave apache-tomee-1.6.0-20131009.041119-200-plus.tar.gz a try, but am now taking other errors: INFO [localhost-startStop-1] org.apache.openejb.config.ConfigurationFactory.configureApplication Configuring enterprise

Re: Apache TomEE 1.6.0-SNAPSHOT - web-fragment.xml UnmarshallException

2013-10-09 Thread jieryn
://rmannibucau.wordpress.com/ *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau* 2013/10/9 jieryn jie...@gmail.com Sorry? This means I need to have a context-param defined for javax.ws.rs.Application? I haven't done that before, TomEE used to just auto

Apache TomEE 1.6.0-SNAPSHOT -- Recent Regression with REST Application

2013-10-09 Thread jieryn
: org.apache.wink.client.ClientConfig$1$1 at java.lang.Class.newInstance(Class.java:359) at org.apache.openejb.config.AnnotationDeployer$ProcessAnnotatedBeans.deploy(AnnotationDeployer.java:2004) ... 22 more To replicate this: $ git clone https://github.com/jieryn/javaee-example ; cd javaee-example $ mvn

Apache TomEE 1.6.0-SNAPSHOT - web-fragment.xml UnmarshallException

2013-10-08 Thread jieryn
I'm using Apache TomEE 1.6.0-SNAPSHOT from October 8th. I have seen these errors for a while now, but am not able to reproduce it in a sample project. I have a lot of WEB-INF/lib/blah.jar files which contain META-INF/web-fragment.xml files which configure the system modularly. At start up, I see

Re: Apache TomEE 1.6.0-SNAPSHOT - web-fragment.xml UnmarshallException

2013-10-08 Thread jieryn
Right, I have this: https://github.com/jieryn/web-fragment-example But it works, much to my surprise and sadness. Would it be useful if the mergeWeb would print out the web-fragment.xml it is processing if there is an error? I think this will be more useful as more people take increasing

Apache TomEE 1.6.0-SNAPSHOT -- NPE

2013-10-07 Thread jieryn
I'm using Apache TomEE 1.6.0-SNAPSHOT (META-INF/**/pom.properties says Wed Oct 02 04:10:23 UTC 2013) with IBM Java 1.7. I'm taking the following NPE at application start: 07-Oct-2013 20:25:11.730 INFO [localhost-startStop-1] org.apache.cxf.endpoint.ServerImpl.initDestination Setting the server's

Re: Memory leak by openejb.pool.scheduler

2013-09-27 Thread jieryn
shutdown messages about ThreadLocal resources / Threads started but not stopped. I still see a warning message when using a non-persistence @Scheduled though.. Please run 'mvn clean package tomee:run' against https://github.com/jieryn/javaee-example and then wait up to 1 minute for the timer to pop

Re: TomEE Surefire Arquillian

2013-09-26 Thread jieryn
and the sample! It really helps :) *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/9/23 jieryn

Re: TomEE Surefire Arquillian

2013-09-23 Thread jieryn
I've updated an example project here: https://github.com/jieryn/javaee-example It uses all -SNAPSHOT versions for TomEE, and if you grep the logs for ProtocolHandler you will see that port 8080 is being used. Despite setting the port to -1 via m-surefire-p configuration. TomEE is not obeying

TomEE Surefire Arquillian

2013-09-13 Thread jieryn
Greetings, TomEE 1.6.0.beta1 and all the latest Arquillian and Surefire plugins are in use. I'm following the instructions here: https://tomee.apache.org/arquillian-available-adapters.html Despite the claims, TomEE does not obey m-surefire-p configuration for tomee: plugin

Re: tomee-maven-plugin - run unpacked war

2013-09-12 Thread jieryn
That works, THANK YOU! On Thu, Sep 12, 2013 at 1:04 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: To get auto update (F5) synchronization + config of the app (myfaces in dev mode etc) works. To deploy an unpacked app just set the app folder as warFile in configuration instead of the

tomee-maven-plugin - run unpacked war

2013-09-11 Thread jieryn
Greetings, The tomee-maven-plugin currently supports running packed applications in TomEE directly (via :run mojo) but does not appear to have any way to running an exploded war. This kind of execution is very helpful for rapid application development. I created

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-09-06 Thread jieryn
(ROLLBACK) addition, this still fails: https://travis-ci.org/jieryn/javaee-example/builds/11058408

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-09-06 Thread jieryn
Greetings, On Fri, Sep 6, 2013 at 9:39 AM, jieryn jie...@gmail.com wrote: On Thu, Sep 5, 2013 at 5:28 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: no, you need to specify it using arquillian @Transactional(ROLLBACK) either on the class or methods. Note: it only works in server side

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-22 Thread jieryn
On Thu, Aug 22, 2013 at 2:51 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Removing it in DAO makes your test green Ok, that worked for the DAO tests but not for the Service test. There's still a failure to inject the @EJB which is a @Path resource. It works live in tomee:run, but not in

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-22 Thread jieryn
Greetings, On Thu, Aug 22, 2013 at 11:14 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Your persistence.xml is not where ut should. Take care shrinkwrap api doest use webinf/classes/metainf for manifestresources in webarchive I think you are referring to

tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-21 Thread jieryn
Greetings, I am using Apache TomEE 1.6.0-SNAPSHOT. I'm seeing a failure to inject a @PersistenceContext into a @Stateless DAO pattern inside Arquillian tests running in embedded TomEE. An example project is here: https://github.com/jieryn/javaee-example Notice that general DAO is injected

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-21 Thread jieryn
Thanks, removed that modifier. No change. On Wed, Aug 21, 2013 at 5:47 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: PS: final methods are forbidden in EJBs ;)

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-21 Thread jieryn
Hi, On Wed, Aug 21, 2013 at 5:25 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: Hi does it work in plain tomee? I pushed some pom.xml updates that enable tomee:run, however it isn't being deployed properly there either.

Re: tomee 1.6.0-SNAPSHOT, ejb example failing to inject @persistencecontext

2013-08-21 Thread jieryn
Hi, On Wed, Aug 21, 2013 at 7:31 PM, jieryn jie...@gmail.com wrote: On Wed, Aug 21, 2013 at 5:25 PM, Romain Manni-Bucau rmannibu...@gmail.com wrote: does it work in plain tomee? I pushed some pom.xml updates that enable tomee:run, however it isn't being deployed properly there either

Re: TomEE: Apache Derby vs HSQLDB

2013-08-05 Thread jieryn
Greetings, On Fri, Jul 26, 2013 at 1:08 AM, Romain Manni-Bucau rmannibu...@gmail.com wrote: We discussed it on dev list and we ship the same db in openejb and tomee and derby is slower than hsqldb which is nit acceptable for tests. I'm not immune to that kind of argument, I think things should

Re: TomEE plans for Java EE 7

2013-06-03 Thread jieryn
Greetings, On Mon, Jun 3, 2013 at 12:36 AM, David Blevins david.blev...@gmail.com wrote: Exactly. We need all these projects to complete their portion of JavaEE 7: - CDI 1.1 - Apache OpenWebBeans - EJB 3.2 - Apache OpenEJB - JPA 2.1 - Apache OpenJPA - JSF 2.2 - Apache MyFaces - Servlet