Re: The simple-singleton example page is not accurate.

2014-08-13 Thread Romain Manni-Bucau
Hi Sources are here https://github.com/apache/tomee/tree/trunk/examples/simple-singleton Le 14 août 2014 04:37, "Nie Fei" a écrit : > Hi, > > I saw the code example for ComponentRegistry is wrong in > http://tomee.apache.org/examples-trunk/simple-singleton/README.html > > Do you guys know the ri

Re: Feedback on TomEE 1.6.0.2

2014-08-13 Thread Romain Manni-Bucau
Le 14 août 2014 01:50, "titou10" a écrit : > > Romain Manni-Bucau wrote > > feedback welcomed on 2.0-SNAPSHOT > > Romain, > Where/how to get TomEE 2.0-SNAPSHOT? > Didn't find anything on how to get the bundle and/or the source on the site > nor in the subversion rep. > > http://tomee.apache.org/d

Re: Application that contains jersey fails to start

2014-08-13 Thread Romain Manni-Bucau
You found it :) Le 14 août 2014 01:34, "Markus F. Frisch" a écrit : > Found it: > — > openejb.api.javax.ws.rs.Path.validation=false > — > does the trick. > > Markus > > > -- > Markus Frisch > [Prokurist / Authorized Representative] > nobisCum Deutschland GmbH > > [T] +49 9302 / 987 97 - 2

The simple-singleton example page is not accurate.

2014-08-13 Thread Nie Fei
Hi, I saw the code example for ComponentRegistry is wrong in http://tomee.apache.org/examples-trunk/simple-singleton/README.html Do you guys know the right code example? thanks BR, /nf

Re: Feedback on TomEE 1.6.0.2

2014-08-13 Thread titou10
Romain Manni-Bucau wrote > feedback welcomed on 2.0-SNAPSHOT Romain, Where/how to get TomEE 2.0-SNAPSHOT? Didn't find anything on how to get the bundle and/or the source on the site nor in the subversion rep. Romain Manni-Bucau wrote > where you want since that's configurable for your need in

Re: Application that contains jersey fails to start

