Github user MarcGiffing commented on the pull request:

    https://github.com/apache/wicket/pull/160#issuecomment-193862809
  
    I've currently have problems with the lookup of the atmopshere.xml in an 
embedded tomcat. 
    Maybe the deprecated methods should be updated with the update of the 
latest atmosphere version.
    
    EventBus.java:
    ```
    private static Broadcaster lookupDefaultBroadcaster()
        {
                BroadcasterFactory factory = BroadcasterFactory.getDefault();
                if (factory == null)
                {
                        throw new WicketRuntimeException(
                                "There is no Atmosphere BroadcasterFactory 
configured. Did you include the "
                                        + "atmosphere.xml configuration file 
and configured AtmosphereServlet?");
                }
    ```
    
    The BroadcasterFactory.getDefault(); is deprecated and instead you should 
use:
    `org.atmosphere.cpr.AtmosphereConfig.resourcesFactory()`
    
    It's only a hint...I'm not sure if its related to my problem.
    
    
https://github.com/Atmosphere/atmosphere/wiki/Getting-BroadcasterFactory-and-AtmosphereResourceFactory-with-2.2-and-newer
    
    > With the release of Atmosphere 2.2.0, the static getters 
BroadcasterFactory.getDefault() and AtmosphereResourceFactory.getDefault() were 
deprecated, and from 2.3+ they are completely removed.
    
    Okay...the static getters are still there ... :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to