You could create a filter that is mapped to /* and does a forward to
your jsp.
This one remembers the original path:
public class ForwardFilter implements Filter
{
public static final String SERVLET_PATH =
ForwardFilter.class.getName() + .servletPath;
private String target;
Hi,
I am using JSF2.0 on AppEngine. I get the error below when I try to
use a colorpicker utility.
Is there a work around this error?
Cheers
CHINUA
WARNING: /pages/addtemp.faces
java.lang.NoClassDefFoundError: java.awt.Color is a restricted class.
Please see the Google App Engine developer's
Hi,
I made a Firefox extension that collects estimated cost from App
Engine response headers and shows the total in the Firefox status bar.
If anyone's interested, the add-on can be downloaded from:
http://radomirml.com/2010/04/06/track-appengine-estimated-cost-with-firefox-add-on
Radomir
--
I'm trying to use new EL api - version 2.2. - which knows how to deal
with parameterized invocations; e.g. #{FooBarDAO.getInfos('alesj')}.
Hence I'm bundling this new EL jars with my app.
At runtime I get this
java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/
While this finds the right jar
URL url = cl.getResource(META-INF/maven/javax.el/el-api/
pom.properties);
String info = url.toExternalForm();
System.out.println(info = + info);
// jar:file:/foobar/projects/foobar/trunk/server/target/
Tried the following code
MailService ms = MailServiceFactory.getMailService();
MailService.Message msg = new MailService.Message();
msg.setSubject(Tu as réussi cette étape);
ms.sendToAdmins(msg);
without more result.
The code is executed in
A trace on the code shows me that the line in the previous code
ms.sendToAdmins(msg);
fails
So, my hypothesis is that a prerequisite is not fulfilled
In the code, I use the Low Level API, which doesn't need a specific
configuration (I believe it)
In the log, I see
2585cpu_ms
with a
John, thanks so much, this works. I added this as the filter:
filter
filter-nameforwardFilter/filter-name
filter-classcom.markww.usermaps.server.ForwardFilter/filter-
class
init-param
param-nametarget/param-name
param-valueUserMaps.jsp/param-value
/init-param
I have been dealing with lots of varying exceptions trying to
implement/store a list of embedded objects. I found one post on this
group claiming that this isn't supported (but the claim didn't come
from someone at Google), and I saw no mention of lists of embedded
objects in the google docs...
Hi,
Here are code for the entities MyEntity and SubEntity. Is anything
wrong with the code?
/Gunnar
package appengine.test;
import java.io.Serializable;
import java.util.ArrayList;
import javax.jdo.annotations.Element;
import javax.jdo.annotations.Extension;
import
Hi,
I get that ApiDeadlineExceededException happens sometimes, no problem
(I am not exceeding 30s, exception happens after 6 seconds). The
question I have is:
When I use com.google.appengine.api.mail.MailService.send() and I
receive the exception com.google.apphosting.api.ApiProxy
what do you mean by store a list of embedded objects?
if you're storing in the datastore, you have to have a way to
serialize whatever you got into one of the supported storable types.
On Apr 7, 11:04 am, tempy fay...@gmail.com wrote:
I have been dealing with lots of varying exceptions trying
On 8 Apr 2010, at 00:40, Tristan wrote:
what do you mean by store a list of embedded objects?
if you're storing in the datastore, you have to have a way to
serialize whatever you got into one of the supported storable types.
If you want to be able to query on the embedded instances then you
Well, what I need is something like this:
@PersistenceCapable(detachable = true)
public class Parent {
@PersistenceCapable
@EmbeddedOnly
public class EmbeddedChild {...}
@Embedded
private ListEmbeddedChild Children;
...
}
This doesn't work, so... Do I
I ran into this a few months ago when first getting jsf 2 going.
Unfortunately I didn't find a resolution and wound up on the old EL
version, so if you figure something out, please let us know.
Thanks,
Joel
On Wed, Apr 7, 2010 at 5:10 AM, alesj ales.jus...@gmail.com wrote:
While this finds
i work with low-level datastore api, so i serialize things myself, but
essentially yes. The issue you're probably running into is that the
thing that you're using to interact with the datastore, does not know
how to store EmbeddedChild. I would start there.
from low-level datastore api point of
Hi,
I am trying out the now profiling stats in appengine using
AppstatsServlet and AppstatsFilter. The filter seems to work just fine
but the servlets mapped at /appstats/* just redirects to /stats. If I
try to map it to /stats then it gets stuck in an infinite redirection
loop. Also, what does
Hello,
I'm currently using the Wicket Framework which is simply a
javax.servlet.Filter. I have a quick little logging statement in the
init() method of the filter which, I believe, is the absolute first
thing that should run on a loading request.
I've been working hard to minimize the startup
I'd say the average number of line items is around 100. So, the slowest
request (but also the most common) is to show the 5 most recent items from
all recent user orders. In JDO, I was doing that via a query for the orders,
then a order.getItems() for each, then iterating in reverse for a few
I guess this covers the question
http://groups.google.com/group/google-appengine/browse_thread/thread/189eecd6021b1bb4/ed1025f01b47e101
On Apr 7, 12:37 pm, Tristan tristan.slomin...@gmail.com wrote:
Hi,
I get that ApiDeadlineExceededException happens sometimes, no problem
(I am not exceeding
I think if I were to do it all over again I'd either embed the items right
in the order, or not use JDO at all and try to do some more manual caching
and batch loading. A lot of time was spent learning how JDO was loading the
items collection and then trying to get JDO to cache that
Ah, that's interesting. From what I could tell via appstats during my
requests, in my 1-N relationship the L2 cache was only caching the
individual objects, not the entire collection. So, two accesses of the same
collection in two subsequent requests would require a round trip to the
memcache for
You can serialize object graphs, but keep in mind that you won't be
able to index/query this data and it will be opaque to the datastore
viewer. It will also be opaque to GAE/Python tools.
As John mentioned, you can get embedded object collections without
Java serialization if you use Objectify
mailmymove - version 1
http://www.mailmymove.com
On Apr 5, 9:51 pm, Ikai L (Google) ika...@google.com wrote:
What's your application ID and the version you are trying to delete?
On Mon, Apr 5, 2010 at 11:20 AM, Eurig Jones eurigjo...@gmail.com wrote:
Hi,
I'm getting a...
Server
Anybody have any thoughts on what I could be missing?
On Apr 5, 9:24 pm, zackmac zack.macom...@gmail.com wrote:
I'm using Eclipse 3.4.1, GAE 1.3.1 and trying to use GWT 2.0.3. I've
been working on my GAE app some time and that's working well - just
want to spice up the front-end a little. I
Thanks!
If under a transaction, are tasks added via batch still constrained to
5 per txn?
On Apr 6, 11:53 am, Keith dunelmt...@googlemail.com wrote:
Fromhttp://code.google.com/appengine/docs/java/javadoc/com/google/appengi...
add(java.lang.IterableTaskOptions taskOptions)
Submits
Hi Karthik,
Thanks a lot. It worked for me.
Regards,
Shyam.
On Apr 5, 2:10 pm, KarthikR soumya.karth...@gmail.com wrote:
Hi
The issue has the following suggested workaround:
--- start
Comment 14 by neiltolson, Mar 30 (5 days ago) Just like mgo1977 said
above, start
Great!!!
On Apr 7, 5:00 pm, radomir radomi...@gmail.com wrote:
Hi,
I made a Firefox extension that collects estimated cost from App
Engine response headers and shows the total in the Firefox status bar.
If anyone's interested, the add-on can be downloaded
I understand that the best way to obtain the ability to send email
from a specific address is to invite as a developer. I currently have
a domain name using Google Apps, and I have one email account which
receives email through various nicknames/aliases. I would like to know
what the best way to
Greetings! I have the feeling this is an old question, but I can't
find a specific answer. Is it possible to host a Google App *only* in
your custom domain www.example.com? I could understand this being a
restriction on free accounts, but does it also apply to paying
customers?
Thanks!
Eze
--
I run a small club and maintain the member roster which contains
names, email, and phone numbers. This information is stored in a
Google Spreadsheet that I have full access to.
I'm trying to build a front end GUI I can use at our meetings. This
app needs to be accessible via web. It will have a
Hi there,
When Google App Engine serves media files from the Blobstore, it sends
a Transfer-Encoding: chunked header and doesn't include a Content-
Length header. This means a client downloading the file cannot do
useful things such as displaying a progress bar, because the client
doesn't know
I like netbeans IDE and develop my test applications in it. But I have
problem with add GWT in my GAE project - application not start
listening 8080 or any other port.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group,
I have an entity with Collection property like this:
class MyEntity{
ListString myStrCollection = new ArrayListString();
.other properties..
}
Instance of MyEntity can contain myStrCollection property with 200
values;
I have about 10 different indexes containing filter by
How can get data about quota comsumed accumulated. Similar data
appear in dashboard.
Best regards
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from
On Tue, Apr 6, 2010 at 5:47 PM, timwhunt timwh...@gmail.com wrote:
Thanks Nick!!
So to make sure I understand:
In the last step of your process for getting a list of unread
articles, I'd first get the 'UserArticle' entities marked as Unread,
and I'm assuming each UserArticle entity would
i see several of these errors. if get_current_user() returns None, it
really does mean that whoever/whatever access that page isn't logged
in. perhaps it's a TaskQueue task or some robot hitting your page.
do you recognize the IP addresses in your log entries? for example,
one of them is
Eze wrote:
Greetings! I have the feeling this is an old question, but I can't
find a specific answer. Is it possible to host a Google App *only* in
your custom domain www.example.com?
As far as I know, you can check the domain in your Python or Java
application and redirect the user or a
Hi Dhruv,
While this is an interesting project, providing direct access to the
datastore from client-side code has very serious security implications. Any
user can manipulate your data in any way, exposing private user data,
modifying data, or erasing it.
-Nick Johnson
On Wed, Apr 7, 2010 at
Hello,
We're having some problems with emails being sent multiple times. The
core issue is that emails are being sent even if send_mail raises an
error (DeadlineExceededError). (Same issue mentioned in
I need to assign a value to a Model property but its name is not known
until runtime. For illustrative purposes, say
class Story(db.Model):
title = db.StringProperty()
body = db.TextProperty()
s = Story(title=The Three Little Pigs)
Since I wanted to decide on the property name at
Hi
Have a look at Expando as a base class for starters.
http://code.google.com/appengine/docs/python/datastore/expandoclass.html
And also you should avoid using exec/eval,
use setattr and getattr http://docs.python.org/library/functions.html#setattr
e.g.
Hi J,
You can use getattr and setattr for dynamic property access:
s = Story()
setattr(s, 'title', 'The three little pigs')
getattr(s, 'title') # Returns 'The three little pigs'
On Wed, Apr 7, 2010 at 3:31 PM, J j.si...@earlystageit.com wrote:
I need to assign a value to a Model property but
Hello,
There are quite a few questions in there that people will probably
answer. One quick thing to clear up is that Google App Engine is a
hosting service for web-applications programmed in either Python or
Java. Java can be used to make many things, including standard
programs, applets
when sending an ics attachment with meeting information
the header that comes through for the part is like this
Content-Type: text/calendar
MIME-Version: 1.0
Content-Disposition: attachment; filename=meeting.ics
but it needs to be like this
Content-Type: text/calendar; charset=utf-8;
sorry if I post this in the wrong place
just starting to learn GWT using 'Glassfish Bundle For Eclipse'
using step by step tutorials from GWT homepage and so far I manage to
deploy the first simple sample app at http://bahasa-java.appspot.com/
during the last couple of days I manage to associate
hi, nice to meet you. I'm from china, and strived so much to go
through the FAMOUS china great fire wall which blocks many and many
sites , ex. google group and python/download.
that's my complaint, ^...@^
now, i want to describe my problem, it's very strange.
when i was in office, my
Hi-
I was writing a request handler that sent an email address and was
very surprised when my unit tests failed due to is_email_valid
returning unexpected false positives. Upon further investigation of
the sdk source[1], turns out that invalid_email_reason is doing a very
very basic string
Hello everyone,
Does anyone know what are the locations of google app engine office???
Do all the app engine guys are in *Mountain *View California???
Thanks,
Shrimpy.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this
Thanks.
On Apr 6, 2:22 pm, Ikai L (Google) ika...@google.com wrote:
I've filed a bug with the production team. They'll get around to it when
they do a sweep of these ghost versions. You can have up to 100 versions,
so these should not block you from continuing to develop.
On Thu, Apr 1,
Wesley,
Sure there are robot clicks. The IP addresses you mentioned are indeed
bots.
However, there were quite many real human clicks that caused the problem.
For instance, in the app id 'sa-beta' error log, there is the following
entry:
03-15 03:07PM 52.148 /channel/ 500 949ms 330cpu_ms 9kb
Hi Janne,
I also was thinking about this issue. The only idea I've got so far is
to include on BCC a email address that will send the mail back to GAE
handler and mark a email task in datastore as executed. Of course
there should be some status change to IS_SENDING to wait for signal
back. The
My personal experience:
For small applications I've gave up the server at all.
All you need is mydomain.com and a Google site. Registering at
name.com have an initial automated setup for google site.
From this point on you already own a site (hosted by Google) with all
the services you might need
Yes, one index needs to be created per property. You can also set this field
to unindexed if you do not need to search on this data.
On Tue, Apr 6, 2010 at 9:50 AM, Petrov Aleksander ass.pet...@gmail.comwrote:
I have an entity with Collection property like this:
class MyEntity{
ListString
Add something like this as WSGI middleware:
class TestDenyMiddleware(object):
def __init__(self, app):
self.app = app
def __call__(self, environ, start_response):
sn = environ.get('SERVER_NAME', )
if 'appspot' in sn:
start_response('403 Forbidden', [('Content-Type',
Looks like you're working with GWT and not App Engine. You'll want to ask on
the Google Web Toolkit groups:
https://groups.google.com/group/Google-Web-Toolkit?pli=1
On Wed, Apr 7, 2010 at 1:57 AM, Vik_Sintus miskintapisomb...@yahoo.comwrote:
sorry if I post this in the wrong place
just
You should be able to set the content type header on a response. Can you
post your code if you're doing this and it isn't happening?
On Wed, Apr 7, 2010 at 3:10 AM, Ron ronsterc...@gmail.com wrote:
when sending an ics attachment with meeting information
the header that comes through for the
Thanks again Nick!
That helps a lot and I really appreciate it! I watched Brett's Google
IO video and what you suggest sounds very efficient. I have to study
up on keys a little to make sure I understand how to achieve: the key
name of the UserArticle could be the same as the key name of the
Hello,
I reckon this has been asked many times, and the general answer is
that we should use a code revision or backup tool.
I recently got my laptop stolen, and hadn't been careful enough with
my backups. Can somebody at Google help me recover my code?
I found a tricky way to do this, but I am
On Apr 7, 5:18 pm, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Dhruv,
While this is an interesting project, providing direct access to the
datastore from client-side code has very serious security implications. Any
user can manipulate your data in any way, exposing private user
60 matches
Mail list logo