Re: Apache Cxf and subresources locator

2014-10-30 Thread Alex Soto
Ok then subresources are not as magical as I thought. I mean I would like to be able to do something like. /customer/12 and return whole customer, but for example using /customer/12/address and returns the address only. But the key point here is that I would be able to use the same ShoppingCard end

Re: Apache Cxf and subresources locator

2014-10-30 Thread Romain Manni-Bucau
Why not @GET Customer identity() { return this; } ? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-10-30 8:52 GMT+01:00 Alex Soto : > Ok then subresources are not as magi

Re: Apache Cxf and subresources locator

2014-10-30 Thread Alex Soto
Well I have seen that in this way is better to avoid misleading users and setting incorrect urls. Thanks anyway. 2014-10-30 11:18 GMT+01:00 Romain Manni-Bucau : > Why not @GET Customer identity() { return this; } ? > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress

EJBContainerRule and @RunTestAs

2014-10-30 Thread Xavier Dury
Hi, While using EJBContainerRule, I have seen no easy way (~ @Run(Test)As) to invoke my EJBs with a particular user/role in my tests. There is already an InjectRule and a TransactionRule so would it be possible to add some kind of Run(Test)AsRule as well? Thanks, Xavier

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

2014-10-30 Thread pankaj Mishra
Hi, I have just started using TOMEE.I am facing the same issue, while deploying Apache Wink application on TOMEE. Could you please provide the detailed steps of adding entries in exclusions.list i.e wink-client,default.list as I am not able to get it working. -- View this message in context:

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

2014-10-30 Thread Romain Manni-Bucau
Hi just add a jar prefix by line. "default-list" is a shortcut for all our default exclusions. exclusions.list can be in tomee/conf or WEB-INF of your war. Just curious: why not using CXF and TomEE JAXRS? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn

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

2014-10-30 Thread jieryn
First, you ought to be using Apache TomEE 1.6.1 if you require the 1.6.x series, or preferrably the 1.7.1 release train. Second, just add the file in $TOMEE_HOME/conf, here's mine as an example: bash$ cat conf/exclusions.list default-list wink-client wink-common On Thu, Oct 30, 2014 at 10:18 AM

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

2014-10-30 Thread pankaj Mishra
Forget to add the snapshot of the error. -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Apache-TomEE-1-6-0-SNAPSHOT-Recent-Regression-with-REST-Application-tp4665517p4672684.html Sent from the TomE

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

2014-10-30 Thread pankaj Mishra
hi, Thanks for ur reply.. Currently we are using apache-tomee-jaxrs-1.6.0.2. I have tried the steps mentioned bash$ cat conf/exclusions.list default-list wink-client wink-common But nothing seems working.The same exception trace I am able to see. -- View this message in context: http://tome

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.6.0-SNAPSHOT -- Recent Regression with REST Application

2014-10-30 Thread Romain Manni-Bucau
Maybe try in conf/system.properties: openejb.additional.exclude=org.apache.wink Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-10-30 15:39 GMT+01:00 pankaj Mishra : > hi, > Thanks for ur reply.. > Currently we are

whi the properties is not present ?

2014-10-30 Thread mauro2java2011
http://sourceforge.net/p/nbpfcrudgen/discussion/troubleshooting/thread/b78df076/#5b5e/e1c8 I have tried thr netbeans cryd generator. When i run the project i get a error. It say that yhr properties of controller is mot present. the propertie came like a static class enumeration from JSFUtils cla

Re: whi the properties is not present ?

2014-10-30 Thread Romain Manni-Bucau
Looks like an el issue more than anything else. Can you reproduce it and share the project? Le 30 oct. 2014 22:03, "mauro2java2011" a écrit : > > http://sourceforge.net/p/nbpfcrudgen/discussion/troubleshooting/thread/b78df076/#5b5e/e1c8 > > I have tried thr netbeans cryd generator. > When i run

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

2014-10-30 Thread pankaj Mishra
hi jieryn,Romain, I have tried both mechanism, suggested by your all. openejb.additional.exclude=org.apache.wink putting wink-* in exclusions.list I hope org.apache.wink.client.ClientConfig is the root cause as the exception trace "Unable to instantiate Application class: org.apache.wink.clie

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

2014-10-30 Thread Romain Manni-Bucau
Recall having fixed it so should be ok with 1.7 for sure. About an example I spoke about a project ready to run Le 31 oct. 2014 06:05, "pankaj Mishra" a écrit : > hi jieryn,Romain, > I have tried both mechanism, suggested by your all. > > openejb.additional.exclude=org.apache.wink > > putting wi