Re: [appengine-java] Re: How to make GWT + App Engine application crawlable?

2010-09-26 Thread hezjing
Hi Philippe,

Thank you very much, your comment in the gwt-platform's issue are very
useful:

As what you have described, we have to rename the GWT hosted page .html to a
.jsp in order for the filters to work properly!

So instead of
http://127.0.0.1:/Hello.html?A=B&gwt.codesvr=127.0.0.1:9997,
we should really use
http://127.0.0.1:/Hello.jsp?A=B&gwt.codesvr=127.0.0.1:9997


BTW, how did you find out this solution? Is this documented some where??



On Sat, Sep 25, 2010 at 2:03 PM, PhilBeaudoin
wrote:

> I've been working on this problem for a long time within the gwt-
> platform project:
> http://code.google.com/p/gwt-platform/issues/detail?id=1
>
> I've gotten very far (i.e. I can make it work in development mode) but
> I ran into a very annoying issue with the urlfetch API of AppEngine:
> http://code.google.com/p/googleappengine/issues/detail?id=3602
>
> I don't know if this relates to your problem, but you may want to read
> the forum thread mentioned in the above issue for more details.
>
> Cheers,
>
>   Philippe
>
> On Sep 24, 4:23 pm, hezjing  wrote:
> > I'm still not able to retrieve the query string from my servlet filter.
> >
> > For example after application is deployed to Google App Engine, and then
> > browse X.appspot.com/X.html?a=b. The query string is null.
> >
> > Can you help me on this, please?
> >
> >
> >
> >
> >
> > On Thu, Sep 23, 2010 at 1:21 PM, hezjing  wrote:
> > > Probably that was a bad query string, but the servlet filter is not
> able to
> > > retrieve the query string from
> > >http://127.0.0.1:/Hello.html?A=B&gwt.codesvr=127.0.0.1:9997too!
> > >  
> >
> > > On Thu, Sep 23, 2010 at 10:04 AM, John Patterson <
> jdpatter...@gmail.com>wrote:
> >
> > >> On 23 Sep 2010, at 07:47, hezjing wrote:
> >
> > >> When run in the GWT development mode, e.g.
> > >>
> http://127.0.0.1:/X.html?_escaped_fragment_=&gwt.codesvr=127.0.0,
> the
> > >> application without App Engine is able to retrieve the query string as
> > >> "_escaped_fragment_=&gwt.codesvr=127.0.0.1:9997".
> >
> > >> The problem is, the application with App Engine is always getting the
> null
> > >> query string!
> >
> > >> You need to encode the query string - the & character is not allowed
> in a
> > >> value.
> >
> > >>http://download.oracle.com/javase/1.4.2/docs/api/java/net/URLEncoder..
> ..
> >
> > >> --
> > >> 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 unsubscr...@googlegroups.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > > --
> >
> > > Hez
> >
> > --
> >
> > Hez
>
> --
> 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.
>
>


-- 

Hez

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



Re: [appengine-java] Re: what if tx.commit() fails ?

2010-09-26 Thread Prashant
thanks :)
i'll go through the article and come back for any further doubt 

-- 
Prashant
www.claymus.com

-- 
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] Problem in running app engine

2010-09-26 Thread Gopal
Im running google app engine in netbeans. When run the project. It is
shwoing the following error..

roblem accessing /. Reason:

   javax.servlet.FilterChain is a restricted class. Please see the
Google  App Engine developer's guide for more details.

Caused by:

java.lang.NoClassDefFoundError: javax.servlet.FilterChain is a
restricted class. Please see the Google  App Engine developer's guide
for more details.
   at
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:
51)
   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:349)
   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)



I searched on the net above error. i found  that i m in google app
engine. so i need to unscrbe from google app engine and have to join
google app engine for java.  Please unscribe me from this group

-- 
Best Regards
Gopalrao Ambeer
MSIT, IIIT Hyd
Best View on Firefox: http://www.gopalambeer.co.nr/

-- 
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] Urgent Issue: App engine update java project failure

2010-09-26 Thread GESearch
Dear GAE team:
  Urgent Issue: App engine update java project failure. I hope you
could support me to fix it ASAP.
  The error log files are the below.

Beginning server interaction for geserver001...
0% Creating staging directory
5% Scanning for jsp files.
8% Compiling jsp files.
Sep 25, 2010 10:13:13 AM
com.google.apphosting.utils.config.AbstractConfigXmlReader
readConfigXml
INFO: Successfully processed C:\Users\lma9\AppData\Local\Temp
\appcfg44825.tmp\WEB-INF/web.xml
20% Scanning files on local disk.
25% Scanned 250 files.
28% Scanned 500 files.
31% Initiating update.

Error Details:
Sep 25, 2010 10:12:30 AM org.apache.jasper.JspC processFile
INFO: Built File: \aboutus.jsp
Sep 25, 2010 10:12:33 AM org.apache.jasper.JspC processFile
INFO: Built File: \askQuestion.jsp
Sep 25, 2010 10:12:35 AM org.apache.jasper.JspC processFile
INFO: Built File: \business.jsp
Sep 25, 2010 10:12:37 AM org.apache.jasper.JspC processFile
INFO: Built File: \buynow.jsp
Sep 25, 2010 10:12:40 AM org.apache.jasper.JspC processFile
INFO: Built File: \changePassword.jsp
Sep 25, 2010 10:12:42 AM org.apache.jasper.JspC processFile
INFO: Built File: \demo.jsp
Sep 25, 2010 10:12:44 AM org.apache.jasper.JspC processFile
INFO: Built File: \faq.jsp
Sep 25, 2010 10:12:46 AM org.apache.jasper.JspC processFile
INFO: Built File: \feedback.jsp
Sep 25, 2010 10:12:48 AM org.apache.jasper.JspC processFile
INFO: Built File: \foot.jsp
Sep 25, 2010 10:12:50 AM org.apache.jasper.JspC processFile
INFO: Built File: \header.jsp
Sep 25, 2010 10:12:53 AM org.apache.jasper.JspC processFile
INFO: Built File: \index.jsp
Sep 25, 2010 10:12:55 AM org.apache.jasper.JspC processFile
INFO: Built File: \login.jsp
Sep 25, 2010 10:12:57 AM org.apache.jasper.JspC processFile
INFO: Built File: \msgtable.jsp
Sep 25, 2010 10:12:59 AM org.apache.jasper.JspC processFile
INFO: Built File: \privacy.jsp
Sep 25, 2010 10:13:01 AM org.apache.jasper.JspC processFile
INFO: Built File: \sitemap.jsp
Sep 25, 2010 10:13:03 AM org.apache.jasper.JspC processFile
INFO: Built File: \userServiceToolBar.jsp
Sep 25, 2010 10:13:05 AM org.apache.jasper.JspC processFile
INFO: Built File: \welcome.jsp
Sep 25, 2010 10:13:08 AM org.apache.jasper.JspC processFile
INFO: Built File: \welcomegwt.jsp
Sep 25, 2010 10:13:10 AM org.apache.jasper.JspC processFile
INFO: Built File: \whychooseges.jsp


java.io.IOException: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=geserver001&version=1&;
409 Conflict
Another transaction by user sordyserver001 is already in progress for
this app and major version. That user can undo the transaction with
appcfg.py's "rollback" command.

Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=geserver001&version=1&;
409 Conflict
Another transaction by user sordyserver001 is already in progress for
this app and major version. That user can undo the transaction with
appcfg.py's "rollback" command.

Please see the logs [C:\Users\lma9\AppData\Local\Temp\appcfg44824.log]
for further information.

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



Re: [appengine-java] org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException

2010-09-26 Thread Ian Murdock
I just spent a very long time tracking down something quite
similar. It turned out the DataNucleus enhancer was
silently failing when using the Eclipse plugin. Running
the enhancer outside Eclipse, I got the attached error
message. In my case, the enhancer was choking on my
class' use of log4j. So, your best bet would be to
take a look at the files in
/var/folders/IC/IC+dB9EIEMmt+1Vn3bGJLU+++TM/-Tmp-
to see if something similar is going on for you. (With
a path like that, it's certainly different on your
machine, but that should probably get you close enough).

ian-murdocks-macbook$ ant datanucleusenhance
Buildfile: /Users/imurdock/Eclipse/The 9th/build.xml

datanucleusenhance:
  [enhance] DataNucleus Enhancer (version 1.1.4) : Enhancement of classes
  [enhance] Encountered a problem: Unexpected exception
  [enhance] Please see the logs
[/var/folders/IC/IC+dB9EIEMmt+1Vn3bGJLU+++TM/-Tmp-/enhance8504617589513481785.log]
for further information.

BUILD FAILED
/Users/imurdock/Eclipse/The 9th/build.xml:148: The following error
occurred while executing this line:
/Applications/Eclipse/plugins/com.google.appengine.eclipse.sdkbundle.1.3.7_1.3.7.v201008311427/appengine-java-sdk-1.3.7/config/user/ant-macros.xml:95:
Java returned: 1

Total time: 2 seconds
ian-murdocks-macbook$ more
/var/folders/IC/IC+dB9EIEMmt+1Vn3bGJLU+++TM/-Tmp-/enhance8504617589513481785.log
java.lang.RuntimeException: Unexpected exception
at 
com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:59)
at com.google.appengine.tools.enhancer.Enhance.(Enhance.java:60)
at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:57)
... 2 more
Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/Logger;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at 
org.datanucleus.metadata.annotations.AbstractAnnotationReader.getFieldAnnotationsForClass(AbstractAnnotationReader.java:289)
at 
org.datanucleus.metadata.annotations.AbstractAnnotationReader.getMetaDataForClass(AbstractAnnotationReader.java:143)
at 
org.datanucleus.metadata.annotations.AnnotationManagerImpl.getMetaDataForClass(AnnotationManagerImpl.java:136)
at 
org.datanucleus.metadata.MetaDataManager.loadAnnotationsForClass(MetaDataManager.java:2278)
at 
org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java:385)
at 
org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:743)
at 
org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
at 
org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
... 7 more
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at 
com.google.appengine.tools.enhancer.EnhancerLoader.loadClass(EnhancerLoader.java:85)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 18 more

-ian

On Fri, Sep 24, 2010 at 11:25 AM, karunakar mamidi
 wrote:
> i am trying to make a persistent class stored in the datastore...i got
> this exception..amnew to app engine ppls reply
>
>
>
> Uncaught exception from servlet
> org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException:
> The class "The class "hare.krishna.LoginBean" is not persistable. This
> means that it either hasnt been enhanced, or that the enhanced version
> of the file is not in the CLASSPATH (or is hidden by an unenhanced
> version), or the Meta-Data/annotations for the class are not found."
> is not persistable. This means that it either hasnt been enhanced, or
> that the enhanced version of the file is not in the CLASSPATH (or is
> hidden by an unenhanced version), or the Meta-Data for the class is
> not found.
>
> --
> 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.
>
>



-- 
Ian Murdock
http://ianmurdock.com/

"Don't look back--something might be gaining on you." --Satchel Paige

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.

[appengine-java] Issue: Fail to update app engine java project

2010-09-26 Thread GESearch
Dear Google App Engine team:

I try to upload app engine java project  today. I always get the
problem:

90% Deploying new version.
95% Will check again in 1 seconds.
98% Will check again in 2 seconds.
99% Will check again in 4 seconds.
99% Will check again in 8 seconds.
99% Will check again in 16 seconds.
99% Will check again in 32 seconds.
99% Will check again in 60 seconds.
99% Will check again in 60 seconds.
99% Will check again in 60 seconds.
99% Rolling back the update.

Error Details:
Sep 25, 2010 9:41:32 AM org.apache.jasper.JspC processFile
INFO: Built File: \aboutus.jsp
Sep 25, 2010 9:41:35 AM org.apache.jasper.JspC processFile
INFO: Built File: \askQuestion.jsp
Sep 25, 2010 9:41:37 AM org.apache.jasper.JspC processFile
INFO: Built File: \business.jsp
Sep 25, 2010 9:41:39 AM org.apache.jasper.JspC processFile
INFO: Built File: \buynow.jsp
Sep 25, 2010 9:41:41 AM org.apache.jasper.JspC processFile
INFO: Built File: \changePassword.jsp
Sep 25, 2010 9:41:43 AM org.apache.jasper.JspC processFile
INFO: Built File: \demo.jsp
Sep 25, 2010 9:41:45 AM org.apache.jasper.JspC processFile
INFO: Built File: \faq.jsp
Sep 25, 2010 9:41:47 AM org.apache.jasper.JspC processFile
INFO: Built File: \feedback.jsp
Sep 25, 2010 9:41:49 AM org.apache.jasper.JspC processFile
INFO: Built File: \foot.jsp
Sep 25, 2010 9:41:51 AM org.apache.jasper.JspC processFile
INFO: Built File: \header.jsp
Sep 25, 2010 9:41:53 AM org.apache.jasper.JspC processFile
INFO: Built File: \index.jsp
Sep 25, 2010 9:41:55 AM org.apache.jasper.JspC processFile
INFO: Built File: \login.jsp
Sep 25, 2010 9:41:57 AM org.apache.jasper.JspC processFile
INFO: Built File: \msgtable.jsp
Sep 25, 2010 9:41:59 AM org.apache.jasper.JspC processFile
INFO: Built File: \privacy.jsp
Sep 25, 2010 9:42:01 AM org.apache.jasper.JspC processFile
INFO: Built File: \sitemap.jsp
Sep 25, 2010 9:42:03 AM org.apache.jasper.JspC processFile
INFO: Built File: \userServiceToolBar.jsp
Sep 25, 2010 9:42:05 AM org.apache.jasper.JspC processFile
INFO: Built File: \welcome.jsp
Sep 25, 2010 9:42:07 AM org.apache.jasper.JspC processFile
INFO: Built File: \welcomegwt.jsp
Sep 25, 2010 9:42:09 AM org.apache.jasper.JspC processFile
INFO: Built File: \whychooseges.jsp


java.net.ConnectException: Connection timed out: connect
Unable to update app: Connection timed out: connect


   Could you help me resolve the problem?

-- 
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] What Does Hosted SQL Entail?

2010-09-26 Thread Stefan
I'm trying to figure out if a traditional RDBMS will support my
companies needs better than the given Google Datastore(BigTable).  The
fact is that I don't know what the available RDBMS is/are and can't
seem to find any info on what is out there. Do you know what the
available options are, short of me calling sales? Please advise.

Stefan

-- 
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] OutOfMemoryError

2010-09-26 Thread Joerg Weingarten
Since about 10 minutes I am getting an OutOfMemoryError when I query
records. Anybody seen this before?


Caused by: java.lang.OutOfMemoryError: Java heap space
at java.nio.ByteBuffer.wrap(ByteBuffer.java:367)
at java.lang.StringCoding$StringDecoder.decode(StringCoding.java:155)
at java.lang.StringCoding.decode(StringCoding.java:191)
at java.lang.String.(String.java:451)
at
com.google.appengine.repackaged.com.google.io.protocol.ProtocolSupport.toStringUtf8(ProtocolSupport.java:
516)
at
com.google.appengine.repackaged.com.google.io.protocol.ProtocolSupport.toStringUtf8(ProtocolSupport.java:
503)
at com.google.storage.onestore.v3.OnestoreEntity
$Property.getName(OnestoreEntity.java:2938)
at
com.google.appengine.api.datastore.DataTypeTranslator.addPropertyValueToMap(DataTypeTranslator.java:
309)
at
com.google.appengine.api.datastore.DataTypeTranslator.extractIndexedPropertiesFromPb(DataTypeTranslator.java:
217)
at
com.google.appengine.api.datastore.DataTypeTranslator.extractPropertiesFromPb(DataTypeTranslator.java:
238)
at
com.google.appengine.api.datastore.EntityTranslator.createFromPb(EntityTranslator.java:
29)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.processQueryResult(QueryResultsSourceImpl.java:
55)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.getMoreEntities(QueryResultsSourceImpl.java:
86)
at
com.google.appengine.api.datastore.QueryResultsSourceImpl.getMoreEntities(QueryResultsSourceImpl.java:
62)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.ensureLoaded(QueryResultIteratorImpl.java:
145)
at
com.google.appengine.api.datastore.QueryResultIteratorImpl.hasNext(QueryResultIteratorImpl.java:
71)
at
org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:
44)
at
org.datanucleus.store.appengine.query.LazyResult.resolveAll(LazyResult.java:
115)
at
org.datanucleus.store.appengine.query.LazyResult.size(LazyResult.java:
110)
at
org.datanucleus.store.appengine.query.StreamingQueryResult.size(StreamingQueryResult.java:
124)
at
org.datanucleus.store.query.AbstractQueryResult.toArray(AbstractQueryResult.java:
399)
at java.util.ArrayList.addAll(ArrayList.java:497)
at
com.rei.tlc.data.TARecordServiceImpl.deleteRecord(TARecordServiceImpl.java:
391)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
43)
at java.lang.reflect.Method.invoke(Method.java:43)

-- 
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] Python and Java

2010-09-26 Thread joradom
hello

I found this in the FAQ:
http://code.google.com/intl/en/appengine/kb/java.html#pythonandjava

Can I run Java and Python code in the same app?

Yes, each version of the app must specify a runtime language and it is
possible to have version x of your app running Java, while version y
is running Python. It would also be possible to use Jython.

But I'm not sure to understand it...

Can I just create a python app and upload it to a java gae cloudr? or
is there some more magidc not documented in the faq?

thx

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



Re: [appengine-java] Re: Blobstore upload forms and character encoding

2010-09-26 Thread Guillaume Laforge
Hi all,

Coming back to this issue...

Interestingly... it illustrates yet another difference between the dev mode
and deployed mode.

On the local development server, I have this encoding issue, that when I
upload a form containing a file for the blobstore and a text field, the
field is wrongly encoded, so I have to use a hack to decode as ISO-8951 and
re-encode as UTF-8.

BUT when I deploy my application on Google App Engine, the problem isn't
present there, and my hack wrongly decode/re-encode the text fields.

So locally, I need my hack, and remotely, I don't.

I'm going to have to do some local branching like if (localMode) { ... }
else { ... }

This would be good if we could remove such differences between local and
prod environments.

Guillaume

On Tue, Sep 14, 2010 at 11:40, Guillaume Laforge  wrote:

> Hi Pieter,
>
> Thanks a lot for the pointer!
> Using a specific filter for that purpose seems like a good idea.
>
> As you mentioned it, I've also added the <%@ page pageEncoding="UTF-8"
> contentType="text/html;charset=UTF-8"%> directive too, but it didn't
> change anything.
>
> I've not tried the filter idea yet, as I had a workaround.
> But I've got the feeling I'm missing something somewhere.
> All the knobs I could think of seem to indicate UTF-8 (even what I see
> through the response Jetty sends), so this is really weird.
>
> Perhaps it could be a problem with App Engine's /_ah/upload servlet
> which does something weird with the fields before returning them to my
> own controller.
>
> Guillaume
>
> On Tue, Sep 14, 2010 at 11:24, Pieter Coucke 
> wrote:
> > This is something I have problems with every time I start a new project.
> >
> > Maybe this helps (not sure since you say Jetty already sends it
> correctly):
> >
> http://www.onthoo.com/blog/programming/2005/07/characterencodingfilter.html
> >
> > I also have
> > <%@ tag pageEncoding="UTF-8"%>
> > and
> > <%@ page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>
> > in every tag and page
> >
> > And make sure your pages (jsp, tags) are also encoded in UTF-8.
> >
> > Hope this helps!
>
>
>
> --
> Guillaume Laforge
> Groovy Project Manager
> Head of Groovy Development at SpringSource
> http://www.springsource.com/g2one
>



-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

-- 
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] Wildcard seem not working in url-pattern

2010-09-26 Thread hadf
Hello,

I want to define a servlet like this :


test
fr.hadf.test.servlet.Test


test
/*


But wildcard doesn't work when url-pattern is root / as defined in my
web.xml
So that my servlet is not requested when i request an url like "http://
foo.appspot.com/foo"
but only if i request "http://foo.appspot.com/";

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



Re: [appengine-java] Python and Java

2010-09-26 Thread John Patterson
Different "versions" are completely separate code bases that share a  
common datastore and other API services.  One version could be written  
in Java and another in Python but only one can be the "default  
version" at a time (receiving traffic from your domain name).  The  
other versions are accessible only from the appspot.com domain.


On 26 Sep 2010, at 20:48, joradom wrote:


hello

I found this in the FAQ:
http://code.google.com/intl/en/appengine/kb/java.html#pythonandjava

Can I run Java and Python code in the same app?

Yes, each version of the app must specify a runtime language and it is
possible to have version x of your app running Java, while version y
is running Python. It would also be possible to use Jython.

But I'm not sure to understand it...

Can I just create a python app and upload it to a java gae cloudr? or
is there some more magidc not documented in the faq?

thx

--
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-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] Unable to deploy app to GAE

2010-09-26 Thread Vik
Hie

While trying to do so i see following in the log files. Please advise what
is the issue and how to resolve.

Unable to update:
java.net.SocketTimeoutException: Read timed out
 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
 at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
 at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown
Source)
 at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:135)
at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:82)
 at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:582)
at
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:400)
 at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:112)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:56)
 at
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:145)
 at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
 at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
 at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
 at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
 at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
 at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderFieldKey(Unknown
Source)
 at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getHeaderFieldKey(Unknown
Source)
at
com.google.appengine.tools.util.ClientCookieManager.readCookies(ClientCookieManager.java:123)
 at
com.google.appengine.tools.admin.ServerConnection.connect(ServerConnection.java:344)
at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:133)
 ... 9 more

Thankx and Regards

Vik
Founder
www.sakshum.com
www.sakshum.blogspot.com

-- 
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: Python and Java

2010-09-26 Thread joradom
ok, I uderstand that :)

BTW, I tested creating a simple "hello world" pythn app, and update it
to my java cloud, and it works.

Then, if I understand fully, you can run either python or java apps in
java cloud, but only pythons apps in a python cloud? or hv to request
to update a python cloud to run java?



On 26 sep, 17:23, John Patterson  wrote:
> Different "versions" are completely separate code bases that share a  
> common datastore and other API services.  One version could be written  
> in Java and another in Python but only one can be the "default  
> version" at a time (receiving traffic from your domain name).  The  
> other versions are accessible only from the appspot.com domain.
>
> On 26 Sep 2010, at 20:48, joradom wrote:
>
> > hello
>
> > I found this in the FAQ:
> >http://code.google.com/intl/en/appengine/kb/java.html#pythonandjava
>
> > Can I run Java and Python code in the same app?
>
> > Yes, each version of the app must specify a runtime language and it is
> > possible to have version x of your app running Java, while version y
> > is running Python. It would also be possible to use Jython.
>
> > But I'm not sure to understand it...
>
> > Can I just create a python app and upload it to a java gae cloudr? or
> > is there some more magidc not documented in the faq?
>
> > thx
>
> > --
> > 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 
> > athttp://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-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: Wicket/JPA application works locally but fails when deployed on GAE

2010-09-26 Thread Eurig Jones
I had the same issue with Wicket / JPA combination.

My particular problem was that I was using a ListView by passing a
List directly into the constructor:

ListView listView = new ListView("id", myListObject)
{ ... }

My solution was to instead use a LoadableDetachableModel for the
ListView.


On Aug 20, 7:01 am, Meetu Maltiar  wrote:
> The application has Wicket/JPA/Spring. It works locally on
> dev_appserver. After I deploy it on GAE it fails with the following
> track trace. I am failing to understand what might be the cause of the
> error.
>
> java.lang.RuntimeException: java.io.NotSerializableException:
> org.datanucleus.store.appengine.query.DatastoreQuery$2
>         at
> com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager 
> .java:
> 387)
>         at
> com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S 
> essionManager.java:
> 364)
>         at com.google.apphosting.runtime.jetty.SessionManager
> $AppEngineSession.save(SessionManager.java:164)
>         at
> com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF 
> ilter.java:
> 41)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
> actionCleanupFilter.java:
> 43)
>         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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH 
> andlerMap.java:
> 238)
>         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
> com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ 
> estParser.java:
> 76)
>         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
>         at
> com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
> t(JettyServletEngineAdapter.java:
> 135)
>         at
> com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> 251)
>         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> $6.handleBlockingRequest(RuntimePb.java:6784)

-- 
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] 500 Server Error

2010-09-26 Thread Collin
I just deployed my third version of the Greeting sample on GAE.
Version 1 & 2 worked as expected.   I added the Jackson JSON Processor
to the 3rd version.  It worked fine on my local machine.  GAE is not
providing any details on the error.  Can someone point me in the right
direction on how to troubleshoot this issue.

Error Url:
http://3.latest.olivia-grace.appspot.com/json



Working Url:
http://3.latest.olivia-grace.appspot.com

-- 
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] Testing support: SystemProperty.environment.value() throwing NPE

2010-09-26 Thread Guillaume Laforge
Hi,

In my unit tests, I was checking the environment through
SystemProperty.environment.value(), to check it's equal to
SystemProperty.Environment.Value.Development.
In some older versions of the SDK, it used to work, but since a few versions
ago, it started failing.

I'm using the LocalServiceTestHelper helper class, to setup a local
environment, calling the setUp() / tearDown() methods, configuring the
various services I need, etc.
But when I'm calling SystemProperty.environment.value(), I get an NPE along
the lines of:

java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:195)
at
com.google.appengine.api.utils.SystemProperty$Environment$Value.valueOf(SystemProperty.java:70)
at
com.google.appengine.api.utils.SystemProperty$Environment.value(SystemProperty.java:91)

I would expect SystemProperty.environment.value() to return
the SystemProperty.Environment.Value.Development value.
But it doesn't -- and I think it used to work a while ago.

To circumvent this, I have to explicitely call:
SystemProperty.environment.set("Development")
to manually set the environment to Development, in my setUp() method.

Is this expected behavior, is it a bug, or am I missing something?

Thanks for your attention.

-- 
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

-- 
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: Wicket/JPA application works locally but fails when deployed on GAE

2010-09-26 Thread Meetu Maltiar
This looks like a fine approach as detachable models will make it
cheaper to Serialize I guess. Were you able to find the reason why it
gave error before and works now?
I am curious to know what happens when you create a new collection of
myListObject and not use LoadableDetachableModel.

On Sep 26, 10:46 pm, Eurig Jones  wrote:
> I had the same issue with Wicket / JPA combination.
>
> My particular problem was that I was using a ListView by passing a
> List directly into the constructor:
>
> ListView listView = new ListView("id", myListObject)
> { ... }
>
> My solution was to instead use a LoadableDetachableModel for the
> ListView.
>
> On Aug 20, 7:01 am, Meetu Maltiar  wrote:
>
>
>
> > The application has Wicket/JPA/Spring. It works locally on
> > dev_appserver. After I deploy it on GAE it fails with the following
> > track trace. I am failing to understand what might be the cause of the
> > error.
>
> > java.lang.RuntimeException: java.io.NotSerializableException:
> > org.datanucleus.store.appengine.query.DatastoreQuery$2
> >         at
> > com.google.apphosting.runtime.jetty.SessionManager.serialize(SessionManager 
> > .java:
> > 387)
> >         at
> > com.google.apphosting.runtime.jetty.SessionManager.createEntityForSession(S 
> > essionManager.java:
> > 364)
> >         at com.google.apphosting.runtime.jetty.SessionManager
> > $AppEngineSession.save(SessionManager.java:164)
> >         at
> > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionF 
> > ilter.java:
> > 41)
> >         at org.mortbay.jetty.servlet.ServletHandler
> > $CachedChain.doFilter(ServletHandler.java:1157)
> >         at
> > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
> > actionCleanupFilter.java:
> > 43)
> >         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.runtime.jetty.AppVersionHandlerMap.handle(AppVersionH 
> > andlerMap.java:
> > 238)
> >         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
> > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequ 
> > estParser.java:
> > 76)
> >         at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >         at
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceReques 
> > t(JettyServletEngineAdapter.java:
> > 135)
> >         at
> > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> > 251)
> >         at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > $6.handleBlockingRequest(RuntimePb.java:6784)

-- 
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] JDOUserException, parent-child relationship amongst entities is buggy

2010-09-26 Thread culov
I'm looking to tighten up some of my server-side code, but I'm having
trouble properly establishing the relationship between entities.
Before, I was using unencoded Strings as keys, but after reading the
documentation here, I've changed them to encoded app-generated
Strings.

I have two Entities, Trucks and Tweeters. What I'd like is an
accessible Tweeter inside every Truck. Every truck has to have a
Tweeter associated with it (there may be many Trucks with the same
Tweeter), but a Tweeter may have no Trucks. Thus, the Tweeter should
be the parent, and the Truck the child. I'm having lots of trouble
persisting the classes in the datastore and I'm hoping someone can
look over how I created the classes and detect my errors. Currently im
getting a javax.jdo.JDOUserException. When I try to persist a Truck
object. Here's the relevant portion of my child class, Truck:

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@Extension(vendorName="datanucleus", key="gae.encoded-pk",
value="true")
private String key;

@Persistent(defaultFetchGroup = "true")
private Tweeter tweeter;
and the parent, Tweeter:

@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@Extension(vendorName="datanucleus", key="gae.encoded-pk",
value="true")
private String key;
I never set any of the keys anywhere, and based on the logs, the keys
are being set as they should be. I think there must be a critical
misunderstanding of the relationship on my part thats leading me to
see an error regardless of what I try. I know I can use
com.google.appengine.api.datastore.Key, but my classes are also used
client-side by GWT, so I can't import the Key class from the GAE
library.

Thanks so much for the 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-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.



Re: [appengine-java] Implementing custom login

2010-09-26 Thread Arun Ramanujapuram
Spring Security is one good option for custom login implementation.

Arun





From: Stakka 
To: Google App Engine for Java 
Sent: Sat, 25 September, 2010 9:14:00 PM
Subject: [appengine-java] Implementing custom login

Anyone have tips on how to best implement custom login. Not forcing
users to have an Google account.

I've thought of two possible solutions:

* Implement custom login in a Servlet Filter, thus replacing the
standard servlet security model.

* Implement an OpenID provider, then use Federated Login with only
that provider. This will let me use the standard servlet security
model and GAE build-in UserServices.

Discuss...

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

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



Re: [appengine-java] App breaking on age

2010-09-26 Thread karunakar mamidi
update the version, go to administration--->versions, select the version
which you want and make it default

On Sun, Sep 26, 2010 at 12:01 AM, Prashant  wrote:

> did you update the default version on admin console ?
>
> On 25 September 2010 23:53, Vik  wrote:
>
>> Hie
>>
>> We had our app deployed on app engine. We build a newer app in our local
>> environment.
>> As entities were not campatible with hosted app so we deleted all the
>> entities from gae.
>>
>> And the uploaded the new app.
>>
>> Now the problem is it is throwing exceptions. It is still referring to old
>> java class files which no longer exists in the new app.
>>
>> Plz suggest how to resolve the issue.
>>
>> Thanks & Regards
>> Vik
>> http://www.sakshum.com
>> Sent from my iPad
>>
>> --
>> 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.
>>
>>
>
>
> --
> Prashant
> www.claymus.com
>
>
>  --
> 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.
>



-- 
Regards,
Karunakar Mamidi

-- 
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] Here is an application thats hosted on the app engine.

2010-09-26 Thread branflake2267
I made this to speak up about Android bloatware: http://tellthefcc.appspot.com/

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