Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to have multi-user
How to have multi-user [message #813745] Mon, 05 March 2012 12:01 Go to next message
Eclipse User
How does multi-user to have the same browser or different browser?



2012-03-05 17:55:18.163:WARN:oejs.ServletHandler:ERROR: /test/test
java.lang.IllegalStateException: SingletonManager already installed for session: 1te4woulefiw81j3o619jr96um
at org.eclipse.rwt.internal.SingletonManager.checkNotInstalled(SingletonManager.java:70)
at org.eclipse.rwt.internal.SingletonManager.install(SingletonManager.java:27)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.clearSessionStore(LifeCycleServiceHandler.java:139)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.checkRequest(LifeCycleServiceHandler.java:126)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.runLifeCycle(LifeCycleServiceHandler.java:76)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.synchronizedService(LifeCycleServiceHandler.java:59)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.service(LifeCycleServiceHandler.java:49)
at org.eclipse.rwt.internal.service.ServiceManager$HandlerDispatcher.service(ServiceManager.java:34)
at org.eclipse.rwt.engine.RWTServlet.handleValidRequest(RWTServlet.java:68)
at org.eclipse.rwt.engine.RWTServlet.doPost(RWTServlet.java:47)
at org.eclipse.rwt.engine.RWTServlet.doGet(RWTServlet.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.rap.rwt.osgi.internal.CutOffContextPathWrapper.service(CutOffContextPathWrapper.java:105)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:323)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:575)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:485)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:351)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:916)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:233)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:615)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
at java.lang.Thread.run(Thread.java:722)

--
Luís Carlos Moreira da Costa
Eclipse RAP, RCP, eRCP, GMF, OSGI, Spring-DM and Pentaho Developer
Regional Communities/Brazil
http://wiki.eclipse.org/Regional_Communities/Brazil
Re: How to have multi-user [message #814236 is a reply to message #813745] Tue, 06 March 2012 02:44 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1793
Registered: July 2009
Senior Member
Hi Carlos,
recently, we fixed a similar issue on restart:
354368: Occasional exception on refresh (F5)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=354368
Here is an article from our FAQ about how to run RAP application in
multiple browsers tab [1]. Using different browsers should work out of
the box.

[1]
http://wiki.eclipse.org/RAP/FAQ#How_to_run_a_RAP_application_in_multiple_browser_tabs.2Fwindows.3F
HTH,
Ivan

On 3/5/2012 7:01 PM, Luis Carlos Moreira da Costa wrote:
>
> How does multi-user to have the same browser or different browser?
>
>
>
> 2012-03-05 17:55:18.163:WARN:oejs.ServletHandler:ERROR: /test/test
> java.lang.IllegalStateException: SingletonManager already installed
> for session: 1te4woulefiw81j3o619jr96um
> at
> org.eclipse.rwt.internal.SingletonManager.checkNotInstalled(SingletonManager.java:70)
> at
> org.eclipse.rwt.internal.SingletonManager.install(SingletonManager.java:27)
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.clearSessionStore(LifeCycleServiceHandler.java:139)
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.checkRequest(LifeCycleServiceHandler.java:126)
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.runLifeCycle(LifeCycleServiceHandler.java:76)
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.synchronizedService(LifeCycleServiceHandler.java:59)
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.service(LifeCycleServiceHandler.java:49)
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispatcher.service(ServiceManager.java:34)
> at
> org.eclipse.rwt.engine.RWTServlet.handleValidRequest(RWTServlet.java:68)
> at org.eclipse.rwt.engine.RWTServlet.doPost(RWTServlet.java:47)
> at org.eclipse.rwt.engine.RWTServlet.doGet(RWTServlet.java:39)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:735)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.rap.rwt.osgi.internal.CutOffContextPathWrapper.service(CutOffContextPathWrapper.java:105)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:323)
> at
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:575)
> at
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:485)
> at
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
> at
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:412)
> at
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
> at
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
> at
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> at
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
> at org.eclipse.jetty.server.Server.handle(Server.java:351)
> at
> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:451)
> at
> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:916)
> at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:647)
> at
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:233)
> at
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:615)
> at
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
> at
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
> at java.lang.Thread.run(Thread.java:722)
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to have multi-user [message #814554 is a reply to message #814236] Tue, 06 March 2012 10:41 Go to previous message
Luis Carlos Moreira da Costa is currently offline Luis Carlos Moreira da Costa
Messages: 40
Registered: July 2009
Location: Brazil
Member

Thanks, I managed to solve the problem ...

Hi Ivan Furnadjiev
What is your email?


Luís Carlos Moreira da Costa
Eclipse RAP, RCP, eRCP, GEF, EMF, GMF, OSGI, Spring-DM and Pentaho Developer
Regional Communities/Brazil
http://wiki.eclipse.org/Regional_Communities/Brazil
Re: How to have multi-user [message #814558 is a reply to message #814236] Tue, 06 March 2012 10:41 Go to previous message
Eclipse User
Thanks, I managed to solve the problem ...

Hi Ivan Furnadjiev
What is your email?
--
Luís Carlos Moreira da Costa
Eclipse RAP, RCP, eRCP, GMF, OSGI, Spring-DM and Pentaho Developer
Regional Communities/Brazil
http://wiki.eclipse.org/Regional_Communities/Brazil
Previous Topic:Single Sourcing - Widget -> removeListener() issue
Next Topic:Access Methods of Plugin
Goto Forum:
  


Current Time: Wed Aug 20 14:36:10 EDT 2014

Powered by FUDForum. Page generated in 0.01582 seconds