In web.xml try /jwigapp instead of jwigapp.

On Wed, Sep 29, 2010 at 16:56, turncom <wayneturnerhous...@gmail.com> wrote:

> My application id is jwigapp.  The application is the example,
> Guestbook, from the AppEngine website, for Java. No state secrets
> there.
>
> So, here is my appengine-web.xml
>
> <appengine-web-app xmlns="http://appengine.google.com/ns/1.0";>
>        <application>jwigapp</application>
>        <version>2</version>
>
>        <!-- Configure java.util.logging -->
>        <system-properties>
>                <property name="java.util.logging.config.file"
> value="WEB-INF/
> logging.properties"/>
>        </system-properties>
>
> </appengine-web-app>
>
>
> Now, this morning I got an idea. Maybe I should change my web.xml to
> reflect my jwigapp name. So here is what it looks like now (in part):
>
>        <servlet>
>                <servlet-name>guestbook</servlet-name>
>                <servlet-class>guestbook.GuestbookServlet</servlet-class>
>        </servlet>
>        <servlet-mapping>
>                <servlet-name>guestbook</servlet-name>
>                <url-pattern>jwigapp</url-pattern>
>        </servlet-mapping>
>
> I did this thinking perhaps that would help. It works on my computer.
> But here is the error message I get when I try to upload it using the
> Google Plugin:
>
> Creating staging directory
> Scanning for jsp files.
> Compiling jsp files.
> Scanning files on local disk.
> Initiating update.
> java.io.IOException: Error posting to URL:
>
> https://appengine.google.com/api/appversion/create?app_id=jwigapp&version=2&;
> 400 Bad Request
> Error when loading application configuration:
> Unable to assign value 'jwigapp' to attribute 'url':
> Value 'jwigapp' for key url does not match expression '^(?!\^)/|\.|(\
> (.).*(?!\$).$'
>
>
> I am guessing that expression is a regular expression, which I don't
> know how to understand.
>
> I have a feeling the answer is very simple, and that I am looking
> right at it, and just miss it.
>
> I have a presentation tomorrow and I would like to show it off.
>
> Grrrrr.
>
>
>
> On Sep 28, 7:28 pm, "David C. Hicks" <dhi...@i-hicks.org> wrote:
> >   It sounds like the application id you've given to your local
> > application isn't the same as the application you created on AppEngine.
> > You might want to verify that you're uploading to an application that is
> > valid.
> >
> > Dave
> >
> > On 09/28/2010 07:35 PM, turncom wrote:
> >
> >
> >
> >
> >
> > >         I am using Eclipse (I'm a newbie with Eclipse) and Java (which
> > >         I know).
> >
> > > The app I created (the standard Guestbook) works on my laptop. When I
> > > attempt to upload it using the Google Plugin (and on the command line,
> > > too, for that matter) I get this message:
> >
> > > Unable to update app: Error posting to URL:
> > >https://appengine.google.com/api/appversion/create?app_id=jwigapp&ver.
> ..
> > > <
> https://appengine.google.com/api/appversion/create?app_id=jwigapp&ver...>
> > > 400 Bad Request
> > > Error when loading application configuration:
> > > Unable to assign value 'guestbook' to attribute 'url':
> > > Value 'guestbook' for key url does not match expression
> > > '^(?!\^)/|\.|(\(.).*(?!\$).$'
> >
> > > So......what am I doing wrong? Is there something I am missing in
> > > configuring Eclipse? I've been banging my head on this for two days. I
> > > will do a presentation on Thursday, and I would love to show this off.
> > > --
> > > 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<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.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
*Stefano Ciccarelli*
stef...@indacosoftware.it

*Indaco srl*
via Sabin, 22 - 40017 San Giovanni in Persiceto (BO) - Italy
tel. +39.051.827762 - fax +39.051.6874570
i...@indacosoftware.it
www.indacosoftware.it

*- This e-mail is confidential and may be read, copied and used only by the
intended recipient. If you have received it in error, please contact the
sender immediately by return e-mail. Please then delete the e-mail and do
not disclose its contents to any other person.

- Le informazioni contenute in questa comunicazione sono riservate e
destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E'
vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione
di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi
del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi
preghiamo di rispondere a questa e-mail e successivamente cancellarla dal
Vostro sistema.*

-- 
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.

Reply via email to