Announcement

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

    iscServer request requires options SmartClient server support

    Hello,

    I've been trying to run a sample code here to populate a grid and it seems to do not work.

    After several times trying I was able to get the following message

    03:00:50.572 [ERROR] [sampleApp] 03:00:50.569:MUP6:WARN:DataSource:consultPeople:At tempt to perform iscServer request requires options SmartClient server support

    I am running this on GWT hosted mode, similar sample code using hsqldb works, but not this one with mySQL.

    There is no further way to see what is going on, no further documentation or topics on this forum explaining how to address this.

    Please let me know if I need to pack it as a war file.

    Cheers,

    EJ

    #2
    This indicates bad <inherits>: either you used the LGPL inherit, or you've got them in the wrong order. See the installation instructions.

    Comment


      #3
      Hello,

      Thanks for the prompt reply again!

      There is my current module definition


      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.1.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.1.1/distro-source/core/src/gwt-module.dtd">

      <module rename-to="sampleApp">
      <inherits name="com.google.gwt.user.User" />
      <inherits name="com.smartgwtee.SmartGwtEE" />
      <inherits name="com.smartgwtee.tools.Tools" />
      <entry-point class="com.sampleapp.gwt.client.SampleApp" />
      </module>


      I am not sure why it fails, I've tried with pro too, and with the Pro it doesn't even startup correctly.

      All other definitions in server.properties and the html files are reflecting the 'sampleApp' module name and the datasource loads are okay.

      It seems I am doing something wrong, but not sure, maybe it is beginners luck :D

      Comment


        #4
        Please find below my log output of the deployment

        It goes ok, the problem is when running the datasource it fails....


        2011-01-16 18:17:56.767 java[69417:a07] [Java CocoaComponent compatibility mode]: Enabled
        2011-01-16 18:17:56.818 java[69417:a07] [Java CocoaComponent compatibility mode]: Setting timeout for SWT to 0.100000
        log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
        log4j:WARN Please initialize the log4j system properly.
        ISC: Configuring log4j from: file:/Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/WEB-INF/classes/log4j.isc.config.xml
        === 2011-01-16 18:17:58,347 [ad-0] INFO ISCInit - Isomorphic SmartClient Framework - Initializing
        === 2011-01-16 18:17:58,354 [ad-0] INFO ConfigLoader - Attempting to load framework.properties from CLASSPATH
        === 2011-01-16 18:17:58,409 [ad-0] INFO ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
        === 2011-01-16 18:17:58,409 [ad-0] INFO ConfigLoader - Attempting to load project.properties from CLASSPATH
        === 2011-01-16 18:17:58,410 [ad-0] INFO ConfigLoader - Unable to locate project.properties in CLASSPATH
        === 2011-01-16 18:17:58,414 [ad-0] INFO ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
        === 2011-01-16 18:17:58,414 [ad-0] INFO ConfigLoader - Attempting to load server.properties from CLASSPATH
        === 2011-01-16 18:17:58,416 [ad-0] INFO ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/WEB-INF/classes/server.properties
        === 2011-01-16 18:17:58,420 [ad-0] INFO Logger - Logging system started.
        === 2011-01-16 18:17:58,421 [ad-0] INFO ISCInit - Isomorphic SmartClient Framework (SC_SNAPSHOT-2011-01-06/EVAL Deployment 2011-01-06) - Initialization Complete
        === 2011-01-16 18:17:58,422 [ad-0] DEBUG ISCInit - Verifying webroot: /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war
        === 2011-01-16 18:17:58,423 [ad-0] INFO ISCInit - Auto-detected webRoot - using: /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war
        === 2011-01-16 18:17:58,866 [ad-0] INFO PreCache - Isomorphic PreCache servlet loading
        === 2011-01-16 18:17:58,893 [ad-0] INFO PoolManager - SmartClient pooling disabled for 'DataSource' objects
        === 2011-01-16 18:17:58,949 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/DataSource.ds.xml: 10ms
        === 2011-01-16 18:17:58,959 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/builtinTypes.xml: 5ms
        === 2011-01-16 18:17:59,081 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/DataSourceField.ds.xml: 6ms
        === 2011-01-16 18:17:59,107 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/Validator.ds.xml: 5ms
        === 2011-01-16 18:17:59,123 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/ValueMap.ds.xml: 5ms
        === 2011-01-16 18:17:59,129 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/InstantDataApp.ds.xml: 4ms
        === 2011-01-16 18:17:59,172 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/Application.ds.xml: 2ms
        === 2011-01-16 18:17:59,178 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/IDAPage.ds.xml: 3ms
        === 2011-01-16 18:17:59,187 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/IDAUserType.ds.xml: 2ms
        === 2011-01-16 18:17:59,194 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/IDAOperation.ds.xml: 1ms
        === 2011-01-16 18:17:59,283 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/Canvas.ds.xml: 82ms
        === 2011-01-16 18:17:59,330 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/MethodDeclaration.ds.xml: 2ms
        === 2011-01-16 18:17:59,336 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/Img.ds.xml: 1ms
        === 2011-01-16 18:17:59,343 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/StatefulCanvas.ds.xml: 4ms
        === 2011-01-16 18:17:59,359 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/Button.ds.xml: 2ms
        === 2011-01-16 18:17:59,365 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/ListViewer.ds.xml: 2ms
        === 2011-01-16 18:17:59,385 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/ListGrid.ds.xml: 17ms
        === 2011-01-16 18:17:59,417 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/DynamicForm.ds.xml: 3ms
        === 2011-01-16 18:17:59,432 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/FormItem.ds.xml: 4ms
        === 2011-01-16 18:17:59,505 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/DetailViewer.ds.xml: 2ms
        === 2011-01-16 18:17:59,512 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/DetailViewerField.ds.xml: 3ms
        === 2011-01-16 18:17:59,516 [ad-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/sampleApp/sc/system/schema/isomorphicXML.ds.xml: 2ms
        === 2011-01-16 18:17:59,517 [ad-0] INFO PreCache - Isomorphic PreCache complete (651ms)
        === 2011-01-16 18:18:04,180 [l0-0] INFO Compression - /sampleApp/sc/modules/ISC_Core.js: 667259 -> 173388 bytes
        === 2011-01-16 18:18:04,642 [l0-0] INFO RequestContext - URL: '/sampleApp/sc/DataSourceLoader', User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10': Safari with Accept-Encoding header
        === 2011-01-16 18:18:04,649 [l0-0] DEBUG XML - Parsed XML from /Users/ernani/Documents/Development/workspaces/eclipse-3.6/SampleApp/war/ds/consultPeople.ds.xml: 1ms
        === 2011-01-16 18:18:04,861 [l0-0] INFO RequestContext - URL: '/favicon.ico', User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10': Safari with Accept-Encoding header
        === 2011-01-16 18:18:25,039 [l0-0] INFO RequestContext - URL: '/favicon.ico', User-Agent: 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10': Safari with Accept-Encoding header
        Last edited by joppert; 16 Jan 2011, 14:49.

        Comment


          #5
          Sounds like you have some kind of staleness in your IDE or browser cache. If you're receiving this message, it means that files from the LGPL version of SmartGWT are being delivered to the browser. You can verify this by using Firebug's "Net" tab and looking at the headers on the .js files.

          Clear your browser cache and re-compile the project. If it's still not working, you may need to rebuild it to fix the IDE.

          Comment


            #6
            Ha!

            Beginners's too much luck indeed!

            You've nailed it, it works great now!

            Impressive.

            This is a really nice lib, I am loving it.

            Cheers,

            EJ

            Comment

            Working...
            X