Hi Please look at the following code snippet:
****
if (ApiProxy.getCurrentEnvironment() == null) {
RemoteApiInstaller installer = new RemoteApiInstaller();
try {
installer.install(remoteApiOptions);
} catch (IOException e) {
...
}
}
****
What it should do is to install the remoteApiOptions for the current thread
if it's not already installed. We check ApiProxy.getCurrentEnvironment() ==
null to see if the current thread has remote api installed.
However this does not work all the time. Sometimes we still have errors
saying the remote api is not installed. Are we doing something wrong here?
Thanks
Baojun
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/d07838c0-34da-44c0-adfb-c6f5b2ff0ef9%40googlegroups.com.