I am facing a problem with file upload.I have used Apache Commons servlet file upload for uploading the file. Though the file is getting uploaded and the data is getting stored on the local server(http:// 127.0.0.1:8888/_ah/admin/datastore) but it is not going to the Google App Engine datastore. What I am doing is loading the file as a stream and immediately parsing the stream and creating datastore entities with the data. I am not actually trying to save the file. In the local server it works. It even works when I try to access the local server from another machine. However it does not work when I deploy it to Appengine using the Google Pluggin for Eclipse. My parsing code depends on resource files which are under the web-inf directory. Is it possible these resource files are not getting uploaded and is there a way to check what files are uploaded on Appengine?
Whatever's in your .war
is going up into AppEngine. I don't see how parts of it will be selectively excluded. What's more likely is that your application is depending on stuff that is lurking SOMEwhere on your PC but not included in that .war file.
However, shouldn't your application be checking for those resources and throwing exceptions if they are not found? If it's failing silently, I'd consider that a design flaw.
Logging a lot may help you debug the problem. You can look at your program's logs via the AppEngine console. I recommend more error checking and logging.
Something else to check for is to not be running the version of your software you think you are. There's a kind of versioning mechanism that allows you to deploy different concurrent versions of your and only one will be actually accessible. One of the things you should be logging and/or making otherwise accessible is some version information (perhaps even including a build timestamp) for your app's build.