I'll look into the the -noserver option since hosted tomcat is going
away. In GWT 1.5.3 copying the web.xml file from the tomcat server to
the GWT's application directory: tomcat/webapss/ROOT/WEB-INF/ worked
really well.

On Jan 9, 12:58 pm, Sumit Chandel <sumitchan...@google.com> wrote:
> Hello everyone,
>
> Just a note that you would probably want to use hosted mode with the
> -noserver option before bulking up the server-side on the embedded Tomcat
> server. A few reasons to do this:
>
> 1) The embedded Tomcat server is somewhat custom built, meaning you can't
> expect everything that would work in your plain vanilla Tomcat server to
> also work in the embedded Tomcat server. The server is really there as a
> means for quickly getting into hosted mode rather than to provide an actual
> development application server.
>
> 2) The embedded Tomcat server is going to be replaced by an embedded Jetty
> server in GWT 1.6 for performance reasons.
>
> You can check out how to use hosted mode with the -noserver option on the
> FAQ doc linked below.
>
> Using hosted mode with the -noserver 
> option:http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog...
>
> Hope that helps,
> -Sumit Chandel
>
> On Tue, Jan 6, 2009 at 5:18 PM, Joe Cole <profilercorporat...@gmail.com>wrote:
>
>
>
> > Just remember that each time you upgrade gwt, or checkout your project
> > from source control gwt will overwrite your web.xml.
> > We get around this by logging a statement on initialisation that shows
> > in the gwt console - if that doesn't appear we know somethings gone
> > wrong and check the web.xml.
>
> > On Jan 7, 2:07 pm, "sjn...@gmail.com" <nichols_sc...@yahoo.com> wrote:
> > > To answer my own question, existing web.xml files work fine with
> > > hosted mode. I was able to setup log4j, jdom, my singleton and other
> > > third party server side configuration by just copying the config into
> > > the generated GWT web.xml in ./tomcat/webapss/ROOT/WEB-INF/web.xml and
> > > I created a subdirectory called lib and put my third party server side
> > > JARS in there and the hosted mode tomcat found them fine.
>
> > > On Jan 6, 6:20 pm, "sjn...@gmail.com" <nichols_sc...@yahoo.com> wrote:
>
> > > > I want to port a small tomcat application to use GWT hosted mode, but
> > > > I want to know if I can port the following setting to the *.gwt.xml
> > > > file from the web.xml file? See below.
>
> > > >         <listener>
> > > >         <listener-class>
>
> > com.toyota.agentstatus.server.controller.FlatFileReaderFactory
> > > >         </listener-class>
> > > >         </listener>
>
> > > >         <env-entry>
> > > >                 <env-entry-name>csv.start.hour</env-entry-name>
> > > >                 <env-entry-value>05</env-entry-value>
> > > >                 <env-entry-type>java.lang.Integer</env-entry-type>
> > > >         </env-entry>
>
> > > > The first setting is a class that gets loaded on the server at start
> > > > up as a singleton. As its name suggest it caches the data read from a
> > > > CSV file. The environment entry tells the singleton to load the cache
> > > > run at 5:00 AM daily.
>
> > > > I didn't see in the docs how to add this to my gwt.xml file. Is there
> > > > away to add these settings?
>
> > > > Thanks
> > > > Scott
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to