Hi,

I think that you could file an issue about this: the parsing of xml
done by GAE could probably be a bit more solid, i.e. warn you that you
file contains chars that they don't like (or accept them properly...)

regards

didier

On Jan 25, 12:24 pm, Edouard Marquez <[email protected]> wrote:
> Thanks, the problem was here.
> Is it a bug ?
>
> On Tue, Jan 25, 2011 at 12:09 PM, Didier Durand 
> <[email protected]>wrote:
>
> > Hi,
>
> > I would try without french chars (accents, etc.) or replace them with
> > their xml equivs (&eacute; etc.)
>
> > regards
>
> > didier
>
> > On Jan 25, 11:40 am, Edouard Marquez <[email protected]> wrote:
> > > Sorry the real cron.xml :
>
> > >    <?xml version="1.0" encoding="UTF-8"?>
>
> > > <cronentries>
>
> > > <cron>
>
> > > <url>/cron/nettoyagePings</url>
>
> > > <description>Déconnecte les utilisateurs n'ayant pas répondu à 2 pings</
> > > description>
>
> > > <schedule>every 1 minutes</schedule>
>
> > > </cron>
>
> > > </cronentries>
>
> > > On Tue, Jan 25, 2011 at 11:33 AM, g123k <[email protected]> wrote:
> > > > Hello,
>
> > > > When I try to deploy my code, I get this error :
>
> > > > Closing update: new version is ready to start serving.
> > > > Uploading index definitions.
> > > > Uploading cron jobs.
> > > > java.io.IOException: Error posting to URL:
>
> > > >https://appengine.google.com/api/datastore/cron/update?app_id=ehitcch.
> > ..
> > > > 500 Internal Server Error
>
> > > > Server Error (500)
> > > > A server error has occurred.
>
> > > > I don't understand why.
> > > > This is my code :
>
> > > > cron.xml :
>
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <cronentries>
> > > > <cron>
> > > > <url>/cron/nettoyagePings</url>
> > > > <description>Déconnecte les utilisateurs n'ayant pas répondu à 2
> > > > pings</description>
> > > > <schedule>every 1 minutele dépls</schedule>
> > > > </cron>
> > > > </cronentries>
>
> > > > web.xml :
>
> > > >        <servlet>
> > > >                <servlet-name>NettoyagePings</servlet-name>
>
> > > >  <servlet-class>fr.polytech.unice.ehitchhiker.NettoyagePings</servlet-
> > > > class>
> > > >        </servlet>
> > > >        <servlet-mapping>
> > > >                <servlet-name>NettoyagePings</servlet-name>
> > > >                <url-pattern>/cron/nettoyagePings</url-pattern>
> > > >        </servlet-mapping>
>
> > > > NettoyagePings.xml :
>
> > > > package fr.polytech.unice.ehitchhiker;
>
> > > > import java.io.IOException;
> > > > import java.util.logging.Logger;
>
> > > > import javax.servlet.http.HttpServlet;
> > > > import javax.servlet.http.HttpServletRequest;
> > > > import javax.servlet.http.HttpServletResponse;
>
> > > > @SuppressWarnings("serial")
> > > > public class NettoyagePings extends HttpServlet {
>
> > > >        private static final Logger log =
> > > > Logger.getLogger(NettoyagePings.class.getName());
>
> > > >        @Override
> > > >        public void doGet(HttpServletRequest req, HttpServletResponse
> > resp)
> > > >        throws IOException {
> > > >                System.out.println("ping");
> > > >        }
>
> > > > }
>
> > --
> > 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
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine-java%[email protected]>
> > .
> > 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 [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-java?hl=en.

Reply via email to