Re: primefaces5-1.war not work

2015-03-23 Thread Felipe Jaekel
I pack PrimeFaces inside WEB-INF/lib, works fine with 1.7.1. 2015-03-21 7:20 GMT-03:00 mauro2java2011 mauro2java2...@gmail.com: Hi all. i have tired to use the primefaces 5.1 war into tomee but it not working. i ahave removed the fiels for validation 1.,1 ( already rpesent the validation 1.o

Re: primefaces5-1.war not work

2015-03-23 Thread Howard W. Smith, Jr.
Felipe, he is trying to run the PrimeFaces 5.1 showcase WAR file in tomee. See below. Caused by: org.apache.tomee.catalina.TomEERuntimeException: org.apache.openejb.OpenEJBException: Unable to load servlet filter class: org.primefaces.showcase.filter.CharacterEncodingFilter:

Re: How to get remote ejb client ip?

2015-03-23 Thread Romain Manni-Bucau
Hi did you try org.apache.openejb.server.context.RequestInfos.info().ip? You should be able to see this ip activating debug level on logger: OpenEJB.server.remote.jndi Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github

Re: How to get remote ejb client ip?

2015-03-23 Thread Romain Manni-Bucau
you'll get the http request IP. If your proxy forward it yes, if not then we can't guess it. Typically working when httpd if well configured with ajp for instance. Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github

Re: How to get remote ejb client ip?

2015-03-23 Thread mohben
Will this be sufficient to grab the client real ip even if it's behind a proxy or load-balancer? -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/How-to-get-remote-ejb-client-ip-tp4674148p4674150.html Sent from the TomEE Users mailing list archive at Nabble.com.

JSONProvider single length array

2015-03-23 Thread bibhas
JSONProvider is serializing a single length array as a scalar. For example, instead of serializing an array as: [Hello] It is serializing as: Hello What can I enter in my resource.xml to fix this problem? Currently it looks like this: resources Service id=jsonProvider