I have managed to fix this problem. It turned out that the MySQL JAR had been removed.
Thanks for all your help! Regards, Jack On Apr 1, 1:57 pm, Isaac Truett <[email protected]> wrote: > And what have you done so far to try to solve this problem? > > On Wed, Apr 1, 2009 at 8:48 AM, [email protected] > > <[email protected]> wrote: > > > Hi there, > > > Thanks for your help. That has fixed my last problem, now I am getting > > a new one... > > > 01-Apr-2009 13:38:15 org.apache.catalina.core.ApplicationContext log > > SEVERE: Exception while dispatching incoming RPC call > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > 'public abstract com.project.client.ServerSQLData > > com.project.client.ServerStatusSQLService.getSQLData()' threw an > > unexpected exception: java.lang.NullPointerException > > at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > (RPC.java:360) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:546) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:164) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > > (RemoteServiceServlet.java:86) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > (ApplicationFilterChain.java:290) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter > > (ApplicationFilterChain.java:206) > > at org.apache.catalina.core.StandardWrapperValve.invoke > > (StandardWrapperValve.java:233) > > at org.apache.catalina.core.StandardContextValve.invoke > > (StandardContextValve.java:191) > > at org.apache.catalina.core.StandardHostValve.invoke > > (StandardHostValve.java:128) > > at org.apache.catalina.valves.ErrorReportValve.invoke > > (ErrorReportValve.java:102) > > at org.apache.catalina.core.StandardEngineValve.invoke > > (StandardEngineValve.java:109) > > at org.apache.catalina.connector.CoyoteAdapter.service > > (CoyoteAdapter.java:286) > > at org.apache.coyote.http11.Http11Processor.process > > (Http11Processor.java:845) > > at org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > at > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > > 447) > > at java.lang.Thread.run(Unknown Source) > > Caused by: java.lang.NullPointerException > > at > > com.project.server.Management.ServerStartupData.setCategoryArrayList > > (ServerStartupData.java:60) > > at com.project.server.Management.ServerSQLServiceImpl.getSQLData > > (ServerSQLServiceImpl.java:1225) > > 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.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:527) > > ... 16 more > > 01-Apr-2009 13:38:15 org.apache.catalina.core.ApplicationContext log > > SEVERE: Exception while dispatching incoming RPC call > > com.google.gwt.user.server.rpc.UnexpectedException: Service method > > 'public abstract com.project.client.ServerSQLData > > com.project.client.ServerStatusSQLService.getSQLData()' threw an > > unexpected exception: java.lang.NullPointerException > > at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure > > (RPC.java:360) > > at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:546) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall > > (RemoteServiceServlet.java:164) > > at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost > > (RemoteServiceServlet.java:86) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter > > (ApplicationFilterChain.java:290) > > at org.apache.catalina.core.ApplicationFilterChain.doFilter > > (ApplicationFilterChain.java:206) > > at org.apache.catalina.core.StandardWrapperValve.invoke > > (StandardWrapperValve.java:233) > > at org.apache.catalina.core.StandardContextValve.invoke > > (StandardContextValve.java:191) > > at org.apache.catalina.core.StandardHostValve.invoke > > (StandardHostValve.java:128) > > at org.apache.catalina.valves.ErrorReportValve.invoke > > (ErrorReportValve.java:102) > > at org.apache.catalina.core.StandardEngineValve.invoke > > (StandardEngineValve.java:109) > > at org.apache.catalina.connector.CoyoteAdapter.service > > (CoyoteAdapter.java:286) > > at org.apache.coyote.http11.Http11Processor.process > > (Http11Processor.java:845) > > at org.apache.coyote.http11.Http11Protocol > > $Http11ConnectionHandler.process(Http11Protocol.java:583) > > at > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > > 447) > > at java.lang.Thread.run(Unknown Source) > > Caused by: java.lang.NullPointerException > > at > > com.project.server.Management.ServerStartupData.setCategoryArrayList > > (ServerStartupData.java:60) > > at com.project.server.Management.ServerSQLServiceImpl.getSQLData > > (ServerSQLServiceImpl.java:1225) > > 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.gwt.user.server.rpc.RPC.invokeAndEncodeResponse > > (RPC.java:527) > > ... 16 more > > > On Apr 1, 1:16 pm, Isaac Truett <[email protected]> wrote: > >> Yes, it's wrong. Your servlet implements the ServerStatusSQLService > >> interface, so that class has to be deployed with the server classes. > > >> On Wed, Apr 1, 2009 at 5:23 AM, [email protected] > > >> <[email protected]> wrote: > > >> > I have only placed the server and database packages in the WEB-INF/ > >> > classes folder i.e. I did not place the client package or the public > >> > package in here. Is this wrong? > > >> > Regards, > >> > Jack > > >> > On Apr 1, 9:38 am, Radek Jun <[email protected]> wrote: > >> >> It is a little bit weird :(. Are you sure that you have all the > >> >> classes right in the WEB-INF/classes and libraries in WEB-INF/lib ? > > >> >> On Apr 1, 1:41 am, "[email protected]" > > >> >> <[email protected]> wrote: > >> >> > Hi, > > >> >> > I have done this and now get a different error. This has changed from > >> >> > the other error in that it now says java.lang.ClassNotFoundException: > >> >> > com.project.client.ServerStatusSQLService. This class is on the client > >> >> > and so am I right in thinking it should have been compiled by GWT? Can > >> >> > anyone suggest a reason as to why this would not have worked? FYI this > >> >> > class extends the com.google.gwt.user.client.rpc.RemoteService > > >> >> > 01-Apr-2009 00:29:59 org.apache.catalina.core.StandardWrapperValve > >> >> > invoke > >> >> > SEVERE: Allocate exception for servlet Application-status > >> >> > java.lang.ClassNotFoundException: > >> >> > com.project.client.ServerStatusSQLService > >> >> > at org.apache.catalina.loader.WebappClassLoader.loadClass > >> >> > (WebappClassLoader.java:1387) > >> >> > at org.apache.catalina.loader.WebappClassLoader.loadClass > >> >> > (WebappClassLoader.java:1233) > >> >> > at java.lang.ClassLoader.loadClassInternal(Unknown Source) > >> >> > at java.lang.ClassLoader.defineClass1(Native Method) > >> >> > at java.lang.ClassLoader.defineClass(Unknown Source) > >> >> > at java.security.SecureClassLoader.defineClass(Unknown Source) > >> >> > at > >> >> > org.apache.catalina.loader.WebappClassLoader.findClassInternal > >> >> > (WebappClassLoader.java:1847) > >> >> > at org.apache.catalina.loader.WebappClassLoader.findClass > >> >> > (WebappClassLoader.java:890) > >> >> > at org.apache.catalina.loader.WebappClassLoader.loadClass > >> >> > (WebappClassLoader.java:1354) > >> >> > at org.apache.catalina.loader.WebappClassLoader.loadClass > >> >> > (WebappClassLoader.java:1233) > >> >> > at org.apache.catalina.core.StandardWrapper.loadServlet > >> >> > (StandardWrapper.java:1094) > >> >> > at org.apache.catalina.core.StandardWrapper.allocate > >> >> > (StandardWrapper.java:808) > >> >> > at org.apache.catalina.core.StandardWrapperValve.invoke > >> >> > (StandardWrapperValve.java:129) > >> >> > at org.apache.catalina.core.StandardContextValve.invoke > >> >> > (StandardContextValve.java:191) > >> >> > at org.apache.catalina.core.StandardHostValve.invoke > >> >> > (StandardHostValve.java:128) > >> >> > at org.apache.catalina.valves.ErrorReportValve.invoke > >> >> > (ErrorReportValve.java:102) > >> >> > at org.apache.catalina.core.StandardEngineValve.invoke > >> >> > (StandardEngineValve.java:109) > >> >> > at org.apache.catalina.connector.CoyoteAdapter.service > >> >> > (CoyoteAdapter.java:286) > >> >> > at org.apache.coyote.http11.Http11Processor.process > >> >> > (Http11Processor.java:845) > >> >> > at org.apache.coyote.http11.Http11Protocol > >> >> > $Http11ConnectionHandler.process(Http11Protocol.java:583) > >> >> > at > >> >> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java: > >> >> > 447) > >> >> > at java.lang.Thread.run(Unknown Source) > >> >> > 01-Apr-2009 00:29:59 org.apache.catalina.core.StandardWrapperValve > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
