how I am gonna fix that using intellij

On Wednesday, January 5, 2011 at 5:13:35 AM UTC-8, jhulford wrote:
>
> If you're not using Google App Engine (and I'm not sure why you would 
> be if you're using Mysql as your datastore), then remove it from your 
> project's setup.  The enhanced Security Manager settings that comes w/ 
> using GAE is what's causing your error. 
>
> Right click on you project's icon, choose Google-> App Engine 
> Settings..., then uncheck the "Use Google App Engine" box. 
>
> On Jan 5, 1:31 am, freemonhuul <[email protected]> wrote: 
> > Hi guys! 
> > 
> > I am trying to develop a GWT RPC method which accesses to MYSQL 
> > database to collect datum. 
> > 
> > But it throws the following exception: 
> > 
> > com.google.gwt.user.server.rpc.UnexpectedException: Service method 
> > 'public abstract java.util.List 
> > com.sky.web.dealer.client.proxy.WebRemoteService.getProductDtoList() 
> > throws java.lang.IllegalStateException' 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:
>  
>
> > 207) 
> >         at 
> > 
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:
>  
>
> > 243) 
> >         at 
> > 
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:
>  
>
> > 62) 
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) 
> >         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
> >         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:
>  
>
> > 58) 
> >         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 
> > com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java: 
> > 266) 
> >         at java.sql.DriverManager.getConnection(Unknown Source) 
> >         at java.sql.DriverManager.getConnection(Unknown Source) 
> >         at com.sky.web.dealer.server.data.DAO.<init>(DAO.java:28) 
> >         at 
> > 
> com.sky.web.dealer.server.data.DataCollector.getProductDtoList(DataCollector.java:
>  
>
> > 33) 
> >         at 
> > 
> com.sky.web.dealer.server.WebRemoteServiceImpl.getProductDtoList(WebRemoteServiceImpl.java:
>  
>
> > 48) 
> >         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.security.AccessControlException: access denied 
> > (java.lang.RuntimePermission modifyThreadGroup) 
> >         at java.security.AccessControlContext.checkPermission(Unknown 
> Source) 
> >         at java.security.AccessController.checkPermission(Unknown 
> Source) 
> >         at java.lang.SecurityManager.checkPermission(Unknown Source) 
> >         at com.google.appengine.tools.development.DevAppServerFactory 
> > $CustomSecurityManager.checkPermission(DevAppServerFactory.java:166) 
> >         at com.google.appengine.tools.development.DevAppServerFactory 
> > $CustomSecurityManager.checkAccess(DevAppServerFactory.java:191) 
> >         at java.lang.ThreadGroup.checkAccess(Unknown Source) 
> >         at java.lang.Thread.init(Unknown Source) 
> >         at java.lang.Thread.<init>(Unknown Source) 
> >         at java.util.TimerThread.<init>(Unknown Source) 
> >         at java.util.Timer.<init>(Unknown Source) 
> >         at java.util.Timer.<init>(Unknown Source) 
> >         at com.mysql.jdbc.Connection.<clinit>(Connection.java:1087) 
> >         ... 42 more 
> > 
> > it is being tested in development mode hosted on Eclipse. 
> > 
> > What should I do to fix this?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to