Gregor,
I was able to get around it by what Joe Cole mentioned above by just
overwriting the GWT applications generated web.xml. It works fine. I
even created a subdirectory called lib under WEB-INF and put my third
party server side JARs there. The seems the way to go if you need to
start up si
Hi Gregor,
We don't hack the web.xml in the jar file, but that's a good idea!
Obviously the only pitfall is when gwt versions change or you checkout
on another computer and gwt overwrites the web.xml - you just have to
remember to update it. Our structure of the tomcat/webapps/ROOT/WEB-
INF direc
Oh, I see now what Joe's done. Hack the web.xml in the gwt-dev-xxx
jar. Make sure to do it again when you upgrade GWT versions. That's a
cool way to get round it.
On Jan 7, 1:36 am, gregor wrote:
> Hi Scott,
>
> If you want to use features like this kicked off from web.xml then you
> probably ne
Hi Scott,
If you want to use features like this kicked off from web.xml then you
probably need to run hosted mode with the -noserver option. You cannot
access and modify web.xml for hosted mode embedded Tomcat. To run
using -noserver efectively you just need an Ant build file you can
easily run f
To answer my own question. It works fine with existing web.xml file.
Just copy them over the generated file as mentioned above.
On Jan 6, 6:42 pm, "sjn...@gmail.com" wrote:
> It's great we got this figured out, but how come GWT hosted mode
> doesnt work with exisitng web.xml files so we dont hav
It's great we got this figured out, but how come GWT hosted mode
doesnt work with exisitng web.xml files so we dont have to code
special configuration for development and production deployment?
Scott
On Dec 12 2008, 4:26 pm, Joe Cole
wrote:
> Oh, and in your web.xml's that you ship to your prod
Hi Joe,
This is exactly what I am looking for.
I also need to setup connection pooling, so this will get me going quickly.
Thank you very much..
Mike Warne.
Opihi Systems.
On Fri, Dec 12, 2008 at 12:00 PM, Joe Cole wrote:
>
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
>
>
Oh, and in your web.xml's that you ship to your production environment
you would have a different listener setup.
com.yourcompany.ProductionConfiguration
On Dec 13, 11:00 am, Joe Cole wrote:
> Here is our way:
>
> In:
> tomcat/webapps/ROOT/WEB-INF/web.xml
>
>
> jdbc/dbsource
> jav
Here is our way:
In:
tomcat/webapps/ROOT/WEB-INF/web.xml
jdbc/dbsource
javax.sql.DataSource
Container
com.yourcompany.LocalConfiguration
The only gotcha with this is that when you upgrade gwt it changes the
web.xml - we just revert it from version control and all works well.
Th
Hi,
I am trying to figure out the best way to add an application config
file. This file will contain things like database connection
information, and other app parameters.
I will be using Tomcat as the servlet container. I would like this
config file to be readable by the Servlet in the Hosted
10 matches
Mail list logo