****RESOLVED****
When I created my custom GWT Project, the <project>.gwt.xml file did
not originally include a rename tag. In my development, I added that
tag AFTER I had already generated my initial test with my static
content. It appears that the rename attribute is read by the GWT
Compiler to generate the client side javascript and html files.
However, the original javascript and html files remained in the war
directory under the default path and were being packaged with my
webapp which included the unmodified entry point html file which
pointed to the old path and therefore the static content was being
displayed even though all of my java code was updated and packaged
correctly along with the new javascript and html files which existed
under the new path as indicated in my rename attribute.
Now, my project works both in the App Engine for development and when
I deploy to my external Tomcat instance. I don't understand why the
internal App Engine would find the new path for the javascript and
html but now they are both in sync which is what I needed.
Thanks to all who responded. I've learned a great deal through this
process and now have a much better understanding of GWT.
Thanks,
KGD
> > > 7. UsingTomcatManager app, 'choose file'<Project>.war
> > > 8. Select Deploy
> > > 9. War file deployed, application context exists
> > > 10. Select app context and OLDCONTENTdisplayed.
>
> > > I've opened the<project>.nocache.js file and it appears to reflect
> > > what I think are the appropriate bindings for my rpc calls; definitely
> > > more than static placement of values from original test deployment.
>
> > > Thanks,
> > > KGD
>
> > > On Jan 26, 2:31 pm, Alan Chaney<
a...@mechnicality.com> wrote:
> > >> So if its deploying the wrong data, then that data must be in the war.
>
> > >> How are you building the war? ant? eclipse 'export' or simply zipping
> > >> the war folder?
>
> > >> Alan
>
> > >> On 1/26/2012 11:13 AM, KGD wrote:
>
> > >>> Yes, I am deploying to myTomcatinstallation as a war file. I use
> > >>> Eclipse to test my code with the App Engine before packaging the war
> > >>> and deploying onTomcat.
> > >>> Thanks,
> > >>> Keith
> > >>> On Jan 26, 9:23 am, Alan Chaney<
a...@mechnicality.com> wrote:
> > >>>> Are you deploying totomcatas a war?
> > >>>> I re-read your earlier replies on the list and its not clear whether you
> > >>>> have a separate war or are deploying through eclipse.
> > >>>> Alan
> > >>>> On 1/23/2012 7:52 PM, KGD wrote:
> > >>>>> Hi,
> > >>>>> I am currently using Eclipse with GWT SDK 2.4.0 to develop a
> > >>>>> GWT application. Inside Eclipse, I have tested my application to
> > >>>>> ensure it pulls the dynamiccontentfrom a mysql database correctly.
> > >>>>> I have deployed it to a localTomcat7 installaton and the
> > >>>>> application war file deploys successfully. However, the page displays
> > >>>>> the OLD hard-codedcontentwhich were merely placeholders.
> > >>>>> Thecontentthat is displayed when I deploy the app toTomcat
> > >>>>> does not exist ANYWHERE in my source code as I removed it when I
> > >>>>> changed the source to my database.
> > >>>>> Again, the app works fine when using the embedded App Engine
> > >>>>> for testing but real deployment toTomcatcontinues to reflect old
> > >>>>>content.
> > >>>>> I have started/stoppedTomcat, cleared my browser cache,
> > >>>>> manually deleted all files from theTomcatwebapps directory and still