Romain, please, at your earliest convenience, advise atmosphere how to help tomee become atmosphere-aware.
https://github.com/Atmosphere/atmosphere/issues/1060 On Tue, Apr 30, 2013 at 5:24 PM, Romain Manni-Bucau <[email protected]>wrote: > Basically what i mean is atmo interesting part work side by side with cdi. > The link is a kind of bridge using more or less primefaces and the issue > should be in this part IMO > Le 30 avr. 2013 23:19, "Howard W. Smith, Jr." <[email protected]> a > écrit : > > > if I open atmosphere issue, can you follow the issue to help inform > > them/atmosphere what they need to do to become CDI compliant, and so > tomee > > can be atmosphere aware? > > > > > > > > On Tue, Apr 30, 2013 at 5:17 PM, Howard W. Smith, Jr. < > > [email protected]> wrote: > > > > > interesting... what can/should atmosphere do, so tomee can be > atmosphere > > > aware. atmosphere is loaded at startup of tomee. web.xml tells tomee > that > > > atmosphere servlet or primefaces push is to be used. i think this is > how > > > tomee becomes atmosphere aware. right? > > > > > > > > > > > > On Tue, Apr 30, 2013 at 5:09 PM, Romain Manni-Bucau < > > [email protected] > > > > wrote: > > > > > >> It works with previous version and tomee is not atmosphere aware so no > > >> link > > >> to tomee > > >> Le 30 avr. 2013 23:02, "Howard W. Smith, Jr." <[email protected] > > > > a > > >> écrit : > > >> > > >> > can you provide some proof or clarify your statement, so I can > report > > >> this > > >> > in atmosphere list of issues? :) > > >> > > > >> > > > >> > > > >> > > > >> > On Tue, Apr 30, 2013 at 4:59 PM, Romain Manni-Bucau > > >> > <[email protected]>wrote: > > >> > > > >> > > Next tomee is cdi compliant, so the issue would be in atmo > > >> > > Le 30 avr. 2013 22:55, "Howard W. Smith, Jr." < > > [email protected]> > > >> a > > >> > > écrit : > > >> > > > > >> > > > I recognize that openwebbeans JARs are different. > > >> > > > > > >> > > > In 2013-04-26 tomee, there are openwebbeans 2013-04-26 JARs > > >> > > > > > >> > > > In 2013-04-29 tomee, there are openwebbeans 2013-04-28 JARs > > >> > > > > > >> > > > > > >> > > > > > >> > > > On Tue, Apr 30, 2013 at 4:48 PM, Howard W. Smith, Jr. < > > >> > > > [email protected]> wrote: > > >> > > > > > >> > > > > interesting. so something changed between 2013-04-26 and > > >> 2013-04-29 > > >> > > > > versions of tomee 1.6.0 snapshot? > > >> > > > > > > >> > > > > I can revert to 2013-04-26 version of tomee 1.6.0 snapshot and > > no > > >> > > issues > > >> > > > > if I use latest version of atmosphere 1.0.13 snapshot. :) > > >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > On Tue, Apr 30, 2013 at 4:40 PM, Romain Manni-Bucau < > > >> > > > [email protected] > > >> > > > > > wrote: > > >> > > > > > > >> > > > >> Seems it clearly shows that's an atmo issue if it works with > a > > >> > > previous > > >> > > > >> atmo version (pby in primefaces since atmo is not cdi > friendly > > >> > > normally) > > >> > > > >> Le 30 avr. 2013 21:20, "Howard W. Smith, Jr." < > > >> > [email protected] > > >> > > > > > >> > > > a > > >> > > > >> écrit : > > >> > > > >> > > >> > > > >> > I am very very new to github, this is my first time > > publishing > > >> a > > >> > > > project > > >> > > > >> > (or test case) there. URL below. > > >> > > > >> > > > >> > > > >> > https://github.com/smithh032772/PrimePushCounter > > >> > > > >> > > > >> > > > >> > I really meant to publish the WAR file. i know you prefer > > >> > pom/maven, > > >> > > > but > > >> > > > >> > this is best i can do for now. > > >> > > > >> > > > >> > > > >> > You will need the following: > > >> > > > >> > > > >> > > > >> > PrimeFaces 4.0 JAR[1] > > >> > > > >> > > > >> > > > >> > Atmosphere 1.0.13 snapshot (latest version) found in > snapshot > > >> > > > folders[2] > > >> > > > >> > > > >> > > > >> > atmosphere-runtime > > >> > > > >> > atmosphere-compat-jbossweb > > >> > > > >> > atmosphere-compat-tomcat > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > [1] > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > >> > > > > > >> > > > > >> > > > >> > > > http://repository.primefaces.org/org/primefaces/primefaces/4.0-SNAPSHOT/primefaces-4.0-20130421.152903-4.jar > > >> > > > >> > > > >> > > > >> > [2] > > >> > > > >> > > > >> > > > > > >> > > > https://oss.sonatype.org/content/repositories/snapshots/org/atmosphere/ > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > On Tue, Apr 30, 2013 at 2:22 PM, Howard W. Smith, Jr. < > > >> > > > >> > [email protected]> wrote: > > >> > > > >> > > > >> > > > >> > > Okay, I have a test case, just trying to upload it to > > github > > >> > > (gotta > > >> > > > >> > > install github for windows). > > >> > > > >> > > > > >> > > > >> > > also, I recognized that this behavior occurs on Full Page > > >> > Refresh; > > >> > > > >> does > > >> > > > >> > > not occur for AJAX/PPR requests. > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > > > >> > > > >> > > On Tue, Apr 30, 2013 at 2:07 PM, Howard W. Smith, Jr. < > > >> > > > >> > > [email protected]> wrote: > > >> > > > >> > > > > >> > > > >> > >> On Tue, Apr 30, 2013 at 1:58 PM, Romain Manni-Bucau < > > >> > > > >> > >> [email protected]> wrote: > > >> > > > >> > >> > > >> > > > >> > >>> I'd need to look deeper in atmos to check but seems you > > >> just > > >> > > have > > >> > > > a > > >> > > > >> log > > >> > > > >> > >>> issue, no? > > >> > > > >> > >>> > > >> > > > >> > >> > > >> > > > >> > >> I don't think it is a log issue anymore. > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >>> > > >> > > > >> > >>> That said please just compare 2 steps with a unique > > change > > >> > > > otherwise > > >> > > > >> > >>> that's > > >> > > > >> > >>> impossible to help you > > >> > > > >> > >>> > > >> > > > >> > >> > > >> > > > >> > >> I think I have done that. > > >> > > > >> > >> > > >> > > > >> > >> step 1: compared latest tomee 1.6.0 snapshot with a > > previous > > >> > > > version > > >> > > > >> of > > >> > > > >> > >> atmosphere 1.0.13 snapshot (2013-04-15); test result = > do > > >> not > > >> > > > >> experience > > >> > > > >> > >> this unwanted logging/behavior > > >> > > > >> > >> > > >> > > > >> > >> step 2: compared latest tomee 1.6.0 snapshot with latest > > >> > > atmosphere > > >> > > > >> > >> 1.0.13 snapshot (2013-04-26); test result = unwanted > > >> > > > >> logging/behavior, > > >> > > > >> > >> because defaultbroadcaster is instantiated on every user > > >> HTTP > > >> > > > >> request; > > >> > > > >> > >> which reminds me of @RequestScoped bean with constructor > > or > > >> > > > >> > @PostConstruct > > >> > > > >> > >> executing on every (http) request. > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > >> > > >> > > > >> > > > > >> > > > >> > > > >> > > > >> > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > > > > > > > >
