Hello All,
I am running my web application on the GAE/J 1.3.8 development server
on my local machine. I have just got the following log entry whilst
testing:
21-Oct-2010 09:13:06 com.google.apphosting.utils.jetty.JettyLogger
warn
WARNING: fa...@null line:1 col:1 : org.xml.sax.SAXParseExceptio
Same issue for the past 3 days.
Only occuring on the dev server.
I have tried for hours to solve it. No clue...
Fortunately, no impact on the production environment.
On 21/10/10 11:50, "Ian Marshall" wrote:
>Hello All,
>
>I am running my web application on the GAE/J 1.3.8 development server
>on
Hi
I have a strange problem. Eclipse cannot clean and build my Google App
Engine project. It says:
DataNucleus Enhancer has encountered a problem.
Cannot run program "C:\Program Files\Java\jdk1.6.0_20\bin
\javaw.exe" (in directory "location_of_my_project"): CreateProcess
error=87, The parameter i
I think you're confusing entity *group* with actual entities stored in
datastore, as I doubt you'll have thousands of related entities.
-->
http://code.google.com/appengine/docs/java/datastore/transactions.html#Using_Transactions
see "Entity groups"
On Oct 20, 7:39 pm, "nicanor.babula" wrote:
>
Hello, I don't know if this can work for you...
In our app we authorize users recording email addresses in datastore.
WE use a custom admin page where we add user emails (or entire
domains) to allow users to access our app.
When a user logs in, we check if he's authorized and we serve the
applicati
An article with a sum up from the GWT team:
http://googlewebtoolkit.blogspot.com/2010/10/using-dynamic-host-page-for-gwt-apps.html
The way we serve our GWT app (embedded in JSP) is very similar, only
we have one more filter.
On Oct 21, 12:33 pm, "l.denardo" wrote:
> Hello, I don't know if this c
Hi,
I think it is since 1.3.8 but I am not certain. I can observe that my
requests take much longer than before. I am not certain why. Appstats
gives the values that seem to correspond to what was normal (about
6-9s incl. spin-up):
Appstats says:
real=8226ms cpu=0ms api=0ms overhead=188ms
But in
An article with a sum up from the GWT team:
http://googlewebtoolkit.blogspot.com/2010/10/using-dynamic-host-page-for-gwt-apps.html
The way we serve our GWT app (embedded in JSP) is very similar, only
we have one more filter.
On Oct 21, 12:33 pm, "l.denardo" wrote:
> Hello, I don't know if this c
Looks like sometimes experimental APIs are published way before
they're ready for production.
Channel API was defined in 1.3.4, before it was even announced :-)
Good sign for me, since it shows good planning from the team, and the
will to anticipate issues well before release time.
Regards
Lorenzo
Thanks for your reply, but
I didn't find a solution in the test sources. The keyword "count" is
only used to count the result entries.
Second, I can't use a mock datastoreService because the queries are
made too deep in your classes with the entityManager. I cannot rewrite
the complete sources fo
Hi,
it's a knwon problem: too many classes in your appl.They don't have to
be all jdo-enhanced for this to happen.
The way I personnally fix it: remove the template in the ORM
definition in Eclipse and replace it with an individual definition of
classes to be enhanced. bit tedious but the proble
Hello,
I have an image that would save the user (email) and a idimagen.
I use a form to send email and idimagen (Book). But do not persistence.
I also want to know how to limit the types of images (jpg, png and gif
only).
This is my
public class Upload extends HttpServlet {
@Override
public void
How about my comments below?
http://www.google.com/url?url=http://groups.google.com/g/f907f736/t/f81ea99ea7c010af/d/9fac9b668ea24068%3Fq%3D%239fac9b668ea24068&ei=oDjATIKTGY_D_QaQ8cDyCA&sa=t&ct=res&cd=7&source=groups&usg=AFQjCNHfdZa1EiQX24dQ-dp94o0b7kBZ_w
Do they help you?
On Oct 20, 6:39 pm, "n
i faced similar problem b4.
traced and found caused by datastore-indexes.xml existed b4 datastore
is created.
remove it then okay.
On Oct 21, 5:56 pm, Cyrille Vincey wrote:
> Same issue for the past 3 days.
> Only occuring on the dev server.
> I have tried for hours to solve it. No clue...
> Fo
Finally got tired of seeing this in my logs so I've logged an issue -
http://code.google.com/p/googleappengine/issues/detail?id=3927
If you've been a victim too, star this.
Thanks,
James
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java"
Exciting! I suppose it's beyond hope that JDO might somehow work w/
this?
On Oct 21, 6:39 am, "l.denardo" wrote:
> Looks like sometimes experimental APIs are published way before
> they're ready for production.
> Channel API was defined in 1.3.4, before it was even announced :-)
> Good sign for
Thank you all for your responses.
@alesj
No, I am not confusing entity "group" with the actual entities stored
in the datastore.
@Ian Marshall
Actually no, because I already did that kind of analysis.
I have to use transactions in order to maintain data consistency and
therefore I have to define
I am trying to debug an issue with a worker url (servlet) of a
TaskQueue.
I seem to be able to enqueue tasks to it fine, and it get's invoked.
The logs show the invokation:
10-21 08:03AM 34.074 /inspections/processor 405 19ms 38cpu_ms 0kb
AppEngine-Google; (+http://code.google.com/appengine)
0.1
Solved, and my (obvious) error
The task worker was being invoked with the (default it seems) POST
method, but I had only implemented GET.
The Dashboard log showed the servlet being invoked with no error and
no output, but in fact it was trying to do the POST with no post
doPost() method imple
Hi,
1 info that is important to reach the value for this max number (if
it exists) is the size of the entities: the bigger they are, the
faster you will occupy the bandwith between the BigTable server and
the processing server.
So, if you want to go fast, you have to spread entities among many
s
Instead of saving it in DataStore, I would recommend using BlobStore.
I do it something like this:
- Retrieve all data uploaded using BlobstoreService::getUploadedBlobs
- Do all the validation, as may be required (with other form data)
- if !valid
=> BlobstoreService::delete(...)
else
=>
Hi,
I assume that your application can distinguish between the user who is
logged (as Google Accounts user) is a part of your application or not.
You can try doing something like this (for automatic logout)...
String link = userService.createLo
Hi,
I'm new to Google App Engine.
I try to develop a Servlet using Java
public class IsoServlet extends HttpServlet {
final Logger log = Logger.getLogger(IsoServlet.class.getName());
public PersistenceManager pm = PMF.get().getPersistenceManager();
}
I have implemented
Thank you! It works for me.
--
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.
Hey,
I have encountered a weird case while trying to create a new entity in
the database:
I have this code:
Meeting meeting=new Meeting(...)
pm.makePersistent(meeting);
Long meetingID=meeting.getId();
if(meetingID==null)
throw new Exception("meeti
Very cool... I didn't know that existed. Is there a similar low level
api for python? You have a doc link?
On Oct 19, 2:19 pm, "Ikai Lan (Google)"
wrote:
> This is a problem that can probably be easily solved with the low-level API.
> Entities are schemaless and you can treate properties like a M
Hi,
Currently, I successfully download and upload data into my Java
Application on Google App Engine in production environment using the
python BulkUploader (I followed this nice tutorial :
http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-engine/)
But I'm facing a problem using t
Thanks for looking into it Ikai. If you were to guess is this likely
to be a quick fix or a lengthy drawn-out one?
I've made many changes to my app now java.net.InetAddress has been
supported and I cant launch the update because of this issue.
On Oct 21, 12:38 am, "Ikai Lan (Google)"
wrote:
> Yo
Yes, but you will have to dig a bit: in the source:
http://www.google.com/codesearch/p?hl=en#Qx8E-7HUBTk/trunk/python/google/appengine/api/datastore.py&q=Entity&l=400
Schemaless entities are how datastore models are saved underneath the hood.
--
Ikai Lan
Developer Programs Engineer, Google App E
I have a CSS file main.css in my war directory. I've modified it, but
the trouble is that when I execute my project in Eclipse as a
WebApplication, the server delivers the old version of the file. All
works fine with the appserver command.
I searched in the workspace, and even in my hole homedir,
I've reproduced this. I'm following up. What is it you need this class for?
You can't do host resolution yet, even in the dev app server. The extent of
what you can do is this:
InetAddress address = InetAddress.getLocalHost();
resp.getWriter().println("Address: " + address.getHostAddress()
And I thought that I had gotten to the finish line without ever
needing the low-level API, guess I was wrong =). Thanks for the hint
Ikai!
On Oct 21, 7:39 pm, "Ikai Lan (Google)"
wrote:
> Yes, but you will have to dig a bit: in the source:
>
> http://www.google.com/codesearch/p?hl=en#Qx8E-7HUBTk
One more thing - your example is actually a perfect illustration of
what I have in mind - users will sign up to be notified by email of
all sorts of application events. I haven't read much about it yet,
but I take it that sending out such mass-notifications is exactly the
sort of task that the Map
Mmmhh I thought it works fine with appserver command, but I have the
same problem finally.
On 21 oct, 19:42, hadf wrote:
> I have a CSS file main.css in my war directory. I've modified it, but
> the trouble is that when I execute my project in Eclipse as a
> WebApplication, the server delivers th
What does the query look like? Query performance can sometimes be affected
by the "shape" of the data - that is, if the data changes, it may change the
number of indexes we need to zig-zag over.
--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Ok, I found the reason of my problem. The cache is the browser cache.
http://code.google.com/intl/fr/appengine/docs/java/config/appconfig.html#expiration
On 21 oct, 21:09, hadf wrote:
> Mmmhh I thought it works fine with appserver command, but I have the
> same problem finally.
>
> On 21 oct, 19
Did you try to clear the cache in the browser?
Saludos,
Guillermo Schwarz.
El 21-10-2010, a las 16:09, hadf escribió:
Mmmhh I thought it works fine with appserver command, but I have the
same problem finally.
On 21 oct, 19:42, hadf wrote:
I have a CSS file main.css in my war directory. I'v
First of all, i realized that part of the problem was the range of the
query (my data objects/entities grew very fast so i didn't that i was
retrieving 1000 entities per query). But my pb is that i don't really
"get it" ... the difference in time between queries is very different
from moment to mom
Since you are getting
javax.jdo.JDOFatalUserException: Object Manager has been closed
I presume that you might be using the same pm instance after you have
closed it. After your
pm.close();
your first time, did you obtain a new pm before your second time?
On Oct 21, 2:07 pm, Janka wrote:
I guess that the limit is enormous. (That doesn't help you since you
want to actually know!)
Of course, you can only add entities to your entity group at a certain
rate of transactions per unit time. This is a constraint on how the
number of entities in any given entity group increases over time.
So it looks like this will work if you add this to your appengine-web.xml:
false
Depending on how much you need it, you can enable it today by adding this -
but you lose Java precompilation, so there may be some impact on your cold
startup times.
--
Ikai Lan
Developer Programs Engineer, Google A
Thanks for the update, changing precompilation from true to false did
indeed solve the problem.
Is this considered a fix or a temporary work-around? I'm not sure if
the new functionality I've added warrants removing precompilation.
Oh and I need InetAddress as I'm using the Java API from MaxMind
This is a temporary workaround only. We should have this fixed in a few hours.
On Thu, Oct 21, 2010 at 4:29 PM, mscwd01 wrote:
> Thanks for the update, changing precompilation from true to false did
> indeed solve the problem.
>
> Is this considered a fix or a temporary work-around? I'm not sure
Great! Thanks for attempting to fix this so quickly.
On Oct 21, 10:32 pm, Don Schwarz wrote:
> This is a temporary workaround only. We should have this fixed in a few
> hours.
>
>
>
>
>
>
>
> On Thu, Oct 21, 2010 at 4:29 PM, mscwd01 wrote:
> > Thanks for the update, changing precompilation fro
Same thing just happened to me...
Any guess when this could be fixed?
Cheers,
Guillermo.
On Wed, 2010-10-20 at 10:21 -0700, Yegor wrote:
> Actually, I have seen this behaviour in several recent releases of the
> SDK. At this point, every time I upgrade, I kinda half-expect that my
> test data wi
Hi Erik,
To check (and then limit) the format, you can extract the picture from
the mail as a byte[] and then use this byte[] to create an image via
ImagesService.makeImage(byte[]) and then do Image.getFormat() to see
if you accept the format or not.
regards
didier
On Oct 21, 1:43 pm, erikzamith
Hi,
I would like to optimize the use of GWT ImageBundle as recommended by
ttp://library.igcar.gov.in/readit2007/tutori/tools/gwt-windows-1.4.10/doc/html/com.google.gwt.doc.DeveloperGuide.UserInterface.ImageBundles.html
It says
"To make all image bundle files permanently cacheable, set up a rule
--
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 mo
Not really what happens, apparently does not save the image (blob), or
email, or the idimage. because when you try to display it, is null.
This is the doGet
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
public void doGet(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
String email = req.getParameter("email");
String bookid = req.getParameter("bookid");
BookImage imagen = getImage(email
Have you tried replacing
pm.makePersistent(meeting);
Long meetingID=meeting.getId();
with
meeting = pm.makePersistent(meeting);
Long meetingID=meeting.getId();
and see if this solves your problem. You might also want to commit
your transaction if you are doing this persistence in a tran
> Not really what happens, apparently does not save the image (blob), or
> email, or the idimage. because when you try to display it, is null.
> This is the doGet
> public void doGet(HttpServletRequest req, HttpServletResponse resp)
> throws ServletException, IOException {
Hi,
I think the issue is when you store the image not when you retrieve
it:the published code doesn't show how you store the image.
regards
didier
On Oct 22, 8:29 am, erikzamith wrote:
> > Not really what happens, apparently does not save the image (blob), or
> > email, or the idimage. because
53 matches
Mail list logo