WidgetSet : When the page loads.. nocache.js is not found, but its found af

Hi,

We have developed an application in Vaadin 7. And also have used addons like formsender and tableexport. The application is deployed in OC4J with two instances.

Now ths issue is:
When we load the the login page, an error pops up… that AppWidgetSet.nocache.js? is not found. But when we directly open the JS path, we can see the JS.

The strage thing is, the page loads when we press F5 twice or thrice.

I have tried almost all the possibilitis of compiling the widetset, by referring to the posts in this community. But the error remains.

This is the pom plugin for compilation :

​<plugin>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-maven-plugin</artifactId>
                <version>7.1.7</version>
                <configuration>
                    <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>                  
                    <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets</webappDirectory>
                    <hostedWebapp>${basedir}/src/main/webapp/VAADIN/widgetsets</hostedWebapp>
                    <noServer>true</noServer>
                    <compileReport>true</compileReport>
                    <style>OBF</style>
                    <strict>true</strict>
                    <force>true</force>
                    <runTarget>http://localhost:${jetty.port}/</runTarget>
                     <modules>
                        <module>de.mgi.cms.mymetro.synctool.AppWidgetSet</module>
                    </modules>
                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>clean</goal>
                            <goal>resources</goal>
                            <goal>update-theme</goal>
                            <goal>update-widgetset</goal>
                            <goal>compile-theme</goal>
                            <goal>compile</goal>
                        </goals>
                    </execution>
                </executions>
</plugin>

Any help will be appreciated… Thanks.

Am still stuck with this… Any 1 for help ?

Given your description of the problem and F5 a few times helping, I don’t think this is related to widgetset compilation or Vaadin in general, but is purely a deployment issue on the OC4J. Maybe this is related to clustering and deployment on all nodes taking its time.