[google-appengine] Re: Testing blob migration

2012-09-24 Thread Thomas Meyer
i have the same issue, blobs are not showing up.. I'm also not seeing the 
checkbox labeled Migrate Blobstore Data as described in the 
documentation. I've upgraded both apps to GAE SDK 1.7.2

On Sunday, April 29, 2012 7:47:54 PM UTC+2, c h wrote:

 i've tried this again with 1 other app and 2 other destination apps.  all 
 are having the same result.  no __BlobInfo__ or __BlobMigration__ tables in 
 the datastore, nothing in the blob viewer.  Are there settings that might 
 have prevented the blob copy?

 thanks so much,

 christian

 On Friday, April 27, 2012 6:06:30 PM UTC-7, c h wrote:

 Hello,

 I'm trying to test migration from master/slave to HRD.  I just ran the 
 migration and selected the option for migrating blobs.  i got the 
 notification that the migration is complete, but i don't see any blobs in 
 the blob viewer of my destination app.  has anyone else had this 
 experience?  what can i do to get my blobs to show up in my copied app?

 thanks,

 christian



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/SVZZ24V3srMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Testing blob migration

2012-09-24 Thread Thomas Meyer
After trying around for some time I think I found out why it didn't work 
for me: I had no direct references to Blobs in the Datastore. I was only 
storing the keyString of the BlobKey, not the BlobKey itself (mainly 
because I'm using the entities in GWT).
After updating my entities to hold the BlobKey instance rather than a 
String, the Blobs where successfully migrated. Maybe that'll help someone 
else... It would be nice to add this requirement to the migrations docs.

The checkbox to Migrate Blobstore Data seems to just not exist anymore, 
but it works. It would also be nice to remove that from the docs to avoid 
confusion.

Cheers, Thomas.


On Monday, September 24, 2012 10:52:56 AM UTC+2, Thomas Meyer wrote:

 i have the same issue, blobs are not showing up.. I'm also not seeing the 
 checkbox labeled Migrate Blobstore Data as described in the 
 documentation. I've upgraded both apps to GAE SDK 1.7.2

 On Sunday, April 29, 2012 7:47:54 PM UTC+2, c h wrote:

 i've tried this again with 1 other app and 2 other destination apps.  all 
 are having the same result.  no __BlobInfo__ or __BlobMigration__ tables in 
 the datastore, nothing in the blob viewer.  Are there settings that might 
 have prevented the blob copy?

 thanks so much,

 christian

 On Friday, April 27, 2012 6:06:30 PM UTC-7, c h wrote:

 Hello,

 I'm trying to test migration from master/slave to HRD.  I just ran the 
 migration and selected the option for migrating blobs.  i got the 
 notification that the migration is complete, but i don't see any blobs in 
 the blob viewer of my destination app.  has anyone else had this 
 experience?  what can i do to get my blobs to show up in my copied app?

 thanks,

 christian



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/2E54LSgioYQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: Problem switching to 1.4.0 - JSP compilation fails

2010-12-10 Thread Thomas Meyer
The problem has also been discussed here (the newer entries):
http://groups.google.com/group/google-appengine-java/browse_thread/thread/dd17f4150950374c

And there's an issue you can star:
http://code.google.com/p/googleappengine/issues/detail?id=4216

I can also confirm that the problem only exists locally on the
development server. If you deploy it to the app engine servers the
mappings will work.

Best, Thomas

On Dec 10, 9:10 am, l.denardo lorenzo.dena...@gmail.com wrote:
 Thank you Ikay and Starman.
 I'll try to use auto mapping, and verify everything's fine in
 production.

 I can confirm not-mapped JSP pages work correctly in dev, the mapping
 I use is just for the openID login page.
 I'll try and see if I can use something different to produce my login
 page, but if this is only for the dev server I can bypass this simply
 since login page address is different.

 I also hit the problem of static files not being filtered (I guess you
 are using spring security :-)), I ended up using real JSP since I
 customize the host page with email address and logout link from User
 service.

 Thank you again for your help.
 Regards
 Lorenzo

 On Dec 10, 6:01 am, Starman r...@arrova.ca wrote:







  I was using a servlet mapping to make my url nicer. Instead of
  appid.appspot.com/MyApp.jsp, I had appid.appspot.com/servletname. And
  I was using the jsp-file tag to map the servlet to the jsp file.

  I have commented out the servlet definition and just let the jsp auto
  mapping do its thing. And everything works fine, albeit with uglier
  urls.

  Btw, I'm using a jsp for my GWT host file instead of an html file so
  that I can secure the app host file. Html being statically deployed
  makes it impossible to secure at the servlet layer.

  R.

  On Dec 9, 6:03 pm, Ikai Lan (Google) ikai.l+gro...@google.com
  wrote:

   We're reproduced this. It seems to happen when you map a URL to a JSP, and
   only on the development server.

   --
   Ikai Lan
   Developer Programs Engineer, Google App Engine
   Blogger:http://googleappengine.blogspot.com
   Reddit:http://www.reddit.com/r/appengine
   Twitter:http://twitter.com/app_engine

   On Thu, Dec 9, 2010 at 8:36 AM, l.denardo lorenzo.dena...@gmail.com 
   wrote:
