[appengine-java] Will movement out of preview status give free access to SQL
The latest app engine announcement that most App Engine for Business functionality would be rolled in to App Engine. Does this mean that all current developers will have access to the SQL data store or will this just be for paying customers? If yes then will the access be through JPA or JDBC? Dave -- 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] Roadmap plans
I have noticed three issues that have been continually mentioned but the date for projected fix (if at all) is unclear. Does anyone know of availability or projected availability. The three are: 1. EL2.2 support for JSF 2. This will allow parameters to be used with action method calls. The issue has been there since summer 2010. 2. Servlets 3.0 3. SQL availability with Appengine for Business (originally 3rd quarter of 2010) Dave -- 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] JSF 2.0 MyFaces problem with Ajax and Command Button
I cannot get Ajax to allow navigation to another page when a h:commandButton is clicked. I use the classic command given in texts as shown below but Ajax will always display the current page. In the example below, I want to transition to the page2.xhtml page when I click but I only get the current page redisplayed. I tried giving ajax attributes of execute=@form and even render=@form without success. Is this a known bug. h:form prependId=false ... h:commandButton id=button1 action=page2 f:ajax / /h:commandButton /h:form Dave -- 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] Google Apps problem with Google App engine Admin Console Display
Before our university, Elon, went to Google Apps for the students, the students who had gmail accounts such as d...@gmail.com could easily request and appengine account, create an application and then have it displayed in the app engine admin console dashboard. If they went to http://appengine.google.com and signed in then they were automatically redirected to the Appengine admin console dashboard to see a list of their applications. This summer, the university went to Google Apps for students and the students have google email accounts but with a university extension. For example, their student email is now d...@elon.edu and this uses gmail. When a student uses this google account id of d...@elon.edu, the student can apply for an appengine account, get the account and then get prompted for an Application Id. The application gets successfully created but the admin console dashboard is not displayed. If the student goes to http://appengine.google.com and signs in as d...@elon.edu then the student is prompted to create an application instead of having a list of applications displayed to choose from for display on the dashboard. The question is how does a student with a university google docs account access the appengine admin console dashboard when the account has a @elon.edu university instead of @gmail.com. Dave -- 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] Help configuring JSF 2.0 for EL 2.2 using method parameters
Cay Horstmann's recently published Core JavaServer Faces 3rd Edition and describes using method expression parameters with JSF 2.0 on page 71 by adding the el-impl-2.2.jar and el-api-2.2.jar for Tomcat. I tried doing this for Appengine without success. The two described JSF 2.0 configurations by Wildstar Technologies in the Will it play in Appengine using the mojarra implementation and the Apache MyFaces 2 described at http://myfaces.apache.org/core20/googleappenginesupport.html both use el-impl-1.1.jar and el-api-1.1.jar. These implementations support methods with no parameters. I tried modifying both of these configurations by substituting el- impl-2.2.jar and el-api-2.2.jar for their el 1.1 counterparts. These changes are successfully accepted but neither will work when I try a method with a parameter. They both continue to work for methods without parameters. Has anyone had success using JSF 2.0 on appengine using method paramters? Dave -- 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] JSP problem with forced naming when trying to pass init-param to JSP
In volume 2 of CoreServlets and JavaServer Pages, Marty Hall recommends using a url-pattern for the JSP to match its original URL. However, I cannot do this in Appengine and provide init-param for the JSP page. If I have a InitPage.jsp shown below in the war folder, (war/ InitPage.jsp) and if I have a url-pattern of /InitPage.jsp shown in below web.xml then I will get a 500 Server Error each time with a error log description of java.lang.IllegalStateException: No forced path servlet for /InitPage.jsp Is there any way that I can have a jsp in the war folder with the same name for a URL-Pattern and pass intialization parameters to the page. Thanks Dave InitPage.jsp = !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTML HEADTITLEJSP Init Test/TITLE/HEAD BODY BGCOLOR=#FDF5E6 H2Init Parameters:/H2 UL LIFirst name: %= firstName % LIEmail address: %= emailAddress % /UL /BODY/HTML %! private String firstName = First name is missing.; private String emailAddress = Email address is missing; public void jspInit() { ServletConfig config = getServletConfig(); if (config.getInitParameter(firstName) != null) { firstName = config.getInitParameter(firstName); } if (config.getInitParameter(emailAddress) != null) { emailAddress = config.getInitParameter(emailAddress); } } % 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-nameInitPage/servlet-name jsp-file/InitPage.jsp/jsp-file init-param param-nameemailAddress/param-name param-valuega...@oracle.com/param-value /init-param init-param param-namefirstName/param-name param-valueBill/param-value /init-param /servlet servlet-mapping servlet-nameInitPage/servlet-name url-pattern/InitPage.jsp/url-pattern /servlet-mapping /web-app -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-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] How to get IP address of Appengine running my java servlet page
I am trying to get a sense of where (location) the Appengine is running my servlet to show how the cloud runs my servlet in different locations. I have tried to use request.getLocalAddr() but get back null. I tried getServletContext().getServerInfo() but did not get back an IP address. Any ideas? Dave -- 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] problem with jsp:include page=/WEB-INF/includes/Item1.html /
Within a jsp page, I am trying to use jsp:include page=/WEB-INF/ includes/Item1.html / . My problem is the Item1.html file is never included. It will only get included if I rename it to Item1.jsp. The include works fine in Jetty but not when deployed to appengine. I tried listing Item1.html as a resource file in the appengine-web.xml but this had no effect. Any suggestions? Dave -- 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] Declarative Security with auth-constraint problems for role-name *
I am trying to use declarative security in my web.xml file to require a google login to access my web pages. I allow role-name * and role- name admin. I placed a portion of the file below. When I access a web page music.jsp, I get prompted for my login. I am (admin) role, it works perfectly. However if my wife accesses music.jsp web page, she gets prompted for login but then gets Error Forbidden Your client does not have permission to get URL /music.jsp from this service. Any ideas? security-constraint web-resource-collection web-resource-namecontrolAccess/web-resource-name url-pattern/*/url-pattern /web-resource-collection web-resource-collection web-resource-namecontrolJspAccess/web-resource-name url-pattern/*.jsp/url-pattern /web-resource-collection web-resource-collection web-resource-namecontrolControllerServletAccess/web-resource- name url-pattern/ControllerServlet/url-pattern /web-resource-collection auth-constraint role-name*/role-name role-nameadmin/role-name /auth-constraint /security-constraint Thank you Dave -- 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: jsp work directory
I am having the question with trying to find the work directory. I am running eclipse on a windows (vista) machine. I explored reference provided by sleeronm without any luck on my machine. Any suggestions? On Jan 10, 1:34 am, seleronm seler...@gmail.com wrote: Hi, The following links might serve as a reference though it is thought that it differs depending on OS that you are using. http://groups.google.com/group/google-appengine-java/browse_thread/th... Please try. thanks. the directory where the jsps are translated into java files and compiled. like in tomcat. What do you mean by work directory? siliconeagle wrote: does anyone know where the jsp work directory is on the dev server? -- 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 athttp://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.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Where is jsp translation to servlet code stored
I am running on a Windows machine (Vista). I have not had success finding the translated code. Any ideas? Dave On Jan 9, 6:22 am, Qian Qiao qian.q...@gmail.com wrote: On Sat, Jan 9, 2010 at 19:15, powell...@gmail.com powell...@gmail.com wrote: When I upload a jsp to appengine with Ecllipse, my understanding is that the translation from jsp to servlet happens in Eclipse and only the compiled code is uploaded to appengine. Is this correct? Where can I view the translated servlet file? Thanks Dave $TMPDIR or /tmp on POSIX systems. I'm guess windoze has some sort of similar directories? -- Joe -- Two things that are infinite, the universe and my stupidity, and I'm not sure about the universe. -- 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] Where is jsp translation to servlet code stored
When I upload a jsp to appengine with Ecllipse, my understanding is that the translation from jsp to servlet happens in Eclipse and only the compiled code is uploaded to appengine. Is this correct? Where can I view the translated servlet file? Thanks Dave -- 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.