Re: [appengine-java] Re: javaassist, AspectJ, Will it play?

2010-06-13 Thread Sudhir Ramanandi
I tried AspectJ+Spring and it works.. AspectJ load time weaving does not work.. you have to use AspectJ compile time weaving. SN On Mon, Jun 14, 2010 at 10:33 AM, Vlad Skarzhevskyy wrote: > Javaassit works fine. We use it to create classes at run-time. > > The problem is with current start-up t

Re: [appengine-java] Where is the datastore file on windows?

2010-06-13 Thread Chau Huynh
It's located at \\war\WEB-INF\appengine-generated ... On Sun, Jun 13, 2010 at 3:25 PM, quqtalk wrote: > Use below Java code: >private static final PersistenceManagerFactory pmfInstance = > JDOHelper.getPersistenceManagerFactory("transactions-optional"); >Category c1 = new Category(); >

[appengine-java] Re: javaassist, AspectJ, Will it play?

2010-06-13 Thread Vlad Skarzhevskyy
Javaassit works fine. We use it to create classes at run-time. The problem is with current start-up time on GAE, adding code generation in our application was slowing us down by 2 sec. So we moved all the code generation to build time. We still use Javaassit in GAE development environment . --

[appengine-java] Re: Session object or memcache?

2010-06-13 Thread José Miguel Bataller
Google appengine stores session data in the App Engine datastore for persistence, and also uses memcache for speed. Using the AppEngine implementation of sessions for Java, you are using a combination of datastore and memcache and this solution is transparent from the development point of view. H

[appengine-java] Re: Minor issues with Struts 2 Tags

2010-06-13 Thread Innova4j
Hi I have the same problem ... Try to use JSTL ... or write the url in the JSP code Regards On 4 jun, 05:13, Andrew wrote: > Hi, > > I have set up struts using the method described at this page: > > http://whyjava.wordpress.com/2009/08/30/creating-struts2-application-... > > Everything I ha

[appengine-java] Re: Ctrl+C doesnt stop development server

2010-06-13 Thread bchoii
Hi, I"m encountering the same issue. JRE 1.6.0_20 GAE 1.3.4 On Jun 11, 3:08 am, "Ikai L (Google)" wrote: > We're seeing reports of this for folks using Windows. What version of > Windows are you using? Are you using a JRE or JDK, and what versions or > releases are you using? What version of GAE

[appengine-java] NeedIndexException - in production server

2010-06-13 Thread Ravi
Hi Google Team, All these days our application was working fine and we have not changed any datastore index or codebase of our application. Everyday we upload new set of data to our application. Today also we have uploaded new set of data but today after uploading the data we are getting very stra

Re: [appengine-java] jsp-config

2010-06-13 Thread Wojciech Rola
W dniu 2010-06-13 20:51, Marcel Overdijk pisze: Can somebody confirm that jsp-config in web.xml to globally enable EL is supported? false For me it is not working and I have to add<%@ page isELIgnored="false" %> to all jsp pages. Cumbersome...

[appengine-java] Where is the datastore file on windows?

2010-06-13 Thread quqtalk
Use below Java code: private static final PersistenceManagerFactory pmfInstance = JDOHelper.getPersistenceManagerFactory("transactions-optional"); Category c1 = new Category(); c1.setCategoryId("FISH"); c1.setDescription(" Fish"); c1.setName("FISH"); pm.makePersistent(c1); R

[appengine-java] Java applet->servlet->db

2010-06-13 Thread Nuluvius
Hi, Im new to developing Java especialy in GAE. I wondered if this scenario would be possible: MVC application: The View component is an applet running on another server. The Controller component is a servlet accessing a MySQL database also on another server which pools the connections, these ar

[appengine-java] "Content is not allowed in prolog" when parsing perfectly valid XML on GAE

2010-06-13 Thread Adrian Petrescu
Hey guys, I've been beating my head against this absolutely infuriating bug for the last 48 hours, so I thought I'd finally throw in the towel and try asking here before I throw my laptop out the window. I'm trying to parse the response XML from a call I made to AWS SimpleDB. The response is comi

[appengine-java] Server Error (500) & some other problems

2010-06-13 Thread el
Hi, I was working on NetBeans and deploying my project succesfully, when at 6th updating I saw an error: 20% Scanning files on local disk. 25% Initiating update. Error Details: 2010-06-12 23:24:36 org.apache.jasper.JspC processFile INFO: Built File: \index.jsp 2010-06-12 23:24:37 org.apache.jas

[appengine-java] .jspx files not parsed

2010-06-13 Thread hans
Hi, I have a little app that runs fine on local dev appengine, but appengine itself is not parsing+executing my .jspx files. The jspx files are in WEB-INF so they should not be excluded by appengine (as a static resource) I am using Apache Tiles to define my views. So the html produced looks li

[appengine-java] jsp-config

2010-06-13 Thread Marcel Overdijk
Can somebody confirm that jsp-config in web.xml to globally enable EL is supported? false For me it is not working and I have to add <%@ page isELIgnored="false" %> to all jsp pages. Cumbersome... -- You received this message because you are subscribed t

[appengine-java] javaassist, AspectJ, Will it play?

2010-06-13 Thread DutrowLLC
I saw no mention of Javaassit or AspectJ on the "Will it play" page. Do these work in App Engine? Thanks! -- 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.

[appengine-java] Appengine datastore phantom entity - inconsistent state?

2010-06-13 Thread aloo
Getting a weird error on java appengine code that used to work fine (nothing has changed but the data in the datastore). I'm trying to iterate over the results of a query and change a few properties of the entities. The query does return a set of results, however, when I try to access the first re

[appengine-java] Re: Task Queue java API

2010-06-13 Thread Tristan
sathish... what you came across is a transactional way to add a task on a queue. Toby described how I do it too (without transactions). DatastoreServiceFactory.getDatastoreService().getCurrentTransaction() is a low-level API way of retrieving the current datastore transaction. If you add a task

[appengine-java] Re: Low Level API - Batch Insert - Preserving Parent-Child Relationship

2010-06-13 Thread Tristan
It's possible to do anything in low-level API :) Although your code wouldn't work because you don't have question key available, and you need to include transaction parameter in your puts. It would need to be something like Transaction txn = dataStore.beginTransaction(); Key key = dataStore.put(

Re: [appengine-java] Re: Session object or memcache?

2010-06-13 Thread RAVINDER MAAN
can anybody provide good link for dos and donts for high traffic apps ? On Sun, Jun 13, 2010 at 11:52 AM, nischalshetty wrote: > Session isn't lost but session use is discouraged. You have memcache > which is pretty fast in retrieval. Of course, every once a while even > the memcache can be inval

[appengine-java] Re: Task Queue java API

2010-06-13 Thread Toby
Hi Sathish, I am not actually sure about your problem. But I agree that the documentation is a bit complicated to decode. I do like that: TaskOptions taskOptions = TaskOptions.Builder.url("/ servlet").param("param", param).method(Method.GET); //enqueue request

[appengine-java] Task Queue java API

2010-06-13 Thread sathish
Hi i'm new to Task queue concept while reading about it i got struck on this line queue.add( DatastoreServiceFactory.getDatastoreService().getCurrentTransaction(), TaskOptions().url("/path/to/my/worker")); What will DatastoreServiceFactory do... How to redirect this page to anothe