Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread Isaac Truett
Bob, I think you just missed one small, important bit (aren't the small bits always important?) when you translated the shell script into your Ant target. Referring to a shell script I found in one of my sandboxes, I found these to be the first two entries in the classpath: %~dp0\src;%~dp0\bin;

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread gregor
You just need to adjust things so that offending servlet's compiled .class file is in the classpath, that's all it is, no mystery. I don't use ant for hosted mode, so I havn't got a straight crib for you, but in my deployment ant builds for gwt compile task I have And this puts all the servlet

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread BobM
Oh, Gregor. That was a good shot. I was so hopeful, but no joy. I added gwt-servlet.jar to classpath but I get the same result ... no improvement. I do believe the solution will be something like your suggestion, however. I think I will peel off to try running the application in web mode. May

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-21 Thread gregor
I think you are missing gwt-servlet.jar from the classpath section. On Feb 21, 5:26 am, BobM wrote: > Thank you, Gentlemen, both! > > Let deal with these responses one at a time: > Gregor: > > I am running an ant script based on the AppName-shell which was > created by applicationCreator.  Here

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread BobM
Thank you, Gentlemen, both! Let deal with these responses one at a time: Gregor: I am running an ant script based on the AppName-shell which was created by applicationCreator. Here is the relevant section of the ant build.xml:

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread Isaac Truett
No, there's no getting around compiling your server-side Java. Now, a lot of examples are written with the assumption that you're using Eclipse or some other IDE. And since anything that can properly be termed an IDE will be doing the compilation for you, automatically, and usually in the backgrou

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread gregor
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 wrote: > Whoa!  Wait a minute.  You've sent me back to the books ... back to > the Developer

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-20 Thread BobM
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 th

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-19 Thread Isaac Truett
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 wrote: > > Setting loglLevel to ALL did not

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-19 Thread BobM
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 wrote: > I have build another project, using applicationCre

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-19 Thread BobM
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: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-19 Thread BobM
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

Re: GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-19 Thread mikedshaf...@gmail.com
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

GWt RPC issue: Unable to instantiate 'org.bcs.server.SelectionSearchServiceImpl

2009-02-18 Thread BobM
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.SelectionSearchServiceIm