Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7778887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:30:42+00:00 2026-06-01T18:30:42+00:00

I use Eclipse GWT Plug-in to build a GWT app. Later on, I’ll have

  • 0

I use Eclipse GWT Plug-in to build a GWT app. Later on, I’ll have to deploy this as a Tomcat webapp. I have read many pages on how to do it and it looks dead simple but it doesn’t work here.

If I create a new Web application using the plug-in and that I copy the war directory content to de tomcat_install/webapps folder it works right out the box, I get the application and all the things get loaded correctly.

If I do the same with the application I’m working on for a couple of weeks now, I get nothing, there is just the plain html file I use as welcome page that loads. If I inspect the page I can see it has correctly loaded the .nocache.js but no controls whatsoever show up on my page.

Everything works in development, my servlet are correctly mapped.

Here is my app.gwt.xml :

<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='VirtualLabPortal'>

    <inherits name="com.google.gwt.user.User" />
    <inherits name='com.google.gwt.user.theme.standard.Standard'/>
    <inherits name="com.google.gwt.i18n.I18N"/>

    <set-property name="gwt.logging.enabled" value="FALSE"/>

    <define-property name="webkitVariant" values="safari, chrome" />

    <collapse-all-properties />
    <extend-property name="locale" values="en"/>
    <extend-property name="locale" values="fr" />
    <set-property-fallback name="locale" value="fr"/>

    <entry-point
        class="com.banctecmtl.ca.vlp.view.webview.client.VirtualLabPortal" />

    <source path='view/webview/client' />
    <source path='shared' />
    <source path='model' />

</module>

My web,xml, where my two servlet are mapped looks like this :

<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
    <servlet>
        <servlet-name>VlpControllerService</servlet-name>
        <servlet-class>com.banctecmtl.ca.vlp.view.webview.server.VlpControllerServiceImpl</servlet-class>
    </servlet>
    <servlet>
        <servlet-name>UserAccessService</servlet-name>
        <servlet-class>com.banctecmtl.ca.vlp.view.webview.server.UserAccessServiceImpl</servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>VlpControllerService</servlet-name>
        <url-pattern>/VirtualLabPortal/VlpController</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>UserAccessService</servlet-name>
        <url-pattern>/VirtualLabPortal/UserAccess</url-pattern>
    </servlet-mapping>

    <!-- Default page to serve -->
    <welcome-file-list>
        <welcome-file>VirtualLabPortal.html</welcome-file>
    </welcome-file-list>
</web-app>

Note that in my services interfaces I use @RemoteServiceRelativePath("VlpController") and @RemoteServiceRelativePath("UserAccess") to ensure a correct mapping.

This is the content of my entrypoint, that I made plain simple just to see if I could get it to work on deployment :

public class VirtualLabPortal implements EntryPoint {
    /**
     * Entry point method.
     */
    public void onModuleLoad() {
        RootPanel.get().add(new Label("This"));
    }
}

Since the body of my html page is empty, a white page shows up, the javascript should write the test label on that page, but nothing happens. As I said, my VirtualLabPortal.nocache.js is loaded in the html page.

Is there something I’m completely missing here?

EDIT :

I think i just got it, I removed two properties my partner added to the gwt.xml file to reduce the number of permutations and it seems to be fixed so far:

<set-property name="gwt.logging.enabled" value="FALSE"/>

<define-property name="webkitVariant" values="safari, chrome" />

<collapse-all-properties />
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:30:44+00:00Added an answer on June 1, 2026 at 6:30 pm

    After long hours of searching and testing, I understtod how GWT bootstrapping process was working. I looked over my module.gwt.xml file and I found the following line added by one of my partners to reduce the number of permutations :

    <collapse-all-properties />

    Removing this line brought us back to 18 permutations and deploying the WAR folder to my tomcat webapps directory did the job. Compiling only once was not generating the file used required by my locale. Maybe if my browser language would have been in English it would have worked out the first time.

    Well now it works as all the required files are correctly compiled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using gwt 2.4 over eclipse (OS ubuntu 11.10). I have to use
I use Eclipse 3.3 in my daily work, and have also used Eclipse 3.2
I am working on a Java web app- it will use GWT for the
I have read a lot of gwt-mvp questions that are asked here, but since
I am trying to run an ant build script that compiles GWT. This script
I use Eclipse and GWT plugin. I've got a medium project (about 500 files).
I use Eclipse for everything. Python, Django, GWT, Android... But when you install all
As you all probably know, when you create a GWT project (I use Eclipse..not
I have an Eclipse project with a GWT client and a Restlet API. I
I'm looking at some GXT code for GWT and I ran across this use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.