2014-08-13 Thread Markus F. Frisch
Found it: — openejb.api.javax.ws.rs.Path.validation=false — does the trick. Markus -- Markus Frisch [Prokurist / Authorized Representative] nobisCum Deutschland GmbH [T] +49 9302 / 987 97 - 2633 [M] +49 173 / 91 88 058 [@] markus.fri...@nobiscum.de [URL

RE: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread TestHorse
I added the following to the jars.txt file: /home/tomee/lib/*.jar And go this exception. Is the "*" not legal?: java.lang.IllegalArgumentException at org.apache.xbean.asm4.ClassReader.(Unknown Source) at org.apache.xbean.asm4.ClassReader.(Unknown Source) at

Re: Application that contains jersey fails to start

2014-08-13 Thread Anthony Fryer
MarkusFrisch wrote > If so - what would you recommend as a replacement? You could always use apache cxf which is bundled with tomee. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Application-that-contains-jersey-fails-to-start-tp4671125p4671129.html Sent from the

Re: JEST on TOMEE not Work

2014-08-13 Thread mauro2java2011
standalone significant for use only with Jest servlet without another servlet . It is specificated the name of unit persistence into web.xml. The emf is instanciated from Jest servlet and not detected from another servlet. So finally i you ask: i set openjpa.EntityManagerFactoryPool=true in co

Re: Application that contains jersey fails to start

2014-08-13 Thread Markus F. Frisch
I think I'll be able to find that property then. Will write another message if I can't track it down. ThX a lot! Markus Von einem iPhone gesendet > Am 13.08.2014 um 23:36 schrieb "Romain Manni-Bucau" : > > There is a hack for jersey to allow to load its classes. I dont have the > name of th

Re: Application that contains jersey fails to start

2014-08-13 Thread Romain Manni-Bucau
There is a hack for jersey to allow to load its classes. I dont have the name of the property here (phone) but it is possible to use jersey even if it is wrongly packaged. Property is in tomeeclassloaderenricher iirc if someone wants to have a look. Le 13 août 2014 23:32, "Markus F. Frisch" a écr

Application that contains jersey fails to start

2014-08-13 Thread Markus F. Frisch
I have an application that acts as a client for a RESTful WS. This application uses jersey-client (1.18.1) to make the WS calls. This application fails to load on TomEE+ 1.7.0-SNAPSHOT with the following error: ——— Caused by: java.lang.ClassNotFoundException: com.sun.jer

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread TestHorse
I just looked into it briefly, and at first glance it looks like it is exactly what I need. You are the man sir! -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Webapp-Logback-Logging-Does-Not-Work-Using-Tomee-Plus-1-6-0-on-Linux-tp4671110p4671124.html Sent from the T

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread Romain Manni-Bucau
PS: for wars you can use jars.txt to split it physically but not logically (for container) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-13 22:20 GMT+02:00 TestHorse

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread TestHorse
Gotcha. I think we initially tried using an EAR but moved away from that approach due to the requirement for remote updates and bandwidth restrictions (only update necessary lib's instead of one "huge" ear file). Thanks for the help :). -- View this message in context: http://tomee-openejb.9

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread Romain Manni-Bucau
right doing an ear can help even if more complicated Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-13 22:11 GMT+02:00 TestHorse : > Hi Romain, thank you for the qui

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread TestHorse
Hi Romain, thank you for the quick response. Unfortunately I do not have a sample I can share, but I think I am closer to solving my problem. 1. Yes, I do have slf4j-api in WEB-INF/lib. 2. I just meant to say all of my webapp specific logs were directed to catalina.out instead of my "app.log" fil

Re: Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread Romain Manni-Bucau
hi do you have a sample to share? you have slf4j-api in web-inf/lib? Side note: catalina.out can be created even if logback works. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannib

Re: JEST on TOMEE not Work

2014-08-13 Thread Romain Manni-Bucau
2014-08-13 20:06 GMT+02:00 mauro2java2011 : > But if i use the second solution i ask: > If i inject a entitymanagerfactory then is pooled ? Or i have to write a > method producer cdi for get thr entitymanagetfactory pooled? No you need to set *programmatically* this property. > > And if i use th

Re: JEST on TOMEE not Work

2014-08-13 Thread mauro2java2011
But if i use the second solution i ask: If i inject a entitymanagerfactory then is pooled ? Or i have to write a method producer cdi for get thr entitymanagetfactory pooled? And if i use the sokution 1 whst it is the dtandalond init parameter ? Il 13/ago/2014 17:27 "Romain Manni-Bucau [via TomEE

Webapp Logback Logging Does Not Work Using Tomee Plus 1.6.0 on Linux

2014-08-13 Thread TestHorse
I am able to get logback logging to work correctly on my development environment (Windows) using Tomee 1.6.0.1; however, whenever I try to deploy the webapp on my Tomee server on Linux, it never creates the "test.app.log" file specified in the logback.xml configuration file inside of the WEB-INF/cl

Re: HELL issues with TomEE

2014-08-13 Thread Romain Manni-Bucau
Hi it just means you request doesn't match what is deployed or you have a conflicting endpoint (another servlet on /* for instance) You need to give us more details or a sample if you want some help here :( Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedI

Re: HELL issues with TomEE

2014-08-13 Thread Thiago Veronezi
Hi Ravi, Please share a Github sample application, otherwise there's no much one can do to help. []s, Thiago On 13 Aug 2014 11:26, "sravikumar" wrote: > trying to deploy simple JAX-RS app with JPA,Hibernate. With eclipse > pathetic > integration, you have to do maven clean install, project clea

Re: JEST on TOMEE not Work

2014-08-13 Thread Romain Manni-Bucau
Hi I guess you have no exception? If so try to put openjpa.EntityManagerFactoryPool=true in conf/system.properties Also set "standalone" init parameter of the jest servlet to true. An alternative is to extend jest servlet to set the entity manager factory using an injected one. Romain Mann

HELL issues with TomEE

2014-08-13 Thread sravikumar
trying to deploy simple JAX-RS app with JPA,Hibernate. With eclipse pathetic integration, you have to do maven clean install, project clean and RUN on Server and it starts up, shows all the Endpoints but when a request is posted to the endpoint it throws as ERROR*WARNING: No operation matching requ

Re: Arquillian and Remote TomEE

2014-08-13 Thread Romain Manni-Bucau
or the staging repo maybe (that's what I meant)? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-13 14:37 GMT+02:00 Alex Soto : > Cool now trying to use the snapshot,

Re: Feedback on TomEE 1.6.0.2

2014-08-13 Thread Romain Manni-Bucau
Hi 2014-08-13 14:32 GMT+02:00 titou10 titou10 : > Hi, > > Just seen the link on the top of the download page.. > > I'm a beginner with TomEE (Comming from WebSphere v8.5) and I'm sure I've > not yet discovered all the features of TomEE > > Here my 2 cents about TomEE: > > - logging is a real mess

Feedback on TomEE 1.6.0.2

2014-08-13 Thread titou10 titou10
Hi, Just seen the link on the top of the download page.. I'm a beginner with TomEE (Comming from WebSphere v8.5) and I'm sure I've not yet discovered all the features of TomEE Here my 2 cents about TomEE: - logging is a real mess with TomEE. I've read somewhere that it will be better in v2.0, l

Re: Arquillian and Remote TomEE

2014-08-13 Thread Alex Soto
Cool now trying to use the snapshot, :) I will keep you informed. 2014-08-13 14:36 GMT+02:00 Andy Gumbrecht : > At least 1.6.0.2 - Not sure that will help, as I think what you need is > only in 1.7.x - We may get a release tonight if some of the other PMC > members submit a vote. > > Andy. > > -

Re: Arquillian and Remote TomEE

2014-08-13 Thread Andy Gumbrecht
At least 1.6.0.2 - Not sure that will help, as I think what you need is only in 1.7.x - We may get a release tonight if some of the other PMC members submit a vote. Andy. -- Andy Gumbrecht http://www.tomitribe.com agumbre...@tomitribe.com https://twitter.com/AndyGeeDe TomEE treibt

Re: Arquillian and Remote TomEE

2014-08-13 Thread Alex Soto
Not released yet :( It is strange that doesn't work with 1.6 2014-08-13 13:23 GMT+02:00 Romain Manni-Bucau : > 1.6? Maybe try 1.7 > Le 13 août 2014 10:20, "Alex Soto" a écrit : > > > Client side logs: > > > > Aug 13, 2014 9:23:57 AM > > org.apache.tomee.arquillian.remote.RemoteTomEEContainer st

Re: [IDE] call to arms !

2014-08-13 Thread Andy Gumbrecht
Although I personally use IDEA now I have used and I am still a Netbeans fan and regularly use it for several projects. The great thing is that we can all find an IDE that suits us best - TomEE probably works in all of them, some better than others. If you find something missing in your favou

Re: Arquillian and Remote TomEE

2014-08-13 Thread Romain Manni-Bucau
1.6? Maybe try 1.7 Le 13 août 2014 10:20, "Alex Soto" a écrit : > Client side logs: > > Aug 13, 2014 9:23:57 AM > org.apache.tomee.arquillian.remote.RemoteTomEEContainer start > INFO: TomEE found running on port 8080 > Aug 13, 2014 9:23:59 AM org.apache.openejb.client.EventLogger log > INFO: Remo

Re: Arquillian and Remote TomEE

2014-08-13 Thread Alex Soto
If you want I can export the project. It is a simple HelloWorld example. 2014-08-13 10:20 GMT+02:00 Alex Soto : > Client side logs: > > Aug 13, 2014 9:23:57 AM > org.apache.tomee.arquillian.remote.RemoteTomEEContainer start > INFO: TomEE found running on port 8080 > Aug 13, 2014 9:23:59 AM org.a

Re: [tomee website] how to do a feedback and contribute

2014-08-13 Thread helio frota
Thanks Andy ! On Wed, Aug 13, 2014 at 4:49 AM, Andy Gumbrecht wrote: > There is a 'Contirbute to this page' button top right (next to twitter). > > You can actually edit and submit the page edit for review. > > Nearly all the pages are editable. > > Have fun, > > Andy. > > > > On 13/08/2014 0

Re: Arquillian and Remote TomEE

2014-08-13 Thread Alex Soto
Client side logs: Aug 13, 2014 9:23:57 AM org.apache.tomee.arquillian.remote.RemoteTomEEContainer start INFO: TomEE found running on port 8080 Aug 13, 2014 9:23:59 AM org.apache.openejb.client.EventLogger log INFO: RemoteInitialContextCreated{providerUri= http://10.0.16.165:8080/tomee/ejb} Aug 13,

Re: Arquillian and Remote TomEE

2014-08-13 Thread Romain Manni-Bucau
no exception before in the logs either server or client side? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-08-13 9:25 GMT+02:00 Alex Soto : > Hi, > I didn't have the e

Re: Feedback on TomEE 1.6.0.2

2014-08-13 Thread Andy Gumbrecht
How are you actually starting TomEE? Please describe your steps clearly so that we can maybe help you work out what is wrong. Any. On 12/08/2014 21:17, armst...@wellsfargo.com wrote: Actually making it work would be nice. I've tried both Tomee-jaxrs and Tomee+ with Java 6 and 7 and always ge

Re: [tomee website] how to do a feedback and contribute

2014-08-13 Thread Andy Gumbrecht
There is a 'Contirbute to this page' button top right (next to twitter). You can actually edit and submit the page edit for review. Nearly all the pages are editable. Have fun, Andy. On 13/08/2014 04:14, helio frota wrote: Hi all users and devs ! how the whole community of this planet can

Re: Arquillian and Remote TomEE

2014-08-13 Thread Alex Soto
Hi, I didn't have the embedded dependency on maven, and also I have updated the arquillian.xml with: 10.0.16.165 10.0.16.165 openejb.deployer.binaries.use=true But still the same exception :( 2014-08-12 23:23 GMT+02:00 Romain Manni-Bucau :