Socket connecting to wrong URL

32 views
Skip to first unread message

Ben Kuhl

unread,
Jun 4, 2013, 11:26:06 AM6/4/13
to portal_...@googlegroups.com
My setup code:

        /* Setup admin */
        new App(new Options().url("/socket/admin").packageOf(this).packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(AdminSocketHandler.class);
        /* Setup approval workstation */
        new App(new Options().url("/socket/workstation/approval").packageOf(this).packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(ApprovalSocketHandler.class);

I'm having an issue where a socket that's connecting to  /socket/workstation/approval is trigger the @On("open") for AdminSocketHandler.class

Are things here setup correctly?

Donghwan Kim

unread,
Jun 4, 2013, 1:34:41 PM6/4/13
to portal_...@googlegroups.com
Hi,

options.packageOf(obj) will include the package where obj belongs. If the above codes are coded in the same class, then these apps include the same package and consequently share handlers.
https://github.com/flowersinthesand/portal-java/tree/portal-parent-0.6/core#options

So, separate the package per app or do not use packageOf(this) and call bean(YourHandler.class) for every handler. I prefer to the former way.

For example,
        /* Setup admin */
        new App(new Options().url("/socket/admin").packageOf("handlers.for.socket.admin").packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))

                .bean(AdminSocketHandler.class);
        /* Setup approval workstation */
        new App(new Options().url("/socket/workstation/approval").packageOf("handlers.for.socket.workstation.approval").packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(ApprovalSocketHandler.class);


Thanks,

-- Donghwan


--
You received this message because you are subscribed to the Google Groups "Portal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to portal_projec...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Ben Kuhl

unread,
Jun 6, 2013, 12:55:37 PM6/6/13
to portal_...@googlegroups.com
Gotcha... that makes sense.  .packageOf() powers the scanning of the annotations... Thanks!

Ben Kuhl

unread,
Jun 18, 2013, 3:04:44 PM6/18/13
to portal_...@googlegroups.com
I was side tracked by other work and am revisiting this.  I did what you said in your example and it doesn't seem to be resolving the issue...


within my main()
        ServletRegistration socketRegistration = ctx.addServlet("AtmosphereServlet", new SocketInitializer());
        socketRegistration.setLoadOnStartup(1);

SocketInitializer.java
@WebListener
public class SocketInitializer extends AtmosphereServlet {

    @Override
    public void init(ServletConfig servletConfig) throws ServletException {
        super.init(servletConfig);

        AutowireCapableBeanFactory beanFactory = ApplicationContextProvider.getApplicationContext().getAutowireCapableBeanFactory();

        /* Setup admin */
        new App(new Options().url("/socket/admin").packageOf("com.production.socket").packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(AdminSocketHandler.class);

        /* Setup approval workstation */
        new App(new Options().url("/socket/workstation/approval").packageOf("com.production.workflow.process.approval").packageOf("com.github.flowersinthesand.portal.atmosphere"), new AtmosphereModule(framework), new SpringModule(beanFactory))
                .bean(ApprovalSocketHandler.class);
    }
}

Sockets that attempt to the connect to each of the URLs end up connecting to both socket handlers.

Donghwan Kim

unread,
Jun 18, 2013, 3:14:49 PM6/18/13
to portal_...@googlegroups.com
Hmm, okay. I'll look at this next week. I'm so busy with final exam for now ;)
Also, it would be nice to post log.

-- Donghwan


--

Ben Kuhl

unread,
Jun 19, 2013, 2:31:48 PM6/19/13
to portal_...@googlegroups.com
The logs after the initialization seem to indicate that there's socket handlers being scanned when I don't think they should be...

13:11:09,146  INFO main com.github.flowersinthesand.portal.App:82 - Initializing Portal application with options {name=/socket/admin, url=/socket/admin, packages=[com.production.socket, com.github.flowersinthesand.portal.atmosphere], beans={}} and modules [com.production.AtmosphereModule@3fd60121, com.github.flowersinthesand.portal.spring.SpringModule@7ae43e44]
13:11:09,146 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.production.AtmosphereModule@3fd60121'
13:11:09,146 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.github.flowersinthesand.portal.spring.SpringModule@7ae43e44'
13:11:09,148  INFO main com.github.flowersinthesand.portal.App:90 - Final options {name=/socket/admin, url=/socket/admin, packages=[com.production.socket, com.github.flowersinthesand.portal.atmosphere, com.production, com.github.flowersinthesand.portal.spring, com.github.flowersinthesand.portal.support], beans={url=/socket/admin, org.atmosphere.cpr.AtmosphereFramework=org.atmosphere.cpr.AtmosphereFramework@5ad5c40d, com.github.flowersinthesand.portal.spi.ObjectFactory=com.github.flowersinthesand.portal.spring.SpringObjectFactory@83a6012}}
13:11:09,149 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.support'
13:11:09,169 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher.Evaluator") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator'
13:11:09,174 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher'
13:11:09,176 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomFactory") on 'com.github.flowersinthesand.portal.support.DefaultRoomFactory'
13:11:09,178 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("heartbeatHandler") on 'com.github.flowersinthesand.portal.support.HeartbeatHandler'
13:11:09,179 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("replyHandler") on 'com.github.flowersinthesand.portal.support.ReplyHandler'
13:11:09,195 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomSupportHandler") on 'com.github.flowersinthesand.portal.support.RoomSupportHandler'
13:11:09,196 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.spring'
13:11:09,197 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.production'
13:11:09,217 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("adminSocketHandler") on 'com.production.socket.AdminSocketHandler'
13:11:09,220 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("approvalSocketHandler") on 'com.production.workflow.process.approval.ApprovalSocketHandler'

It creates the first application and then scans both SocketHandlers despite the app initialization not including the entire package.  I am using Spring's @ComponentScan(basePackages = {
        "com.production"
})
to tell Spring to scan my whole application.  Could that be the cause of the issue?  *goes to investigate ExcludeFilters*

