That's right and that's why I'm perplexed.

In trying to resolve this, I unpacked the war file and decompiled the
class files and the code is the good/current code base for my app
which executes correctly in the App Engine development mode within
Eclipse.

Here are my steps for deployment of my code:
1. Select <Project> from the Eclips project tree
2. From the Eclipse menu bar, select the GWT | GWT - Compile Option
3. No errors during compilation
4. Select <Project> from the Eclipse tree and right-click and select
'Export'
5. Set the export location to be <Project>.jar in the war\WEB-INF\lib
\<Project>.jar
6. Using an ant build.xml, run as Ant Build; war file created
7. Using Tomcat Manager app, 'choose file' <Project>.war
8. Select Deploy
9. War file deployed, application context exists
10. Select app context and OLD CONTENT displayed.

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 <[email protected]> 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 my Tomcat installation as a war file.   I use
> > Eclipse to test my code with the App Engine before packaging the war
> > and deploying on Tomcat.
>
> > Thanks,
> > Keith
>
> > On Jan 26, 9:23 am, Alan Chaney<[email protected]>  wrote:
> >> Are you deploying to tomcat as 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 dynamic content from a mysql database correctly.
> >>>           I have deployed it to a local Tomcat 7 installaton and the
> >>> application war file deploys successfully.  However, the page displays
> >>> the OLD hard-coded content which were merely placeholders.
> >>>           The content that is displayed when I deploy the app to Tomcat
> >>> 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 to Tomcat continues to reflect old
> >>> content.
> >>>             I have started/stopped Tomcat, cleared my browser cache,
> >>> manually deleted all files from the Tomcat webapps directory and still
> >>> it's the exact same.
> >>>            There must be something that I'm missing and I'd appreciate
> >>> any help that is available.
> >>> Thanks,
> >>> KGD

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