Hi Roberto, You may have more luck asking this question on the google-appengine-java forum.
-Nick Johnson On Sat, Aug 8, 2009 at 10:14 AM, Roberto Eguaglia<[email protected]> wrote: > > any suggestion?? > > On 7 Ago, 18:15, Roberto Eguaglia <[email protected]> wrote: >> DemoServlet.java >> package com.demo; >> >> import java.io.IOException; >> import javax.servlet.http.*; >> >> @SuppressWarnings("serial") >> public class DemoServlet extends HttpServlet { >> public void doGet(HttpServletRequest req, HttpServletResponse resp) >> throws IOException { >> resp.setContentType("text/plain"); >> resp.getWriter().println("Hello, world"); >> } >> >> } >> >> index.html >> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> >> <!-- The HTML 4.01 Transitional DOCTYPE declaration--> >> <!-- above set at the top of the file will set --> >> <!-- the browser's rendering engine into --> >> <!-- "Quirks Mode". Replacing this declaration --> >> <!-- with a "Standards Mode" doctype is supported, --> >> <!-- but may lead to some differences in layout. --> >> >> <html> >> <head> >> <meta http-equiv="content-type" content="text/html; >> charset=UTF-8"> >> <title>Hello App Engine</title> >> </head> >> >> <body> >> <h1>Hello App Engine!</h1> >> >> <table> >> <tr> >> <td colspan="2" style="font-weight:bold;">Available Servlets:</ >> td> >> </tr> >> <tr> >> <td><a href="demo"/>Demo</td> >> </tr> >> </table> >> </body> >> </html> >> >> 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/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" >> version="2.5"> >> <servlet> >> <servlet-name>Demo</servlet-name> >> <servlet-class>com.demo.DemoServlet</servlet-class> >> </servlet> >> <servlet-mapping> >> <servlet-name>Demo</servlet-name> >> <url-pattern>/demo</url-pattern> >> </servlet-mapping> >> <welcome-file-list> >> <welcome-file>index.html</welcome-file> >> </welcome-file-list> >> </web-app> >> >> On 7 Ago, 11:57, Roberto Eguaglia <[email protected]> wrote: >> >> > Hi Nick, >> >> > My App ID is hello-demo; I've created it after my other application >> > gave me the same error. >> >> > I didn't make any modifications from the default app. >> > If you want I can post the code >> >> > On 7 Ago, 11:43, "Nick Johnson (Google)" <[email protected]> >> > wrote: >> >> > > Hi Roberto, >> >> > > What is your App ID? >> >> > > Did you make any modifications at all from the default app? >> >> > > -Nick Johnson >> >> > > On Fri, Aug 7, 2009 at 10:39 AM, Roberto Eguaglia<[email protected]> >> > > wrote: >> >> > > > Hi Nick, >> >> > > > that's my log in the admin console (it's not in the "Error" logs, but >> > > > in the "Request") >> > > > # >> >> > > > 1. >> > > > 08-07 02:34AM 03.175 /demo 500 103ms 0cpu_ms 0kb Mozilla/5.0 >> > > > (X11; U; Linux x86_64; it; rv:1.9.0.12) Gecko/2009071200 SUSE/ >> > > > 3.0.12-0.1.2 Firefox/3.0.12,gzip(gfe) >> > > > See details >> >> > > > 82.58.115.90 - - [07/Aug/2009:02:34:03 -0700] "GET /demo HTTP/ >> > > > 1.1" 500 0 "http://hello-demo.appspot.com/" "Mozilla/5.0 (X11; U; >> > > > Linux x86_64; it; rv:1.9.0.12) Gecko/2009071200 SUSE/3.0.12-0.1.2 >> > > > Firefox/3.0.12,gzip(gfe)" >> >> > > > I can't explain myself why the application generated by default >> > > > doesn't work (it works only in the develpoment environment...) >> >> > > > On 7 Ago, 10:39, "Nick Johnson (Google)" <[email protected]> >> > > > wrote: >> > > >> Hi, >> >> > > >> In order to see what error you are getting, you need to log in to the >> > > >> admin console, and click on 'Logs'. >> >> > > >> -Nick Johnson >> >> > > >> On Wed, Aug 5, 2009 at 11:00 AM, >> > > >> [email protected]<[email protected]> wrote: >> >> > > >> > Hi everyone. >> > > >> > I'm new to Google App Engine and I'm using Eclipse 3.4 with the >> > > >> > plugin >> > > >> > downloaded from Google. >> > > >> > When I create a new Web-Application project Eclipse set the >> > > >> > appropriate directories, libraries etc... >> > > >> > Running locally the web-app I can see the "Hello App Engine" page >> > > >> > with >> > > >> > the available servlets and, when i follow the link to the servlet, >> > > >> > appears the mighty "Hello, world". So locally there are no errors. >> > > >> > Unfortunately, when I deploy the application, the link to the >> > > >> > servlet, >> > > >> > simply doesn't work: it gives me a 500 error response (Server >> > > >> > Error), >> > > >> > without any information about "what error happened". >> > > >> > Can anyone help me please? >> > > >> > P.S.: Sorry if my English isn't completely correct >> >> > > >> -- >> > > >> Nick Johnson, Developer Programs Engineer, App Engine >> >> > > -- >> > > Nick Johnson, Developer Programs Engineer, App Engine >> >> > > > -- Nick Johnson, Developer Programs Engineer, App Engine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
