[3.0-SNAPSHOT] Problem with errai initialization
wendro Jun 7, 2013 6:17 AMI wanted to tryout 3.0-SNAPSHOT on my branch of the project. I did adapt code but I can't get it working. I probably need some guidline how to better debug configuration problems with errai.
I work on JBoss7. The project is FULL of technology. I will probably try to isolate problem into smaller prototype project, will update this thread with information. For now below the description of the problem Im heaving.
Im using my custom "service processor" which enables integration with spring part of the application. Was doing well in 2.3.1.Final now I had to change few things when u introduced security. But it seems to perform good.
Below is what I get in browser (but there is not indication of exception - or relevant details about them):
[errai] wait for: org.jboss.errai.marshalling.client.api.MarshallerFramework LogUtil.java:45 [errai] vote for: org.jboss.errai.marshalling.client.api.MarshallerFramework LogUtil.java:45 [errai] bus initialization started ... LogUtil.java:45 [errai] wait for: org.jboss.errai.bus.client.api.ClientMessageBus LogUtil.java:45 [errai] IOC bootstrapper successfully initialized. LogUtil.java:45 Fri Jun 07 11:45:15 GMT+200 2013 pl.myapp.web.client.LoginDialog INFO: constructing... ConsoleLogHandler.java:63 Fri Jun 07 11:45:15 GMT+200 2013 pl.myapp.web.client.LoginApplication INFO: constructing... ConsoleLogHandler.java:63 Fri Jun 07 11:45:15 GMT+200 2013 pl.myapp.web.client.LoginApplication INFO: construction success ConsoleLogHandler.java:63 Fri Jun 07 11:45:15 GMT+200 2013 pl.myapp.web.client.Application INFO: constructing... ConsoleLogHandler.java:63 Fri Jun 07 11:45:15 GMT+200 2013 pl.myapp.web.client.Application INFO: construction success ConsoleLogHandler.java:63 [errai] 29 beans successfully deployed. LogUtil.java:45 [errai] bean manager now in service. LogUtil.java:45 [errai] declare CDI dispatch service LogUtil.java:45 [errai] wait for: org.jboss.errai.enterprise.client.cdi.api.CDI LogUtil.java:45 [errai] sending handshake message to remote bus LogUtil.java:45 [errai] received handshake response from server. preparing to bring up the federation LogUtil.java:45 [errai] transitioning to new handler: SSE LogUtil.java:45 [errai] vote for: org.jboss.errai.bus.client.api.ClientMessageBus LogUtil.java:45 [errai] CDI subsystem syncing with server ... LogUtil.java:45 no subscribers to deliver to for subject: cdi.event:Dispatcher -- Additional Details: none LogUtil.java:45 receiver 'ClientBus' threw an exception -- Additional Details:
Field | Value |
CommandType | FinishAssociation |
ConnectionSessionKey | 253a941df46bd49bcf19c53e7ce5ac2bda103a3f8b20b98a85627c2af976d6 |
RemoteServices | ServerBus,pl.myapp.shared.service.EmailService:RPC,pl.myapp.shared.service.FolderService:RPC,pl.myapp.shared.service.DocumentService:RPC,pl.myapp.shared.service.SystemService:RPC,AuthenticationService,AuthorizationService,pl.myapp.shared.service.WorkflowService:RPC,pl.myapp.shared.service.UserService:RPC,pl.myapp.shared.service.GenericObjectService:RPC,ServerEchoService |
ToSubject | ClientBus |
CapabilitiesFlags | LongPolling,SSE |
It seems that there is a problem with [errai] wait for: org.jboss.errai.enterprise.client.cdi.api.CDI
I was wondering about receiver 'ClientBus' threw an exception I dont see anywhere exception. Additionally reconnect throws 401 (Unauthorized)
There seems to be no problems on server side whatsoever.
My question is how can I dig deeper to find the cause? (thx for help in advance)