Re: PasswordCipher and Apache dbcp not working in Tomee 1.6 webprofile

2014-02-12 Thread Romain Manni-Bucau
Hi if you remove commons-* from tomee/lib and it doesn't work dont cry ;) you can force dbcp to be loaded from the webapp usin opeenjb.classloader.forced-load=org.apache.commons.dbcp in conf/system.properties BTW do you have a sample reproducin your issue? default data source creator is tomcat

PasswordCipher and Apache dbcp not working in Tomee 1.6 webprofile

2014-02-12 Thread mommymutya
Hi,We are looking into upgrading our Tomee 1.5.2 (webprofile) to Tomee1.6(webprofile).Our current Tomee 1.5.2 works fine.The app has got 2 database resource, one uses resources.xml, the other uses apache dbcp via a jocl file.This is how it is setup:1. Datasource file in webapps- WEB-INF\resources.

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
I have writed from my mobile Il giorno 12/feb/2014 14.46, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667727...@n4.nabble.com> ha scritto: > well you need to check > 1) if session bean is the same (= System.identityHashCode(this) is the > same) > 2) is the array list the same > 3) is pos

Re: Autowiring Spring Injection not working tomEE 1.6 plus

2014-02-12 Thread Thiago Veronezi
Recently, I've posted a blog entry about Spring and TomEE. It has a demo project with rest controllers and autowiring. I guess you can check the code to see whats different. https://github.com/tveronezi/springchat http://buildnplay.blogspot.ca/2014/02/two-implementations-of-same-websocket.html []

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 12:25 PM, mauro2java2011 wrote: > > - > then i decide > to remove CODI and replace each module doing the "old way" (like using JNDI > for lookups my ejbs inside a @facesconverter for example, i know this can > be done in jsf2.2 now). > --

Re: Autowiring Spring Injection not working tomEE 1.6 plus

2014-02-12 Thread Romain Manni-Bucau
Hi I don't get all parts of your mail, cxf.jaxrs and provider auto are cxf stuff totally ignored by jersey and spring. Is tomee deploying your jaxrs endpoints? if so maybe skip the jars containing the endpoints (see exclusion.list) Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau

Autowiring Spring Injection not working tomEE 1.6 plus

