[appengine-java] Re: dev_appserver.sh to allow restricted classes

2011-07-17 Thread gabriel munteanu
Hi,

I want to debug a js application in rhino on appengine.
on localhost, i want to debug it with rhino's debugger, but i cannot
as it uses a jframe class for the window&stuff, and dev_appserver.sh
spits an error with restricted class.

is there a flag or any other way to load restricted classes on
localhost on dev_appserver ?

cheers,
Gabi

P.S. sorry for the cross-posting from
google-appeng...@googlegroups.com. i guess that one is python only.

-- 
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 - order by query in a many to many model

2011-10-03 Thread gabriel munteanu
Hi,

I have the following model [pseudo code]:

db.Model("podcast", {
   name: StringProperty,
   description: TextProperty,
   homePageURL: StringProperty,
   addedDate: DateProperty
});

db.Model("category", {
   name: StringProperty,
   podcastsNumber: IntegerProperty
});

db.Model("podcastcategory", {
   category: ReferenceProperty({referenceClass: Category}),
   podcast: ReferenceProperty({referenceClass: Podcast})
});

I am trying to query the datastore to show in the web page the latest
5 podcasts in a certain category.

Problem is my approach seems very costly:

I do a query against podcastcategory and get al lentities there
filtered by my category property.
and i get all podcasts.
then I would have to sort them in my app by addedDate.

I feel that something is wrong, maybe my query or my data modelling. I
would appreciate any advice or links to set me to the right direction.

cheers,
Gabi

-- 
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] Configuring AName

2010-10-12 Thread gabriel munteanu
imho you can associate domains with your app only through the appengin
admin interface.
from your email i guess you try to make a subdomain per user
registered with your site.
that would be great, but i don't think it will work.

On Tue, Oct 12, 2010 at 1:12 PM, Davide Cerbo  wrote:
> Hi everyone,
> I want allow the user of my site to have user pages with urls like:
>
> http://username.mysite.com
>
> To do this on GoDaddy I need to configure the Aname to star (*), but I
> can do this only if I have an IP address.
> I tried to ping ghs.l.google.com and I retrieve the ip address: 74.125.43.121.
> I tried to map star(*) with this ip address, but I receive a page with
> the following error: "The requested URL / was not found on this
> server."
>
> somebody can help me?
>
> best regards,
> Davide
>
> --
> 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.
>
>



-- 
jgabios
http://bash.editia.info

-- 
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] index stuck in "Building" status

2010-10-26 Thread gabriel munteanu
Hi, i have appid ringojsblog, and there are 2 indexes with status
"Building" for over half an hour.
i have ~ 20 entities, that is all.

Thank you in advance

-- 
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: index stuck in "Building" status

2010-10-26 Thread gabriel munteanu
after more digging, i guess it was due to changing versions in the
admin interface while indexes were building up.
after a new deploy on the same version, it was all ok in 1 minute.

On Tue, Oct 26, 2010 at 7:18 PM, gabriel munteanu  wrote:
> Hi, i have appid ringojsblog, and there are 2 indexes with status
> "Building" for over half an hour.
> i have ~ 20 entities, that is all.
>
> Thank you in advance
>



-- 
jgabios
http://bash.editia.info

-- 
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] local dev server flag to have the same sandbox as the prod server

2011-04-13 Thread gabriel munteanu
Hi, I have an application that uses htmlparser.jar from here:
http://about.validator.nu/htmlparser/
well, it works fine on my local server, but in production says it
cannot be loaded:
JavaException: java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader)
I understand is fine, i can switch to other libs.

my question is:
Is there a flag or a config parameter, so that the local dev server
behaves like the prod one?
I mean, now I will try first in production to see what lib works
there, but the dev server is here on my machine, this is the one I
should be using to test and develop.

cheers
Gabi

-- 
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] local dev server flag to have the same sandbox as the prod server

2011-04-14 Thread gabriel munteanu
just did:
http://code.google.com/p/googleappengine/issues/detail?id=4895
after digging more, the difference between the prd server and local
dev server was the places where the 2 servers look for jars.
it seems local dev server looks in more places than the prod.

cheers,
Gabi


On Thu, Apr 14, 2011 at 1:32 AM, Don Schwarz  wrote:
> Can you file an issue in our issue tracker with the full stack trace and
> ideally a pointer to the relevant code?
> http://code.google.com/p/googleappengine/issues/list
> Thanks,
> Don
>
> On Wed, Apr 13, 2011 at 5:20 PM, gabriel munteanu 
> wrote:
>>
>> Hi, I have an application that uses htmlparser.jar from here:
>> http://about.validator.nu/htmlparser/
>> well, it works fine on my local server, but in production says it
>> cannot be loaded:
>> JavaException: java.security.AccessControlException: access denied
>> (java.lang.RuntimePermission getClassLoader)
>> I understand is fine, i can switch to other libs.
>>
>> my question is:
>> Is there a flag or a config parameter, so that the local dev server
>> behaves like the prod one?
>> I mean, now I will try first in production to see what lib works
>> there, but the dev server is here on my machine, this is the one I
>> should be using to test and develop.
>>
>> cheers
>> Gabi
>>
>> --
>> 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.