No runtime errors when deploing on Glassfish in NetBeans, atmosphere seems to
start, but nothing more happens... my debug println in the WebApplication
constructor is not called.

(If I skip setting up the AtmosphereServlet mapping in my web.xml then my
constructor is called and my debug println is called...)

I have followed the examples and I can't figure out whats missing in my xml
files.

web.xml <http://apache-wicket.1842946.n4.nabble.com/file/n4653294/web.xml>  
atmosphere.xml
<http://apache-wicket.1842946.n4.nabble.com/file/n4653294/atmosphere.xml>  

Here is the run output;

INFO: Running GlassFish Version: GlassFish Server Open Source Edition 3.1.2
(build 23)
INFO: Grizzly Framework 1.9.46 started in: 45ms - bound to [0.0.0.0:8181]
INFO: Grizzly Framework 1.9.46 started in: 88ms - bound to [0.0.0.0:8080]
INFO: Grizzly Framework 1.9.46 started in: 32ms - bound to [0.0.0.0:4848]
INFO: Grizzly Framework 1.9.46 started in: 38ms - bound to [0.0.0.0:7676]
INFO: Grizzly Framework 1.9.46 started in: 54ms - bound to [0.0.0.0:3700]
INFO: The Admin Console is already installed, but not yet loaded.
INFO: Registered org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy
for persistence-type = replicated in BackingStoreFactoryRegistry
INFO: SEC1002: Security Manager is OFF.
INFO: SEC1010: Entering Security Startup Service
INFO: SEC1143: Loading policy provider
com.sun.enterprise.security.provider.PolicyWrapper.
INFO: SEC1115: Realm [admin-realm] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
created.
INFO: SEC1115: Realm [file] of classtype
[com.sun.enterprise.security.auth.realm.file.FileRealm] successfully
created.
INFO: SEC1115: Realm [certificate] of classtype
[com.sun.enterprise.security.auth.realm.certificate.CertificateRealm]
successfully created.
INFO: SEC1011: Security Service(s) Started Successfully
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8181]
INFO: WEB0169: Created HTTP listener [admin-listener] on host/port
[0.0.0.0:4848]
INFO: WEB0171: Created virtual server [server]
INFO: WEB0171: Created virtual server [__asadmin]
INFO: WEB0172: Virtual server [server] loaded default web module []
INFO: WEB0671: Loading application
[com.mycompany_myproject_war_1.0-SNAPSHOT] at
[/papegaaij-wicket-atmosphere-quickstart-f561560]
INFO: CORE10010: Loading application
com.mycompany_myproject_war_1.0-SNAPSHOT done in 8 423 ms
INFO: WEB0671: Loading application [WebUI] at [/WebUI]
INFO: CORE10010: Loading application WebUI done in 5 955 ms
INFO: GlassFish Server Open Source Edition 3.1.2 (23) startup time : Felix
(8 631ms), startup services(16 040ms), total(24 671ms)
INFO: JMX005: JMXStartupService had Started JMXConnector on JMXService URL
service:jmx:rmi://SETUPC2571.delaval.local:8686/jndi/rmi://SETUPC2571.delaval.local:8686/jmxrmi
INFO: Hibernate Validator 4.2.0.Final
INFO: Created EjbThreadPoolExecutor with thread-core-pool-size 16
thread-max-pool-size 32 thread-keep-alive-seconds 60 thread-queue-capacity
2147483647 allow-core-thread-timeout false 
INFO: WEB0169: Created HTTP listener [http-listener-1] on host/port
[0.0.0.0:8080]
INFO: Grizzly Framework 1.9.46 started in: 3ms - bound to [0.0.0.0:8080]
INFO: Initiating Jersey application, version 'Jersey: 1.11 12/09/2011 10:27
AM'
INFO: REST00001: Listening to REST requests at context: /management/domain
INFO: The Admin Console is already installed, but not yet loaded.
INFO: The Admin Console is starting. Please wait.
INFO: Initializing Mojarra 2.1.6 (SNAPSHOT 20111206) for context ''
INFO: WEB0671: Loading application [WebUI] at [/WebUI]
INFO: WebUI was successfully deployed in 10 199 milliseconds.
INFO: WEB0169: Created HTTP listener [http-listener-2] on host/port
[0.0.0.0:8181]
INFO: Grizzly Framework 1.9.46 started in: 7ms - bound to [0.0.0.0:8181]
INFO: WEB0671: Loading application [__admingui] at [/]
INFO: CORE10010: Loading application __admingui done in 7 947 ms
INFO: The Admin Console application is loaded.
INFO: Auto detecting atmosphere handlers /WEB-INF/classes/
INFO: Auto detecting WebSocketHandler in /WEB-INF/classes/
INFO: Atmosphere is using async support:
org.atmosphere.container.JettyAsyncSupportWithWebSocket running under
container: GlassFish Server Open Source Edition 3.1.2 with WebSocket
enabled.
INFO: Installed WebSocketProtocol
org.atmosphere.websocket.protocol.EchoProtocol 
INFO: Installed AtmosphereHandler org.atmosphere.cpr.AtmosphereFramework$2
mapped to context-path: /*
INFO: Installed Default AtmosphereInterceptor [Android Interceptor Support,
SSE Interceptor Support, JSONP Interceptor Support]. Set
org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults in your xml to
disable them.
WARNING: No BroadcasterCache configured. Broadcasted message between client
reconnection will be LOST. It is recommended to configure the
HeaderBroadcasterCache.
INFO: HttpSession supported: false
INFO: Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
INFO: Using WebSocketProcessor:
org.atmosphere.websocket.DefaultWebSocketProcessor
INFO: Using Broadcaster: org.atmosphere.cpr.DefaultBroadcaster
INFO: Atmosphere Framework 1.0.0.RC1 started.

And... nothing more happens...

Anyone?




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/My-WebApplication-constructor-is-never-called-tp4653294.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to