What is the classpath arguement in your hosted mode command line or script? Whatever it is, it doesn't look like it's got org.bcs.server.SelectionSearchServiceImp covered in it.
On Feb 20, 10:41 pm, BobM <bmar...@bcscomputers.com> wrote: > Whoa! Wait a minute. You've sent me back to the books ... back to > the Developer's Guide and other GWT documentation. to re-confirm my > understanding. > > I am simply trying to run this application in hosted mode. My > understanding is that I don't have to compile anything or set any > adjustments to the classpath specified by AppName-shell provided by > applicationCreator. Is that not correct? > > My understanding is that, in hosted mode, the server-side code is > automatically deployed to the embedded tomcat server. Now, I cannot > see in tomcat and its subdirctories any evidence that has happened, > but I have no idea what I am looking for either. > > I understand from my reading of the process for hosted mode that all I > should have to do - provided, of course, that my module.xml file > provides proper mapping of the service - is run AppName-shell and > everything should work ... if the code and configuration files are > correct. > > If there is more to it, then I need guidance on what I have left > undone. > > On Feb 19, 1:56 pm, Isaac Truett <itru...@gmail.com> wrote: > > > ClassNotFound means something needs to be in your classpath and it isn't. > > > 1. Is the class compiled? > > 2. Is the .class file in the appropriate location somewhere on your > > classpath? > > > That's really all there is to it. > > > On Thu, Feb 19, 2009 at 2:52 PM, BobM <bmar...@bcscomputers.com> wrote: > > > > Setting loglLevel to ALL did not provide anything new or > > > enlightening. As when trying to effect an GWT RPC in my own app I get > > > the message, Unable to instantiate and the cause is ClassNotFound. > > > > I am at a loss. > > > > On Feb 19, 1:22 pm, BobM <bmar...@bcscomputers.com> wrote: > > >> I have build another project, using applicationCreator, but used the > > >> already written code from a tutorial on writing GWT RPCs. I get the > > >> same failure using this code, when running appName-shell: Unable to > > >> instantiate. > > > >> What is going on here? I haven't a clue or a way to dig deeper. > > >> Well, I will re-run these application with debug level set up to > > >> greater detail. > > > >> On Feb 19, 8:04 am, BobM <bmar...@bcscomputers.com> wrote: > > > >> > Mike, that was a good catch, but that difference was just a "typo" on > > >> > my part. When I copied and pasted the messages into my post I just > > >> > missed including the "l" in Impl on one of the messages. Actually > > >> > both are the same. > > > >> > Now, I have scanned other posts on this same issue. Most suggest it > > >> > is a classpath issue. Okay, when I include "www" in the GWTShell > > >> > command, it I get the same results ... no improvement. > > > >> > I think the question I have is, "How to deploy the server-side > > >> > compiled code into the embedded Tomcat?" I do not see evidence that > > >> > Tomcat even knows about the service Impl. As I understand it, I > > >> > should only have to run CSRapp-compile and CSRapp-shell for everything > > >> > to work. Correct? I have re-visited both the tutorial and the > > >> > developer's guide and I can find nothing that provides good guidance > > >> > on this issue. > > > >> > On Feb 19, 4:59 am, "mikedshaf...@gmail.com" <mikedshaf...@gmail.com> > > >> > wrote: > > > >> > > The first thing I noticed is that at one place in your message it's > > >> > > referred to as > > >> > > SelectionSearchServiceImp and in another it's > > >> > > SelectionSearchServiceImpl. > > >> > > That would indicate that your class is named one and is referenced in > > >> > > your > > >> > > Gwt.xml as the other. Again, that's the first thing I noticed..... > > > >> > > Good luck! > > > >> > > Later, > > >> > > Shaffer > > > >> > > On Feb 18, 8:15 pm, BobM <bmar...@bcscomputers.com> wrote: > > > >> > > > More detail from this message which was presented in the GWT shell > > >> > > > when I made a GWT RPC call attempt: > > >> > > > java.lang.ClassNotFoundException: > > >> > > > org.bcs.server.SelectionSearchServiceImp > > > >> > > > The message from caught.getMessage(): > > >> > > > Unable to find/load mapped servlet class > > >> > > > 'org.bcs.server.SelectionSearchServiceImpl > > > >> > > > The rpc.log (which to my surprise gets created upon gwt compile) > > >> > > > reports this: > > >> > > > Reachable types computed on: Wed Feb 18 20:29:40 CST 2009 > > >> > > > com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException > > >> > > > Serialization status > > >> > > > Instantiable > > >> > > > Path > > >> > > > Started from > > >> > > > 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' > > > >> > > > java.lang.Exception > > >> > > > Serialization status > > >> > > > Field serializable > > >> > > > Path > > >> > > > Started from > > >> > > > 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' > > > >> > > > java.lang.Object > > >> > > > Serialization status > > >> > > > Not serializable > > >> > > > Path > > >> > > > Started from 'java.lang.String' > > > >> > > > java.lang.RuntimeException > > >> > > > Serialization status > > >> > > > Field serializable > > >> > > > Path > > >> > > > Started from > > >> > > > 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' > > > >> > > > java.lang.String > > >> > > > Serialization status > > >> > > > Instantiable > > >> > > > Path > > >> > > > Started from 'java.lang.String' > > > >> > > > java.lang.String[] > > >> > > > Serialization status > > >> > > > Instantiable > > >> > > > Path > > >> > > > Type 'java.lang.String[]' is reachable from array type > > >> > > > 'java.lang.String[][]' > > >> > > > Started from 'java.lang.String[][]' > > > >> > > > java.lang.String[][] > > >> > > > Serialization status > > >> > > > Instantiable > > >> > > > Path > > >> > > > Started from 'java.lang.String[][]' > > > >> > > > java.lang.Throwable > > >> > > > Serialization status > > >> > > > Field serializable > > >> > > > Path > > >> > > > Started from > > >> > > > 'com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException' > > >> > > > =============== > > > >> > > > Is there something I have failed to do with regard to setup to run > > >> > > > in > > >> > > > hosted mode? What is the problem here? Although I doubt I am yet > > >> > > > really able to decipher the log, I don't see anything in the log > > >> > > > that > > >> > > > is an obvious problem although it reports this > > >> > > > "ImcompatibleRemoteServiceException", if that is the/a problem. > > > >> > > > Anything else I need to look at or report to y'all to fully > > >> > > > diagnose > > >> > > > this issue? > > > >> > > > Thanks for help. --~--~---------~--~----~------------~-------~--~----~ 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-Toolkit@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 -~----------~----~----~----~------~----~------~--~---