-------------- Here's the full log ----------------

INFO: [ProductionQueue] Servlet [com.sun.jersey.spi.spring.container.servlet.SpringServlet] registered for url pattern(s) [[/api/*]].
13:11:09,081  INFO main org.atmosphere.cpr.AtmosphereFramework:1721 - Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
13:11:09,104  INFO main org.atmosphere.cpr.AtmosphereFramework:1159 - Auto detecting atmosphere handlers /WEB-INF/classes/
13:11:09,105  INFO main org.atmosphere.cpr.AtmosphereFramework:1214 - Auto detecting WebSocketHandler in /WEB-INF/classes/
13:11:09,106  INFO main org.atmosphere.cpr.AtmosphereFramework:936 - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
13:11:09,126  INFO main org.atmosphere.cpr.AtmosphereFramework:1140 - Atmosphere is using async support: org.atmosphere.container.Grizzly2WebSocketSupport running under container: Grizzly 2.2.21 with WebSocket enabled.
13:11:09,136  INFO main org.atmosphere.cpr.AtmosphereFramework:614 - Installed Default AtmosphereInterceptor [Android Interceptor Support, SSE Interceptor Support, JSONP Interceptor Support, Atmosphere JavaScript Protocol, Browser disconnection detection]. Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults in your xml to disable them.
13:11:09,137  WARN main org.atmosphere.cpr.AtmosphereFramework:536 - No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the org.atmosphere.cache.UUIDBroadcasterCache
13:11:09,137  INFO main org.atmosphere.cpr.AtmosphereFramework:556 - Shared ExecutorService supported: true
13:11:09,137  INFO main org.atmosphere.cpr.AtmosphereFramework:557 - HttpSession supported: false
13:11:09,137  INFO main org.atmosphere.cpr.AtmosphereFramework:558 - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
13:11:09,138  INFO main org.atmosphere.cpr.AtmosphereFramework:559 - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
13:11:09,138  INFO main org.atmosphere.cpr.AtmosphereFramework:560 - Using Broadcaster: org.atmosphere.cpr.DefaultBroadcaster
13:11:09,139  INFO main org.atmosphere.cpr.AtmosphereFramework:561 - Atmosphere Framework 1.0.12 started.

13:11:09,146  INFO main com.github.flowersinthesand.portal.App:82 - Initializing Portal application with options {name=/socket/admin, url=/socket/admin, packages=[com.production.socket, com.github.flowersinthesand.portal.atmosphere], beans={}} and modules [com.production.AtmosphereModule@3fd60121, com.github.flowersinthesand.portal.spring.SpringModule@7ae43e44]
13:11:09,146 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.production.AtmosphereModule@3fd60121'
13:11:09,146 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.github.flowersinthesand.portal.spring.SpringModule@7ae43e44'
13:11:09,148  INFO main com.github.flowersinthesand.portal.App:90 - Final options {name=/socket/admin, url=/socket/admin, packages=[com.production.socket, com.github.flowersinthesand.portal.atmosphere, com.production, com.github.flowersinthesand.portal.spring, com.github.flowersinthesand.portal.support], beans={url=/socket/admin, org.atmosphere.cpr.AtmosphereFramework=org.atmosphere.cpr.AtmosphereFramework@5ad5c40d, com.github.flowersinthesand.portal.spi.ObjectFactory=com.github.flowersinthesand.portal.spring.SpringObjectFactory@83a6012}}
13:11:09,149 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.support'
13:11:09,169 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher.Evaluator") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator'
13:11:09,174 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher'
13:11:09,176 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomFactory") on 'com.github.flowersinthesand.portal.support.DefaultRoomFactory'
13:11:09,178 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("heartbeatHandler") on 'com.github.flowersinthesand.portal.support.HeartbeatHandler'
13:11:09,179 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("replyHandler") on 'com.github.flowersinthesand.portal.support.ReplyHandler'
13:11:09,195 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomSupportHandler") on 'com.github.flowersinthesand.portal.support.RoomSupportHandler'
13:11:09,196 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.spring'
13:11:09,197 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.production'
13:11:09,217 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("adminSocketHandler") on 'com.production.socket.AdminSocketHandler'
13:11:09,220 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("approvalSocketHandler") on 'com.production.workflow.process.approval.ApprovalSocketHandler'
13:11:09,228 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.atmosphere'
13:11:09,233 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("socketFactory") on 'com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory'
13:11:09,234 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.production.socket'
13:11:09,234 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("adminSocketHandler") on 'com.production.socket.AdminSocketHandler'
13:11:09,236  INFO main com.github.flowersinthesand.portal.App:102 - ObjectFactory 'com.github.flowersinthesand.portal.spring.SpringObjectFactory@83a6012' is prepared
13:11:09,236 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'dispatcher.Evaluator' is defined
13:11:09,237 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator] is defined: expected single bean but found 0: 
13:11:09,237 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'dispatcher.Evaluator' is instantiated 'com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator@363d37'
13:11:09,237 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'dispatcher' is defined
13:11:09,238 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultDispatcher] is defined: expected single bean but found 0: 
13:11:09,239 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'dispatcher' is instantiated 'com.github.flowersinthesand.portal.support.DefaultDispatcher@1e5bcdaa'
13:11:09,239 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'roomFactory' is defined
13:11:09,240 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultRoomFactory] is defined: expected single bean but found 0: 
13:11:09,240 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'roomFactory' is instantiated 'com.github.flowersinthesand.portal.support.DefaultRoomFactory@20598641'
13:11:09,240 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'heartbeatHandler' is defined
13:11:09,241 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.HeartbeatHandler] is defined: expected single bean but found 0: 
13:11:09,241 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'heartbeatHandler' is instantiated 'com.github.flowersinthesand.portal.support.HeartbeatHandler@b49728b'
13:11:09,241 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'replyHandler' is defined
13:11:09,242 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.ReplyHandler] is defined: expected single bean but found 0: 
13:11:09,242 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'replyHandler' is instantiated 'com.github.flowersinthesand.portal.support.ReplyHandler@35c6652a'
13:11:09,255 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'roomSupportHandler' is defined
13:11:09,256 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.RoomSupportHandler] is defined: expected single bean but found 0: 
13:11:09,257 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'roomSupportHandler' is instantiated 'com.github.flowersinthesand.portal.support.RoomSupportHandler@4adf8da3'
13:11:09,257 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'adminSocketHandler' is instantiated 'com.production.socket.AdminSocketHandler@1acbeebc'
13:11:09,257 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'approvalSocketHandler' is instantiated 'com.production.workflow.process.approval.ApprovalSocketHandler@42a68662'
13:11:09,257 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'socketFactory' is defined
13:11:09,258 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory] is defined: expected single bean but found 0: 
13:11:09,520 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'socketFactory' is instantiated 'com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory@5423f7f2'
13:11:09,520 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'url'
13:11:09,522 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'org.atmosphere.cpr.AtmosphereFramework'
13:11:09,531 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'com.github.flowersinthesand.portal.spi.ObjectFactory'
13:11:09,532 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'dispatcher.Evaluator'
13:11:09,532 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'dispatcher'
13:11:09,532 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("evaluator") on 'private com.github.flowersinthesand.portal.spi.Dispatcher$Evaluator com.github.flowersinthesand.portal.support.DefaultDispatcher.evaluator'
13:11:09,532 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'roomFactory'
13:11:09,533 DEBUG main com.github.flowersinthesand.portal.App:246 - @Prepare on 'public void com.github.flowersinthesand.portal.support.DefaultRoomFactory.prepare()'
13:11:09,540 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'heartbeatHandler'
13:11:09,546 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,546 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,553 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,553 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,553 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("heartbeat") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.heartbeat(com.github.flowersinthesand.portal.Socket)'
13:11:09,553 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'heartbeat' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.heartbeat(com.github.flowersinthesand.portal.Socket)'
13:11:09,553 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'replyHandler'
13:11:09,554 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.ReplyHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,554 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.ReplyHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,554 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("reply") on 'public void com.github.flowersinthesand.portal.support.ReplyHandler.reply(com.github.flowersinthesand.portal.Socket,java.util.Map)'
13:11:09,554 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'reply' event from 'public void com.github.flowersinthesand.portal.support.ReplyHandler.reply(com.github.flowersinthesand.portal.Socket,java.util.Map)'
13:11:09,556 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'roomSupportHandler'
13:11:09,557 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("roomFactory") on 'private com.github.flowersinthesand.portal.spi.RoomFactory com.github.flowersinthesand.portal.support.RoomSupportHandler.roomFactory'
13:11:09,558 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,558 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,558 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,558 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,559 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'adminSocketHandler'
13:11:09,559 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("room") on 'private static com.github.flowersinthesand.portal.Room com.production.socket.AdminSocketHandler.room'
13:11:09,560 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.production.socket.AdminSocketHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.production.socket.AdminSocketHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.production.socket.AdminSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.production.socket.AdminSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'approvalSocketHandler'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("completeWork") on 'public void com.production.workflow.process.approval.ApprovalSocketHandler.completeWork(com.production.workflow.process.approval.socket.request.CompleteWorkRequest)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'completeWork' event from 'public void com.production.workflow.process.approval.ApprovalSocketHandler.completeWork(com.production.workflow.process.approval.socket.request.CompleteWorkRequest)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("getDashboard") on 'public com.production.workflow.process.approval.socket.response.Dashboard com.production.workflow.process.approval.ApprovalSocketHandler.getDashboard(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,561 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'getDashboard' event from 'public com.production.workflow.process.approval.socket.response.Dashboard com.production.workflow.process.approval.ApprovalSocketHandler.getDashboard(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("getWorkstation") on 'public com.production.workflow.process.Workstation com.production.workflow.process.approval.ApprovalSocketHandler.getWorkstation(com.github.flowersinthesand.portal.Socket,com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'getWorkstation' event from 'public com.production.workflow.process.Workstation com.production.workflow.process.approval.ApprovalSocketHandler.getWorkstation(com.github.flowersinthesand.portal.Socket,com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.production.workflow.process.approval.socket.WorkstationSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.production.workflow.process.approval.socket.WorkstationSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("makeActive") on 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeActive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,562 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'makeActive' event from 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeActive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,576 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("makeInactive") on 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeInactive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,576 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'makeInactive' event from 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeInactive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,576 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'socketFactory'
13:11:09,577 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("url") on 'private java.lang.String com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.url'
13:11:09,577 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("framework") on 'private org.atmosphere.cpr.AtmosphereFramework com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.framework'
13:11:09,577 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("dispatcher") on 'protected com.github.flowersinthesand.portal.spi.Dispatcher com.github.flowersinthesand.portal.support.AbstractSocketFactory.dispatcher'
13:11:09,577 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("replyHandler") on 'protected com.github.flowersinthesand.portal.support.ReplyHandler com.github.flowersinthesand.portal.support.AbstractSocketFactory.replyHandler'
13:11:09,577 DEBUG main com.github.flowersinthesand.portal.App:246 - @Prepare on 'public void com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.prepare()'
13:11:09,615  INFO main org.atmosphere.cpr.AtmosphereFramework:258 - Installed AtmosphereHandler com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory mapped to context-path: /socket/admin
13:11:09,616  INFO main com.github.flowersinthesand.portal.App:82 - Initializing Portal application with options {name=/socket/workstation/approval, url=/socket/workstation/approval, packages=[com.production.workflow.process.approval, com.github.flowersinthesand.portal.atmosphere], beans={}} and modules [com.production.AtmosphereModule@3f3b94c, com.github.flowersinthesand.portal.spring.SpringModule@760a2e9a]
13:11:09,616 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.production.AtmosphereModule@3f3b94c'
13:11:09,616 DEBUG main com.github.flowersinthesand.portal.App:85 - Configuring the module 'com.github.flowersinthesand.portal.spring.SpringModule@760a2e9a'
13:11:09,616  INFO main com.github.flowersinthesand.portal.App:90 - Final options {name=/socket/workstation/approval, url=/socket/workstation/approval, packages=[com.production.workflow.process.approval, com.github.flowersinthesand.portal.atmosphere, com.production, com.github.flowersinthesand.portal.spring, com.github.flowersinthesand.portal.support], beans={url=/socket/workstation/approval, org.atmosphere.cpr.AtmosphereFramework=org.atmosphere.cpr.AtmosphereFramework@5ad5c40d, com.github.flowersinthesand.portal.spi.ObjectFactory=com.github.flowersinthesand.portal.spring.SpringObjectFactory@1679bd01}}
13:11:09,616 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.support'
13:11:09,620 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher.Evaluator") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator'
13:11:09,620 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("dispatcher") on 'com.github.flowersinthesand.portal.support.DefaultDispatcher'
13:11:09,621 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomFactory") on 'com.github.flowersinthesand.portal.support.DefaultRoomFactory'
13:11:09,621 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("heartbeatHandler") on 'com.github.flowersinthesand.portal.support.HeartbeatHandler'
13:11:09,621 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("replyHandler") on 'com.github.flowersinthesand.portal.support.ReplyHandler'
13:11:09,622 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("roomSupportHandler") on 'com.github.flowersinthesand.portal.support.RoomSupportHandler'
13:11:09,622 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.spring'
13:11:09,625 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.production'
13:11:09,632 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("adminSocketHandler") on 'com.production.socket.AdminSocketHandler'
13:11:09,633 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("approvalSocketHandler") on 'com.production.workflow.process.approval.ApprovalSocketHandler'
13:11:09,637 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.github.flowersinthesand.portal.atmosphere'
13:11:09,639 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("socketFactory") on 'com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory'
13:11:09,639 DEBUG main com.github.flowersinthesand.portal.App:169 - Scanning the package 'com.production.workflow.process.approval'
13:11:09,641 DEBUG main com.github.flowersinthesand.portal.App:164 - Scanned @Bean("approvalSocketHandler") on 'com.production.workflow.process.approval.ApprovalSocketHandler'
13:11:09,642  INFO main com.github.flowersinthesand.portal.App:102 - ObjectFactory 'com.github.flowersinthesand.portal.spring.SpringObjectFactory@1679bd01' is prepared
13:11:09,642 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'dispatcher.Evaluator' is defined
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator] is defined: expected single bean but found 0: 
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'dispatcher.Evaluator' is instantiated 'com.github.flowersinthesand.portal.support.DefaultDispatcher$DefaultEvaluator@4ea3614b'
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'dispatcher' is defined
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultDispatcher] is defined: expected single bean but found 0: 
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'dispatcher' is instantiated 'com.github.flowersinthesand.portal.support.DefaultDispatcher@4848ab42'
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'roomFactory' is defined
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.DefaultRoomFactory] is defined: expected single bean but found 0: 
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'roomFactory' is instantiated 'com.github.flowersinthesand.portal.support.DefaultRoomFactory@1ae39f21'
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'heartbeatHandler' is defined
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.HeartbeatHandler] is defined: expected single bean but found 0: 
13:11:09,643 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'heartbeatHandler' is instantiated 'com.github.flowersinthesand.portal.support.HeartbeatHandler@55e43d51'
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'replyHandler' is defined
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.ReplyHandler] is defined: expected single bean but found 0: 
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'replyHandler' is instantiated 'com.github.flowersinthesand.portal.support.ReplyHandler@7b75bce4'
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'roomSupportHandler' is defined
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.support.RoomSupportHandler] is defined: expected single bean but found 0: 
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'roomSupportHandler' is instantiated 'com.github.flowersinthesand.portal.support.RoomSupportHandler@6ec45c0e'
13:11:09,644 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'adminSocketHandler' is instantiated 'com.production.socket.AdminSocketHandler@1acbeebc'
13:11:09,645 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'approvalSocketHandler' is instantiated 'com.production.workflow.process.approval.ApprovalSocketHandler@42a68662'
13:11:09,645 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:39 - No bean named 'socketFactory' is defined
13:11:09,645 DEBUG main com.github.flowersinthesand.portal.spring.SpringObjectFactory:43 - No unique bean of type [com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory] is defined: expected single bean but found 0: 
13:11:09,645 DEBUG main com.github.flowersinthesand.portal.App:106 - Bean 'socketFactory' is instantiated 'com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory@1d77d3f2'
13:11:09,645 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'url'
13:11:09,646 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'org.atmosphere.cpr.AtmosphereFramework'
13:11:09,646 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'com.github.flowersinthesand.portal.spi.ObjectFactory'
13:11:09,646 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'dispatcher.Evaluator'
13:11:09,647 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'dispatcher'
13:11:09,647 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("evaluator") on 'private com.github.flowersinthesand.portal.spi.Dispatcher$Evaluator com.github.flowersinthesand.portal.support.DefaultDispatcher.evaluator'
13:11:09,647 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'roomFactory'
13:11:09,647 DEBUG main com.github.flowersinthesand.portal.App:246 - @Prepare on 'public void com.github.flowersinthesand.portal.support.DefaultRoomFactory.prepare()'
13:11:09,647 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'heartbeatHandler'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("heartbeat") on 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.heartbeat(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'heartbeat' event from 'public void com.github.flowersinthesand.portal.support.HeartbeatHandler.heartbeat(com.github.flowersinthesand.portal.Socket)'
13:11:09,648 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'replyHandler'
13:11:09,649 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.ReplyHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,649 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.ReplyHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,649 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("reply") on 'public void com.github.flowersinthesand.portal.support.ReplyHandler.reply(com.github.flowersinthesand.portal.Socket,java.util.Map)'
13:11:09,649 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'reply' event from 'public void com.github.flowersinthesand.portal.support.ReplyHandler.reply(com.github.flowersinthesand.portal.Socket,java.util.Map)'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'roomSupportHandler'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("roomFactory") on 'private com.github.flowersinthesand.portal.spi.RoomFactory com.github.flowersinthesand.portal.support.RoomSupportHandler.roomFactory'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.github.flowersinthesand.portal.support.RoomSupportHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,651 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'adminSocketHandler'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("room") on 'private static com.github.flowersinthesand.portal.Room com.production.socket.AdminSocketHandler.room'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("close") on 'public void com.production.socket.AdminSocketHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'close' event from 'public void com.production.socket.AdminSocketHandler.close(com.github.flowersinthesand.portal.Socket)'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.production.socket.AdminSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.production.socket.AdminSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,652 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'approvalSocketHandler'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("completeWork") on 'public void com.production.workflow.process.approval.ApprovalSocketHandler.completeWork(com.production.workflow.process.approval.socket.request.CompleteWorkRequest)'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'completeWork' event from 'public void com.production.workflow.process.approval.ApprovalSocketHandler.completeWork(com.production.workflow.process.approval.socket.request.CompleteWorkRequest)'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("getDashboard") on 'public com.production.workflow.process.approval.socket.response.Dashboard com.production.workflow.process.approval.ApprovalSocketHandler.getDashboard(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'getDashboard' event from 'public com.production.workflow.process.approval.socket.response.Dashboard com.production.workflow.process.approval.ApprovalSocketHandler.getDashboard(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("getWorkstation") on 'public com.production.workflow.process.Workstation com.production.workflow.process.approval.ApprovalSocketHandler.getWorkstation(com.github.flowersinthesand.portal.Socket,com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,653 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'getWorkstation' event from 'public com.production.workflow.process.Workstation com.production.workflow.process.approval.ApprovalSocketHandler.getWorkstation(com.github.flowersinthesand.portal.Socket,com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("open") on 'public void com.production.workflow.process.approval.socket.WorkstationSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'open' event from 'public void com.production.workflow.process.approval.socket.WorkstationSocketHandler.open(com.github.flowersinthesand.portal.Socket)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("makeActive") on 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeActive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'makeActive' event from 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeActive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.App:225 - @On("makeInactive") on 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeInactive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.support.DefaultDispatcher:61 - Attaching the 'makeInactive' event from 'public java.lang.Boolean com.production.workflow.process.approval.socket.WorkstationSocketHandler.makeInactive(com.production.workflow.process.approval.socket.request.WorkstationRequest)'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.App:111 - Processing bean 'socketFactory'
13:11:09,654 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("url") on 'private java.lang.String com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.url'
13:11:09,655 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("framework") on 'private org.atmosphere.cpr.AtmosphereFramework com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.framework'
13:11:09,655 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("dispatcher") on 'protected com.github.flowersinthesand.portal.spi.Dispatcher com.github.flowersinthesand.portal.support.AbstractSocketFactory.dispatcher'
13:11:09,655 DEBUG main com.github.flowersinthesand.portal.App:190 - @Wire("replyHandler") on 'protected com.github.flowersinthesand.portal.support.ReplyHandler com.github.flowersinthesand.portal.support.AbstractSocketFactory.replyHandler'
13:11:09,655 DEBUG main com.github.flowersinthesand.portal.App:246 - @Prepare on 'public void com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory.prepare()'
13:11:09,655  INFO main org.atmosphere.cpr.AtmosphereFramework:258 - Installed AtmosphereHandler com.github.flowersinthesand.portal.atmosphere.AtmosphereSocketFactory mapped to context-path: /socket/workstation/approval
INFO: [ProductionQueue] Servlet [com.production.socket.SocketInitializer] registered for url pattern(s) [].

Ben Kuhl

unread,
Jun 25, 2013, 10:11:51 AM6/25/13
to portal_...@googlegroups.com
If you have a chance to review this, I would greatly appreciate it!

Donghwan Kim

unread,
Jun 26, 2013, 8:31:26 AM6/26/13
to portal_...@googlegroups.com
Hello,

Of course, I didn't forget to review this and just haven't had time.

13:11:09,146 DEBUG main com.github.flowersinthesand.
portal.App:85 - Configuring the module 'com.production.AtmosphereModule@3fd60121'

I found that AtmosphereModule you use implementation is in the 'com.production' package. For convenience, the module package is scanned automatically. This is the reason you had to call 'packageOf("com.github.flowersinthesand.portal.atmosphere")' because you use you own AtmosphereModule instead of provided one that in 'com.github.flowersinthesand.portal.atmosphere' package

So, move AtmosphereModule class to 'com.production.atmosphere' or somewhere.

Thanks,

-- Donghwan


On Tue, Jun 25, 2013 at 11:11 PM, Ben Kuhl <ben...@gmail.com> wrote:
If you have a chance to review this, I would greatly appreciate it!

--

Ben Kuhl

unread,
Jun 26, 2013, 8:37:29 AM6/26/13
to portal_...@googlegroups.com
Yes!  That worked!

Thank you, that's just what I needed.  Works perfectly!

I didn't meant to seem pushy, I know you've been busy with finals and stuff.
Reply all
Reply to author
Forward
0 new messages