Verify Error
Hello, I try to get data from a Oracle database via Hibernate. I am working with DTOs. Now I get following exceptions: java.lang.VerifyError: (class: org/hibernate/cfg/Environment, method: clinit signature: ()V) Accessing value from uninitialized register 5 27.07.2010 12:18:16 com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [1280225896649000] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract java.util.List de.innosystec.project.client.MusicStoreService.getRecords()' threw an unexpected exception: java.lang.ExceptionInInitializerError at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java: 378) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 581) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java: 188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java: 224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java: 62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java: 51) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java: 43) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java: 122) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 418) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java: 70) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:349) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 542) at org.mortbay.jetty.HttpConnection $RequestHandler.content(HttpConnection.java:938) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 409) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:582) Caused by: java.lang.ExceptionInInitializerError at de.innosystec.project.server.HibernateUtil.createSessionFactory(HibernateUtil.java: 25) at de.innosystec.project.server.HibernateUtil.getSessionFactory(HibernateUtil.java: 31) at de.innosystec.project.server.MusicStoreServiceImpl.getRecords(MusicStoreServiceImpl.java: 25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(Runtime.java: 100) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java: 562) ... 30 more Caused by: java.lang.VerifyError: (class: org/hibernate/cfg/ Environment, method: clinit signature: ()V) Accessing value from uninitialized register 5 at org.hibernate.cfg.Configuration.reset(Configuration.java:201) at org.hibernate.cfg.Configuration.init(Configuration.java:220) at org.hibernate.cfg.Configuration.init(Configuration.java:224) at de.innosystec.project.server.HibernateUtil.createSessionFactory(HibernateUtil.java: 19) ... 38 more Has someone an idea what is wrong? -- You received this message because you
Re: How can multiple tabs in the same browser can share the same session?
Can you give me an code example for this? On Jul 17, 8:22 am, lineman78 linema...@gmail.com wrote: Depends on your definition of session and if you are using container managed security and if that is the case it can depend on your server. The default session manager for glassfish uses cookies, therefore as long as the user has cookies enabled they will be able to maintain a session as long as that cookie is alive. The problem is that IE and Firefox treat session cookies differently. FF will share session cookies across tabs while IE = 7 will not. There are reports that IE8 will share session cookies across tabs. As we have seen with v8 of IE they are conforming to the rest of the browsers as long as they don't have to maintain bugs from IE6 due to compatibility(the box model bug comes to mind). On Jul 16, 5:40 am, cooolcat coolcat_y...@hotmail.com wrote: Hey, I just started reading about GWT. It is really amazing and the documentation is pretty good. But I still didn't find something useful how GWT works with multiple tabs in the same browser. I guess, when I call the same application in two different tabs, I will have two different sessions. I would like to use the same session, expecially when a user logged in. How can I do this? Can I check in a new tab if a user already logged in, and how can I access this data? Any help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
How can multiple tabs in the same browser can share the same session?
Hey, I just started reading about GWT. It is really amazing and the documentation is pretty good. But I still didn't find something useful how GWT works with multiple tabs in the same browser. I guess, when I call the same application in two different tabs, I will have two different sessions. I would like to use the same session, expecially when a user logged in. How can I do this? Can I check in a new tab if a user already logged in, and how can I access this data? Any help is greatly appreciated. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.