[appengine-java] Re: pdfJet issue

2011-04-28 Thread omer yaari
It does not work, GAE does not allow file stream to include the project this is a known issue, it cant be that you simply made itext work with gae without any adjustments On 29 אפריל, 05:57, nacho wrote: > I'm using iText-5.0.6 > > And the code hasn't any magic. Try with something like this: > >

[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. org.apache.xerces xml-apis 2.9.1 org.apache.xerces xercesImpl 2.9.1

[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: 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 Me

[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 { tableHeader

[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 A

[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 = memcache.getIdentifia

[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 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 send a 'deferred' Task

[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 Ja

[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 dat

[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); --- But

[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 o

[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] 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: http://googlew

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

2011-04-28 Thread Sam
Hi, I'm new to App Engine. I just spent the weekend porting my code over to Java. The major class in my app is a SAX XML parser that extends DefaultHandler. For some reason, I keep on getting errors similar to the following (extracted from the Eclipse debugger) whenever I try to get a PersistenceM

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

2011-04-28 Thread Kervin
I added both lib required for the remote api btw I get : java.lang.NoClassDefFoundError: java.util.logging.ConsoleHandler 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.rej

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

2011-04-28 Thread Kervin
No. It is not there. This is my classpath. Even when I copy the lib manually, I get the following error java.lang.NoClassDefFoundError: Could not initialize class com.google.appengine.tools.remoteapi.RemoteApiInstaller at com.kervinramen.spotfinder.servlets.HelperServlet.doGet(HelperServlet.

[appengine-java] Re: FileServiceFactory.getFileService().getBlobKey(file) is Broken, blobkey parser returns null

2011-04-28 Thread Brandon Donnelson
This workaround fails. The GAE is working up a fix. Wahoo, 2 points for the GAE Teams!!! 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

[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 a

[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 wrote: > Can you right click on

[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. Has anyone had luck with this? I get the following errors from the server: Error for /myapp java.lang.NoClassDefFoundErr

[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. Has anyone had luck with this? I get the following errors: Error for /myapp java.lang.NoClassDefFoundError: com/google/

[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: 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 wrote: > Thanks for your response Brandon. > > But in my case, file is served fr

[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 http://androidisland.blogspot.com/2010/10/gae-and-log4j-getting-them-to-work-bit.html)

[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 < > to > Are you suggesting, I should fetch data from blobstore and