2014-02-12 Thread trima
Hi, I have a maven spring project which has REST URLs exposed. There are some autowired objects injected in the resource classes (HttpServletRequest obj and other custom objects of my project). This deployement works fine in tomcat, but now we are required to move our deployment to Tomee+ 1.6. Ther

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
now i have changed my code : the new code : -- private ConsultDTO current; private List list ; public MauroController() { } @PostConstruct public void init() { if (current == null) { current = new ConsultDTO();

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
the current it is instanciated then from the form on page create i set the value of properties of current. NExt i add it at List form the pethod add() . i have tried to add a print of size of list into the page of datatable , and it print the actually size. but i get only the first 4 objects int

Re: add codi at web application

2014-02-12 Thread mauro2java2011
- then i decide to remove CODI and replace each module doing the "old way" (like using JNDI for lookups my ejbs inside a @facesconverter for example, i know this can be done in jsf2.2 now). Hi tank you for your response . 1)A ask o

Re: add codi at web application

2014-02-12 Thread mauro2java2011
tank you at all for yours response . I will try for yours suggestions . -- View this message in context: http://openejb.979440.n4.nabble.com/add-codi-at-web-application-tp4667697p4667744.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 11:47 AM, Vinícius Moselli < vinicius.mose...@gmail.com> wrote: > Actually i'm using a single Webapp (War). > > Idk if there is something related to this... > My experience, WAR is 'guaranteed' to work (every time). Per Jose' experience, CODI + EAR, there are challenges.

Re: add codi at web application

2014-02-12 Thread Vinícius Moselli
Actually i'm using a single Webapp (War). Idk if there is something related to this... 2014-02-12 14:46 GMT-02:00 José Luis Cetina : > I miss that, im using an ear Vinícius Moselli, do you? > > Thanks Howard > > > 2014-02-12 10:43 GMT-06:00 Howard W. Smith, Jr. : > > > On Wed, Feb 12, 2014 at 1

Re: add codi at web application

2014-02-12 Thread José Luis Cetina
I miss that, im using an ear Vinícius Moselli, do you? Thanks Howard 2014-02-12 10:43 GMT-06:00 Howard W. Smith, Jr. : > On Wed, Feb 12, 2014 at 11:39 AM, Vinícius Moselli < > vinicius.mose...@gmail.com> wrote: > > > I'm using Tomee 1.6 + Codi 1.0.5 + EJB + JPA (Hibernate) in Windows > > Enviro

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 11:39 AM, Vinícius Moselli < vinicius.mose...@gmail.com> wrote: > I'm using Tomee 1.6 + Codi 1.0.5 + EJB + JPA (Hibernate) in Windows > Environment (Windows 7) and i don't have this issue that José described. > Maybe its something wrong with windows 8... > > @ViewAccessScop

Re: add codi at web application

2014-02-12 Thread José Luis Cetina
I will test in Windows 7 and let you know!! Thanks 2014-02-12 10:39 GMT-06:00 Vinícius Moselli : > Hi, > > I'm using Tomee 1.6 + Codi 1.0.5 + EJB + JPA (Hibernate) in Windows > Environment (Windows 7) and i don't have this issue that José described. > Maybe its something wrong with windows 8...

Re: add codi at web application

2014-02-12 Thread Vinícius Moselli
Hi, I'm using Tomee 1.6 + Codi 1.0.5 + EJB + JPA (Hibernate) in Windows Environment (Windows 7) and i don't have this issue that José described. Maybe its something wrong with windows 8... @ViewAccessScoped beans are working fine and perfectly integrated with other techs i listed. Here is my con

Re: Invalid HTTP server response

2014-02-12 Thread Romain Manni-Bucau
basically using two or more instances configure to be load balanced behind http. For the doc just refer to the tomcat mod_jk (or mod_proxy) pages. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
Wow! On Wed, Feb 12, 2014 at 10:40 AM, José Luis Cetina wrote: > Hi, Mauro here is my experience with CODI and TomEE. > +1 thank you for this response! I knew you had a detailed story (and recommendation) to tell since you have been using tomee, myfaces 2.x, CODI, primefaces, and other Java EE

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 7:53 AM, mauro2java2011 wrote: > For upgrade myfaces at 2.2 what jars i have to download ? From the downlod > page i get : > > > https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/core/ > > Are present many subdirectory. > those are SNAPSHOT.

Re: add codi at web application

2014-02-12 Thread José Luis Cetina
Hi, Mauro here is my experience with CODI and TomEE. I started to use it specially for 1 reason @ViewAccessScoped, then i used @Page viewconfig module, security module, message module and the beanmanager for retrive my ejbs instances. It help too much, i used it in my ear project that contain 6 we

Re: add element at ArrayList not work

2014-02-12 Thread Howard W. Smith, Jr.
On Wed, Feb 12, 2014 at 9:53 AM, mauro2java2011 wrote: > public String creaNuovo(){ > > this.list.add(current) ; > this.list.size(); > > > return"List"; > > > } > why do you add the 'same' current over and over again, when creaNuovo() is called? this.list.add(current) ; I would do something

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
i have tried to print the size of list int othe page with datatable. The size is update each times that i add a object to ArrayList m, but the dadtatable show only the 4 initial object instancied from @PostCOntruct -- View this message in context: http://openejb.979440.n4.nabble.com/add-element

Re: add element at ArrayList not work

2014-02-12 Thread Howard W. Smith, Jr.
my responses inline below... On Wed, Feb 12, 2014 at 9:53 AM, mauro2java2011 wrote: > @Named(value = "mauroController") > @SessionScoped > public class MauroController implements Serializable { > > > private ConsultDTO current; > > > private List list=new ArrayList(); > My recommendation i

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
i you send the source of my controller ackage maurocontrollers; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import javax.annotation.PostConstruct; import javax.enterprise.context.SessionScoped; import javax.inject.Inject; import javax.inject.Named; import mieie

Re: Invalid HTTP server response

2014-02-12 Thread Mohan Kishore
Can you explain more detail? How do we scale in Tomee? -- View this message in context: http://openejb.979440.n4.nabble.com/Invalid-HTTP-server-response-tp4667696p4667728.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: add element at ArrayList not work

2014-02-12 Thread Romain Manni-Bucau
well you need to check 1) if session bean is the same (= System.identityHashCode(this) is the same) 2) is the array list the same 3) is postcontruct called multiple times PS: no link but your mails are not that readable in gmail cause of typo + missing of space with previous messages Romain Mann

