I fixed my own problem.  Okay, it seems that you're not supposed to launch
the <projectname>-shell.cmd from within Eclipse.  To launch the project from
within eclipse, use the "Run" button, or launch the shell manually from a
shell.



On Tue, Mar 17, 2009 at 8:12 PM, Rohit Patnaik <[email protected]> wrote:

> When I try to launch Google Web Toolkit hosted mode applications on
> Windows Vista, I get the following error:
>
> [WARN] Failed to write: C:\Windows\system32\tomcat\webapps\ROOT\WEB-INF
> \web.xml
> java.io.FileNotFoundException: C:\Windows\system32\tomcat\webapps\ROOT
> \WEB-INF\web.xml (The system cannot find the path specified)
>        at java.io.FileOutputStream.open(Native Method)
>        at java.io.FileOutputStream.<init>(Unknown Source)
>        at java.io.FileOutputStream.<init>(Unknown Source)
>        at
> com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.copyFileNoOverwrite
> (EmbeddedTomcatServer.java:305)
>        at
>
> com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.generateDefaultCatalinaBase
> (EmbeddedTomcatServer.java:353)
>        at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.<init>
> (EmbeddedTomcatServer.java:177)
>        at com.google.gwt.dev.shell.tomcat.EmbeddedTomcatServer.start
> (EmbeddedTomcatServer.java:69)
>        at com.google.gwt.dev.GWTShell.startUp(GWTShell.java:778)
>        at com.google.gwt.dev.GWTShell.run(GWTShell.java:582)
>        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
>
> It seems that Tomcat is trying to write to C:\Windows\system32, which,
> for obvious reasons, Windows has restricted access to.  Is there any
> way to change the location that Tomcat looks in for web.xml?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to