Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Serve GWT auto-generated js files from web server instead of app server

$
0
0
Hi Team,

We are currently using:-
BuildDate Wed Mar 05 15:52:00 IST 2014
Version 4.1p
SCVersionNumber v9.1p_2014-03-05

We need to serve the auto-generated javascript files from web server instead of app server that is auto-generated by GWT while compilation.

If I remove the auto-generated files from war on app server then it results into below exception:

Code:

Problem loading builtinTypes.xml
Exception when loading from __USE_CONTAINER__/data_visualizer/sc/system/schema/builtinTypes.xml:
java.lang.NullPointerException
        at com.isomorphic.io.ISCFile.lastModified(ISCFile.java:436)
        at com.isomorphic.store.ProcessedFileCache.getObjectFromFile(ProcessedFileCache.java:140)
        at com.isomorphic.xml.XML.getXMLDocument(XML.java:286)
        at com.isomorphic.xml.XML.toDSRecords(XML.java:294)

Is it possible to serve GWT generated js and cache.html files from web server?

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles