Since app engine does not allow file writing, it probably does not expect
any new file during run time. That's why you see the new file only after
restarting the server. To "write new file" in app engine, I would think it
as "put new file content into datastore".
-aj

On Thu, Jan 14, 2010 at 9:53 AM, George Moschovitis <
[email protected]> wrote:

>
>
> On Jan 14, 12:47 am, "Jason (Google)" <[email protected]> wrote:
> > I implemented the sample Blobstore application provided in the
> documentation
> > (two servlets, Upload.java and Serve.java -- Upload.java redirects to
> > Serve.java which looks up the blob and renders it using
> > blobstoreService.serve) but I'm not able to reproduce your error. I can
> see
> > that, on the development server, the uploaded file is indeed stored in
> > WEB-INF/appengine-generated, but there aren't any exceptions when trying
> to
> > read this file regardless of whether the development server is still
> > running.
> >
> > Out of curiosity, what platform are you running (Windows, Mac OS X, or
> > Linux) and what are the permissions of the newly added file? This is what
> I
> > see: -rw-r--r-- If your case is similar, you shouldn't have any issue
>
> I see this as well:
>
> -rw-r--r-- 1 root  root    40018 2010-01-14 19:49
> fgMldUn0bca_tWegd6UK2Q
>
> but I still get the error where trying to view the file.
>
> However, if I restart the devserver and try to serve the file it
> works!
> It seems like the server is getting a snapshot of the filesystem and
> does not recognize new files?
>
> Btw I am running a Javascript (Rhino) application using narwhal
> (www.narwhaljs.org)
> Perhaps this is a problem with narwhal and not the devserver?
>
> regards,
> -g.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>
>


-- 
AJ Chen, PhD
Chair, Semantic Web SIG, sdforum.org
http://web2express.org
@web2express on twitter
Palo Alto, CA, USA
650-283-4091
*Monitoring social media in real time*
--
You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to