[appengine-java] Server error on Datastore Viewer

2011-06-12 Thread kartik kudada
Hi All,

I am getting Server error on while trying to access a specific table on
Datastore Viewer of Admin Console.
It is working fine for other tables, this problem is happening from 1 week.
Has anybody faced this problem before ?

Please see below, more illustration.
Please help.

-- 
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: Appengine whitelist: can all Interfaces be used?

2011-06-12 Thread Didier Durand
Hi,

Shape is not in the white list: all the classes part of it are
detailed here http://code.google.com/appengine/docs/java/jrewhitelist.html

regards

didier

On Jun 13, 4:27 am, Dieter Krachtus 
wrote:
> Hi,
>
> I am relatively new to Java appengine but I can imagine why one needs
> something like a whitelist. Still I am wondering if (and if not, why)
> all Interfaces are in the whitelist?
>
> Just one 
> example:http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Shape.html
>
> Cheers,
> Dieter

-- 
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] currentUser for multiple domains

2011-06-12 Thread Danilo Tuler
Does anything changes regarding authentication due to recent google changes 
to apps infrastructures? I mean, all app accounts are now standard google 
accounts...


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/8AeHm_kyiS8J.
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] Appengine whitelist: can all Interfaces be used?

2011-06-12 Thread Dieter Krachtus
Hi,

I am relatively new to Java appengine but I can imagine why one needs
something like a whitelist. Still I am wondering if (and if not, why)
all Interfaces are in the whitelist?

Just one example: 
http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Shape.html

Cheers,
Dieter

-- 
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: SpringMVC RESTful + JSP + GAE/J .. 404 not found on JSPs..

2011-06-12 Thread senthilcool

I am also facing the same problem. Doesn't work locally in Eclipse but
works when uploaded to GAE.

Is this a bug? Are there any workarounds?

cheers,
senthil

-- 
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] Is there a way to use send mail functionality local

2011-06-12 Thread meiaestro
Hi!
as I could not find any howto papers vian google I was wondering if there is 
a way to use/test the email sending on localhost?

My setup: GAE 1.5 / GWT 2.3.0 / Eclipse 3.6.2

Thanx!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/620kuwmq2eUJ.
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: Why does the info messages stopped appearing in the Logs?

2011-06-12 Thread Daniel
working!!!


finally

this is the needed line :

dr.level = INFO

upper level of my packages... + "dot" + "level"

this is the line:

dr.level = INFO

On Jun 11, 9:47 pm, Daniel  wrote:
> Thanks alot anyway,
>
> adn yes
>
> my appengine-web.xml is set up correctly,
>
> anotehr weird thing is , event when i set up
>
> # Set the default logging level for all loggers to WARNING
> .level = FINE
>
> and i'm getting tons of jetty logs from FINE level... even than I'm
> not getting any of my logs lower than warning
>
> :/
>
> Can any 1 else throw an idea?
>
> Thanks ahead,
>
> On Jun 11, 11:08 am, Ian Marshall  wrote:
>
> > Sorry that it's not working for you.
>
> > I use NetBeans for my IDE, so I trust that someone else reading this
> > who uses Eclipse can help you better than me.
>
> > (Am I correct to presume that the relevant setting in your "appengine-
> > web.xml" points to the correct "logging.properties" file and
> > location?)
>
> > On Jun 11, 8:59 am, Daniel  wrote:
>
> > > I did as you said in 1 --> did nothing
>
> > > after I did as you said in 2   --> the logs started to appear in my
> > > development eclipse console (*which is really great! , thx , although
> > > only warning and above logs :()
>
> > > did as you said in 3, but did not helped :(
>
> > > i tired this
> > > .level = WARNING
> > > dr.todo.beans.[...].level = FINE
>
> > > and this
> > > .level = WARNING
> > > dr.[...].level = FINE
>
> > > here an example from the code and the output from the logs
>
> > > System.err.println("Inside HoursReportBean Constructor
> > > eerr b4");
> > > log.fine("*Inside HoursReportBean Constructor"+":"+new Date());
> > > log.info("*Inside HoursReportBean Constructor"+":"+new Date());
> > > log.warning("**Inside HoursReportBean Constructor"+":"+new Date());
> > > log.severe("**Inside HoursReportBean Constructor"+":"+new Date());
> > > System.err.println("Inside HoursReportBean Constructor
> > > eerr after");
>
> > > in logs i see the following:
>
> > > #
> > > 2011-06-11 00:58:06.446
>
> > > [vedmack/1.351054244259633422].: Inside HoursReportBean
> > > Constructor eerr b4
>
> > > #
> > > W 2011-06-11 00:58:06.449
>
> > > dr.todo.beans.HoursReportBean : **Inside HoursReportBean
> > > Constructor:Sat Jun 11 07:58:06 UTC 2011
>
> > > #
> > > E 2011-06-11 00:58:06.450
>
> > > dr.todo.beans.HoursReportBean : **Inside HoursReportBean
> > > Constructor:Sat Jun 11 07:58:06 UTC 2011
>
> > > #
> > > W 2011-06-11 00:58:06.450
>
> > > [vedmack/1.351054244259633422].: Inside HoursReportBean
> > > Constructor eerr after
>
> > > 4) its already with lower cases
>
> > > On Jun 10, 11:43 pm, Ian Marshall  wrote:
>
> > > > 1.  Have a look 
> > > > athttp://groups.google.com/group/google-appengine-java/browse_thread/th...
> > > > for a hint about your "appengine-web.xml" file.
>
> > > > 2.  I place my "logging.properties" file in
>
> > > >   /WEB-INF/classes
>
> > > > Why? I cannot remember, but this worked for me.
>
> > > > 3.  Your "logging.properties" file uses its default level, for your
> > > > own classes, of
>
> > > >   # Set the default logging level for all loggers
> > > >   .level = WARNING
>
> > > > I use
>
> > > >   # Set the default logging level for all loggers
> > > >   .level = WARNING
>
> > > >   com.my.app.[...].level = FINE
>
> > > > This then allows my log message of level FINE or more severe to be
> > > > recorded.
>
> > > > 4. Case sensitivity: I recall (perhaps wrongly) that
> > > > "logging.properties" will work whereas "Logging.properties" will not.
>
> > > > Does any of this help?
>
> > > > On Jun 10, 8:33 pm, Daniel  wrote:
>
> > > > > this is the content of the logging.properties file (I have never
> > > > > touched it)
>
> > > > > # A default java.util.logging configuration.
> > > > > # (All App Engine logging is through java.util.logging by default).
> > > > > #
> > > > > # To use this configuration, copy it into your application's WEB-INF
> > > > > # folder and add the following to your appengine-web.xml:
> > > > > #
> > > > > # 
> > > > > #   
> > > > > # 
> > > > > #
>
> > > > > # Set the default logging level for all loggers to WARNING
> > > > > .level = WARNING
>
> > > > > # Set the default logging level for ORM, specifically, to WARNING
> > > > > DataNucleus.JDO.level=WARNING
> > > > > DataNucleus.Persistence.level=WARNING
> > > > > DataNucleus.Cache.level=WARNING
> > > > > DataNucleus.MetaData.level=WARNING
> > > > > DataNucleus.General.level=WARNING
> > > > > DataNucleus.Utility.level=WARNING
> > > > > DataNucleus.Transaction.level=WARNING
> > > > > DataNucleus.Datastore.level=WARNING
> > > > > DataNucleus.ClassLoading.level=WARNING
> > > > > DataNucleus.Plugin.level=WARNING
> > > > > DataNucleus.ValueGeneration.level=WARNING
> > > > > DataNucleus.Enhancer.level=WARNING
> > > > > DataNucleus.SchemaTool.level=WARNING
>
> > > > > and I have only 1 copy of it, and it was never moved, in WEB-INF
>
> > > > > any ideas?
>
> > > >

[appengine-java] Can Run Demo Web App Using Eclipse

2011-06-12 Thread red71
Hi,

This is my first day on this site so I decided to ge through the
example demo to create a simple Web App in Eclipse and App Engine
SDK

In the example notes it states...

"To test the new application that the plugin created, start the server
as above, then visit the following URL in your browser (using a URL
path appropriate to your application):

http://localhost:/guestbook";


My project path is C:\Users\ian\workspace\GuestBook.

My project is called GuestBook

What is the full url I need to type into a browser to run the demo..?


Regards Ian

-- 
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] Read entity by key returns wrong result type

2011-06-12 Thread Zerot Samsa
Hi!

I have a very strange problem when retrieving entities from the
datastore (I'm using Twig as my persistence framework.)

Let's say a have an entity of the type A which looks something like:

class A
{
  private String someString;
  @Embed
  private B b;
  @Embed
  private ArrayList cList;
}

Now sometimes when reading an entity A with a given key (which is 100%
valid -> i can see this entity in the admin console) the operation
does return an object of the type B or C (or any other type of any of
A's fields.)
So basically the read/find command returns any of A's fields instead
of the entity A.
Any ideas?

Thanks,
Z

-- 
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: Entity.getKey() reliable for gets?

2011-06-12 Thread John Patterson
.. that is the hash value will change.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/uIMwryKZk9kJ.
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: Entity.getKey() reliable for gets?

2011-06-12 Thread John Patterson
Hi Jay, yes you can use the Key that you have created - it is fully 
specified by the kind and id/name (automatically includes appId and 
namespace).  It is worth noting that if you create a Key and Entity then 
keep a reference to the Key in a HashMap that after calling db.put() the has 
value of the Key will change if its id is set.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/OWISvPDLkPgJ.
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: Channel API (Java) doesn't work locally, but in production mode.

2011-06-12 Thread Zerot Samsa
Server side log when creating the channel:

Channel for player 'agpjaXR5dGFnd2Vicg0LEgd2MV9Vc2VyGAEM' has been created.

Token='channel--evv68b-a@a.a'


Client side log of the http request:
Headers:
Request URL:
http://127.0.0.1:/_ah/channel/dev?command=connect&channel=channel--evv68b-a@a.a
Request Method:GET
Status Code:500 Channel for application key null not found.
Request Headers

> Accept:*/*
> Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
> Accept-Encoding:gzip,deflate,sdch
> Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
> Connection:keep-alive
> Cookie:JSESSIONID=1rvcszjuw6ain; sid=5851170229948939395; email=a%40a.a;
> password=DMF1ucDxtqgxw5niaXcmYQ%3D%3D
> Host:127.0.0.1:
> Referer:
> http://127.0.0.1:/citytag_standalone_source.html?gwt.codesvr=127.0.0.1:9997
> User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like
> Gecko) Chrome/12.0.742.91 Safari/534.30
> Query String Parametersview URL encoded
> command:connect
> channel:channel--evv68b-a@a.a
> Response Headers
> Cache-Control:must-revalidate,no-cache,no-store
> Content-Length:4576
> Content-Type:text/html; charset=iso-8859-1
> Server:Jetty(6.1.x)

Content:

> 
> 
> 
> Error 500 Channel for application key null not found.
> 
> HTTP ERROR 500
> Problem accessing /_ah/channel/dev. Reason:
> Channel for application key null not found.Caused
> by:com.google.appengine.api.channel.dev.LocalChannelFailureException:
> Channel for application key null not found.
> at
> com.google.appengine.api.channel.dev.ChannelManager.getChannel(ChannelManager.java:58)
> at
> com.google.appengine.api.channel.dev.ChannelManager.getClientChannel(ChannelManager.java:73)
> at
> com.google.appengine.api.channel.dev.ChannelManager.connectClient(ChannelManager.java:122)
> at
> com.google.appengine.api.channel.dev.LocalChannelServlet.doGet(LocalChannelServlet.java:64)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> at
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
> at
> com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:351)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> 
> Powered by Jetty://
>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


Hope that helps or are there any other logs you would be interested in?
Is there any way to get more low-level log information?

Thanks!

On Tue, Jun 7, 2011 at 1:02 PM, Moishe  wrote:

> Are you all using GWT?
>
> Any chance you can include some 

Re: [appengine-java] Thrift client support

2011-06-12 Thread Lucas Maystre
Thanks Ikai.
It seems indeed feasible...

I'm interested if anyone has already tried it.

Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/GPdsuVuiZ7oJ.
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.