[appengine-java] Re: issue in serving xml file from blobstore

2011-04-28 Thread pac
Thanks for your response Brandon. But in my case, file is served from blobstore i.e. blobstoreService.serve(blobKey, res); So file serving is not an issue but angular brackets get changed which I want to avoid i.e. to lt; to gt; Are you suggesting, I should fetch data from blobstore

[appengine-java] GAE and Logback - A little solution

2011-04-28 Thread SkYlEsS
Hi everybody ! For my e-commerce app on GAE, I wanted to use logback but, like everybody know, that solution doesn't display the correct log levels in the console. So I've written a logback appender (based on

[appengine-java] Re: issue in serving xml file from blobstore

2011-04-28 Thread pac
It was changing during transformation. ProcessingInstruction pi = document.createProcessingInstruction(StreamResult.PI_DISABLE_OUTPUT_ESCAPING,yes); rootElement.appendChild(pi); fixed it. On Apr 28, 8:12 am, pac parvez.chau...@gmail.com wrote: Thanks for your response Brandon. But in my

[appengine-java] Re: issue in serving xml file from blobstore

2011-04-28 Thread Brandon Donnelson
Oops my bad. I see it now. Good job in fixing it :). Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.com Challenge is to: Spice up the java forum with some profile pictures, lets beat the python community. :) -- You received this message because you are subscribed to

[appengine-java] Re: Google checkout and GAE

2011-04-28 Thread Patrick Jackson
I'm just having problems getting the custom order processing tutorial to work.http://code.google.com/apis/checkout/developer/Google_Checkout_Custom_Processing_How_To.html Has anyone had luck with this? I get the following errors: Error for /myapp java.lang.NoClassDefFoundError:

[appengine-java] GAE and google checkout notifications

2011-04-28 Thread Patrick Jackson
I'm just having problems getting the custom order processing tutorial to work.http://code.google.com/apis/checkout/developer/Google_Checkout_Custom_Processing_How_To.html Has anyone had luck with this? I get the following errors from the server: Error for /myapp

[appengine-java] Re: ${SDK_ROOT} .classpath eclipse

2011-04-28 Thread Kervin
Yes, but I get the following error: The following classpath entry '/media/lib/appengine-api.jar' will not be available on the server's classpath Unknown Google Web App Problem Any ideas? I am just trying to use a library... On Apr 28, 8:15 am, Brandon Donnelson branflake2...@gmail.com wrote:

[appengine-java] Re: ${SDK_ROOT} .classpath eclipse

2011-04-28 Thread Brandon Donnelson
Check to see if its in war/WEB-INF/libs. See if there is a duplicate too. Brandon Donnelson http://gwt-examples.googlecode.com http://c.gawkat.com Challenge is to: Spice up the forum with some profile pictures, lets beat the python community. :) -- You received this message because you

[appengine-java] Re: ${SDK_ROOT} .classpath eclipse

2011-04-28 Thread Kervin
No. It is not there. This is my classpath. classpathentry kind=lib path=/media/files/Kervin/app-engine/appengine-java-sdk-1.4.3/lib/impl/appengine-api.jar/ Even when I copy the lib manually, I get the following error java.lang.NoClassDefFoundError: Could not initialize class

[appengine-java] Re: ${SDK_ROOT} .classpath eclipse

2011-04-28 Thread Kervin
I added both lib required for the remote api btw classpathentry kind=lib path=/media/files/Kervin/app-engine/appengine-java-sdk-1.4.3/lib/impl/appengine-api.jar/ classpathentry kind=lib path=/media/files/Kervin/app-engine/appengine-java-sdk-1.4.3/lib/appengine-remote-api.jar/ I get :

[appengine-java] Re: How to show the Google Development Tools dropdown?

2011-04-28 Thread David Chandler
Hi Lina, The GPE 2.3 docs were mistakenly pushed live a bit early. You can access the new features in the 2.3 beta version of the plugin, which is installed through a separate update site in Eclipse. You can find more info and a link to the beta plugin in this post on the GWT blog:

[appengine-java] Re: jdo update is inserting when I don't want it to

2011-04-28 Thread datanucleus
Optimistic transactions sets a version on the object. If something is deleted in another thread then JDOOptimisticVerificationException is thrown when you update. THat's the whole point of optimistic txns (whether in JDO, JPA or anywhere). And no, after reading an object in via getObjectById the

[appengine-java] XMPP: Presence unsubscribe

2011-04-28 Thread gapp
Hi, I have a chatbot app. A gtalk user can add it as a contact and chat with it. To test presence, I had enabled this application for presence subscription as well - for any presence change, it was echoing back the presence as chat message. Now, my problem is, when the user removes this app from

[appengine-java] Combine getIdentifiable with get?

2011-04-28 Thread blue
Right now I have to do this in order to use putIfUntouched: --- Object myMemcacheObj = memcache.get(key); IdentifiableValue idVal = memcache.getIdentifiable(key); maybeTouchTheObj(myMemcacheObj); memcache.putIfUntouched(key, idVal, myMemcacheObj); ---

[appengine-java] App contact list?

2011-04-28 Thread gapp
Hi, Can someone tell me if a google web application (chatbot) maintains its users as it contacts? Actually, i'm looking to query some user profile data of the users using the application (using gdata API). All app has is the user's JID, which I dont think is sufficient enough to query profile

[appengine-java] Re: ${SDK_ROOT} .classpath eclipse

2011-04-28 Thread Kervin
I am now on my second week on that! appengine-remote-api.jar is in war/WEB-INF/lib but it cannot instantiate RemoteApiInstaller!! Seems so simple, but yet, I wasted hours and days on that! -- You received this message because you are subscribed to the Google Groups Google App Engine for Java

[appengine-java] Re: Deferred Task with non default queue

2011-04-28 Thread Marcel Overdijk
Can anybody confirm Deferred task should work with settings in queue.xml? On Apr 27, 11:28 am, Marcel Overdijk marceloverd...@gmail.com wrote: Hi Gianni, If I understand correctly I can use the default handler for any deferred task and thus specifying the url is irrelevant. How would I

[appengine-java] Re: Combine getIdentifiable with get?

2011-04-28 Thread Jay Young
According to the JavaDoc, the IdentifiableValue interface includes a getValue() method which returns the value as an Object: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/MemcacheService.IdentifiableValue.html IdentifiableValue idVal =

[appengine-java] Re: Combine getIdentifiable with get?

2011-04-28 Thread blue
Ah, I was reading that wrong, thanks for clarifying! ... now I just need to figure out how to get objectify to grab the IdentifiableValue. I'll probably have to roll my own system for this though, oh well. -- You received this message because you are subscribed to the Google Groups Google

[appengine-java] Re: pdfJet issue

2011-04-28 Thread nacho
I'm using iText-5.0.6 And the code hasn't any magic. Try with something like this: PdfWriter.getInstance(document, stream); PdfPTable tableHeader = new PdfPTable(2); tableHeader.setWidthPercentage(80); try {

[appengine-java] Re: Getting class not found errors on my project... any ideas why?

2011-04-28 Thread Sam
Just want to update this Upon further investigation it looks like the Google SDK I downloaded has a bad JAR file -- I got the following result when I tried to jar tf appengine-java-sdk-1.4.3 : java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native

[appengine-java] Re: Getting class not found errors on my project... any ideas why?

2011-04-28 Thread Nichole
When I need to use document operations rather than a sax2 parser through the XMLReaderFactory reader, I set a system property which declares the first preferred implementation of the factory: String appEngineEnv = System.getProperty(com.google.appengine.runtime.environment); if (appEngineEnv !=

[appengine-java] Re: Struts2 result type xslt with Google App

2011-04-28 Thread Nichole
Is xml-apis.jar included in your build? I had to add the following jars to an appengine app that used various xml operations. dependency groupIdorg.apache.xerces/groupId artifactIdxml-apis/artifactId version2.9.1/version /dependency