On Jan 30, 2013, at 7:00 PM, "Howard W. Smith, Jr." <smithh032...@gmail.com> 
wrote:

> Again/FYI, earlier this afternoon (around 12pm EST or EDT), I reverted to
> TomEE 1.5.2-SNAPSHOT (2013-01-14, which is using tomcat7.0.34) and
> Atmosphere 1.0.6, I don't see an issue. Atmosphere 1.0.8 was working well
> with TomEE 1.5.2-SNAPSHOT (2013-01-14), too.

Just to make sure it wasn't lost in the cracks, we did identify an issue with 
Atomosphere/TomEE.  In this file in the Atomosphere:

  
https://github.com/Atmosphere/atmosphere/blob/master/modules/cpr/src/main/java/org/atmosphere/container/Tomcat7CometSupport.java#L129

It has the following code:

    String[] tomcatVersion =  
config.getServletContext().getServerInfo().substring(14).split("\\.");

This won't work because of recent updates in TomEE 1.5.2-SNAPSHOT which append 
"(TomEE)" onto the ServerInfo string -- only skipping 14 characters is not 
enough.  Romain gave the workaround of reverting to the old, unmodified, 
ServerInfo string via the System property "tomee.keep-server-info=true"

Note that if the "tomee.keep-server-info" was successfully set to true, it will 
be logged on INFO level.  If the default of false is used, the checking of the 
'tomee.keep-server-info' is still logged, but on DEBUG level.

Is it possible you can confirm that you have tried the system property, see the 
expected log output, and the issue still exists?


-David

Reply via email to