Re: add codi at web application

2014-02-12 Thread Romain Manni-Bucau
Codi will be replaced by DeltaSpike but basically DeltaSpike doesn't yet handle all codi features so use what matches your need Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
Tge id it is set from code Il giorno 12/feb/2014 14.36, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667721...@n4.nabble.com> ha scritto: > so is it possible you don't use a transaction so add no object? > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
Into my app i not use db . I use only simple dto for test Il giorno 12/feb/2014 14.36, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667721...@n4.nabble.com> ha scritto: > so is it possible you don't use a transaction so add no object? > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: h

Re: add codi at web application

2014-02-12 Thread mauro2java2011
Yoy Dvice to use codi ir deltaspike? Il giorno 12/feb/2014 10.59, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667699...@n4.nabble.com> ha scritto: > Hi > codi is not in tomee so you can put it in web-inf lib > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpres

Re: add element at ArrayList not work

2014-02-12 Thread Romain Manni-Bucau
so is it possible you don't use a transaction so add no object? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 14:28 GMT+01:00 mauro2java2011 : > Yes > Il giorno 12

Re: add element at ArrayList not work

2014-02-12 Thread mauro2java2011
Yes Il giorno 12/feb/2014 14.25, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667718...@n4.nabble.com> ha scritto: > Hi > > is it the same instance of session bean? > Romain Manni-Bucau > Twitter: @rmannibucau > Blog: http://rmannibucau.wordpress.com/ > LinkedIn: http://fr.linkedin.com/in

Re: add element at ArrayList not work

2014-02-12 Thread Romain Manni-Bucau
Hi is it the same instance of session bean? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 14:19 GMT+01:00 mauro2java2011 : > Hi all. > I have a bean sessionscoped

add element at ArrayList not work

2014-02-12 Thread mauro2java2011
Hi all. I have a bean sessionscoped with a List list = new ArrayList(); Into a @PostConstruct annotated method i add 4 instances and from the get i visualize into a table jsf. I create a new page wiyh a form that set the properties of the instance of current object . With a command button i lin

Re: add codi at web application

2014-02-12 Thread mauro2java2011
What it us the myfaces-shaded jars ? What differences from snapshotss and version stable? Il giorno 12/feb/2014 10.59, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n4667699...@n4.nabble.com> ha scritto: > Hi > codi is not in tomee so you can put it in web-inf lib > Romain Manni-Bucau > Tw

Re: add codi at web application

2014-02-12 Thread mauro2java2011
For upgrade myfaces at 2.2 what jars i have to download ? From the downlod page i get : https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/core/ Are present many subdirectory. Il giorno 12/feb/2014 13.39, "Romain Manni-Bucau [via OpenEJB]" < ml-node+s979440n466771...

Re: add codi at web application

2014-02-12 Thread Romain Manni-Bucau
yes for myfaces upgrade Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 13:35 GMT+01:00 mauro2java2011 : > Hi howard . > For example experiments with transactions fo

Re: add codi at web application

2014-02-12 Thread mauro2java2011
Hi howard . For example experiments with transactions for method without ejb . And exlorer yhe caratterisyic added gor validation with etval. I have read from web site codi that is in manteneance. It says that it is developped on deltaspike?? Do you advice to use deltaspike and not codi ? For u

Re: Invalid HTTP server response

2014-02-12 Thread Romain Manni-Bucau
so the request is maybe just rejected, you can just scale tomee behin httpd Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 12:25 GMT+01:00 Mohan Kishore : > Yes, we

Re: ActiveMQ broker stops

2014-02-12 Thread Romain Manni-Bucau
can you reproduce it? Should be doable embedded using an in memory databse you close (I think to h2 but hsqldb would work) would allow us to dig into it Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://

Re: Invalid HTTP server response

2014-02-12 Thread Mohan Kishore
Yes, we were seeing issues more often in heavy load at server side. -- View this message in context: http://openejb.979440.n4.nabble.com/Invalid-HTTP-server-response-tp4667696p4667705.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: ActiveMQ broker stops

2014-02-12 Thread tschuler
No, we do not use JMX. As described at the very beginning of this topic: If the ActiveMQ database locker cannot update database lock, the broker shuts down. So TomEE is running with stopped ActiveMQ broker. To avoid this we try to implement a monitoring thread that checks from time to time if br

Re: CODI WindowScoped Beans replication

2014-02-12 Thread Romain Manni-Bucau
sorry, I don't get the question. If session beans works it is not tomee related but surely codi which shouldn't hit session from its storage. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/r

AW: CODI WindowScoped Beans replication

2014-02-12 Thread dmitry.volkov
Session Beans are replicated perfectly. I have tested my app earlier with TomEE 1.6.0-Snapshot and tomcat 7 and same CODI version. It was working fine. Could you please check if it is not a Tomee issue? -Ursprüngliche Nachricht- Von: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] G

Re: ActiveMQ broker stops

2014-02-12 Thread Romain Manni-Bucau
you restart through jmx? would be great to know why it doesn't restart and more why it stops. Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 12:26 GMT+01:00 tschule

Re: ActiveMQ broker stops

2014-02-12 Thread tschuler
Hi Romain! We use TomEE 1.6.0 release and still got the problem that the broker shuts down after a few days. Is there a way to programmatically restart the broker if it is down using the configuration in tomee.xml? Actually we observer the broker using BrokerService retrieved from ActiveMQ5Factory

Re: CODI WindowScoped Beans replication

2014-02-12 Thread Romain Manni-Bucau
does it reproduce with session bean (without codi?)? if no maybe ask codi list Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 12:01 GMT+01:00 : > Hi. > > I am try

Re: Invalid HTTP server response

2014-02-12 Thread Romain Manni-Bucau
maybe server is just too busy, any idea of the server usage? Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 11:21 GMT+01:00 Mohan Kishore : > Tomee logs not shown a

CODI WindowScoped Beans replication

2014-02-12 Thread dmitry.volkov
Hi. I am trying to get session replication working in my JSF + CODI application with TomEE 1.6.0. Replication of SessionScoped beans seems to be working fine, but not CODI Window Scoped beans. The State of WindowScoped beans is lost after first reload. You can easily reproduce the issue with

Re: Invalid HTTP server response

2014-02-12 Thread Mohan Kishore
Tomee logs not shown anything for this request other than access log which i posted already. Is there any configuration that i need to change? To narrow down issue, I deployed Web Services, client in JBOSS (different JBOSS Servers). Not able to reproduce this? Is that something issue in TOMEE wh

Re: add codi at web application

2014-02-12 Thread Howard W. Smith, Jr.
José, can you reply with your experience and or recommendations when using CODI with tomee app. Mauro, you should use MyFaces 2.2 viewscoped. What other features of CODI did you want to experiment with? Personally, I don't recommend CODI. Romain, may recommend deltaspike instead. I know that oth

Re: add codi at web application

2014-02-12 Thread Romain Manni-Bucau
Hi codi is not in tomee so you can put it in web-inf lib Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2014-02-12 10:47 GMT+01:00 mauro2java2011 : > HI i would add CODI for u

Re: Invalid HTTP server response

2014-02-12 Thread Romain Manni-Bucau
Hi what's the logs on tomee side? seems a difference in http layer between jboss and tomee, one is too old or not well configured it seems Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rma

Invalid HTTP server response

2014-02-12 Thread kishoremmv
We are using TomEE 1.6.0. We are facing a problem while accessing web services which is hosted in TomEE 1.6.0 from JBOSS 5.X. The issue while accessing web services we were getting (Invalid HTTP server response [400] - Bad Request /Invalid HTTP server response [501] - Not Implemented) The issue a

add codi at web application

2014-02-12 Thread mauro2java2011
HI i would add CODI for use viewscoped and other thing of codi for experiment. I have read on web site of codi that it is available the jar core plus other jars for jpa , for jsf , for beans validation , etc. Then i have read that it is available a download with all together . But the web site

Re: More than 10 consumers

2014-02-12 Thread agumbrecht
You're right, but this executor is handed off to the broker and made public so not sure where else it may be getting used. Just an easy test to see if it makes a difference. I've also not seen a bottleneck before with activemq. Andy. -- View this message in context: http://openejb.979440.n4.na