Hi,
How to create an application which can share with many companies
(multitenancy) with each company has their own database
ie if 'Company A' logins they can see his data only. I want to use a
single code base and use difference data stores for each user.
How can this be done using Google
hi i have developed a sample application by following apps given in
appengine sdk demos sample apps and when i send a request from
browser to that application then iam getting the following error on
jsp page
HTTP ERROR: 500
Unable to compile class for JSP
Generated servlet error:
- When using the 1-n example from the docs I get lots of problems when
trying to remove an item from the child list. Is it supported when
using datanucleus to modify the list of children (remove+add) in the
same transaction or is only add supported?
In DataNucleus-provided datastore plugins
Exactly the same problem here. I don't even have javac file anywhere -
only javacpl and javacpl.cpl.
On 12 сен, 15:10, yellowblood yellowbl...@gmail.com wrote:
I followed the tutorial perfectly, yet I can't seem to deploy my
application.
At first, the deployment failed because it didn't find
Hi, dunno if this helps, but...
%
if(entries.isEmpty()) {
%
div class=noEntries
No Entries
/div
In the code above, from the JSP file, the line div class=noEntries
is missing a
Might help.
Ric
--~--~-~--~~~---~--~~
You received this
I've created an issue for this problem (http://code.google.com/p/
googleappengine/issues/detail?id=2121).
Is seems that only makePersistentAll is affected.
On Sep 13, 8:31 pm, bysse erik.byst...@gmail.com wrote:
More specifically that id isn't set when
StoreLifecycleListener.postStore is
hie
Can anyone please guide on this?
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On Fri, Sep 11, 2009 at 10:24 PM, Vik vik@gmail.com wrote:
hie
any updates please on this
Thankx and Regards
Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com
On
On Sat, Sep 12, 2009 at 9:10 PM, yellowblood yellowbl...@gmail.com wrote:
I followed the tutorial perfectly, yet I can't seem to deploy my
application.
At first, the deployment failed because it didn't find the javac
file, so I copied it.
Copying javac.exe will almost certainly cause more
hi i am working with a sample application in gooleappengine and when
iam sending a request to application through the browser iam getting
the following error
HTTP ERROR: 500
Must set a body
RequestURI=/helloxmpp1
Caused by:
java.lang.IllegalArgumentException: Must set a body
at
Hi Gopal,
I do not know how you have arranged your entities in your datastore,
but using your example you could add a User field to your other
persistent entities. For example, using JDO annotations (which I use),
you could add the field
@Persistent
private User userCompany;
You could add
Hello there,
Doesn't the section Java | Storing Data | Relationships | Unowned
Relationships | Many-to-Many Relationships in the GAE documentation
explain how to do it? (I must admit I have not done this myself so I
cannot give you a working example!)
What do you mean by times out? Do you mean you hit the 30 second
deadline?
On Sep 14, 3:59 am, hg hgo...@gmail.com wrote:
Hi,
I am writing a script that is supposed to run quite a few inserts to
the datastore - up to a couple of hundred. My script keeps timing out
at 92. After I ran it a few
Hibernate is not JPA implementation, it exposes its own API.
Hibernate Entity Manager is a product build on standard Hibernate
and offering full JPA interface.
Google App Engine does not support Hibernate:
http://groups.google.com/group/google-appengine-java/web/will-it-play-in-app-engine
have you configured 'JRE System Library' to JDK ? if not have look at this
http://groups.google.com/group/google-appengine-java/browse_thread/thread/2a4be3c1d4a0feed/1d55c317e54fa985?lnk=gstq=jsp#1d55c317e54fa985
--~--~-~--~~~---~--~~
You received this message
Look at this thread, may provide some useful information.
http://groups.google.co.uk/group/google-appengine-java/browse_frm/thread/6ae2e6737cbb4b40/f47f015099538467?lnk=gstq=administrator#f47f015099538467
--~--~-~--~~~---~--~~
You received this message because you
For above Memcache question, I simply implemented a javax.cache.Cache
singleton pattern. I now have access to the cache from more than one
servlet. Is anyone aware that this implementation might problematic in
the Google App Engine distributed(cloud) runtime?
Thanks,
Jeff
On Sep 11, 2:45 pm,
Hi Ravi,
Check out http://code.google.com/appengine/docs/java/tools/eclipse.html
jason
On Sat, Sep 12, 2009 at 8:36 AM, Ravi Mandliya funkyr...@gmail.com wrote:
I have a web project build in eclipse..
I have installed google plugin..
But I cant deploy it, as I dont have configuration file
Sorry posted too early. Looks like this tutorial is outdated (refers to
appengine-web.xml, which I think you are saying you do not have?)
When you go to deploy, you'll see a link to your project properties in the
bottom of the deploy dialog (which normally asks for your username and
password).
Also, the docs from the Eclipse plugin will be helpful:
http://code.google.com/eclipse/docs/appengine_deploy.html and
http://code.google.com/eclipse/docs/appengine_appid_version.html
jason
On Mon, Sep 14, 2009 at 10:28 AM, Jason Parekh jasonpar...@gmail.comwrote:
Sorry posted too early. Looks
No, that sounds like a fine approach. You could even create multiple Cache
instances and they would still be backed by the same underlying store
(assuming they have the same namespace).
On Mon, Sep 14, 2009 at 9:18 AM, Jeff jeffarba...@gmail.com wrote:
For above Memcache question, I simply
* }
** }*
/table
/div
/div
/body
/html
You need to surround the ending curly-braces with % and %, like so:
%
* }
**}*
*%
* /table
/div
/div
/body
/html
On Mon, Sep 14, 2009 at 7:04 AM, anu anunimmala.nimm...@gmail.com wrote:
hi i have developed a sample application by following
Running into the same problem here using both the bean definition and
overriding the initBinder method on the SimpleFormController. Any
other insight into this issue?
On Sep 11, 3:13 pm, Jason (Google) apija...@google.com wrote:
If you're subclassing SimpleFormController, you can also override
Thanks for the reply...
Can u please elaborate How JDBC request can be pushed to another
server
I have an event coming up so I have to upload the site in urgency.
any help would be appreciated.
On Sep 14, 2:25 am, Gianni Mariani gian...@google.com wrote:
App Engine does not allow access to
On the image service overview page (http://code.google.com/appengine/
docs/java/images/overview.html), you say It can also composite
multiple images into a single image.
So I put a bunch of work into something that depends on compositing
images and I get to actually compositing the image and I
Right, I'd read the docs like Ian mentioned.
The big caveat as with anything in GAE is that the queries you intend
to perform will drive your model. There's more than one way to model
a many to many, so you need to make sure that the model you choose
supports the queries you need.
On Sep 14,
read this thread ...
you might want to batch the writes you should get around 200-300
objects per write (under the 5 sec timeout)
and probably around 2k per request before hitting the 30sec request
timeout (all depends on the complexity of
your objects)
On Sep 14, 5:54 am, Iain
Hi,
Another way to handle this would be to create a separate logging.properties
file, and then add the following to your launch configuration:
-Djava.util.logging.config.file=/path/to/test/logging.properties ...
This would be cleaner than modifying your code.
Rajeev
On Tue, Sep 8, 2009 at
+1
On Sep 13, 6:18 am, Philippe Marschall philippe.marsch...@gmail.com
wrote:
On Jul 22, 7:41 pm, Jason (Google) apija...@google.com wrote:
As indicated in the Will it play in App Engine page, you will not be able
to use the traditional Apache Commons FileUpload API since it relies on
Okej, i've learned a bit more since i've posted these messages. I
didn't quite understand (still don't probably) fetchgroups and detach
enough.
Anyway, the problem i had with could be avoided by defining fetch
groups for fields that will be stored in different tables.
If i have a declaration
No, I don't mean the 30 second timeout. First I thought that that was
the issue, but then I counted and it wasn't near 30 seconds. I also
realized that the script always stopped after 92 writes.
On Sep 14, 3:54 pm, Iain iain.robe...@gmail.com wrote:
What do you mean by times out? Do you mean
Clearly i'm just as lost now as before
On Sep 14, 7:54 pm, bysse erik.byst...@gmail.com wrote:
Okej, i've learned a bit more since i've posted these messages. I
didn't quite understand (still don't probably) fetchgroups and detach
enough.
Anyway, the problem i had with could be avoided
Hi:
I'd like my app to download and upload from the datastore -- that is,
to work as a file system. The only API, however, that I've found that
does this is written in Python. I'd like to know what if there's a
Java equivalent.
--Sam
--~--~-~--~~~---~--~~
You
Thanks for replying.
A couple of questions:
Which thread should I read?
Batching the writes seems like a great idea, I'll try it.
On Sep 14, 7:01 pm, Larry Cable larry.ca...@gmail.com wrote:
read this thread ...
you might want to batch the writes you should get around 200-300
objects per
This should help:
http://www.datanucleus.org/products/accessplatform_1_1/index.html
Regards,
Esteban
Java_GAE escribió:
Hi,
Please anybody can post a link to exhaustive and intensive tutorial on
JPA/JDO. I got head and tail from the google app engine tutorial but
need to understand much
Some thoughts based on experience.
http://hoteljavaopensource.blogspot.com/2009/09/migration-to-google-app-engine.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App Engine for Java group.
To post to
The GaeVFS (Google App Engine Virtual File System) project implements
a distributed, writable file system for Google App Engine:
http://code.google.com/p/gaevfs/
The current release (0.3) supports an API based on Apache Commons VFS
(http://commons.apache.org/vfs/). The latest code in
Thank you for replying.
I tried batching the writes, and it didn't solve the problem. However,
it did show me that my script is dying after I create 92 (exactly)
entities, whether or not they have all been persisted. Could this be
connected to the 2k per request? What exactly is the 2k per
Thanks, that answered my question.
--Sam
On Sep 14, 3:18 pm, Vince Bonfanti vbonfa...@gmail.com wrote:
The GaeVFS (Google App Engine Virtual File System) project implements
a distributed, writable file system for Google App Engine:
http://code.google.com/p/gaevfs/
The current release
Thank you for that! It looks promising.
On Sep 12, 11:56 pm, Gianni Mariani gian...@google.com wrote:
On Sun, Sep 13, 2009 at 5:29 AM, hg hgo...@gmail.com wrote:
Hi,
I have a task that I need to run via cron. It takes a fair amount of
time - is there any way around the 30 second request
Did you put the jsp-property-group element inside of a jsp-config element? I
tried this, and it uploaded without errors.
- Jason
On Thu, Sep 10, 2009 at 11:17 PM, Java_GAE next.is@gmail.com wrote:
Thanks Marcel.
There is another issue related with EL. When I tried to use jsp-
Don, I have sent you my application id through email (by doing reply
to author).
A few of things I should mention:
1) we're using JPA
2) we are not creating EMF by doing:
Persistence.createEntityManagerFactory(transactions-optional);
instead it is created through spring's
I have a class which has a collection of itself as its children. It is
mapped as :
@Persistent
private Group parent;
@Persistent(mappedBy= parent)
private ListGroup children;
The problem is I cannot insert the root object. The call to
makePersistent comes back successfully, but the
Hi David. We're blocked on a couple of commits that are needed before this
happens, but I'll try to get another update to you soon.
- Jason
On Fri, Sep 11, 2009 at 3:14 AM, David Yu david.yu@gmail.com wrote:
Any googler out there care to shed some light?
On Sep 10, 4:28 am, Marcel
No, you can't count on generated IDs being contiguous or monotonically
increasing.
- Jason
On Fri, Sep 11, 2009 at 9:19 AM, iker98 ike...@gmail.com wrote:
Thank you Max, I understand a bit more the numeric ID generator in
datastore.
Now I am aware that the numeric ID allocation for the
The page has been updated.
- Jason
On Fri, Sep 11, 2009 at 10:59 AM, Guilherme Silveira
guilherme.silve...@gmail.com wrote:
Hello guys,
It seems that JSP Api+JSTL does not work out of the box at appengine
as it says here
Your code looks fine. I just copied it over to a non-Spring context and it
worked without a hitch. Did you see this error before upgrading your SDK?
Are you seeing it in both the local development server and production? If
you start a new project and copy over your domain and DAO classes, does it
Also, do you have any unit tests that touch the App Engine datastore, and if
so, can you run these to see if they work?
- Jason
On Mon, Sep 14, 2009 at 3:41 PM, Jason (Google) apija...@google.com wrote:
Your code looks fine. I just copied it over to a non-Spring context and it
worked without
It's worth noting that session data isn't cleaned up by default. This means
that you can implement your own session cleanup logic and perform any other
cleanup logic hat you need to do at the same time.
On Mon, Sep 14, 2009 at 5:50 PM, Jason (Google) apija...@google.com wrote:
Yes, this seems
Yes, this seems reasonable. You can run this job, hitting the cleanup
servlet, once a day or any interval you see fit.
For more info:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/4f0d9af1c633d39a
- Jason
On Fri, Sep 11, 2009 at 6:45 PM, Erem ehb...@gmail.com wrote:
Your data is not lost -- I can see that you have several entities stored in
your datastore. It looks like your jdo.jsp file is not in the right
location. Have you placed it in the war directory? Sharing your web.xml file
would be helpful.
- Jason
On Sat, Sep 12, 2009 at 1:22 PM, Anton Ananich
From the error message, it sounds like the parent isn't getting set
correctly. You'll need to share some of your code in order for me to help
you further -- what does your Release class look like and how are you
persisting it?
- Jason
On Sat, Sep 12, 2009 at 4:36 AM, Anita an...@ensarm.com
You should add a filter that calls request.setCharacterEncoding() and sets
the appropriate encoding before handling the request. If you query for the
data without startsWith and display it on-screen, do you see what you expect
or is it garbled?
Also, make sure you add this line after declaring
It looks like you're trying to make a direct connection to your IBM DB2
database, which App Engine's sandbox doesn't permit:
http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox
If you want to use an external database, you will have to place a web
service in front of it and use
I'd also encourage you as part of this to focus on the mapping of
JPA/JDO RDBMS like concepts onto the DS, as this I have
found to be most problematic ... (or at least include pointers from
the example back to the online docs)
which is funny because I confess that you could write down all I know
nope you are right ... it's not useless ... apologies
I *think* the problem is in mapping (conceptually) from a mental RDBMS
model
to a GAE DS model ... where entity group might be mistaken for
table ...
:)
On Aug 26, 3:02 pm, Jason (Google) apija...@google.com wrote:
Why do you indicate that
you might want to extend this example to use the ISBN as the
book's PrimaryKey, which might be a natural choice for the
entities id, ensuring uniqueness in the DS ...
Thanks
- larry
On Sep 14, 4:07 pm, Max Ross maxr+appeng...@google.com wrote:
Hello hello and welcome to the very first
I find out the issue. It is the cache in my browser of previous error.
Please ignore the question.
BaTien
On Mon, 2009-09-14 at 10:18 -0600, Duong BaTien wrote:
Hi:
I use GAE SDK and GWT for different applications. For GAE SDK, i take
out 3 libs related to jpa since i use jdo
Thanks for your reply.
There is not any more questions.
The credit card is a problem ,but I think I can find the U.S. credit
card payments service in C2C community.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hi Jason,
Thanks for your reply.
On Tue, Sep 15, 2009 at 8:21 AM, Jason (Google) apija...@google.com wrote:
You should add a filter that calls request.setCharacterEncoding() and sets
the appropriate encoding before handling the request. If you query for the
data without startsWith and
On Sep 14, 7:57 pm, jeremy rose jeremy.rosenb...@gmail.com wrote:
On Sep 14, 6:06 am, leszek leszek.ptokar...@gmail.com wrote:
Hibernate is not JPA implementation, it exposes its own API.
Hibernate Entity Manager is a product build on standard Hibernate
and offering full JPA
60 matches
Mail list logo