Open GoogleCodeExporter opened 8 years ago
I think your server has removed the session, because a session timeout was
detected. That depends on your server configuration.
For a quick work-around you could set the GWTEventService property
"eventservice.connection.id.generator=de.novanic.eventservice.service.connection
.id.SessionExtendedConnectionIdGenerator" (available on trunk and will be
introduced with GWTEventService 1.2). With this property set, the session isn't
used to identify the clients and the multiple session feature is activated
(every browser instance gets an unique id rather than every client).
Original comment by sven.strohschein@googlemail.com
on 3 Nov 2010 at 6:14
Good. I modified demo/conf/eventservice.properties. How do I ensure that
SessionExtendedConnectionIdGenerator is used when I run the server?
Original comment by a.dolgu...@gmail.com
on 8 Nov 2010 at 1:02
Hi again,
I tried to replace the connection id generator, but now all I get is:
Nov 13, 2010 9:16:29 PM de.novanic.eventservice.logger.DefaultServerLogger log
INFO: Server: Client "4EC23F4B5A43877DF600EFC6A202E0761666609994" initialized.
and no joined channel/ no messages transmitted
Original comment by a.dolgu...@gmail.com
on 13 Nov 2010 at 3:19
And later, I found exception in the log:
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract void
de.novanic.gwteventservice.demo.conversationapp.client.conversation.Conversation
Service.sendMessage(java.lang.String,java.lang.String)' threw an unexpected
exception: de.novanic.eventservice.client.config.ConfigurationException: A
client id was requested without generating a connection id first or the
connection id was not transferred with the request!
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378)
Original comment by a.dolgu...@gmail.com
on 15 Nov 2010 at 6:33
Hi,
which method is used to add events within your sendMessage method?
Original comment by sven.strohschein@googlemail.com
on 19 Nov 2010 at 8:15
Separated E-Mail contact:
13.09.2011 Issue Opener -> Sven S.
Hi Sven,
yes I had, but we haven't yet introduced GWTEventService into our live apps.
12.09.2011 Sven S. -> Issue Opener
Hi,
the last update to Issue29 of GWTEventService
(http://code.google.com/p/gwteventservice/issues/detail?id=29) is some time
ago. :-) Do you have had luck with SessionExtendedConnectionIdGenerator at last?
Thank you in advance.
Regards,
Sven S.
Original comment by sven.strohschein@googlemail.com
on 4 Oct 2011 at 5:51
What was the solution to:
de.novanic.eventservice.client.config.ConfigurationException: A client id was
requested without generating a connection id first or the connection id was not
transferred with the request!
?
Original comment by bos...@gmail.com
on 24 Feb 2012 at 10:53
Okay, I found my issue.
I was not using a single instance of my Async Service throughout my project.
Also, when setting up my RemoteEventListener, I was not registering the Client
Specific Handler.
RemoteEventServiceFactory.getInstance().requestClientHandler(new AsyncCallback<ClientHandler>() {
@Override
public void onSuccess(ClientHandler result) {
RemoteEventServiceFactory.getInstance()
.registerClientSpecificHandler((ServiceDefTarget)ServiceFactory.getInstance(), result);
}
@Override
public void onFailure(Throwable caught) {
}
});
Original comment by bos...@gmail.com
on 27 Feb 2012 at 8:25
Original issue reported on code.google.com by
a.dolgu...@gmail.com
on 2 Nov 2010 at 11:25Attachments: