[appengine-java] Re: my local app works fine, but in the deployed version I get 500 error

2011-05-21 Thread shevie
I didn't change anything, but now it works...
Thanks for the link about tracking the app, I'll get familiar with
that (for next time)...
:)
Shevie

On May 18, 5:31 pm, Erick Fleming  wrote:
> http://code.google.com/appengine/docs/adminconsole/index.html
>
> On Wed, May 18, 2011 at 3:57 AM, shevie  wrote:
>
> >  My app url is:http://daz3dcontent.appspot.com/app/login.jsp
> > How can I see the logs? and what's wrong with it?
>
> > --
> > 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] bulkloader upload_data

2011-05-21 Thread Aswath Satrasala
Hi,
I was doing upload_data to one of the remote servers using the
bulkloader.py.
It prints few message and stays at the last message shown below for a long
time.
[INFO] Connecting to vs-stage.appspot.com/remote_api

I even gave the --noisy option on the commandline.
Any other options to use, to make the bulkloader more friendly.

-Aswath
www.AccountingGuru.in.

[INFO] Logging to bulkloader-log-20110522.064623
[INFO] Throttling transfers:
[INFO] Bandwidth: 250 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 500/second
[INFO] Batch Size: 100
[INFO] Opening database: bulkloader-progress-20110522.064623.sql3
[DEBUG   ] [Thread-1] RestoreThread: started
[DEBUG   ] [Thread-1] RestoreThread: exiting
[DEBUG   ] [Thread-2] RestoreThread: started
[DEBUG   ] [Thread-3] WorkerThread: started
[DEBUG   ] [Thread-4] WorkerThread: started
[DEBUG   ] [Thread-6] WorkerThread: started
[DEBUG   ] [Thread-5] WorkerThread: started
[DEBUG   ] [Thread-7] WorkerThread: started
[DEBUG   ] [Thread-8] WorkerThread: started
[DEBUG   ] [Thread-10] WorkerThread: started
[DEBUG   ] [Thread-9] WorkerThread: started
[DEBUG   ] [Thread-12] WorkerThread: started
[DEBUG   ] [Thread-11] WorkerThread: started
[DEBUG   ] Configuring remote_api. url_path = /remote_api, servername =
vs-stage
.appspot.com
[DEBUG   ] Bulkloader using app_id: vs-stage
[INFO] Connecting to vs-stage.appspot.com/remote_api

-- 
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: The requested URL was not allowed error when deployed on appspot.com

2011-05-21 Thread Naren Koka
I figured it out from the 
thread: 
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/3ee3421ba8186a6c

Thank you waf...

I had to add this application Id to the services on our google apps domain. 
 Then it worked right away.  Here is an article that talks about 
it: http://code.google.com/appengine/articles/auth.html
Go to the bottom of the article to the section: Configuring Google Apps to 
Authenticate on Appspot.

Thank you,
Naren Koka

-- 
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: Index Names now throwing an error

2011-05-21 Thread Matt Farnell
It's been over 3 weeks and I still have this blocking prod issue. Can
someone at Google please look into it.

http://code.google.com/p/googleappengine/issues/detail?id=5004

thanks,


On Thu, May 5, 2011 at 11:16 AM, Matt Farnell  wrote:

> I haven't created a Java Property, I create the property using the low
> level api as I use these numbered properties for stats which I query on.
> It's been working for over a year and still does, however I now can't upload
> any app modifications as I'm getting an error due to this new property name
> type check.
>
> Can someone on the inside please chime in, it's been a few days and I need
> to upload an app mod.
>
> thanks,
> Matt
>
> On Thu, May 5, 2011 at 6:15 AM, Simon Knott  wrote:
>
>> How have you managed to create a Java property which starts with a number?
>>
>> --
>> 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.
>>
>
>
>
> --
> thanks,
> *Matt Farnell*
> *follow on twitter *
>
>


-- 
thanks,
*Matt Farnell*
*follow on twitter *

-- 
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: Another transaction by user vedmack is already in progress for app: vedmack, version: 1. That user can undo the transaction with "appcfg rollback".

2011-05-21 Thread Daniel
actually i didn't i never used this appcfg and i was not aware of
it...

google a bit now and did the rollback :)

i guess i got :cold feet" :)


thx...






On May 21, 11:26 pm, JT  wrote:
> Did you try "appcfg rollback"?
> On May 21, 2011 4:17 PM, "Daniel"  wrote:> Hi I tried to 
> deploy to GAE and noticed that by mistake I'm about to
> > upload tons of tons of files... so i closed the eclipse and reopen it,
> > since then i cant deplot my application (its been several hours since
> > than)
>
> > hoe can i FIX this?
>
> > Here is the message:
>
> > Unable to update app: Error posting to URL:
>
> https://appengine.google.com/api/appversion/create?app_id=vedmack&ver...> 409 
> Conflict
> > Another transaction by user vedmack is already in progress for app:
> > vedmack, version: 1. That user can undo the transaction with "appcfg
> > rollback".
>
> > See the deployment console for more details
> > Unable to update app: Error posting to URL:
>
> https://appengine.google.com/api/appversion/create?app_id=vedmack&ver...> 409 
> Conflict
> > Another transaction by user vedmack is already in progress for app:
> > vedmack, version: 1. That user can undo the transaction with "appcfg
> > rollback".
>
> > --
> > 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] Another transaction by user vedmack is already in progress for app: vedmack, version: 1. That user can undo the transaction with "appcfg rollback".

2011-05-21 Thread JT
Did you try "appcfg rollback"?
On May 21, 2011 4:17 PM, "Daniel"  wrote:
> Hi I tried to deploy to GAE and noticed that by mistake I'm about to
> upload tons of tons of files... so i closed the eclipse and reopen it,
> since then i cant deplot my application (its been several hours since
> than)
>
> hoe can i FIX this?
>
> Here is the message:
>
> Unable to update app: Error posting to URL:
>
https://appengine.google.com/api/appversion/create?app_id=vedmack&version=1&;
> 409 Conflict
> Another transaction by user vedmack is already in progress for app:
> vedmack, version: 1. That user can undo the transaction with "appcfg
> rollback".
>
>
> See the deployment console for more details
> Unable to update app: Error posting to URL:
>
https://appengine.google.com/api/appversion/create?app_id=vedmack&version=1&;
> 409 Conflict
> Another transaction by user vedmack is already in progress for app:
> vedmack, version: 1. That user can undo the transaction with "appcfg
> rollback".
>
> --
> 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] Another transaction by user vedmack is already in progress for app: vedmack, version: 1. That user can undo the transaction with "appcfg rollback".

2011-05-21 Thread Daniel
Hi I tried to deploy to GAE and noticed that by mistake I'm about to
upload tons of tons of files... so i closed the eclipse and reopen it,
since then i cant deplot my application (its been several hours since
than)

hoe can i FIX this?

Here is the message:

Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=vedmack&version=1&;
409 Conflict
Another transaction by user vedmack is already in progress for app:
vedmack, version: 1. That user can undo the transaction with "appcfg
rollback".


See the deployment console for more details
Unable to update app: Error posting to URL:
https://appengine.google.com/api/appversion/create?app_id=vedmack&version=1&;
409 Conflict
Another transaction by user vedmack is already in progress for app:
vedmack, version: 1. That user can undo the transaction with "appcfg
rollback".

-- 
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: GAE - Java - JSON?

2011-05-21 Thread arjun zacharia
+1 for GSON and Restlet.
Restlets works very well with GAE


Arjun Abraham Zacharia

Feel wronged and powerless against unruly Vehicle drivers?

Log a complaint against autos, buses, cabs @ auto404.org
My profiles: [image:
Facebook]
Signature powered by

WiseStamp



On Sat, May 21, 2011 at 7:06 PM, Mike Lawrence wrote:

> +1 stripes
>  my stripe app boots cold in 2 seconds
>  round trip times from browser to datastore
>  in back are about 100ms
>
> the rest of the stack...
>
>  combined with slim3 datastore and
>  much if the gae datastore issues
>  melt away
>
>  jquery mobile - works cross browser,
>google tv, cross smart phone.
>write once, run almost (requires
> a new version of IE) anywhere with
> no plugin
>
>
>
> On May 20, 10:39 pm, Rusty Wright  wrote:
> > I'm using Stripes (an action based framework, similar to Struts 2 but
> > *way* better) and GSON.  Stripes is very flexible and powerful and very
> > well thought out and designed.
> >
> > On 2011-05-20 06:43, Pop Vasile wrote:> Thanks guys, great resources. I'm
> still a bit confused about the
> > > approach on GAE server-side... Should I use servlets? Restlet?
> > > Something else?
> > > --
> > > 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.
>
>

-- 
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] GAE Arabic Support

2011-05-21 Thread Ahmed Shoeib
using this code i persist data to GAE Store but when storing Arabic
it's format in Store become ?

how to support persist Arabic Text in GAE DataStore ???

the code :

PersistenceManager manager = PMF.get().getPersistenceManager();
Category category = new Category(categoryName);
manager.makePersistent(category);
manager.refresh(category);
manager.close();

please i need 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] The requested URL was not allowed error when deployed on appspot.com

2011-05-21 Thread Naren Koka
I have added an Authentication Servlet shown below to my test app already 
working on appspot.com. The app is working well on the local app engine 
server in Eclipse IDE. But when deployed on appspot, it gives this error 
when I try to open the Servlet URL.  I have chosen the option "Users with a 
valid account in the *indidge.com* Google Apps domain can sign in if the Google 
Accounts API  is used for 
authentication".  

In the local app server I am able to test it with different emails. However 
on AppEngine, I don't even see the Servlet interface.  It just fails with 
the above message.  Other part of the application, which uses a RPC service 
and GWT interface works fine, if I point to that URL.

In web.xml, I have added the entry for Servlet 



authServlet

com.indidge.hpmmonitor.server.AuthServlet




 

authServlet

/authServlet







authServlet




The Servlet class is very simple
===

public class AuthServlet extends HttpServlet {

 private static final long serialVersionUID = 1L;

 public void doGet(HttpServletRequest req, HttpServletResponse resp) 
throwsIOException {

  UserService userService = UserServiceFactory.getUserService();

  String param = req.getParameter("cmd");

  if (param != null && param.equals("logout")) {

   resp.sendRedirect(userService.createLogoutURL(req.getRequestURI()));

  } 

  else {

   User user = userService.getCurrentUser();

   if (user != null) {

if (user.getEmail().contains("test.com")) {

 // Redirect the user to the app screen

 resp.sendRedirect("/main.html");

} 

else {

 // Redirect the user to Not allowed screen

 resp.sendRedirect("/NotAllowed.jsp");

}

   } 

   else {

resp.sendRedirect(userService.createLoginURL( req.getRequestURI(), 
"google.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-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: GAE - Java - JSON?

2011-05-21 Thread Mike Lawrence
+1 stripes
  my stripe app boots cold in 2 seconds
  round trip times from browser to datastore
  in back are about 100ms

the rest of the stack...

  combined with slim3 datastore and
  much if the gae datastore issues
  melt away

  jquery mobile - works cross browser,
google tv, cross smart phone.
write once, run almost (requires
 a new version of IE) anywhere with
 no plugin



On May 20, 10:39 pm, Rusty Wright  wrote:
> I'm using Stripes (an action based framework, similar to Struts 2 but
> *way* better) and GSON.  Stripes is very flexible and powerful and very
> well thought out and designed.
>
> On 2011-05-20 06:43, Pop Vasile wrote:> Thanks guys, great resources. I'm 
> still a bit confused about the
> > approach on GAE server-side... Should I use servlets? Restlet?
> > Something else?
> > --
> > 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] Java => Google app

2011-05-21 Thread programmer
How do I make my java code or jar file an app?

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