Hello,
I'm having trouble switching to 1.4.0 SDK.

Development server starts regularly, but when I try to load my login
page (a jsp file) I get the following error:

[WARN] /_ah/login_required
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type javax.servlet.jsp.PageContext cannot be resolved. It is
indirectly referenced from required .class files

An error occurred at line: 1 in the generated java file
The type javax.servlet.jsp.tagext.TagSupport cannot be resolved. It is
indirectly referenced from required .class files

[more similar entries follow]

An error occurred at line: 1,079 in the generated java file
javax.servlet.jsp.tagext.JspTag cannot be resolved to a type

Stacktrace:
       at

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandl
 er.java:
92)
       at
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:
330)
       at
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:
439)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:349)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:327)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:314)
       at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:
592)
       at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:
317)
       at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
313)
       at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
       at
com.google.appengine.tools.development.PrivilegedJspServlet.access
$101(PrivilegedJspServlet.java:23)
       at com.google.appengine.tools.development.PrivilegedJspServlet
$2.run(PrivilegedJspServlet.java:59)
       at java.security.AccessController.doPrivileged(Native Method)
       at

com.google.appengine.tools.development.PrivilegedJspServlet.service(Privile
 gedJspServlet.java:
57)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
       at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
       at

com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi
 lter.java:
58)
       at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
       at


[appengine-java] Re: 1.4 eclipse plugin

2010-12-07 Thread Thomas Meyer
I have the same problem - .jsp's work fine after moving the App Engine
SDK to the top of the Order and Export list, but JSP-mappings don't
work.

I can also confirm that it works on the App Engine servers, deployed
with the 1.4 SDK.

Mac OS X 10.6.5
Eclipse SDK, Version: 3.5.2
Google Plugin for Eclipse 3.5, 1.4.0.v201010280047

This is the error I'm getting in the browser:
HTTP ERROR 500

Problem accessing /admin/. Reason:

Unable to compile class for JSP:

An error occurred at line: 10 in the generated java file
org.apache.jasper.runtime.HttpJspBase cannot be resolved to a type

...



On Dec 6, 8:39 pm, mscwd01 mscw...@gmail.com wrote:
 I'm running:

 Eclipse Java EE IDE for Web Developers.
 Build id: 20100218-1602

 With V1.4 of the App Engine SDK and cannot get servlets mapping to jsp
 files, i.e.

 servlet
   servlet-nameabout/servlet-name
   jsp-file/about.jsp/jsp-file
 /servlet

 servlet-mapping
   servlet-nameabout/servlet-name
   url-pattern/about/url-pattern
 /servlet-mapping

 However, other servlets work fine for example I have servlets which
 issue a redirect to a jsp file in my WEB-INF folder and they work
 fine.

 It's baffling me now.


-- 
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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.