Same as in server project.
Originally posted by Nathan Pruett:
Shouldn't this be QBServerLinkIntf? Still... that's not causing the error you are seeing...
Here's what I think the issue is - The server isn't finding the "sdkjcalls" DLL (or another DLL sdkjcalls is using). Move it somewhere the JVM can find it - the windows/system32 directory, the Java/bin directory, add the directory to the system path, or specify the path using the "java.library.path" property. Strange that it worked in your earlier test program, though... maybe it got moved around?
The error that you are getting is not being wrapped in a RemoteException because you are catching all *Exceptions* and rethrowing them as RemoteExceptions - but you're getting a java.lang.UnsatisfiedLinkError - which is an *Error* - higher up the chain than Exception - try catching "Throwable" instead. Also, in several places you are constructing a RemoteException, but never throw it... so the program just silently fails with no indication that anything went wrong.