[appengine-java] Re: Servlet Filter on non-Servlet resource

2011-02-07 Thread Charms Styler
yes you can apply for a pattern, here are some examples To apply for all html, u define the url pattern logSpecial *.html To apply to all resources logSpecial *.* -- You received this message because you are subscribed to the Google Groups "Go

Re: [appengine-java] Reposting question on jsp include.

2011-02-07 Thread Charms Styler
Hi rdayal, would appreciate a lot your response on this since no actual answer was found out anywhere. could you pls explain why the included page cannot access variables of the parent page on deployment ? because in dev server it works!!! but while uploading the app it throws on jsp "cannot

[appengine-java] Re: Uploading App to GAE with JSP compile Error

2011-02-07 Thread Charms Styler
is there any solutions for this ? -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+un

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Stephen Johnson
Also, beans should implement the java.io.Serializable interface if you are going to store them in the Session object. On Mon, Feb 7, 2011 at 10:12 PM, Stephen Johnson wrote: > Do you have sessions enabled for your application? > > > On Mon, Feb 7, 2011 at 5:39 AM, Louis H. wrote: > >> Hi, >> I a

Re: [appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Stephen Johnson
Do you have sessions enabled for your application? On Mon, Feb 7, 2011 at 5:39 AM, Louis H. wrote: > Hi, > I am trying jsp form handling via bean and I am wondering why this jsp page > gives me an NPE after submitting. This happening with scope "session" (when > I change scope to "page" it's wor

[appengine-java] oauth_token_secret does not exist - Accessing Google Calendar using Open Id + OAuth

2011-02-07 Thread Jaspal Sawhney
Steps to reproduce issue: 1. Trying to implement a 3 - legged Oauth to access google calendar using OpenIdfilter library (which internally uses Step2 and OpenId4Java). 2. Code snippet being used is as follows *GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new OAuthHmacSha1Signer()); OAu

Re: [appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Jaspal Sawhney
Ok this got resolved. I was doing 1 thing wrong I had the logs set to show incase of errors but my app was not throwing any errors so had to change the filters. However I was not able to see the dashboard record any hits at that time - however that is working too now. Thanks for the help. --

[appengine-java] Re: JAXB Support (2)

2011-02-07 Thread Jeroen Kransen
I got it working! I replaced the whole JAXB with an alternative JAXB implementation called JaxMeAPI. This is the Maven dependency: jaxme jaxmeapi 0.5.1 Now I got stuck again though, as it turns out that Apache FOP is incompatible with GAE. FOP (more specifically xmlgraph

Re: [appengine-java] Problems with MemCache, I call get(..) and the object comes with null properties

2011-02-07 Thread Ikai Lan (Google)
Can you post the object definition? Could the properties be transient? -- 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 Mon, Feb 7, 2011 at 11:44 AM, dudu

Re: [appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Dick Larsson
No logs but you can still access the app? Browser cache? ;) On 8 February 2011 00:01, Jaspal Sawhney wrote: > The version was the same on the appengine console too. > I created a new version. Removed the last one and now I'm not getting > any logs or hits in the dashboard. > > > > On Feb 7, 5:49

[appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Jaspal Sawhney
The version was the same on the appengine console too. I created a new version. Removed the last one and now I'm not getting any logs or hits in the dashboard. On Feb 7, 5:49 pm, Simon Knott wrote: > You can see how many times you've deployed in the day by going to your quota > page, in the adm

[appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Simon Knott
You can see how many times you've deployed in the day by going to your quota page, in the admin of your app. Also, if you click on the "Versions" link on the left-hand side, you can see when each version was last updated. -- You received this message because you are subscribed to the Google Gr

[appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Jaspal Sawhney
Version is 1.0 like it was all the time so far. Also I'm sure that I have not deployed 1000 times for sure. Would it make sense for me to change the version # and try? On Feb 7, 5:21 pm, Dick Larsson wrote: > Have you double-checked your "version"? > > On 7 February 2011 23:19, Simon Knott wrote

Re: [appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Dick Larsson
Have you double-checked your "version"? On 7 February 2011 23:19, Simon Knott wrote: > I believe you can deploy 1000 times a day > > -- > 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 > goog

[appengine-java] Re: Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Simon Knott
I believe you can deploy 1000 times a day -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-

[appengine-java] Weird but Why is my code not getting deployed to the app engine?

2011-02-07 Thread Jaspal Sawhney
So it sounds weird but I'm seeing the app engine logs shows errors on code snippets which do even exist in my code now? When I deploy my code to the app engine its not giving me any error. Is there a limit to how many times can one deploy code to the appengine in a day or something? Any pointers

[appengine-java] Re: hard time modeling my database

2011-02-07 Thread Arjan
Will, Thanks for the hint. When i use the User key (a String) as the reference from the Book to the User object, that would mean that the referential integrity is not enforced by the database. I understand that it would work, but it feels kind of strange. Is there a way to maintain the referenti

[appengine-java] Problems with MemCache, I call get(..) and the object comes with null properties

2011-02-07 Thread dudu
Here is how I declare my cache: Cache cache; Map props = new HashMap(); props.put(GCacheFactory.EXPIRATION_DELTA, 60);// seconds CacheFactory cacheFactory = CacheManager.getInstance() .getCacheFactory(); cache = cacheFactory.createCache(props); I have an seria

[appengine-java] synchronizing on http session to serialize http requests from same client

2011-02-07 Thread Ioannis Cherouvim
Hello I'm printing the http session hashcode and locally it's always the same across requests. On production though it's always different. Does this mean that the actual HttpSession instance on the JVM is always re-created from scrach? If so, how can I serialize http request processing from the s

[appengine-java] pubmed database search engine

2011-02-07 Thread lulwah al-harigy
My appliaction is simple search engine which search in pubmed database for articles and I have to deploy the libraries with the application folder. I deployed my application but when I tried to use the search of my application, I have the following problem: Traceback (most recent call last): Fil

[appengine-java] synchronizing on http session to serialize http requests from same client

2011-02-07 Thread Ioannis Cherouvim
Hello I'm printing the http session hashcode and locally it's always the same across requests. On production though it's always different. Does this mean that the actual HttpSession instance on the JVM is always re-created from scrach? If so, how can I serialize http request processing from the s

[appengine-java] Re: synchronizing on http session to serialize http requests from same client

2011-02-07 Thread Ioannis Cherouvim
Makes sense. Thanks. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@goog

[appengine-java] JAXB Support (2)

2011-02-07 Thread Jeroen Kransen
Hello, I'm having the same issue with JAXB that was described in an old, closed post with subject "JAXB Support". In short, I seem to run into a compatibility issue with JAXB and GAE. At first I used the latest 2.2.2 version of JAXB, but I decided to switch to an older 2.1.13 release, triggered by

[appengine-java] Require help in storing List in JPA POJO

2011-02-07 Thread ruskyn
Hi All, I am facing a problem. hope someone can help me. I am writing a User POJO using JPA to persist the object in datastore. i am trying to add a List of tags to users, which gives me error "unknown attribute type should not be container." as shown in below line. Can anyone let me know what a

[appengine-java] Re: synchronizing on http session to serialize http requests from same client

2011-02-07 Thread Simon Knott
This won't be possible on GAE - you have no guarantee that you're in the same JVM instance for parallel requests and in all likelihood won't be. On Feb 7, 3:54 pm, Ioannis Cherouvim wrote: > Hello > > I'm printing the http session hashcode and locally it's always the > same across requests. On pr

[appengine-java] High Replication - Large CPU spikes without Datastore Access

2011-02-07 Thread Simon Knott
As I've carried on the testing of my app against the HR-store, instead of the M/S datastore, I've noticed that occasionally I'll get a request which has a massive CPU spike. These spikes consume ~30-40seconds of CPU time, when my usual request times are ~. I'd assumed that something must be funda

[appengine-java] NPE at jsp:useBean with scope session

2011-02-07 Thread Louis H.
Hi, I am trying jsp form handling via bean and I am wondering why this jsp page gives me an NPE after submitting. This happening with scope "session" (when I change scope to "page" it's working correctly): *<%@ page contentType="text/html;charset=UTF-8" language="java" %>* **//Works ok with

[appengine-java] Re: Problem Authenticating against App Engine

2011-02-07 Thread Sky
Your code looks very good. Thanks! With my new sim card I could successfully connect to GAE. I think the problem was, like you said, the expiration of the authentication token... Thanks for your help! On 6 Feb., 21:15, Fabrizio Accatino wrote: > I follow another way: >  1 - get auth token from

[appengine-java] Re: Relationships between entities of of same kind

2011-02-07 Thread crllvnc
Merci Didier. -- 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-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroup

[appengine-java] Re: Relationships between entities of of same kind

2011-02-07 Thread Ian Marshall
This is both a bug and a limitation. The reported bug can be found as datanucleus-appengine issue 80 (Recursive relation does not work) at: http://code.google.com/p/datanucleus-appengine/issues/detail?id=80&can=5&sort=priority&colspec=ID%20Stars%20Type%20Status%20Priority%20FoundIn%20TargetRelea