[google-appengine] Re: [java] Setting up HRD with WTP (web tools platform) in Eclipse 4.3
Jon, Sorry - this stuff is still in preview, and I guess we didn't make that clear. We'll update the docs appropriately. We haven't added the HRD stuff in for the Google App Engine runtime that's part of WTP as yet. We'll do that shortly. You shouldn't be using the Web Application launch configurations for WTP-based projects; you should be using Run on Server. Again, this is something we haven't made clear. You're right, this stuff isn't done. We're planning to do a lot more work and polish on it. You'll see lots of progress over the next couple of months. On Sunday, August 11, 2013 4:21:52 PM UTC-4, Jon Stevens wrote: I'm using the new WTP functionality in Eclipse 4.3 with the latest Google Plugin for Eclipse to run my local AppEngine war file. I'm using Maven for my build too. I can't seem to setup HRD support though. The launch configuration that is generated doesn't have -Ddatastore.default_high_rep_job_policy_unapplied_job_pct=#defined and if I try to add it to the launch configuration, it seems to get removed by whatever is automatically generating it. Honestly, there seems to be a lot of half baked stuff in this. It is like it is _almost_ there, but the last 90% is the hardest part. I'd love to give some feedback to someone who is working on this stuff to try to help make it better. thanks, jon -- You received this message because you are subscribed to the Google Groups Google App Engine group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
Re: [appengine-java] Απ: Google Plugin for Eclipse beta available
Hi George, On Sun, Apr 24, 2011 at 9:48 AM, George Moschovitis george.moschovi...@gmail.com wrote: I created a simple web app using the GPE wizzard (no GWT). I added the Google Contacts API (using the wizzard in the beta GPE). Then, I added the following line in my servlet: ContactsService srv = new ContactsService(gmosx-test-1); When I started the app I get the error: java.lang.NoClassDefFoundError: com/google/gdata/client/GoogleService am I missing something? Do I have to manually add the jars in the WEB-INF dir or something? No, the jars should have been copied to your web-inf/lib directory for you. Can you tell me what jars are in that folder? thanks, -g. -- 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] Re: GAE on Mac OS X not working on local Jetty
On Thu, Apr 21, 2011 at 1:24 PM, James Moore jamesthepi...@gmail.comwrote: On Mar 30, 10:34 am, Ikai Lan (Google) ika...@google.com wrote: Just a quick update: there should be a fix going out for this when we release the final 1.4.3 SDK. What was the fix? Or more precisely, what do we need to do in addition to installing 1.4.3? I've got 1.4.3 and still see this problem. If your project is using App Engine 1.4.3, and you have GPE 2.2.1 installed, you should not be seeing this problem. If you are, delete any existing launch configurations that you have for the project and try again. The fix is in two parts; there's an extra class that GAE is providing to override the troublesome bug, and GPE is adding a VM argument to enable the use of this class. -- 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] Re: 1.4 eclipse plugin
Hi, If you navigate to Project Properties - Google - Web Application, do you have the option Launch and deploy from this directory checked? If so, when you switched SDKs on your project, the Google Plugin for Eclipse should have copied over the new libraries from the SDK over to your war/WEB-INF/lib directory. Have you manually copied/modified/removed any of the App Engine-related libraries in the war/WEB-INF/lib folder? If so, then the Google Plugin for Eclipse will not overwrite those changes on an SDK switch. What will happen is that when switching SDKs, a warning will appear in the problems view, indicating that there is a mismatch between the SDK jars and those in your war/WEB-INF/lib folder. By selecting the warning and hitting CTRL-1, you'll be given the option to synchronize the jars in the new SDK with the jars in war/WEB-INF/lib. Rajeev On Fri, Dec 3, 2010 at 9:30 PM, GoSharp Lite gosharpl...@gmail.com wrote: I have just upgraded Eclipse Galileo with AppEngine version 1.4.0. There seems to be a mismatch of Tomcat versions between pre- compilation and execution. Does anyone have a solution with jsp compilation issue? Local server shows below logs with SDK 1.4.0 - HTTP ERROR 500 Problem accessing /. Reason: Unable to compile class for JSP: An error occurred at line: -1 in the generated java file [javac] D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0__warmasbuh \jsp\org\apache\jsp\GoChildWeb_jsp.java:8: org.apache.jsp.GoChildWeb_jsp is not abstract and does not override abstract method getDependants() in org.apache.jasper.runtime.JspSourceDependent [javac] public final class GoChildWeb_jsp extends org.apache.jasper.runtime.HttpJspBase [javac] ^ An error occurred at line: -1 in the generated java file [javac] D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0__warmasbuh \jsp\org\apache\jsp\GoChildWeb_jsp.java:18: getDependants() in org.apache.jsp.GoChildWeb_jsp cannot implement getDependants() in org.apache.jasper.runtime.JspSourceDependent; attempting to use incompatible return type [javac] found : java.lang.Object [javac] required: java.util.List [javac] public Object getDependants() { [javac] ^ An error occurred at line: -1 in the generated java file [javac] D:\Profiles\LOCALS~1\Temp\Jetty_0_0_0_0__warmasbuh \jsp\org\apache\jsp\GoChildWeb_jsp.java:23: cannot find symbol [javac] symbol : method getJspApplicationContext(javax.servlet.ServletContext) [javac] location: class javax.servlet.jsp.JspFactory [javac] _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory(); [javac] ^ [javac] 3 errors On Dec 4, 6:30 am, Alex Humesky ahume...@google.com wrote: GPE's AppEngine SDK bundle version 1.4.0 is now up. Sorry for the delay. On Dec 3, 11:02 am, Don Schwarz schwa...@google.com wrote: My apologies. We plan to have it up before the end of the day today. On Fri, Dec 3, 2010 at 9:26 AM, Royce Fullerton roy...@gmail.com wrote: When will the Eclipse plugin update site be updated? The plugin is now version 1.4, but the SDK is still version 1.3.8. On Dec 3, 2:59 am, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com wrote: Dance dance robot is a bit older and the API may have changed slightly (not sure, I have not done a visual check), but it's a good example of how to use JSNI with the Channel API: http://code.google.com/p/dance-dance-robot/ -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Dec 2, 2010 at 3:50 PM, emerix rafa...@gmail.com wrote: Great release! Are there some libraries/docs for GWT and the Channel API ? On Dec 2, 10:17 pm, Ikai Lan (Google) ikai.l+gro...@google.comikai.l%2bgro...@google.com ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com wrote: They're still rolling out: http://code.google.com/appengine/docs/java/channel/ If you see an error, wait a bit and refresh. -- Ikai Lan Developer Programs Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Thu, Dec 2, 2010 at 1:10 PM, Ikai Lan (Google) ikai.l+gro...@google.com ikai.l%2bgro...@google.com ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com ikai.l%2bgro...@google.com ikai.l%252bgro...@google.com ikai.l%252bgro...@google.com ikai.l%25252bgro...@google.com wrote: The docs aren't live yet. They'll be live later in the day. -- Ikai Lan Developer Programs Engineer, Google App Engine
Re: [appengine-java] Install plugin failed. Missing Requirement. Eclipse Helios SR1.
When installing GPE, did you choose the option Contact available update sites to find required software checked? Also, what update sites are enabled on your installation of eclipse? You need to make sure that the Helios update site ( download.eclipse.org/releases/helios) is present and enabled. On Tue, Nov 16, 2010 at 7:50 AM, KevinLippiatt kevin.lippi...@googlemail.com wrote: I am unable to install the Google Plugin for Eclipse. I have Eclipse Helios SR1. Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.6 1.4.0.v201010280102 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.0.v201010280102) Missing requirement: Google Plugin for Eclipse 3.6 1.4.0.v201010280102 (com.google.gdt.eclipse.suite.e36.feature.feature.group 1.4.0.v201010280102) requires 'org.eclipse.jst.server.core 0.0.0' but it could not be 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.comgoogle-appengine-java%2bunsubscr...@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] Re: 1.3.8 Console Logging Issue
We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.com wrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: 1.3.8 Console Logging Issue
Logged issue http://code.google.com/p/googleappengine/issues/detail?id=4011 On Thu, Nov 4, 2010 at 11:33 AM, Rajeev Dayal rda...@google.com wrote: We're going to fix this for the App Engine 1.4.0 release. What we'll do is have messages at Log.INFO level be outputted when you've got your Launch Configuration's log level set to INFO. In the Google Plugin for Eclipse, we'll make a change such that any new launch configurations created have a default log level of WARN. On Thu, Nov 4, 2010 at 4:23 AM, Stefano Ciccarelli stef...@indacosoftware.it wrote: I changed the GWT log level to TRACE solving partially the problem, infact now I have very verbose logs. On Wed, Nov 3, 2010 at 15:33, Rajeev Dayal rda...@google.com wrote: No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.comwrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: 1.3.8 Console Logging Issue
No, I did not mean dropping it there - I meant changing it in the Web App Launch Configuration UI - edit your launch configuration (in Eclipse), and set the log level to TRACE. Does that help? On Tue, Nov 2, 2010 at 10:38 PM, timzon jerome.bre...@gmail.com wrote: Dropping default log level (.level) to TRACE, INFO or FINEST doesn't fix the problem. log.info (with default INFO level) used to work before 1.3.8 upgrade and doesn't work after the upgrade. On Oct 29, 2:49 pm, Rajeev Dayal rda...@google.com wrote: Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.com wrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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] Class not found in Eclipse
Unfortunately, GPE does not handle the case of dependent projects correctly. You can either manually jar up the classes from SimpleJavaProject, and drop that JAR into your war/WEB-INF/lib folder for the Web Application Project, or you can define the output folder for SimpleJavaProject to be equal to the output path for your Web Applicaton Project. On Tue, Oct 26, 2010 at 4:38 PM, tleroy cont...@arobass.com wrote: Hello everybody, I use the appengine eclipse plugin, I have created a 'Web Application Project' and a 'Simple Java Project' linked to it. When I launch the Web Application Project, classes from the Simple project are not found. Where I have to configure the classpath? I tried in the '.lauch' file but it doesn't work. Could you help me? Merci. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: 1.3.8 Console Logging Issue
Drop you launch configuration's log level down to TRACE. Do you see the messages now? On Fri, Oct 29, 2010 at 1:23 PM, John Bito j...@bobberinteractive.comwrote: Starred the issue: http://code.google.com/p/googleappengine/issues/detail?id=3969 -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: SDK 1.3.8 released!
Adding to Don's comments, we are sorry about this on the Google Plugin for Eclipse team. In the meantime, you can install the SDK manually by downloading it and following these instructions: http://code.google.com/eclipse/docs/using_sdks.html On Fri, Oct 15, 2010 at 6:17 PM, Don Schwarz schwa...@google.com wrote: Sorry folks, the Eclipse plugin pipeline is a bit backed up and the 1.3.8 release will not be automatically updated until Monday. In the mean time you can download the SDK manually and point Eclipse to it if you need to upgrade early. This has nothing to do with Java being treated as a second class language, it's just unfortunate timing. As evidence, 1.3.8 is already out in Maven Central: http://repo2.maven.org/maven2/com/google/appengine/appengine-tools-sdk/1.3.8/ On Fri, Oct 15, 2010 at 4:58 PM, Jeroen Lapre' jeroen.la...@gmail.com wrote: same here, I tried an eclipse helios update, and it doesn't see this release. On Fri, Oct 15, 2010 at 10:26 AM, Ganesh Krishnan ganesh...@gmail.com wrote: Eclipse is not picking up this new release! Also, why second class treatment to Java developers? Most of the advanced tricks for appengine involves python. On Oct 15, 8:44 am, Takashi Matsuo tmat...@google.com wrote: Hello App Engine Developers! We're very happy to announce that SDK 1.3.8 is released today. There are many new cool features, so please download the new SDK and enjoy it! You can download the new SDK from:http://code.google.com/appengine/downloads.html Our blog post includes some screenshots of new features in admin console: http://googleappengine.blogspot.com/2010/10/new-app-engine-sdk-138-in... Here are release notes: Java --- Version 1.3.8 = - You can run task queue tasks immediately from the admin console. - Added an OutputSettings class to the Images API to specify the JPEG encoding quality when running in production. - Support for login of multiple Google accounts within an app, and longer login sessions. For more information see: http://www.google.com/support/accounts/bin/answer.py?answer=181599 - In queue.xml, the maximum allowed bucket size is now 100. - Removed limits on zigzag merge-join queries. Therefore the error The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query. will no longer be thrown in most cases, enabling more types of queries without indexes. - The whitelist has been updated to include java.net.InetAddress and some interfaces and abstract classes in javax.xml.soap, including javax.xml.soap.SOAPMessage. - Fixed an issue reserving App Ids by owners of emails containing periods, multiple cases, and googlemail.com address. http://code.google.com/p/googleappengine/issues/detail?id=1196 - Fixed an issue where TaskOptions had no public getters, making testing impossible. http://code.google.com/p/googleappengine/issues/detail?id=3243 - Fixed an issue on the development server where PNGs were being returned as JPEGs. http://code.google.com/p/googleappengine/issues/detail?id=3661 Python - Version 1.3.8 == - Builtin app.yaml handlers are available for common application functions, such as appstats. http://code.google.com/appengine/docs/python/config/appconfig.html#Bu... - The Admin Console now provides an experimental tool to delete all entities in the datastore or all entities of a given type. This is available only if enabled using the datastore_admin builtin. Deleting entities will count against application quota. http://code.google.com/appengine/docs/python/datastore/creatinggettin... - You can run task queue tasks immediately from the Admin Console. - You can now specify the quality of JPEG images via the Image API's execute_transforms function. Available in production only. - Support for login of multiple Google accounts within an app, and longer login sessions. For more information see: http://www.google.com/support/accounts/bin/answer.py?answer=181599 - In queue.yaml, the maximum allowed bucket size is now 100. - Precompilation is now enabled by default. To disable, use the --no_precompilation flag when updating your app. - BlobInfo now has an open() method that returns a BlobReader. - BlobReader now accepts a BlobInfo. - Removed limits on zigzag merge-join queries. Therefore the error The built-in indices are not efficient enough for this query and your data. Please add a composite index for this query. will no longer be thrown in most cases, enabling more types of queries without indexes. - Fixed an issue with task queue tasks not running on the dev_appserver when using
Re: [appengine-java] Google Plugin for Eclipse 3.6: Unable to connect to repository
Hi Yegor, Can you tell me what version of Java that you're running Eclipse with? Rajeev On Wed, Sep 8, 2010 at 11:11 AM, Yegor yegor.jba...@gmail.com wrote: Unable to connect to repository -- 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: app eng java plugin not compatible with helios
Hey synthetic, Which update site were you using? Rajeev On Tue, Sep 7, 2010 at 1:29 PM, syntheticperson jeroen.la...@gmail.comwrote: Ok, good to know it works with helios. I'll give it another try. thanks synthetic p On Sep 6, 11:00 pm, Thomas P. vi...@pcb-dev.com wrote: I think you did something wrong ... I've been working with GAE+GWT with Helios for about 4 weeks now and everything works fine ... Best regards, Thomas On 05.09.2010 19:33, syntheticperson wrote: I tried to install google app engine java plugin for eclipse, but it does not appear to be compatible with the latest helios release of eclipse. Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.5 1.3.3.v201006111302 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.3.v201006111302) Missing requirement: Google Plugin for Eclipse 3.5 1.3.3.v201006111302 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.3.3.v201006111302) requires 'org.eclipse.platform.feature.group [3.5.0,3.6.0)' but it could not be found Are there any plans to upgrade google plugin for: Eclipse Java EE IDE for Web Developers. Version: Helios Release Build id: 20100617-1415 ? thanks -synthetic person -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: GAE Deployment - Unable to compile JSP
Hey Mukesh, Are there any other parts to the error message? There should be more information right about the Failed to Compile JSP Files line. Do you see anything more in the Console View or Error Log? Rajeev On Thu, Jul 22, 2010 at 9:03 AM, Shoubhik sbos...@gmail.com wrote: Hi Mukesh, have you copied the tools.jar from .../JDK1.6/lib to .../JRE1.6/lib ? And javac.exe from .../JDK1.6/bin to JRE1.6/lib ? if not , try these,. Also,check whether you have kept any unnecessary .jsp files in your / war directory...(or the one appropriate in ur app's case). Regards, Shoubhik. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Disappearing functionality after upgrading App Engine/GWT plugins
Hi, Did you install Eclipse as root? Did you perform the upgrade as non-root? There is an issue in Eclipse with installing it as root, and then updating plugins as non-root. I'd recommend that if you install Eclipse as root, switch to root when updating your plugins. It might be easiest to start out with a clean Eclipse install and a clean workspace. Rajeev On Mon, Jul 12, 2010 at 1:38 AM, ThisSideUp webmas...@thissideupsoftware.com wrote: Hello, I am running on Ubuntu 8.04 LTS, using Eclipse Galileo. I am new to the App Engine, GWT, and Eclipse. Back in April I installed the App Engine and GWT plugins and started experimenting with a web app project that uses the App Engine GWT. Today I was prompted to upgrade the plugins: - App Engine SDK bundle from 1.3.2 to 1.3.5 - GWT SDK bundle from 2.0.3 to 2.0.4 After doing so, all of the App Engine and GWT buttons and menu options disappeared from Eclipse, and I can no longer run the web app nor can I create new web app projects. I attempted to resolve the problem by removing the 1.3.2 and 2.0.3 versions of the plugins, but now my web app does not compile. I am familiar with using Maven to update dependencies, but I do not have Maven installed right now. How do I go about getting my web app to use the new versions of the libraries, and how do I fix my Eclipse configuration? Thanks in advance. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Download GAE Eclipse plug-in without eclipse
http://code.google.com/eclipse/docs/install-from-zip.html On Fri, Jul 9, 2010 at 12:00 AM, shekhar shekhar.kote...@gmail.com wrote: Hi, I do not have internet connection at my home. So I am not able to download GAE eclipse plugin at my home. Is it possible to download this plugin without using eclipse? Is it available some other format like zip,rar ? -- 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.comgoogle-appengine-java%2bunsubscr...@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] How to make Eclipse AppEngine+GWT plugin use proxy for update check.
Can you file an issue for this (passing DevAppServer arguments when running with GWT)? As for a workaround, can you try adding the following JVM arguments to your launch configuration: -Dhttp.proxyHost=http proxy hostname -Dhttp.proxyPort=http proxy port -Dhttps.proxyHost=https proxy hostname -Dhttps.proxyPort=https proxy hostname On Wed, Jun 16, 2010 at 1:07 AM, Nick Lothian nick.loth...@gmail.comwrote: Hi, When I debug an AppEngine+GWT project from Eclipse I get the message Initializing AppEngine server. It stays on that for nearly 3 minutes before timing out (I'm behind a firewall). The stack trace is: INFO: Unable to access http://appengine.google.com/api/updatecheck?runtime=javarelease=1.3.4timestamp=1273872371api_versions=['1.0 '] java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) ... ... at com.google.appengine.tools.info.RemoteVersionFactory.getVersion(RemoteVersionFactory.java: 76) Once that has timed out I can debug successfully. I'd like to be able to pass the --disable_update_check argument to AppEngine to avoid this wait. However because the debug configuration is GWT (which uses the GWT Dev Server) I cannot do that. Is there a solution or work around for this? (Setting my proxy in Eclipse doesn't work either) -- 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.comgoogle-appengine-java%2bunsubscr...@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] Unable to locate the JVM error on Eclipse Galileo on Snow Leopard
If you navigate to Java - Installed JREs, what do you see there? Also, what processor is your Mac running? Is it a Intel Core Duo, or an Intel Core2 Duo? On Thu, Jun 10, 2010 at 10:06 PM, Venkat venkat.venkatar...@yahoo.comwrote: Hello, I'm getting Unable to locate the JVM when i try to create a demo project. My configuration details - Mac OS X 10.6.3 - Eclipse Galileo - java version 1.6.0_20 - javac 1.6.0_20 Thanks in advance for the help. Cheers /Ven -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Mavenizing an eclipse SDK GAE Project
Are you using the Google Plugin for Eclipse, or is this just a Maven project in Eclipse? On Fri, Jun 18, 2010 at 5:17 PM, Jan-Hendrik Lendholt jan.lendh...@googlemail.com wrote: Thanks for the reply. I simply want to manage my dependencies that will at the end be copied to war/WEB-INF/lib. Isn't there a more leightweight solution? Searching for all dependencies for Spring 3 is pretty messy and it gets even more messy when I try to upgrade :( On 18 Jun., 00:05, Robert Munteanu robert.munte...@gmail.com wrote: On Jun 17, 10:34 pm, Jan-Hendrik Lendholt jan.lendh...@googlemail.com wrote: Hi there, I created an app engine project (without GWT). All looks good: Folders created, servlet there, startup, it runs. Now I have m2eclipse and enabled the dependency resolution. I don't necessarily need the GAE libraries as from maven, but Spring, webflow and so on would be cool. m2eclipse downloads the jars and adds them as a library to my project. But those don't get copied to war/WEB-INF/lib so the app crashes. Are there any secrets on how to let these jars be synced with the war/ WEB-INF/lib folder? I suggest you take a look at http://code.google.com/p/maven-gae-plugin/ It's what I'm using and it works just fine. Robert Thanks in advance! -- 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.comgoogle-appengine-java%2bunsubscr...@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] Google Plugin for Eclipse 3.5 (Galileo) is not being insalled
Hi, This is a bug in Eclipse. Exit out of the install dialog, and attempt the install a second time. It should work the second time. Rajeev On Tue, Jun 15, 2010 at 1:18 AM, jitendra singh jks...@gmail.com wrote: Hi, I am trying to install google application engine and google plugin as discussed on the link http://code.google.com/eclipse/docs/install- eclipse-3.5.html, but when I reached to the option 5 i.e. the screen that shows the terms and conditions and I accept the terms and conditions by selecting the radio button that shows I accept the terms of license agreement, but even after this the finish button is not being activated. And so I am not able to install these plugin. I am using jdk1.5.0_07 and jre1.5.0_07 for java. Please send me reply as soon as possible. Its urgent. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken
Moritz, Can you tell me exactly how you're creating these projects? What wizard are you using? Can you zip up a broken project and send it to me? Rajeev On Mon, Apr 19, 2010 at 1:18 PM, Moritz mor...@cloudme.org wrote: No. Miguel asked for an example project for reproduction, but in each and every project I try to enable appengine support, I get the same problem and the SDK is permanently set to {project.home}/war and I'm not able to change it. My solution is to get rid of the Eclipse plugin and use the Maven plugin instead. Maven is better anyway - unfortunately not officially supported by Google. Moritz P.S.: I'm using Eclipse on Mac OS X 10.6.3 On 19 Apr., 13:00, Dannemano daniel.hedenst...@gmail.com wrote: Hi, Any updates on the bug? I have the exact same problems and have been unable to fix it. Regards, Daniel On 5 Apr, 15:04, Miguel Méndez mmen...@google.com wrote: Can you file a bug with a project that reproduces the problem? I think that will be the best way to get to bottom of what is going on. -- 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken
Okay, I think I've been able to repro what you guys are seeing. This is what I did: 1) Create a Dynamic Web Project 2) Enable App Engine for the project, and set the WAR folder to the WebContent directory You'll get the Invalid SDK problem marker. Also, switching SDKs no longer works properly. To fix this, navigate to your Java Build Path dialog, and change the Export order so that the App Engine SDK is ABOVE the Web App Libraries classpath container. I'll file an issue for this, so that we handle this case better. On Mon, Apr 26, 2010 at 10:54 AM, Rajeev Dayal rda...@google.com wrote: Moritz, Can you tell me exactly how you're creating these projects? What wizard are you using? Can you zip up a broken project and send it to me? Rajeev On Mon, Apr 19, 2010 at 1:18 PM, Moritz mor...@cloudme.org wrote: No. Miguel asked for an example project for reproduction, but in each and every project I try to enable appengine support, I get the same problem and the SDK is permanently set to {project.home}/war and I'm not able to change it. My solution is to get rid of the Eclipse plugin and use the Maven plugin instead. Maven is better anyway - unfortunately not officially supported by Google. Moritz P.S.: I'm using Eclipse on Mac OS X 10.6.3 On 19 Apr., 13:00, Dannemano daniel.hedenst...@gmail.com wrote: Hi, Any updates on the bug? I have the exact same problems and have been unable to fix it. Regards, Daniel On 5 Apr, 15:04, Miguel Méndez mmen...@google.com wrote: Can you file a bug with a project that reproduces the problem? I think that will be the best way to get to bottom of what is going on. -- 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: Update to GAE/J 1.3.2 - Project in Eclipse broken
Sorry about the trouble that this has caused :(. We'll get a fix out there soon. On Mon, Apr 26, 2010 at 3:12 PM, Dannemano daniel.hedenst...@gmail.comwrote: I have tested your workaround in the reported defect and it works fine. To summarize in this thread as well: Open the eclipse build path and move the Web App library to the bottom in the order and export tab. Thanks for the assistance, I have been struggling with this issue for some time now! Regards, Daniel On 26 Apr, 18:54, Rajeev Dayal rda...@google.com wrote: Filed ashttp://code.google.com/p/googleappengine/issues/detail?id=3154 On Mon, Apr 26, 2010 at 12:49 PM, Rajeev Dayal rda...@google.com wrote: Okay, I think I've been able to repro what you guys are seeing. This is what I did: 1) Create a Dynamic Web Project 2) Enable App Engine for the project, and set the WAR folder to the WebContent directory You'll get the Invalid SDK problem marker. Also, switching SDKs no longer works properly. To fix this, navigate to your Java Build Path dialog, and change the Export order so that the App Engine SDK is ABOVE the Web App Libraries classpath container. I'll file an issue for this, so that we handle this case better. On Mon, Apr 26, 2010 at 10:54 AM, Rajeev Dayal rda...@google.com wrote: Moritz, Can you tell me exactly how you're creating these projects? What wizard are you using? Can you zip up a broken project and send it to me? Rajeev On Mon, Apr 19, 2010 at 1:18 PM, Moritz mor...@cloudme.org wrote: No. Miguel asked for an example project for reproduction, but in each and every project I try to enable appengine support, I get the same problem and the SDK is permanently set to {project.home}/war and I'm not able to change it. My solution is to get rid of the Eclipse plugin and use the Maven plugin instead. Maven is better anyway - unfortunately not officially supported by Google. Moritz P.S.: I'm using Eclipse on Mac OS X 10.6.3 On 19 Apr., 13:00, Dannemano daniel.hedenst...@gmail.com wrote: Hi, Any updates on the bug? I have the exact same problems and have been unable to fix it. Regards, Daniel On 5 Apr, 15:04, Miguel Méndez mmen...@google.com wrote: Can you file a bug with a project that reproduces the problem? I think that will be the best way to get to bottom of what is going on. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: How to exclude the optional jars for deployment?
?id=1367 However, I don't really understand it and/or what I need to do :) Regardless, it was working fine *without* GPE, so I presume my issue is a GPE bug, not an AppEngine bug. This is interesting (that it was working fine without GPE). It must be some sort of difference in your classpath in GPE vs. not in GPE. Can you tell me what: 1) Your build classpath looks like? 2) What files you have in your WEB-INF/lib folder? What did I do differently this time? I believe it has something to do with Maven Packaging options (WAR vs JAR), and failing to refresh the target folder in Eclipse. I don't think that was the actual folder I was selecting the first time I ran the Web Application when I tried this last. So, documentation there could be helpful. I think I was diving deep into the WTP temp folder when I couldn't figure it out. The refreshing of the target folder - was this something that you had to do manually? I guess you're saying that this is something we should doc after the mvn package step? So, it looks now as if my dependencies are somehow failing with GPE, instead of the entire thing failing. I'm going to leave the entire post there so you can see my process (and perhaps update some FAQs to help make it simpler. Thanks for any help in advance! Jake Jake On Apr 14, 10:57 am, Rajeev Dayal rda...@google.com wrote: Hey Jake, I just took a look at the thread that you mentioned. Could you describe the problems that you were running into (on the original thread)? I can try and help you out. Rajeev On Tue, Apr 13, 2010 at 10:21 AM, John Patterson jdpatter...@gmail.com wrote: -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Google Plugin for Eclipse - working from behind the proxy
Hi Raj, If you're using the JEE version of Eclipse, you can skip the step about adding the Galileo update site and all - just unzip the plugin zip in the dropins directory of your Eclipse installation, and restart. Rajeev On Sat, Apr 17, 2010 at 4:36 AM, Raj rajkumar@gmail.com wrote: Rajeev, I actually installed the JEE version of Eclipse and the wanted to use the plug in zip, the manual indicated the following Select Help Install New Software... Select the Galileo update site in the Work with dropdown. If it's not there, you can enter the URL directly: http://download.eclipse.org/releases/galileo Install Galileo Web, XML, and Java EE Development Eclipse Web Developer Tools. But the Install Galileo Web, XML, and Java EE Development Eclipse Web wouldnt apprear in the screen, all it says it that No repository found at http://download.eclipse.org/releases/galileo. Which I am assuming that it could be a proxy issue but I am not sure. Any help? On Apr 15, 4:49 pm, Rajeev Dayal rda...@google.com wrote: Hi Raj, Have you considered starting out with the JEE version of Eclipse, and then installing the plugin via the zip mechanism? The JEE version of Eclipse should contain all of the components that you need. Rajeev On Thu, Apr 15, 2010 at 2:23 AM, Raj rajkumar@gmail.com wrote: I am trying to install the plug-in from behind a proxy and I have no clue of what/where the proxy is, it's addess and username/password to bypass it. So I had to install the plug ins from zip file as per the FAQ. The only problem is that none of the JEE plug in has been install so this Select Help Install New Software... Select the Galileo update site in the Work with dropdown. If it's not there, you can enter the URL directly: http://download.eclipse.org/releases/galileo Install Galileo Web, XML, and Java EE Development Eclipse Web Developer Tools. part of the FAQ couldnt be achieve as the I cannot http://download.eclipse.org/releases/galileorepository from behind the proxy, automatically. My question, is there a way, I can install all the repository from behind the proxy, where do I find them and where do which folders do I drop them into and what are all the repositories that I require to have the Eclipse fully functional. Any help is much appreciated. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.- Hide quoted text - - Show quoted text - -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: HTTP ERROR 405 with Guestbook Tutorial
()) %sign out/a.)/p % } else { % pHello! a href=%= userService.createLoginURL(request.getRequestURI()) %Sign in/a to include your name with greetings you post./p % } % Comment Board: form action=/sign method=post divtextarea name=content rows=3 cols=60/textarea/div divinput type=submit value=Post Greeting //div /form /body /html code below is GuestbookServlet.java: package guestbook; import java.io.IOException; import javax.servlet.http.*; import com.google.appengine.api.users.User; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; @SuppressWarnings(serial) public class GuestbookServlet extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); //log.info(user name is + user.getNickname()); if (user != null) { resp.setContentType(text/plain); resp.getWriter().println(Hello, + user.getNickname()); } else { resp.sendRedirect(userService.createLoginURL(req.getRequestURI())); } } } On Fri, Apr 16, 2010 at 12:16 PM, Chau Huynh cmhu...@gmail.com wrote: And next you'll need to post your servlet ;-) Just wonder if you code SignGuestbookServlet servlet yourself - in such a case, you might code doGet() while your JSP posts to the servlet? Error message from your post: HTTP method POST is not supported by this URL On Fri, Apr 16, 2010 at 10:59 PM, bosun david.bo...@gmail.com wrote: Hi Rajeev, Thank you for helping me troubleshooting this issue. Below is web.xml ?xml version=1.0 encoding=utf-8? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns=http://java.sun.com/xml/ns/javaee; xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; version=2.5 servlet servlet-nameGuestbook/servlet-name servlet-classguestbook.GuestbookServlet/servlet-class servlet-namesign/servlet-name servlet-classguestbook.SignGuestbookServlet/servlet-class /servlet servlet-mapping servlet-nameGuestbook/servlet-name url-pattern/guestbook/url-pattern servlet-namesign/servlet-name url-pattern/sign/url-pattern /servlet-mapping welcome-file-list welcome-fileguestbook.jsp/welcome-file /welcome-file-list /web-app below is appengine-web.xml ?xml version=1.0 encoding=utf-8? appengine-web-app xmlns=http://appengine.google.com/ns/1.0; application/application version1/version !-- Configure java.util.logging -- system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ /system-properties /appengine-web-app On Fri, Apr 16, 2010 at 10:29 AM, Rajeev Dayal rda...@google.comwrote: Can you post the contents of your web.xml file and your appengine-web.xml file? On Thu, Apr 15, 2010 at 10:21 PM, bosun david.bo...@gmail.comwrote: I forgot mention in my post about the version of Eclipse I am using is Galileo. I downloaded Google plugin for this version. The link to the Tutorial where I am stuck on is: http://code.google.com/intl/en/appengine/docs/java/gettingstarted/usingjsps.html In Eclipse console, all log messages after server restarted are like below: Apr 16, 2010 2:05:54 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\EclipseGalileo\workspace\Guestbook\war\WEB-INF/appengine-web.xml Apr 16, 2010 2:05:54 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\EclipseGalileo\workspace\Guestbook\war\WEB-INF/web.xml The server is running at http://localhost:/ Apr 16, 2010 2:07:08 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Apr 16, 2010 2:07:25 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Please advise where it goes wrong. Thanks! On Thu, Apr 15, 2010 at 9:57 PM, bobo david.bo...@gmail.comwrote: Hi I run Google App Engine (Java) locally with Eclipse. Following the tutorial of Getting Started - Java, I lean it step by step and my local server works well until the section Using JSPs. After adding SignGuestbookServlet.java and greeting form in guestbook.jsp as well as editing web.xml for servlet mapping for sign and /sign, I restarted the server. My browser displayed error message immediately after I tried to post a greeting message: HTTP ERROR 405 Problem accessing /sign. Reason:HTTP method POST is not supported by this URL In Eclipse console, the red error message like: Apr 16, 2010 1:34:31 AM
Re: [appengine-java] Re: HTTP ERROR 405 with Guestbook Tutorial
Can you post the contents of your web.xml file and your appengine-web.xml file? On Thu, Apr 15, 2010 at 10:21 PM, bosun david.bo...@gmail.com wrote: I forgot mention in my post about the version of Eclipse I am using is Galileo. I downloaded Google plugin for this version. The link to the Tutorial where I am stuck on is: http://code.google.com/intl/en/appengine/docs/java/gettingstarted/usingjsps.html In Eclipse console, all log messages after server restarted are like below: Apr 16, 2010 2:05:54 AM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml INFO: Successfully processed C:\EclipseGalileo\workspace\Guestbook\war\WEB-INF/appengine-web.xml Apr 16, 2010 2:05:54 AM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml INFO: Successfully processed C:\EclipseGalileo\workspace\Guestbook\war\WEB-INF/web.xml The server is running at http://localhost:/ Apr 16, 2010 2:07:08 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Apr 16, 2010 2:07:25 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico Please advise where it goes wrong. Thanks! On Thu, Apr 15, 2010 at 9:57 PM, bobo david.bo...@gmail.com wrote: Hi I run Google App Engine (Java) locally with Eclipse. Following the tutorial of Getting Started - Java, I lean it step by step and my local server works well until the section Using JSPs. After adding SignGuestbookServlet.java and greeting form in guestbook.jsp as well as editing web.xml for servlet mapping for sign and /sign, I restarted the server. My browser displayed error message immediately after I tried to post a greeting message: HTTP ERROR 405 Problem accessing /sign. Reason:HTTP method POST is not supported by this URL In Eclipse console, the red error message like: Apr 16, 2010 1:34:31 AM com.google.appengine.tools.development.LocalResourceFileServlet doGet WARNING: No file found for: /favicon.ico I googled this error but seems no one having this problem before. I am stuck on this point and anyone who can shed me a light? 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. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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] Google Plugin for Eclipse - working from behind the proxy
Hi Raj, Have you considered starting out with the JEE version of Eclipse, and then installing the plugin via the zip mechanism? The JEE version of Eclipse should contain all of the components that you need. Rajeev On Thu, Apr 15, 2010 at 2:23 AM, Raj rajkumar@gmail.com wrote: I am trying to install the plug-in from behind a proxy and I have no clue of what/where the proxy is, it's addess and username/password to bypass it. So I had to install the plug ins from zip file as per the FAQ. The only problem is that none of the JEE plug in has been install so this Select Help Install New Software... Select the Galileo update site in the Work with dropdown. If it's not there, you can enter the URL directly: http://download.eclipse.org/releases/galileo Install Galileo Web, XML, and Java EE Development Eclipse Web Developer Tools. part of the FAQ couldnt be achieve as the I cannot http://download.eclipse.org/releases/galileo repository from behind the proxy, automatically. My question, is there a way, I can install all the repository from behind the proxy, where do I find them and where do which folders do I drop them into and what are all the repositories that I require to have the Eclipse fully functional. Any help is much appreciated. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: How to exclude the optional jars for deployment?
Hey Jake, I just took a look at the thread that you mentioned. Could you describe the problems that you were running into (on the original thread)? I can try and help you out. Rajeev On Tue, Apr 13, 2010 at 10:21 AM, John Patterson jdpatter...@gmail.comwrote: On 13 Apr 2010, at 19:56, Jake wrote: I mean, the latest SDK (1.3.2) isn't even in the central repository yet :) If it helps you can add this: repository idtwig/id urlhttp://mvn.twig-persist.googlecode.com/hg/url /repository which is kept up-to-date with the latest app engine libs BTW, I am using maven with GPE with no problems. I do not add the App Engine Library so none of the optional jars are copied into my lib folder. The only trick was to specify -Dappengine.sdk.root ... and strangely it keeps removing the -javaagent argument every time I run 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-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@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] Re: How to exclude the optional jars for deployment?
+[Keith] @Jake: Actually, version 1.3 of the Google Plugin for Eclipse is far more maven-friendly. What problems are you running into? See http://code.google.com/eclipse/docs/faq.html#gwt_with_maven for more information. On Fri, Apr 9, 2010 at 7:22 PM, Jake jbrooko...@cast.org wrote: Or you could forgo the plugin and use maven to build/upload your projects. Then, you determine the jars to be included. This was the primary reason that I wanted the plugin to support maven, but that became non-trivial and the documentation wasn't very helpful. Jake On Apr 9, 10:05 am, Rajeev Dayal rda...@google.com wrote: Unfortunately, there is no great way to disable all of the JDO-related features on a given App Engine project. If you could, file a feature request for this in the issue tracker. The best way to exclude these jars would be to remove them from your war/WEB-INF/lib directory, and when the plugin complains that they're missing, add them to the list of exclusions of jars that are on the build path but are not required to be on the server's runtime classpath. Unfortunately, you'll have to re-do this step if you switch SDKs. On Fri, Apr 9, 2010 at 4:39 AM, dflorey daniel.flo...@gmail.com wrote: I don't need JDO etc. in my app as I'm using the native datastore. What is the easiest way to exclude these jars from deploy to app engine? Would be very nice if the Google Plugin would provide some options for disabling datanucleus. I have to disable the builder etc. for each project manually. -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Eclipse plugin requires carbon version of SWT?
The plugin should work with both Carbon and Cocoa versions of Mac OS X. Can you give me some details about the exact version and distribution of Eclipse that you're using, as well as the platform (computer type and OS version) that you're running on? On Sat, Apr 10, 2010 at 9:50 AM, datguy dtre...@gmail.com wrote: I tried to install the Google plugin for Eclipse 3.5, and got the following error while trying to resolve dependencies: Cannot find a solution satisfying the following requirements org.eclipse.swt.carbon.macosx [3.4.0.v3448f]. What's the easiest way to resolve this? Does anyone know if the plugin will be updated to Cocoa? -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Issue with google plugin for eclipse
Projects created with the plugin's New Web Application wizard are not J2EE projects (by default), which is why you don't have the options to create a new servlet, etc. You can get around this by hacking up the project and classpath files, but an easier way to go about it would be to start out by creating a new Dynamic Web Project and adding GWT/App Engine to it after the fact. See http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee for more details. On Fri, Apr 9, 2010 at 12:39 AM, joradom jora...@gmail.com wrote: I created a web application project, without web toolkit sdk (just gae sdk), thx for the thread, I'll try it. On 6 abr, 19:00, Ikai L (Google) ika...@google.com wrote: What kind of project have you created? This looks like the issue filed here: http://code.google.com/p/googleappengine/issues/detail?id=2306 http://code.google.com/p/googleappengine/issues/detail?id=2306You'll have to provide more detail, though. How are you creating the project? On Tue, Apr 6, 2010 at 5:31 AM, joradom jora...@gmail.com wrote: The plugin doesn't allow me to create a new Servlet, when calling the create servlet wizard the project field appears greyed and empty. I can create a class, or any file, but of course, much more things to write are needed. just curious to know if it's a normal behaviour or some bug? I'm using Ubuntu karmic and eclipse ganimedes for java EE, with latests google plugin and sdks (just made a fresh install 3 days ago.) 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Enginehttp:// googleappengine.blogspot.com|http://twitter.com/app_engine -- 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.comgoogle-appengine-java%2bunsubscr...@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] How to exclude the optional jars for deployment?
Unfortunately, there is no great way to disable all of the JDO-related features on a given App Engine project. If you could, file a feature request for this in the issue tracker. The best way to exclude these jars would be to remove them from your war/WEB-INF/lib directory, and when the plugin complains that they're missing, add them to the list of exclusions of jars that are on the build path but are not required to be on the server's runtime classpath. Unfortunately, you'll have to re-do this step if you switch SDKs. On Fri, Apr 9, 2010 at 4:39 AM, dflorey daniel.flo...@gmail.com wrote: I don't need JDO etc. in my app as I'm using the native datastore. What is the easiest way to exclude these jars from deploy to app engine? Would be very nice if the Google Plugin would provide some options for disabling datanucleus. I have to disable the builder etc. for each project manually. -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: log4j init fails
Can you provide the contents of the file? On Sat, Mar 27, 2010 at 11:44 AM, Eurig Jones eurigjo...@gmail.com wrote: I'm getting the same problem. my log4j.properties is in the root of my source folder and it's giving me this issue. On Mar 12, 10:25 pm, Rajeev Dayal rda...@google.com wrote: Can you post a copy of your log4j.properties file? On Thu, Mar 11, 2010 at 12:45 PM, AJ Chen ajc...@web2express.org wrote: yes, log4j.properties is copied by the build. the app uses it. the warning message is weird. thanks. On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal rda...@google.com wrote: If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to war/WEB-INF/classes whenever Eclipse performs a build of your project; you should not have to copy it over manually. I'm not sure why you're getting the error with regard to Datanucleus.Connection; I've added Don to this thread; he may have some insight into this. On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen ajc...@web2express.org wrote: I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li...@gmail.comwrote: I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file on the classpath which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen wrote: I have log4j config in appengine-web.xml, system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ property name=log4j.configuration value=file:WEB-INF/classes/log4j.properties/ property name=monitor.config.file value=WEB-INF/monitor.properties/ /system-properties but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 0x2B | ~0x2b -- Hamlet -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org twitter @web2express Palo Alto, CA, USA 650-283-4091 *Building social media monitoring pipeline, and connecting social customers to CRM* -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org
Re: [appengine-java] Re: Cannot Install Plugin
Hi, Can you tell me exactly which JEE distribution you downloaded? I'd like to see if I can reproduce the error locally. Rajeev On Mon, Mar 15, 2010 at 11:54 AM, the.cologne herrman...@gmail.com wrote: On 15 Mrz., 10:30, Rajeev Dayal rda...@google.com wrote: Hi, I tried that already. I got it working finally, I used the Java Eclipse Distribution instead of JEE Distribution. Now the plugin installed fine. I even loaded down a new JEE Distribution, in that environment the error is reproducable. Thanks and regards, Thomas Hi, Can you try removing the Google Update Site from your list of update sites in Eclipse? Then, restart Eclipse, and go back in and re-add it. See if that helps. Rajeev On Fri, Mar 12, 2010 at 4:20 PM, the.cologne herrman...@gmail.com wrote: Hi, I'd like to try out the App Engine and set up a fresh Eclipse 3.5 Install with a clean workspace. But when I try to install the plugin I recieve the following error message: eclipse.buildId=unknown java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product Error Fri Mar 12 22:15:00 CET 2010 No repository found containing: org.eclipse.update.feature,com.google.gwt.eclipse.sdkbundle.e35.feature. 2.0.3,2.0.3.v201002191036 Any thoughts or hints? Thanks, Thomas -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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] Cannot Install Plugin
Hi, Can you try removing the Google Update Site from your list of update sites in Eclipse? Then, restart Eclipse, and go back in and re-add it. See if that helps. Rajeev On Fri, Mar 12, 2010 at 4:20 PM, the.cologne herrman...@gmail.com wrote: Hi, I'd like to try out the App Engine and set up a fresh Eclipse 3.5 Install with a clean workspace. But when I try to install the plugin I recieve the following error message: eclipse.buildId=unknown java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product org.eclipse.epp.package.jee.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product Error Fri Mar 12 22:15:00 CET 2010 No repository found containing: org.eclipse.update.feature,com.google.gwt.eclipse.sdkbundle.e35.feature. 2.0.3,2.0.3.v201002191036 Any thoughts or hints? Thanks, Thomas -- 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.comgoogle-appengine-java%2bunsubscr...@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] log4j init fails
If you have your log4j.properties file at the root of your source tree, it should automatically be copied over to war/WEB-INF/classes whenever Eclipse performs a build of your project; you should not have to copy it over manually. I'm not sure why you're getting the error with regard to Datanucleus.Connection; I've added Don to this thread; he may have some insight into this. On Thu, Mar 11, 2010 at 3:33 AM, AJ Chen ajc...@web2express.org wrote: I have the default log4j.properties in WEB-INF/classes dir. but the warning always comes up. the file is visible because I can change the log level to ERROR to get rid of the warning. -aj On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright rwright.li...@gmail.comwrote: I think you can simply put the log4j.properties file in the WEB-INF/classes dir and you don't need any appengine-web.xml stuff for it. Log4j looks for its configuration file on the classpath which means it looks in WEB-INF/classes (and also in all of the jars in the lib directory). AJ Chen wrote: I have log4j config in appengine-web.xml, system-properties property name=java.util.logging.config.file value=WEB-INF/logging.properties/ property name=log4j.configuration value=file:WEB-INF/classes/log4j.properties/ property name=monitor.config.file value=WEB-INF/monitor.properties/ /system-properties but GAE still complains about it: log4j:WARN No appenders could be found for logger (DataNucleus.Connection). log4j:WARN Please initialize the log4j system properly. Is there anything else that should be set? thanks, -aj -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- 0x2B | ~0x2b -- Hamlet -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- AJ Chen, PhD Chair, Semantic Web SIG, sdforum.org http://web2express.org twitter @web2express Palo Alto, CA, USA 650-283-4091 *Building social media monitoring pipeline, and connecting social customers to CRM* -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Eclipse hangs at startup, Ubuntu
Yeah, it is only a guess that the version control plugins are causing some sort of interference. Sorry that you had to go through this. The changes in GPE 1.3 should alleviate this issue. On Tue, Mar 2, 2010 at 2:27 PM, Jeff Schnitzer j...@infohazard.org wrote: The projects that cause the problem started life as Subclipse projects but I were converted to Subversive with the detach, share process. My eclipse install is a new one with Subversive installed but not Subclipse. However, the conversion to Subversive happened quite a while before the OS upgrade. I finally couldn't take it anymore and created a whole new workspace from scratch. A very painful solution. Jeff On Tue, Mar 2, 2010 at 8:17 AM, Rajeev Dayal rda...@google.com wrote: That message corresponds to GPE's attempt to update your project's war/WEB-INF/lib folder on project classpath initialization, which occurs on Eclipse startup. Sometimes, problems can occur if there is some sort of lock being held on the files in that directory (such as by a version control plugin). Do you have any version control plugins installed in Eclipse? We've actually made some changes so that the update of war/WEB-INF/lib occurs on classpath change instead of classpath init. That should alleviate this sporadic issue. The fix will be available in a forthcoming version of GPE. On Mon, Mar 1, 2010 at 2:34 AM, Jeff Schnitzer j...@infohazard.org wrote: Did anyone ever resolve this in a consistent way? I recently upgraded from OSX 10.5 to 10.6, and now my Eclipse (Cocoa 64-bit, as I was using before) hangs on most startups. I see the Updating MyProje... - 1.3.1 in the bottom right corner and the entire window is locked up. Only way out is to Force Quit. It doesn't happen on every startup. I can often get it working after a few tries. This was a brand-new OS install on a new HD. I did, however, copy my eclipse directory over by hand, and the workspace was imported as part of my user data. Jeff On Jan 14, 12:49 am, pgoetz pgo...@pgoetz.de wrote: Hi group, I have a problem with the Google Eclipse Plugin. I am developing an application for the Google App Engine (Eclipse JEE Galileo, Google Plugin 1.2.0, Google App Engine SDK 1.3.0, OS Ubuntu 9.10). Yesterday I reinstalled the Google Plugin and Google App Engine SDK after I got the same problem with an older version of the SDK. Today I started Eclipse and after the workspace comes up, I see the message Updating myproject/...ne - 1.3.0 in the status bar of Eclipse. I suspect that it means Updating myproject/Google App Engine - 1.3.0. With this message my whole Eclipse freezes and I can only kill the process. Does anybody know why that happens? And how can I prevent the plugin from performing the update? I had the same problem yesterday with the old setup and the solution was to remove the folders for the plugin from Eclipse plugins and features directories and to reinstall the plugin. Then it worked yesterday and crashed this morning. Thank you very much for your help! Greetings, Peter -- 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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: datanucleus enhancer keeps running
See http://code.google.com/p/googleappengine/issues/detail?id=2115. This may be the issue that you're having. It was recently fixed, and a version of GPE with the fix is forthcoming. On Thu, Feb 25, 2010 at 1:57 PM, Steve Pritchard steve...@gmail.com wrote: On Feb 25, 6:39 am, haole mejoe...@gmail.com wrote: i'm using eclipse 3.5.1, GPE 3.5 (1.2.0.v200912062003), GAE 1.3.1.v201002101412, GWT 2.0.3.v201002191036 datanucleusenhancer continuously runs over and over again temporary workaround: turn off build automatically feature in eclipse I have several projects with a dependency hierarchy. I found the enhancer to be fragile and it often would not enhance the classes. I had to do a 'clean' to make it happen. I could not find the pattern to when it failed to enhance. It never looped on me so you may be seeing a different problem. About 3 weeks ago I had had enough and turned off the Enhancer builder (the plugin yelled at me). In its place I added an ant task to do the enhancement. I derived the ant task statements from the Datanucleus site. Since that time things have been very stable and the enhancer always finishes its job. This is the essence of the ant task: !-- -- !-- T A S K D E F S -- !-- -- taskdef name=enhance classname=com.google.appengine.tools.enhancer.EnhancerTask classpath pathelement path=${appengine.tools.classpath}/ pathelement path=${appengine.tools.lib}/ /classpath /taskdef !-- -- !-- T A R G E T S -- !-- -- target name=enhance.cls description=Performs Datnucleus JDO enhancement on compiled data classes. !-- echo message= path ${appengine.tools.classpath}/ -- !-- echo message= fileset ${proj.dir.gen.cls}/ -- enhance failonerror=true verbose=false classpath pathelement path=${appengine.tools.classpath}/ fileset dir=${proj.dir.war.lib} includes=*.jar/ pathelement path=${proj.dir.gen.cls}/ /classpath fileset dir=${proj.dir.gen.cls} includes=**/*.class/ /enhance /target target name=enhance.war description=Performs Datnucleus JDO enhancement on war classes. !-- echo message= path ${appengine.tools.classpath}/ -- !-- echo message= fileset ${proj.dir.gen.cls}/ -- enhance failonerror=true verbose=false classpath pathelement path=${appengine.tools.classpath}/ fileset dir=${proj.dir.war.lib} includes=*.jar/ pathelement path=${proj.dir.war.cls}/ /classpath fileset dir=${proj.dir.war.cls} includes=**/*.class/ /enhance /target It may be worth a try. Steve -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Eclipse hangs at startup, Ubuntu
Hi, I am guessing that you're using Subclipse? If you can reproduce the problem consistently, can you file an issue for this? Thanks, Rajeev On Fri, Feb 12, 2010 at 4:31 AM, Tony tony.kapfenber...@gmail.com wrote: Hello, I do have the same Problem (Ubuntu 9.10, Eclipse Galileo, Google Plugin) my, web-inf/lib folder is under source control. I found out that it helps, when i delete the contents of the web-inf/ lib folder prior to starting eclipse. Eclipse then will start without problem and i can get the deleted libraries back from the svn repository... tony On Jan 22, 4:23 pm, Rajeev Dayal rda...@google.com wrote: Hi, What is the name of your project, and the name of your App Engine SDK? I'm trying to decipher (in our code) where the message Updating myproject/...ne - 1.3.0 comes from. When Eclipse starts up, the SDKs will automatically copy over the necessary jars to your project's war/WEB-INF/lib folder. I think that's what is happening here. This should not cause a freeze-up in the IDE though. Is your war/WEB-INF/lib folder version-controlled, and are you using some sort of version-control plugin in Eclipse? If so, does it help if you remove the war/WEB-INF/lib folder from version control? Rajeev On Thu, Jan 14, 2010 at 7:33 AM, pgoetz pgo...@pgoetz.de wrote: On Jan 14, 11:41 am, Blessed Geek blessedg...@gmail.com wrote: Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? No, all of my resources are local. They are attached to a SVN repository, but the subversion plugin does not communicate with the repository at that time. And do you have many projects mounted like I do? I had the same problem and I had to kill/restart the connector process to the foreign file system, whenever this happens. I would notice thrashing going own in the connection and eclipse got stuck. Again no. It is the only project in this workspace (just a test project). [...] Perhaps, you could turn autobuild off everytime you exit eclipse so that it when eclipse is started, it would not autobuild - and turn it back on when eclipse startup has quieted down. That was a hint in the right direction, I think. I have disabled the google plugin, closed the project, reactivated the plugin and after a startup and some time for eclipse to organize itself, I opened the project. That did the trick. In my opinion this is not a very elegant solution, but it works for me so far. Thank you very much for your help! Greetings, Peter -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.com google-appengine-java%2bunsubscr...@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.comgoogle-appengine-java%2bunsubscr...@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] Re: Google Plugin for Eclipse 1.3 plans
Can you provide a stack trace? On Thu, Feb 11, 2010 at 1:29 PM, Sudhir sudhi...@gmail.com wrote: Has anyone else noticed that installing GAE SDK 1.3.1 screws up the Google Plugin? It keeps throwing class loader exceptions and renders the run configs useless. On Feb 11, 9:23 pm, Keith Platfoot kplatf...@google.com wrote: Hi Marcel, The Eclipse plugin has a different release cycle than the App Engine SDK, so no, the current plugin version remains 1.2. Look the 1.3 version of the plugin to be released in March (with a preview build available near the end of this month). Keith On Thu, Feb 11, 2010 at 9:09 AM, Marcel Overdijk marceloverd...@gmail.comwrote: SDK 1.3.1 was released today, so I was wondering if the 1.3 plugin is also released, and more importantly if it contains better support for maven as described in Keith's post. On Feb 9, 10:11 pm, Hannu Leinonen hlein...@gmail.com wrote: Allright, As I've stated before on the list, Maven + GAE Eclipse plugin integration is already possible! Exact instructions can be found in my blog post athttp:// hamandeggs.wordpress.com/2010/01/26/how-to-gae-eclipse-maven/I also have made an archetype for such a project. I'm currently using pretty much the same configuration in one of my projects and it works quite well (only downside being that you're required to clean the project on every Eclipse startup). Just type: mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate \ -DarchetypeGroupId=org.beardedgeeks \ -DarchetypeArtifactId=gae-eclipse-maven-archetype \ -DarchetypeVersion=1.1.1 \ -DarchetypeRepository= http://beardedgeeks.googlecode.com/svn/repository/releases -Hannu On 8.2.2010 20:35, Jake wrote: I'm hoping for a good way to resolve workspace dependencies in Eclipse. The m2eclipse plugin does this well, but that doesn't play nicely with the maven-war-plugin, so it doesn't work for GAE. Running a Maven Install on each workspace dependency before deploying, however, is still nicer than having to manually generate/copy jar files. I'm pretty new to Eclipse/Maven/GAE, so I don't know if it's possible, but I'm hopeful! :) Jake On Feb 6, 12:40 pm, 杨浩 skzr@gmail.com wrote: Where's the lastest plugin update sites for GAE Plugin? I will to test it! 2010/2/6 Philippe Marschall philippe.marsch...@gmail.com Sounds like a good start. Ideally the maven eclipse plugin [1] could be configured to automatically generate the configuration for the Google Plugin and M2Eclipse [2] picking that up as well. Also an archetype would help quick starting. I assume you're aware that you get the most benefit out of that only when there are up to date Maven artifacts wit good metadata in a publicly available repo, preferably Maven central. [1]http://maven.apache.org/eclipse-plugin.html [2]http://m2eclipse.sonatype.org/ Cheers Philippe -- 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.comgoogle-appengine-java%2bunsubscr...@googlegroups.comgoogle-appengine-java%2B 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.comgoogle-appengine-java%2bunsubscr...@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] Problem running GAE + GWT wizzard project
Hi, Can you try clearing your browser's cookies and seeing if this fixes the problem? Rajeev On Thu, Jan 14, 2010 at 7:00 AM, Ice13ill andrei.fifi...@gmail.com wrote: Hello, i'm using gwt + gae in Eclipse Galileo and i'm trying to run the project created with the Web Application wizzard. After the project is created using GWT and GAE sdk (2.0 and 1.3.0) i tried running the application, but i get this exception when loading the page: Initializing AppEngine server The server is running at http://localhost:/ Jan 14, 2010 12:00:10 PM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: EXCEPTION java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java: 881) at com.google.appengine.tools.development.LocalHttpRequestEnvironment.init (LocalHttpRequestEnvironment.java:45) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:348) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442) I did not found any posts regarding this problem. I'm just trying to run the created app by the wizzard, that's all I'm running it in Ubuntu 9.04, Mozilla Firefox, Eclipse galileo, Java 1.6.0_14 sdk Pls 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Eclipse hangs at startup, Ubuntu
Hi, What is the name of your project, and the name of your App Engine SDK? I'm trying to decipher (in our code) where the message Updating myproject/...ne - 1.3.0 comes from. When Eclipse starts up, the SDKs will automatically copy over the necessary jars to your project's war/WEB-INF/lib folder. I think that's what is happening here. This should not cause a freeze-up in the IDE though. Is your war/WEB-INF/lib folder version-controlled, and are you using some sort of version-control plugin in Eclipse? If so, does it help if you remove the war/WEB-INF/lib folder from version control? Rajeev On Thu, Jan 14, 2010 at 7:33 AM, pgoetz pgo...@pgoetz.de wrote: On Jan 14, 11:41 am, Blessed Geek blessedg...@gmail.com wrote: Is any of your resources sitting in a foreign file system like smb, ntfs or nfs? No, all of my resources are local. They are attached to a SVN repository, but the subversion plugin does not communicate with the repository at that time. And do you have many projects mounted like I do? I had the same problem and I had to kill/restart the connector process to the foreign file system, whenever this happens. I would notice thrashing going own in the connection and eclipse got stuck. Again no. It is the only project in this workspace (just a test project). [...] Perhaps, you could turn autobuild off everytime you exit eclipse so that it when eclipse is started, it would not autobuild - and turn it back on when eclipse startup has quieted down. That was a hint in the right direction, I think. I have disabled the google plugin, closed the project, reactivated the plugin and after a startup and some time for eclipse to organize itself, I opened the project. That did the trick. In my opinion this is not a very elegant solution, but it works for me so far. Thank you very much for your help! Greetings, Peter -- 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.comgoogle-appengine-java%2bunsubscr...@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] Getting error when updated from 1.2.5 to 1.3.0
Looking at the code, it seems that problem may be cookie related. Can you try clearing your browser's cookies and see if that helps the situation? On Wed, Jan 20, 2010 at 9:45 PM, mar_novice mariocape1...@gmail.com wrote: I can't run anymore after I updated the sdk and even downloading a fresh eclipse and gae plugin, I always get the same error. Initializing AppEngine server The server is running at http://localhost:/ 01 21, 10 2:30:15 AM com.google.apphosting.utils.jetty.JettyLogger warn WARNING: EXCEPTION java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java: 881) at com.google.appengine.tools.development.LocalHttpRequestEnvironment.init (LocalHttpRequestEnvironment.java:45) at com.google.appengine.tools.development.JettyContainerService $ApiProxyHandler.handle(JettyContainerService.java:348) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run (SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run (BoundedThreadPool.java:442) 01 21, 10 2:30:47 AM com.google.apphosting.utils.jetty.JettyLogger warn and I have noticed, instead of http://localhost:8080/, it is now http://localhost:/.. can anyone 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Failed to startup after ver 1.2.8 update
Were you able to work around the problem, or are you still having trouble? On Fri, Dec 11, 2009 at 5:40 AM, sgodard sebastien.god...@gmail.com wrote: I have the same problem with this update :( On 5 déc, 06:34, doc123 doc.u...@gmail.com wrote: Application does not start up after update ver 1.2.8 Error Message is following Error occurred during initialization of VM agent library failed to init: instrument Error opening zip file or JAR manifest missing : C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.2.6.v200910130758\appengine- java-sdk-1.2.6\lib\agent\appengine-agent.jar 1.2.8 appengine-agent.jar is is exist following directory. C:\eclipse\plugins \com.google.appengine.eclipse.sdkbundle_1.2.8.v200912040616\appengine- java-sdk-1.2.8\lib\agent\appengine-agent.jar So problem look like that Eclipse startup program does not recognize 1.2.6 to 1.2.8 update and searching sdk 1.2.6's appengine-agent.jar at old directory. I Changed Project=Propaty=Libralys to App Engine sdk[App Engine -1.2.8] Are there remaining portion to change setting? How should I teach Eclipse of this update? -- 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.comgoogle-appengine-java%2bunsubscr...@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] What is the missing argument error after upgrade to 1.2.8
Hi, If you navigate to Project Properties - Google - Google Web Toolkit, do you see any startup modules listed there? If you edit the launch configuration that you're running, do you see any startup modules listed on the GWT tab? What are the program and VM arguments that are listed for the launch configuration? Thanks, Rajeev On Fri, Dec 11, 2009 at 9:52 AM, Emmanuel emmanuel.gon...@gem-up.comwrote: After the upgrade to App engine 1.2.8 (and therefore to Google Web Toolkit 2.0.0), my previously working application now does not start and is blocked with the following error: Missing required argument 'module[s]' Google Web Toolkit 2.0.0 DevMode [-noserver] [-port port-number | auto] [-whitelist whitelist- string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-server servletContainerLauncher] [-startupUrl url] [-war dir] [-extra dir] [- workDir dir] module[s] where -noserverPrevents the embedded web server from running -portSpecifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -server Specify a different embedded web server to run (must implement ServletContainerLauncher) -startupUrl Automatically launches the specified URL -war The directory into which deployable output files will be written (defaults to 'war') -extra The directory into which extra files, not intended for deployment, will be written -workDir The compiler's working directory for internal use (must be writeable; defaults to a system temp dir) and module[s]Specifies the name(s) of the module(s) to host Where are those parameters to be reconfigured ? -- 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.comgoogle-appengine-java%2bunsubscr...@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] Re: Failed to compile jsp files when tagdir is included
As an FYI , there is no issue in the tracker for this exact problem. I'll write up a bug for this and post the link back on this thread (unless someone would be kind enough to do it for me ;). On Thu, May 7, 2009 at 11:40 AM, barabaka oleg.g...@gmail.com wrote: Great thanks for this topic! Copying tools.jar into the AppEngine lib/ shared directory did solve the problem for me! Deploying now works from MyEclipse (MyEclipse 6.5, WinXP). On Apr 21, 3:01 am, Jim McCabe j...@jmccabe.com wrote: 1. Copy tools.jar into the AppEngine lib/shared directory. 2. Modify appcfg.cmd so it fully-qualifies the reference to java.exe in the JDK/bin directory. --~--~-~--~~~---~--~~ 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: How-to view stack dumps in GAE
Maybe you could try e.printStackTrace(System.out) and see if that makes a difference? On Sat, Sep 19, 2009 at 11:34 AM, Diana Cruise diana.l.cru...@gmail.comwrote: What does GAE do with standard dumps such as e.printStackTrace()? Here is the Admin Console Log output in DEBUG mode for my test: I 09-19 08:14AM 54.605 [app1-widget/1.336449820535414591].stdout: hello, testMode=false I 09-19 08:14AM 54.605 org.apache.jsp.test_jsp _jspService: hello2 I 09-19 08:14AM 54.606 [app1-widget/1.336449820535414591].stdout: hello3 The output above comes from the code snippet below which tests Stdout, Logger, and then a forced stack dump. As you can see the stack dump identified with the message hello4 is NOT in the log output above. How do I view this stack dump in GAE? %@ page contentType=text/html;charset=UTF-8 language=java % %@ page import=java.util.*, widget.presentation.common.* % % try { UserSession userSess = UserSession.get(session, request, response); System.out.println(hello, testMode= + userSess.isTestMode()); java.util.logging.Logger logger = java.util.logging.Logger.getLogger (widget); logger.log(java.util.logging.Level.INFO, hello2); userSess.logInfo(hello3); if (true) throw new Exception(hello4); % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN table border=0 cellpadding=0 cellspacing=0 width=100% tr td width=15% valign=top table border=0 cellpadding=0 cellspacing=0 width=100% ... /table % } catch (Exception e) { e.printStackTrace(); } % --~--~-~--~~~---~--~~ 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: Please help with Java Authsub in Eclipse
I'm guessing that you added gdata-client-1.0.jar to your build path. Is it in your war/WEB-INF/lib directory? Look at your list of warnings in the Problems view. You should see a warning indicating that this jar is not in your war/WEB-INF/lib directory. Select the warning and hit CTRL-1 to fix the problem. On Fri, Sep 18, 2009 at 4:20 PM, NMAGOCIO nmago...@gmail.com wrote: I am using Eclipse to create an AppEngine app that displays a contacts list on a web page but can't get Authsub working. Basically I started with the Google web application button and added the code to generate the get request. Problem is when I run the program the page tells me: HTTP ERROR: 500 com/google/gdata/client/http/AuthSubUtil RequestURI=/list_contacts_authsub Caused by: java.lang.NoClassDefFoundError: com/google/gdata/client/http/ AuthSubUtil There are no errors showing in the code view, I imported gdata- client-1.0.jar as a referenced library and the same bit of code produces a url if run as a non web app. Please I am trying to learn all this and frustrated after hours of searching for the answer or a tutorial on doing Java Authsub in Eclipse. Thank you for any 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] Re: Regarding Error in Jsp Code
) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23) at com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:59) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:57) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:121) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:54) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:313) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:830) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) *Powered by Jetty:// http://jetty.mortbay.org/* so plez check out this and help me in rectifying this error. Thank you in advance anu On Mon, Sep 14, 2009 at 8:33 PM, Rajeev Dayal rda...@google.com wrote: * } ** }* /table /div /div /body /html You need to surround the ending curly-braces with % and %, like so: % * } **}* *% * /table /div /div /body /html On Mon, Sep 14, 2009 at 7:04 AM, anu anunimmala.nimm...@gmail.comwrote: hi i have developed a sample application by following apps given in appengine sdk demos sample apps and when i send a request from browser to that application then iam getting the following error on jsp page HTTP ERROR: 500 Unable to compile class for JSP Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: 'catch' without 'try' [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ')' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: not a statement [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ';' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 165: 'finally' without 'try' [javac] } finally
[appengine-java] Re: Regarding Error in Jsp Code
* } ** }* /table /div /div /body /html You need to surround the ending curly-braces with % and %, like so: % * } **}* *% * /table /div /div /body /html On Mon, Sep 14, 2009 at 7:04 AM, anu anunimmala.nimm...@gmail.com wrote: hi i have developed a sample application by following apps given in appengine sdk demos sample apps and when i send a request from browser to that application then iam getting the following error on jsp page HTTP ERROR: 500 Unable to compile class for JSP Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: 'catch' without 'try' [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ')' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: not a statement [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ';' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 165: 'finally' without 'try' [javac] } finally { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 35: 'try' without 'catch' or 'finally' [javac] try { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 169: reached end of file while parsing [javac] } [javac] ^ [javac] 7 errors RequestURI=/ex.jsp Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: 'catch' without 'try' [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ')' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: not a statement [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 158: ';' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 165: 'finally' without 'try' [javac] } finally { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 35: 'try' without 'catch' or 'finally' [javac] try { [javac] ^ Generated servlet error: [javac] C:\Users\DEVELO~1.ADM\AppData\Local\Temp \Jetty_127_0_0_1_8087_war-iudaqf\jsp\org\apache\jsp\ex_jsp.java: 169: reached end of file while parsing [javac] } [javac] ^ [javac] 7 errors at org.apache.jasper.compiler.DefaultErrorHandler.javacError (DefaultErrorHandler.java:84) at org.apache.jasper.compiler.ErrorDispatcher.javacError (ErrorDispatcher.java:332) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: 412) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile (JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.service (JspServletWrapper.java:295) at org.apache.jasper.servlet.JspServlet.serviceJspFile (JspServlet.java:292) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) at com.google.appengine.tools.development.PrivilegedJspServlet.access $101(PrivilegedJspServlet.java:23) at
[appengine-java] Re: Warning message about junit plugin from datanucleus in my logs when running Junit tests
Hi, Another way to handle this would be to create a separate logging.properties file, and then add the following to your launch configuration: -Djava.util.logging.config.file=/path/to/test/logging.properties ... This would be cleaner than modifying your code. Rajeev On Tue, Sep 8, 2009 at 7:24 PM, Erem ehb...@gmail.com wrote: The root problem unsurprisingly turns out to be logging configuration. Stop this from happening by setting the following DataNucleus loggers PRIOR to your JDOHelper.getPersistenceManagerFactory() calls: //This one caused all the WARNING and SEVERE logs about eclipse UI elements Logger.getLogger(DataNucleus.Plugin).setLevel(Level.OFF); //This one logged the last couple INFOs about Persistence configuration Logger.getLogger(DataNucleus.Persistence).setLevel(Level.WARNING); As it doesn't seem even the WARNINGs or SEVEREs affect test outcomes, this seems like a perfectly fine way to do it. On Sep 8, 3:40 pm, Erem ehb...@gmail.com wrote: I just found out that it all gets spammed as a response to JDOHelper.getPersistenceManagerFactory(). It only happens when running the Local Service implementation as specified on the AppEngine wiki On Sep 8, 3:34 pm, Erem ehb...@gmail.com wrote: Hi Rajeev, Thanks for the response! It's a normal JUnit launch config. There are only 2 classpath entries in my launch config: --- v Bootstrap Entries JRE System Library [jre1.6.0_15 - 32-bit[ v User Entries MyProject (default classpath) I still can't figure it out how to shut these logs up =/ On Aug 31, 11:52 am, Rajeev Dayal rda...@google.com wrote: Hi, Is this a normal JUnit Launch Configuration, or is there a special plugin that you're using? Can you navigate to the launch configuration's classpath tab and list out the entries? Thanks, Rajeev On Wed, Aug 26, 2009 at 4:58 PM, Amendmen7 ehb...@gmail.com wrote: I'm having the same issues. I have tried turning off all known loggers in the setUp methods of my LocalDatastoreTestCase superclass, but it has no effect re: this logspam! Has anyone found an answer? On Aug 5, 8:41 am, Stephan stephanv...@gmail.com wrote: I'm having the same problem here. Using a fresh eclipse install and a simple test-application, I get the same messages. They only appear when I use JDO in my unit tests. Except for the error log messages, everything seems to work fine. But starting each unit-test with more then 30 warnings and errors doesn't seem like a clean way to test an application. Did you find a solution yet? I'd think there would be a much larger group with the same problem, or isn't anyone unit-testing here? :) On 27 jun, 15:57, Peter Recore peterrec...@gmail.com wrote: I have a warning message showing up in my logs when I run my unit tests in Eclipse, using the junit plugin. I have the google plugin installed. The messages seem to be coming from the DataNucleus logger. Here is one line. There are about 30 more all referencing different extension points. Jun 27, 2009 8:42:40 AM org.datanucleus.plugin.NonManagedPluginRegistry registerExtensions WARNING: Extension Point org.eclipse.ui.views not registered, but plugin org.eclipse.jdt.junit defined in file:/C:/Documents%20and %20Settings/peter/Desktop/eclipse/configuration/org.eclipse.osgi/ bundles/307/1/.cp/META-INF/MANIFEST.MF refers to it. Then there are some that look like this: Jun 27, 2009 8:42:40 AM org.datanucleus.plugin.NonManagedPluginRegistry resolveConstraints SEVERE: Bundle org.eclipse.jdt.junit4.runtime requires org.junit4 but it cannot be resolved. I'm hoping someone can give me a hint as to whether this is an eclipse issue, a junit issue, a datanucleus issue, or something else. 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-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: where should I copy logging.properties for testing?
I talked to another developer about this, and this is what he mentioned: He may need to be setting the system property that points to the location of the logging.properties file in his test runner. The web server gets this property set in appengine-web.xml, but if he's outside of the server, he may need to do this his own way. java -Djava.util.logging.config.file=/path/to/logging.properties ... Can you try setting the system property by editing your test's launch configuration, and see if that makes a difference? On Fri, Sep 11, 2009 at 12:14 PM, Alejandro D. Garin aga...@gmail.comwrote: Hi Rick, The problem is with my testcase, the logging is working fine running the jetty server. I don't want to have all the JDO INFO logs for my test. On Fri, Sep 11, 2009 at 12:03 PM, rick rick4567892...@yahoo.com wrote: Hi Alejandro, What entry do you have in your appengine-web.xml file ? look at http://code.google.com/appengine/docs/java/runtime.html#logging --~--~-~--~~~---~--~~ 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: Upgrade issue with Google SDK 1.2.5
Hi James, I tried to reproduce the behavior that you were seeing by doing the following: Install plugin, GWT SDK, and App Engine SDK from May 13th Restart Eclipse Install App Engine SDK from July 13th Restart Eclipse Install App Engine SDK and plugin from September 3rd Restart Eclipse Install GWT SDK from September 3rd Restart Eclipse I was unable to see the problem that you were running into. What I was going to recommend was to uninstall the plugin and SDK bundles, and then drop down into your eclipse installation directory, and delete the following files/directories: com.google.gwt.* com.google.appengine.* com.google.gdt.* I did see on another thread that you got everything up and running with Galileo, so I guess this is a moot point now. Sorry that you ran into trouble with the upgrade in Eclipse 3.3. Rajeev On Mon, Sep 7, 2009 at 6:38 AM, James H james.hollier...@gmail.com wrote: Actually, Google does NOT display as an option under Window- Preferences currently! Its like the plugin does NOT exist at all, yet the plugin is physically there under Eclipse/plugins. I noticed alot of these errors in the Eclipse log: !ENTRY org.eclipse.debug.core 4 5020 2009-09-06 10:17:28.020 !MESSAGE Launch configuration type id com.google.gdt.eclipse.suite.webapp does not exist. Possible causes: Missing specification of a launch type (missing plug-in) Incorrect launch configuration XML On Sep 7, 1:09 am, Sekhar sek...@allurefx.com wrote: Had the same problem, just remapping the SDK fixed it. This is under WIndow-Preferences-Google-App Engine. On Sep 6, 8:35 am, James H james.hollier...@gmail.com wrote: I used the Eclipse Soft Updates menu on Sep 4th to apply SDK 1.2.5 after noticing Red errors in the local runtime log telling me to do so. Actually, first I noticed my production app was failing to retrieve data so I figured I needed to first upgrade as instructed by the log message and then see if there were still any data issues. I had been running SDK 1.2.2 since July without problems locally or in production. The install of the upgrade ran without errors. Here is the Eclipse install history: Jul 12, 2009 1:24:28 PM file:/C:/homeGoogle/programs/eclipse/ site- install success Jul 12, 2009 1:49:03 PM Date / Time Target Action Status Jul 12, 2009 1:48:12 PM com.google.gdt.eclipse.suite.e33.feature_1.0.1.v200905131156 feature- install success Jul 12, 2009 1:48:26 PM com.google.gdt.eclipse.suite.e33.feature_1.0.1.v200905131156 feature- enable success Jul 12, 2009 1:48:26 PM com.google.gwt.eclipse.sdkbundle.e33.feature_1.6.4.v200904062254 feature-install success Jul 12, 2009 1:49:03 PM com.google.gwt.eclipse.sdkbundle.e33.feature_1.6.4.v200904062254 feature-enable success Jul 12, 2009 1:50:20 PM Date / Time Target Action Status Jul 12, 2009 1:50:06 PM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.1.v200905131156 feature-install success Jul 12, 2009 1:50:20 PM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.1.v200905131156 feature-enable success Jul 24, 2009 10:01:27 PM Date / Time Target Action Status Jul 24, 2009 10:01:01 PM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.2.v200907131018 feature-install success Jul 24, 2009 10:01:27 PM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.2.v200907131018 feature-enable success Jul 24, 2009 10:01:27 PM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.1.v200905131156 feature-disable success Sep 4, 2009 6:27:25 AM Date / Time Target Action Status Sep 4, 2009 6:26:51 AM com.google.gdt.eclipse.suite.e33.feature_1.1.0.v200907291650 feature- install success Sep 4, 2009 6:27:12 AM com.google.gdt.eclipse.suite.e33.feature_1.1.0.v200907291650 feature- enable success Sep 4, 2009 6:27:12 AM com.google.gdt.eclipse.suite.e33.feature_1.0.1.v200905131156 feature- disable success Sep 4, 2009 6:27:12 AM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.5.v200909021033 feature-install success Sep 4, 2009 6:27:25 AM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.5.v200909021033 feature-enable success Sep 4, 2009 6:27:25 AM com.google.appengine.eclipse.sdkbundle.e33.feature_1.2.2.v200907131018 feature-disable success Sep 5, 2009 11:13:51 AM Date / Time Target Action Status Sep 5, 2009 11:12:38 AM com.google.gwt.eclipse.sdkbundle.e33.feature_1.7.0.v200907131018 feature-install success Sep 5, 2009 11:13:48 AM com.google.gwt.eclipse.sdkbundle.e33.feature_1.7.0.v200907131018 feature-enable success Sep 5, 2009 11:13:48 AM com.google.gwt.eclipse.sdkbundle.e33.feature_1.6.4.v200904062254 feature-disable success At this point my Eclipse behaves as though the Google SDK is NOT installed. For example, the Google Icons are NOT displayed in the Toolbar, etc. From
[appengine-java] Re: java developers and hot deployment
Glad everything is working for you. As an FYI, in case this bites you in other situations, this is a general issue with the JDK. It is not a specific bug in App Engine, GWT, the Plugin, or Eclipse. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862295 for more information. On Tue, Sep 8, 2009 at 4:49 PM, James H james.hollier...@gmail.com wrote: Yep, you nailed it...in under 4 minutes! Thanks, it was driving me nuts! On Sep 8, 3:28 pm, Rajeev Dayal rda...@google.com wrote: What version of the JDK are you using? There is a known issue with JDK 1.6.0_14 that causes breakpoints to be skipped. If you're using this JDK, either downgrade to JDK 1.6.0_13, or upgrade to JDK 1.6.0_16. On Tue, Sep 8, 2009 at 4:24 PM, James H james.hollier...@gmail.com wrote: What is going on with Debugging anyway? I had been running fine with 1.2.2 GAE plugin an Eclipse 3.3, and was able to debug nicely except for signature changes, additions. Then the 1.2.5 upgarde blew my environment up so I decided to load Eclipse 3.5 Galileo and the latest GAE plugin. But, debugging didn't work out-of-the-box. I had to add - Xdebug to the builtin launch provided by the GAE plugin. Though now, the debugging is sporatic. It will stop at a breakpoint only once, etc... This is NOT tolerable...I must be missing something, surely its intended to work as well under Eclipse 3.5 as it did under Eclipse 3.3? J On Sep 7, 8:59 am, Nicolas Melendez nmelen...@getsense.com.ar wrote: hi all! If you are tired of running the sever again every time you make a change in your code, please vote this issue to have server hot deployment which is an important and time-saving feature. that would make java developers really happy :) http://code.google.com/p/googleappengine/issues/detail?id=1787- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ 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: Snow Leopard Trouble
This is an issue in GWT that we're currently working on. It does not affect GAE-only projects; only those that use GWT. For now, if you want to work around this issue, you have two options: 1) Use OOPHM, which is part of GWT Trunk. When you use OOPHM, you no longer use the hosted browser; you your real browser (you'll have to install a plugin which will enable communication between GWT and your browser) 2) Use the workaround suggested here: http://wiki.oneswarm.org/index.php/OS_X_10.6_Snow_Leopard However, be wary if you use this workaround; this is not an official workaround from Apple. A Software Update from Apple may interfere with this change. Rajeev On Thu, Sep 3, 2009 at 8:23 AM, objectuser kevin.k.le...@gmail.com wrote: And everything worked fine before the upgrade? I'm not using GWT, but upgraded to Snow Leopard with no resulting issues for GAE. On Aug 31, 1:51 am, yasuyuki eyasuy...@gmail.com wrote: Hi. I use Eclipse 3.4.2 and GAE/J Plugin. I update my Mac to Mac OS 10.6 Snow Leopard, I caught an error when start my appengine project below: You must use a Java 1.5 runtime to use GWT Hosted Mode on Mac OS X. My Snow Leopard has 64-bit or 32-bit JRE 1.6 ontly, has not JRE 1.5. How to run GAE/J on Snow Leopard ? 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-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: Log4J vs. java.util.logging in App Engine projects
Hi Bill, Would you mind filing an issue for this: http://code.google.com/p/googleappengine/issues/list Thanks, Rajeev On Tue, Sep 1, 2009 at 10:12 PM, Bill Higgins billh...@gmail.com wrote: Thanks again for the explanation Rajeev. I would politely suggest beefing up the header comments in the log4j.properties file and the logging.properties, explaining to the user that they may either use Log4J or java.util.logging as they please. On Sep 1, 11:09 am, Rajeev Dayal rda...@google.com wrote: Yes, I think you've got it exactly right. If you notice any deviations from this behavior, please post back on this thread and let us know. On Tue, Sep 1, 2009 at 9:31 AM, Bill Higgins billh...@gmail.com wrote: Thanks much for the response Rajeev. Let me see if I can repeat and reduce it to make sure I understand the formula. 1) DataNucleus will use EITHER log4j OR java.util.logging. It never uses both. 2) DataNucleus will use log4j if it detects log4j classes on the classpath, otherwise it will use java.util.logging 3) If my app doesn't use log4j, then I can safely delete the default log4j.properties file and DataNucleus will happily use java.util.logging Is this correct? On Aug 31, 5:22 pm, Rajeev Dayal rda...@google.com wrote: +[tobyr] Hi Bill, We include both logging files due to the implementation of Datanucleus. If you have log4j on your classpath (or if you have any jars which bundle the log4j classes), then Datanucleus will use the log4j logging system. If you don't have a configuration file for log4j, then none of the information will be displayed. That is why we include one by default. If you do not have log4j on your classpath, then the log4j system is not used, and neither is the log4j.properties file which we include. If you are sure that you do not have any log4j classes on your classpath, then you can safely remove the log4j.properties file, and control all of your logging via the logging.properties file. If you're using log4j, you can get rid of the logging.properties file. My recommendation would be to keep both files, and only update the one for the logging system that you're using. You don't need to keep both of them in sync unless you adjust the Datanucleus logging levels. Let me know if you have any questions - I know that this is somewhat confusing. Rajeev On Sun, Aug 30, 2009 at 7:51 AM, Bill Higgins billh...@gmail.com wrote: Hi, I'm new to App Engine development, and am a bit confused by the logging configuration files that the Google Eclipse project produces in a new web application project. When you create a new web app project, the new project includes two logging configuration files: project/src/log4j.properties project/war/WEB-INF/logging.properties I understand that the first is for log4j and the second for java.util.logging but I'm not sure why one would need both and how each affect logging determinations. If I make changes to one should I make changes to another? Is there a safe way to delete one and simply use the other? If so which one is the keeper? Thanks in advance. --~--~-~--~~~---~--~~ 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: Log4J vs. java.util.logging in App Engine projects
Yes, I think you've got it exactly right. If you notice any deviations from this behavior, please post back on this thread and let us know. On Tue, Sep 1, 2009 at 9:31 AM, Bill Higgins billh...@gmail.com wrote: Thanks much for the response Rajeev. Let me see if I can repeat and reduce it to make sure I understand the formula. 1) DataNucleus will use EITHER log4j OR java.util.logging. It never uses both. 2) DataNucleus will use log4j if it detects log4j classes on the classpath, otherwise it will use java.util.logging 3) If my app doesn't use log4j, then I can safely delete the default log4j.properties file and DataNucleus will happily use java.util.logging Is this correct? On Aug 31, 5:22 pm, Rajeev Dayal rda...@google.com wrote: +[tobyr] Hi Bill, We include both logging files due to the implementation of Datanucleus. If you have log4j on your classpath (or if you have any jars which bundle the log4j classes), then Datanucleus will use the log4j logging system. If you don't have a configuration file for log4j, then none of the information will be displayed. That is why we include one by default. If you do not have log4j on your classpath, then the log4j system is not used, and neither is the log4j.properties file which we include. If you are sure that you do not have any log4j classes on your classpath, then you can safely remove the log4j.properties file, and control all of your logging via the logging.properties file. If you're using log4j, you can get rid of the logging.properties file. My recommendation would be to keep both files, and only update the one for the logging system that you're using. You don't need to keep both of them in sync unless you adjust the Datanucleus logging levels. Let me know if you have any questions - I know that this is somewhat confusing. Rajeev On Sun, Aug 30, 2009 at 7:51 AM, Bill Higgins billh...@gmail.com wrote: Hi, I'm new to App Engine development, and am a bit confused by the logging configuration files that the Google Eclipse project produces in a new web application project. When you create a new web app project, the new project includes two logging configuration files: project/src/log4j.properties project/war/WEB-INF/logging.properties I understand that the first is for log4j and the second for java.util.logging but I'm not sure why one would need both and how each affect logging determinations. If I make changes to one should I make changes to another? Is there a safe way to delete one and simply use the other? If so which one is the keeper? Thanks in advance. --~--~-~--~~~---~--~~ 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: Exception while deploying JSP Tag Lib Files
Hey Klaus, I think you may be running into the issue mentioned here: http://groups.google.com/group/google-appengine-java/browse_thread/thread/175e70cc0c93ded9 This is a pretty bad hack, but can you try copying the tools.jar file from your JDK's directory (the one which your project in Eclipse is using) over to your App Engine SDK's lib/shared directory and see if that helps? Rajeev On Tue, Sep 1, 2009 at 2:20 PM, Klaus klaus.rog...@web.de wrote: I forgot to point out that the deployment works fine for *regular* JSP file. Everything works fine if you *don't* have JSP Tag files, so if you don't make use of the tag world (resp. if you delet the file world.tagx) in the above example. It' not a general failure of the deployment process, and I successfully had deployed JSP files before. On 30 Aug., 23:28, Albert Attard albertatt...@gmail.com wrote: Hi: If you're using Eclipse, please check your installed JDK. Follow this blog for details: http://albertattard.blogspot.com/2009/08/jsp-compile-error-in-eclipse... http://albertattard.blogspot.com/2009/08/jsp-compile-error-in-eclipse.. .Hope this helps, Albert Attard Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. 2009/8/30 Klaro klaus.rog...@web.de I'm trying to use Tag Libs that are expressed as JSP file (as explained in JSP Spec V2.1, §8 and §8.5). Those JSP Tag Lib files need to be placed in a subdir of WEB-INF/tags - usually with the file name extension .tag or tagx insetad of .jsp or jspx. Creating using them on the dev system works fine and as expected, but when I deploy them, I get the exception below - no matter how simple the content is. There is a message saying Unable to find a javac compiler and Perhaps JAVA_HOME does not point to the JDK. Since compiling of regular JPS files works fine during deployment this cannot be the real reason (BTW, JAVA_HOME *is* set properly). Any ideas? Fixes needed? Regards, Klaus -- snip snap Creating staging directory Scanning for jsp files. Compiling jsp files. com.google.appengine.tools.admin.JspCompilationException: Failed to compile jsp files. 30.08.2009 22:39:37 org.apache.jasper.JspC processFile INFO: Built File: \test.jsp 30.08.2009 22:39:37 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Error compiling file: /E:/Temp/Windows/appcfg35419.tmp/ WEB-INF/classes//org/apache/jsp/tag/web/utils\clearcache_tagx.java [javac] Compiling 1 source file 30.08.2009 22:39:37 org.apache.jasper.compiler.Compiler generateClass SCHWERWIEGEND: Javac exception Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler (CompilerAdapterFactory.java:105) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:924) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java: 382) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) at org.apache.jasper.JspCompilationContext.compile (JspCompilationContext.java:511) at org.apache.jasper.servlet.JspServletWrapper.loadTagFile (JspServletWrapper.java:201) at org.apache.jasper.compiler.TagFileProcessor.loadTagFile (TagFileProcessor.java:514) at org.apache.jasper.compiler.TagFileProcessor.access$000 (TagFileProcessor.java:47) at org.apache.jasper.compiler.TagFileProcessor $TagFileLoaderVisitor.visit(TagFileProcessor.java:565) at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1441) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2224) at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:525) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2213) at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2219) at org.apache.jasper.compiler.Node$Root.accept(Node.java:456) at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2163) at org.apache.jasper.compiler.TagFileProcessor.loadTagFiles (TagFileProcessor.java:583) at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java: 226) at
[appengine-java] Re: Error 500
Hi, You can't add a JDK by adding the JDK's bin path to your classpath. What you need to do is go into the Java Build Path dialog, and select the JRE System Library entry. Then, click Edit. A dialog will pop up, giving you the option to select an alternate JRE. However, you probably have not registered the JDK you downloaded with Eclipse, so you'll have to click on the Installed JREs button. You'll be presented with another dialog where you'll be able to add your JDK, then when you go back to the previous dialog, you can choose the JDK that you just installed. Let me know if you run into any trouble. Rajeev On Mon, Aug 24, 2009 at 7:58 AM, HC strong.luck...@gmail.com wrote: Can U explain with picture step by step ? Sorry i have try ur instruction By right clicking either on the error in the Problems tab or by right clicking on the project in the package explorer, find Build path. I don't know if the next step was necessary, but under Java Build Path, I included a new folder and mapped a new folder to my jdk [version]/bin folder. Then under Libraries if you click on JRE System Library and then select Edit on the right, you will then be presented with the option of using an Alternate JRE, which is where I was able to select jdk[version]. i try adding JDK http://i61.photobucket.com/albums/h79/hc_reborn/hah.jpg but still the white cross in the red box didn't went away @.@ 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 -~--~~~~--~~--~--~---
[appengine-java] Re: Updating to Eclipse Galileo issues/problems
The fact that it did not complain at the outset is odd. Just to be clear, you restarted Eclipse, and the error showed up right away, or did you do anything else? Do you have the Build Automatically option checked? On Sat, Aug 22, 2009 at 7:33 AM, jack jack.terran...@gmail.com wrote: Thanks for post... it solved the same issue I was having. Originally I had gwtext.jar as an external jar, but eclipse did not complain at the outset. When I restarted the workspace, it complained as above. On Aug 17, 11:08 am, Rajeev Dayal rda...@google.com wrote: Hi Pion, I'm glad that everything seems to be working now. Just to be clear, your Java build path should have a Classpath Container called App Engine SDK. None of the entries within that container should point to the libraries in your war/WEB-INF/lib folder. Whenever the SDK jars are not in sync with the jars in your war/WEB-INF/lib folder, you should see a warning message. If you select that message and hit CTRL-1, that will give you the option to fix the problem by syncing up the jars - i.e. copying them to your war/WEB-INF/lib folder. Thanks, Rajeev On Wed, Aug 12, 2009 at 7:49 PM, Pion onlee2...@gmail.com wrote: I am using Eclipse. My Java Build Path points the external jars to a folder (not war/WEB-INF/lib. Per your question below, I did the following: 1. Copy the external jar files manually to the war\WEB-INF\lib 2. Set my Java Build Path Libraries to point to the jar files located in war\WEB-INF\lib. The above steps have solved the problem. The errors go away now! Thanks all for your help! On Aug 12, 6:50 am, Miguel Méndez mmen...@google.com wrote: Now that the file is in war/WEB-INF/lib, does the classpath entry point to the one in war/WEB-INF/lib or does it point to the original location? Also, is there not warning on project with a quick fix? On Tue, Aug 11, 2009 at 5:25 PM, Pion onlee2...@gmail.com wrote: I have just copied (manually) the file to war/WEB-INF/lib. But the error message is still there. On Aug 10, 7:02 am, Jason Parekh jasonpar...@gmail.com wrote: Oh, that could be your problem. If you don't copy the JAR into war/WEB-INF/lib, it may not get bundled in your war file and hence will be unavailable to the app server. jason On Sat, Aug 8, 2009 at 12:38 PM, Pion onlee2...@gmail.com wrote: No, I did not manually copy commons-fileupload-1.2.1-javadoc.jar to the war/WEB-INF/lib directory . I just added the commons- fileupload-1.2.1-javadoc.jar using Project Properties - Java Build Path - Libraries - Add External JARS. Then, I got the classpath entry error. On Aug 8, 9:16 am, Jason Parekh jasonpar...@gmail.com wrote: Hmm, are you placing that JAR in war/WEB-INF/lib? jason On Sat, Aug 8, 2009 at 11:48 AM, Pion onlee2...@gmail.com wrote: Per your suggestion below, I created a default new project (GreetingService sample) using Galileo. It ran fine without any error and the Galileo Markers tab does not show any error. I just added external jar commons-fileupload-1.2.1-javadoc.jar to this GreetingService sample. It does produce the error 2. Google Web App Problem -- The following classpath entry 'D:\download\commons- fileupload-1.2.1\lib\commons-fileupload-1.2.1-javadoc.jar' will not be available on the server's classpath . On Aug 8, 8:20 am, Pion onlee2...@gmail.com wrote: One more thing ... I did clean the project. The errors still show up. On Aug 8, 8:17 am, Pion onlee2...@gmail.com wrote: Thanks for looking into this problem. Yes, the Galileo Project Properties - Java Build Path - Libraries shows the JRE, App Engine SDK 1.2.2, GWT SDK 1.7.0 and some my external jars (for example, commons-fileupload-1.2.1-javadoc.jar). I did the following this morning: 1. Installed Galileo ( http://www.eclipse.org/downloads/download.php? file=/technology/epp/downloads/release/galileo/R/eclipse-jee-galileo- win32.zip) from scratch. 2. Followed Google Plugin for Eclipse 3.5 (Galileo) Installation Instructions http://code.google.com/eclipse/docs/install-eclipse-3.5.html 3. Imported my previous project/app created by Eclipse 3.4 (Ganymede) -http://dl.google.com/eclipse/plugin/3.4. Per your suggestion below, I created a default new project (GreetingService sample) using Galileo. It ran fine without any error and the Galileo Markers tab does not show any error. I notice a few differences between Eclipse Galileo and Ganymede
[appengine-java] Re: Error creating JDO PersistanceManagerFactory with transactions-optional
Filed as http://code.google.com/p/googleappengine/issues/detail?id=2019 On Thu, Aug 20, 2009 at 10:15 PM, Geoff Denning gdenn...@gmail.com wrote: They are hidden at the OS level, which seems to hide them in Eclipse as well. On Aug 19, 9:08 am, Miguel Méndez mmen...@google.com wrote: Are these directories hidden at the OS level or at the eclipse level (like a derived folder)? On Wed, Aug 19, 2009 at 11:52 AM, Rajeev Dayal rda...@google.com wrote: Glad that everything is working for you. The deployment process does indeed grab everything under the war directory, including those that are hidden. However, I think it's a reasonable option to ignore hidden directories during an application upload. I've added Miguel and Don to this thread so they can weigh in on this. On Wed, Aug 19, 2009 at 2:27 AM, Geoff Denning gdenn...@gmail.com wrote: Hi Rajeev, I finally just figured out what was causing my app to fail, thanks to your help. I looked at the stack trace more closely, and noticed this near the end: Caused by: org.datanucleus.exceptions.NucleusException: Plugin (Bundle) org.datanucleus is already registered. Ensure you dont have multiple JAR versions of the same plugin in the classpath. The URL file:/base/data/home/apps/taskpathapp/1-2.335721585450873497/WEB-INF/ lib/_sgbak/datanucleus-core-1.1.0.jar. 22581.1.2009-07-13.20-12-57.3906 is already registered, and you are trying to register an identical plugin located at URL file:/base/data/ home/apps/taskpathapp/1-2.335721585450873497/WEB-INF/lib/datanucleus- core-1.1.4-gae.jar. The reason for this is that I am using SourceGear Vault for source code control, which creates a hidden directory called _sgbak in the working directory whenever a file is overwritten. Apparently one of those files was an old version of the datanucleus-core jar, and Eclipse (or perhaps the GWT plugin) seems to include hidden directories when compiling and/or uploading to Google App Engine. After deleting these directories (and instructing Vault to put them in a separate folder) everything is working perfectly. Thanks a million for your help. On Aug 14, 8:39 am, Rajeev Dayal rda...@google.com wrote: Hi Geoff, Your classpaths look correct. The only thing somewhat suspect is that you have xercesImpl.jar in your war/WEB-INF/lib folder, and gwt-gears.jar contains a set of Xerces classes itself. However, if you had this working before you upgraded the App Engine SDK, there is no reason as to why it would break now. Can you verify that the timestamp on gwt-servlet.jar matches that of the gwt-servlet.jar distributed with GWT 1.7.0? Also, do you mind pasting the exact stack trace? You mentioned that it is the same as the one that Clint posted. However, you mentioned a NoClassDefFound error, and that wasn't listed in Clint's stack trace. Thanks, Rajeev -- Miguel --~--~-~--~~~---~--~~ 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: Problem deploying application with jsps
Hi Abhinav, Yes, you are right - we really should just invoke javac.exe on Windows. We were assuming that javac would not be present in the bin directory on a Windows machine. Feel free to file a bug about this if you'd like - it's not too hard to fix, but as it's a corner case, it's not going to be at the top of our priority list. Thanks, Rajeev On Fri, Aug 21, 2009 at 1:29 AM, Abhinav Lele abhinav.l...@gmail.comwrote: Hi, I found the problem, albeit it is a silly one. I had a plugin named kawigiedit ( @ Topcoder ) which had created a javac folder in the bin directory. So when eclipse tried to deploy to appengine it tried to open a folder instead of the binary. I removed the directory and things worked just fine. This brings one thing to my mind, shouldn't the eclipse plugin evoke javac.exe instead of javac which might be appropriate for *nix systems. -- Abhinav On Thu, Aug 20, 2009 at 11:58 PM, Abhinav Lele abhinav.l...@gmail.comwrote: Hi Keith, You were right. I created a Java Project and ran the following code package testB; import java.io.IOException; public class testJ { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { ProcessBuilder proc = new ProcessBuilder(D:\\usr\\dev\\jdk16_12\\bin\\javac ); proc.start(); } } and I got a Exception in thread main java.io.IOException: Cannot run program D:\usr\dev\jdk16_12\bin\javac: CreateProcess error=5, Access is denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at testB.testJ.main(testJ.java:15) Caused by: java.io.IOException: CreateProcess error=5, Access is denied at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.init(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 1 more I'll try and google this out. If someone has solution for this please let me know. -- Abhinav On Thu, Aug 20, 2009 at 8:37 PM, Keith Platfoot kplatf...@google.comwrote: Hm, that is odd. Since you're able to use javac from the command line and via appcfg, I'm assuming the problem does lie with Eclipse and the permissions it was launched with. Would it be possible for you to write a small test Java app that uses ProcessBuilderhttp://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.htmlto invoke javac? If your test app fails with an Access Denied error, then at least we can rule out the plugin and App Engine as the source of the problem. If that is indeed the case, you could try installing another JDK and Eclipse instance using your user account, and see if that fixes things. Keith On Wed, Aug 19, 2009 at 2:35 PM, Abhinav Lele abhinav.l...@gmail.comwrote: Hi Keith, Well I was able to upload it using appcfg from the command line :) .. Though I wonder why eclipse is getting a access denied error. My user account has administrator privileges. -- Abhinav On Wed, Aug 19, 2009 at 8:49 PM, Keith Platfoot kplatf...@google.comwrote: Hi Abhinav, I suspect the problem may be exactly as the error message implies: access to javac is being denied because of its configured permissions. To test that theory, could you try running javac from a command prompt, using the path from the exception message? If you are able to run it, javac should display its usage options (since you didn't specify any arguments). However, if you also get an Access Denied error from the command line, then the problem is not with Eclipse or the plugin, but with the permissions on javac. One scenario that might produce this error would be if you installed the JDK as an Administrator and then run javac (either manually from the command line or indirectly via Eclipse) as a regular (non-admin) user. Let me know if you are able to reproduce the problem from the command line. Thanks, Keith On Wed, Aug 19, 2009 at 5:03 AM, Abhinav Lele abhinav.l...@gmail.comwrote: Hi, I am using Eclipse 3.5 ( Galilieo ) on Windows XP to deploy my application. It runs fine on my local machine but when I try to deploy it to appengine it is giving me the following error. Creating staging directory Scanning for jsp files. Compiling jsp files. Compiling java files. java.io.IOException: Cannot run program D:\usr\dev\jdk16_12\bin\javac: CreateProcess error=5, Access is denied Debugging information may be found in C:\Documents and Settings\user\Local Settings\Temp\appengine-deploy6738175632278023548.log appengine-deploy6738175632278023548.log Unable to upload: java.io.IOException: Cannot run program D:\usr\dev\jdk16_12\bin\javac: CreateProcess error=5, Access is denied at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at com.google.appengine.tools.admin.Application.startProcess(Application.java:434) at
[appengine-java] Re: The import com.google.appengine cannot be resolved
Hi Geeth, You cannot use App Engine classes on the client-side (GWT) of your code. You can only use them on the server side. Also, you cannot use the App Engine data types over RPC. You'll have to convert them to a GWT-compatible DTO, and then send them over the wire. Rajeev On Fri, Aug 14, 2009 at 8:54 AM, Geeth gnaray...@gmail.com wrote: Hrishi, Thanks for you reply. That was a typo in my post. I am using the google plugin for Eclipse Galileo. Please let me know if you have any other thoughts. Thanks. Geeth On Aug 13, 9:16 am, Hrishi bakshi.hrishik...@gmail.com wrote: http://dl.google.com/eclipse/plugin/3.5 You haven't installed the Google app engine plug-in for eclipse. GWT is a different plug-in. You don't need that for App engine. On Aug 13, 9:12 am, Geeth gnaray...@gmail.com wrote: I am using GWT Eclipse Plugin and trying to create a war for Google App Engine. I am importingcom.google.appengine.api.users.User to store the user information. I am using JDO persistance. I am getting the following error during GWT compilation: Theimportcom.google.appenginecannot be resolved User cannot be resolved to a type I did some searching and couldn't find anyone else facing this issue. Please help as I have hit a wall on this. Here is my class importjava.io.Serializable; importjava.util.Date; importjavax.jdo.annotations.IdGeneratorStrategy; importjavax.jdo.annotations.IdentityType; importjavax.jdo.annotations.PersistenceCapable; importjavax.jdo.annotations.Persistent; importjavax.jdo.annotations.PrimaryKey; importcom.google.appengine.api.users.User; /** * @author Geeth.Narayanan * */ @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Comment implements Serializable { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) Long id; @Persistent private User user; @Persistent private String title; @Persistent private String description; @Persistent private Date createDate; public Comment() { } public Comment(User user, String title, String description) { this.createDate = new Date(); this.user = user; this.title = title; this.description = description; } public Long getId() { return this.id; } public User getUser() { return this.user; } public Date getCreateDate() { return this.createDate; } public void setUser(User user) { this.user = user; } /** * @return the title */ public String getTitle() { return title; } /** * @param title *the title to set */ public void setTitle(String title) { this.title = title; } /** * @return the description */ public String getDescription() { return description; } /** * @param description *the description to set */ public void setDescription(String description) { this.description = description; } } --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---