Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

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

    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
    Last edited by mchoudhary; 30 Oct 2014, 06:26.

    #2
    We may be misunderstanding the question, but this seems like a basic GWT deployment question.
    Basically - once you've done a GWT compile, you can deploy your generated resources to whatever server you need.
    GWT has some documentation on deploying the app which should guide you through this (as well as a lot of related documentation topics to flesh out the background, etc).

    Hopefully this will give you what you need.

    Regards
    Isomorphic Software

    Comment

    Working...
    X