[appengine-java] Filter on property 'date' uses operator '>='. Joins are only supported when all filters are 'equals' filters.

2011-04-30 Thread Charms Styler
Hi I ran into the following issue while running a joined query between a 
Date range through JDO, is there any work around for this?? 

org.datanucleus.store.appengine.query.DatastoreQuery$UnsupportedDatastoreFeatureException:
 
Problem with query = 
:fromDate && d.date <= :toDate && userId == :user VARIABLES DailyCell d

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Datastore Viewer - Server Error

2011-04-22 Thread Charms Styler
I keep getting the following message when ever I Click on the *Datastore 
Viewer* link at the Admin Control Panel.  How can I view my App data??


*
*
 
Server Error

A server error has occurred.

Return to Applications screen » 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] indexes are stuck on "Building" status for more than a day and 16 hours now

2011-03-30 Thread Charms Styler
Hi, the BO's that are in concern has less than 5 rows and some none.

Could you pls check if it's stuck somewhere? and is there any way to fast 
forward 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Slow Index Building

2011-03-30 Thread Charms Styler
It's not the case always, I had added a index for a object before 
any persistence and still I had to wait.. 

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Indexes stuck in 'Building', and getting DatastoreNeedIndexException

2011-03-29 Thread Charms Styler
Hi, I am also stuck in index building  for 16 hours now ;(   , besides 
there's not much data on the datastore... is there're anyway I could help it 
go fast??

And due to that some sections of my app is unavailable, and the log says the 
following for the past 16 hours

com.google.appengine.api.datastore.DatastoreNeedIndexException: The index 
for this query is not ready to serve. See the Datastore Indexes page in the 
Admin Console..  

your response is highly appreciated
Thanks.
Charms

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: ManyToMany with list properties - IllegalArgumentException: name: String properties must be 500 characters or less.

2011-03-13 Thread Charms Styler
Datastore supports only till 500 Unicode characters for String. Exceeding 
that, your required to make that field a Text type.   

check here.
http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can't get .gif image to show in app engine

2011-03-03 Thread Charms Styler
try something like this inside static files

  

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Moderation enabled

2011-03-02 Thread Charms Styler
Hi Jason,

I think perhaps moderation should be employed with certain keywords and 
content types as Roy had shown above. it would make life lot easier..

Regards,
Charms

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: SystemProperty.applicationId.get() returns s~[APP-ID]

2011-02-28 Thread Charms Styler
Thanks for the insight. ;)

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: SystemProperty.applicationId.get() returns s~[APP-ID]

2011-02-28 Thread Charms Styler
*so if we replace "s~" , it'l solve the issue but is there a more cleaner
way to get it?
*
On Mon, Feb 28, 2011 at 5:20 PM, Simon Knott  wrote:

> That prefix is present for all High Replication applications.
>
>  --
> 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...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] SystemProperty.applicationId.get() returns s~[APP-ID]

2011-02-28 Thread Charms Styler
Hi,

My objective is to retrieve the application AppId through code.

SystemProperty.applicationId.get()

I use the above code snippet to achieve that but after deploying 
to App-spot  I am receiving my application Id as "s~myAppId" while on my 
local machine it returns "myAppId".

whats with the "s~"? any ideas?

Regards,
Charms


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Getting an object whitout key. Is it possible?

2011-02-28 Thread Charms Styler
I suggest you have a look at the appengine docs..
http://code.google.com/appengine/docs/java/datastore/jdo/queries.html

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Datastore Import and Export

2011-02-23 Thread Charms Styler
any updates on 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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: XStream and Google App Engine

2011-02-20 Thread Charms Styler
Hi Sean,

After patching XStream for GAE, I was able to convert my objects toXml() 
 But was not able to use fromXml(). I was continuously 
receiving reflection errors. Would be grateful if you could elaborate on 
 which part of you did successfully??

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: "order by" clause- JPA queries

2011-02-08 Thread Charms Styler
but when index are set to auto, it has to work right ?

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[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 
"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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



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 find symbol [javac] symbol  : variable name"

Overall a nasty error as fallows..

unable to update:
com.google.appengine.tools.admin.JspCompilationException: Failed to compile 
jsp files.
at 
com.google.appengine.tools.admin.Application.compileJsps(Application.java:413)
at 
com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:291)
at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:54)
at 
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:271)
at 
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:146)
at 
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



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



[appengine-java] Re: Task Queue API Update

2011-01-31 Thread Charms Styler
In your code,

TaskOptions TO = new TaskOptions(TOdefault);

I suggest you change it to 

TaskOptions TO = TOdefault;


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Xstream patched

2011-01-27 Thread Charms Styler
Wel I have been using it on my apps too, I suggest your post your source.

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: deploy app but no effect

2011-01-26 Thread Charms Styler
each time you increase the version of the app, you have to manually set the 
new version to serve as default

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Xstream patched

2011-01-26 Thread Charms Styler
yes we do...  try this out
http://guice-maven.googlecode.com/svn/trunk/com/thoughtworks/xstream/xstream/xstream-1.3.2-SNAPSHOT-GAE/

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Subject: Java documentation updated to use low-level API for example code

2011-01-16 Thread Charms Styler
hmmm thnx. it certainly did the trick.but I couldn't find the maximum
length of a key? any ideas ?



On Fri, Jan 14, 2011 at 6:42 PM, Didier Durand  wrote:
> Hi,
>
> You may be interested to read to undertstand the structure of DS keys:
> http://code.google.com/appengine/articles/storage_breakdown.html#anc-entitiestable
>
> And, to answer your question, you can use key.getId() (see
> http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Key.html)
> on low-level api to retrieve the Long that you need for JPA
>
> regards
>
> didier
>
> On Jan 14, 1:59 pm, Charms Styler  wrote:
>> Thanks. So it is possible to use both JPA & low level API.
>>
>> I tried it out , works like a charm but @ retrieval of specific object I ran
>> into prob you see
>> in my JPA, all my Entities are by long ID. How is possible for me to access
>> id using Key ?  How may I refer keys using id & vice versa??
>>
>>         @Id
>> @GeneratedValue(strategy = GenerationType.IDENTITY)
>> private Long id;
>
> --
> 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...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Subject: Java documentation updated to use low-level API for example code

2011-01-14 Thread Charms Styler
Thanks. So it is possible to use both JPA & low level API.  

I tried it out , works like a charm but @ retrieval of specific object I ran 
into prob you see
in my JPA, all my Entities are by long ID. How is possible for me to access 
id using Key ?  How may I refer keys using id & vice versa?? 

@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: javax.jdo.JDOUserException: Portion of expression could not be parsed: @email.com

2011-01-12 Thread Charms Styler
Most elegant way to pass query params is as follows otherwise you may run 
into special chars that could ruin ur app as in this case..

q.addFilter("login_Id", Query.FilterOperator.EQUAL, login_Id);
q.addFilter("userPassword", Query.FilterOperator.EQUAL, userPassword);


-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Subject: Java documentation updated to use low-level API for example code

2011-01-12 Thread Charms Styler
Hi Ikai, 
As for what I have come across so far, Low level Api is useful for 
performing  a transaction over multiple entities. However is it possible to 
use low level API as well as JPA or JDO ?   The idea is to use low level api 
whenever a need arises to perform a transaction over multiple entities, but 
I am not sure making entity groups using JPA Is doable? What's your say on 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Regarding @Column annotation

2011-01-12 Thread Charms Styler
maxlength in HTML is a good approach but the client code could
manipulated meaning ur application is open to inconsistent data
moreover if your application is serving more than the client HTML it's
a havoc.

For a example in your app if ur planing to tweet with some additional
prefix based on stored events other than html form submission,(As you
know tweet limit is 140 chars). so other than checking length
@prepersist is there any workarounds for this?

On Thu, Jan 13, 2011 at 11:26 AM, Kumar, Susheel
 wrote:
> Well, as I coudnt find a way what I did is I checked the size in the client
> side itself. Like I set maxlength value to the HTML input tags so that it
> will be prevent it right from there.
>
>
>
> Thanks & Regards,
>
> Susheel Kumar
>
> susheel.ku...@ap.sony.com  | +91 9886275353  | 080-67078924 |  SARD-SEZ,
> SISC | BANGALORE, INDIA |
>
>
>
> From: Charms Styler [mailto:charmssty...@gmail.com]
> Sent: Thursday, January 13, 2011 11:04 AM
> To: google-appengine-java@googlegroups.com
> Cc: Kumar, Susheel
> Subject: Re: Regarding @Column annotation
>
>
>
> true.. @Column length or  @size  doesn't seems to work. is there a
> workaround for this??
>
>
>
> hmm only explanation found was about the overall limit of 500 chars on
> String according to
>
> Porperties &
> Values http://code.google.com/appengine/docs/java/datastore/entities.html
>
> 
> This email is confidential and intended only for the use of the individual
> or entity named above and may contain information that is privileged. If you
> are not the intended recipient, you are notified that any dissemination,
> distribution or copying of this email is strictly prohibited. If you have
> received this email in error, please notify us immediately by return email
> or telephone and destroy the original message. - This mail is sent via Sony
> Asia Pacific Mail Gateway..
>

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Regarding @Column annotation

2011-01-12 Thread Charms Styler
true.. @Column length or  @size  doesn't seems to work. is there a 
workaround for this??

hmm only explanation found was about the overall limit of 500 chars on 
String according to 
Porperties & Values 
http://code.google.com/appengine/docs/java/datastore/entities.html

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Unable to navigate my app in production server, while in development server works fine

2011-01-11 Thread Charms Styler
I also came across an error while defining jsp-file servlet mappings into 
web.xml just like what have you done.

Anyway I suggest you check the logs on your appengine application. You 
should be able to see a stack-trace of the failure. could u post it?
for more info refer http://code.google.com/appengine/articles/logging.html

-- 
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.



[appengine-java] Re: Queue task problem

2011-01-04 Thread Charms Styler
1. Queue q = QueueFactory.getQueue("ur-queue"); 
q.add(TaskOptions.Builder.withUrl("/worker").param("msg", 
msg).method(Method.POST));

2. I suggest you check out *Queue Definitions *section at  
http://code.google.com/appengine/docs/java/config/queue.html

Adios!!
Charms

-- 
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.