Announcement

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

    Messaging Installation - Messaging not licensed

    Environment:
    ========

    - first post as a new customer

    - thanks for a great training session - recommend it to all

    - SmartClient version: v10.0p_2014-10-20/Enterprise Development Only (built 2014-10-20)

    - Browser: Safari Version 8.0 (10600.1.25)


    Situation:
    ===========

    - Purchased and downloaded the Messaging subsystem and don't yet have the installation quite right.

    - 09:24:51.295:WARN:Messaging:RealtimeMessaging not licensed

    - the messaging-related jar file(s) are in the WEB-INF/lib directory

    - the messaging-related js file(s) are in the isomorphic/system/modules/directory

    Error and Logs:
    ===========
    09:22:23.666:INFO:Log:initialized
    09:22:29.506:WARN:Log:method showResizeKnobs on [DrawLine ID:undefined] overridden with non-function: 'null'
    09:22:29.506:WARN:Log:method hideResizeKnobs on [DrawLine ID:undefined] overridden with non-function: 'null'
    09:22:29.507:WARN:Log:method showResizeKnobs on [DrawSector ID:undefined] overridden with non-function: 'null'
    09:22:29.507:WARN:Log:method hideResizeKnobs on [DrawSector ID:undefined] overridden with non-function: 'null'
    09:22:29.507:WARN:Log:method showResizeKnobs on [DrawLabel ID:undefined] overridden with non-function: 'null'
    09:22:29.507:WARN:Log:method hideResizeKnobs on [DrawLabel ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method showResizeKnobs on [DrawCurve ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method hideResizeKnobs on [DrawCurve ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method showMoveKnobs on [DrawCurve ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method hideMoveKnobs on [DrawCurve ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method showResizeKnobs on [DrawLinePath ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method hideResizeKnobs on [DrawLinePath ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method showMoveKnobs on [DrawLinePath ID:undefined] overridden with non-function: 'null'
    09:22:29.508:WARN:Log:method hideMoveKnobs on [DrawLinePath ID:undefined] overridden with non-function: 'null'
    09:24:51.295:WARN:Messaging:RealtimeMessaging not licensed - refusing to subscribe()
    09:24:51.753:INFO:Log:isc.Page is loaded


    Javascript Debugging:
    ==============

    isc._optionalModules[module] RETURNS FALSE

    IN:

    isc.hasOptionalModule = function (module) {
    var v = isc._optionalModules[module];
    if (!v) {
    if (isc.Log)
    isc.Log.logWarn("isc.hasOptionalModule - unknown module: " + module);
    return false;
    }
    // has module or devenv
    return v.present == "true" || v.present.charAt(0) == "$";
    };

    #2
    Test Script: forgot to submit a my testcase: test1.jsp

    Code:
    <%@ taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %>
    <!DOCTYPE html> 
    <html lang="en"> 
    
    <head> 
    	<script>window.isc_useSimpleNames = false;</script> 
    	
    	<isomorphic:loadISC
    		includeModules="PluginBridges,Drawing,Charts,Analytics,Calendar,Tools,RealtimeMessaging"
    		skin="Enterprise"
    	/>
    	
    
    </head> 
    
    <body> 
    
    <script> 
    		isc.Page.setAppImgDir( "[APP]" );  
    		isc.setAutoDraw(false); 
    		
    		function sendChatMessage() { 
    
    			// Ensure the required 'user' field is not empty 
    			if (!chatForm.validate()) return; 
    
    			var userName = chatForm.getValue('user'), 
    			messageText = chatForm.getValue('msg'); 
    
    			// If no message was entered, avoid sending an empty message to the server. 
    			if (!messageText) return; 
    
    			// assemble the message
    			var message = '<b>' + userName + ':</b> ' + messageText + '<br><br>'; 
    
    			// and send it to the chatChannel 
    			isc.Messaging.send('chatChannel', message, "callback(rpcResponse)");
    		} 
    
    		function callback(rpcResponse) { 
    
    			if (rpcResponse.status != isc.RPCResponse.STATUS_SUCCESS) {
    
    				isc.say("Unable to send message"); 
    			} 
    		} 
    
    		isc.Messaging.subscribe("chatChannel", "chatLog.setContents( data )" ); 
    
    		isc.VStack.create({
    			top:50,
    			left:50,
    			width: 400,
    			height: "100%",
    			autoDraw: true,
    			members: [ 
    				isc.Canvas.create({ 
    					ID:"chatLog",  
    					border:"2px solid gray", 
    					contents:"Chat session:"
    				}) 
    				,
    				isc.DynamicForm.create({ 
    					ID:"chatForm", 
    					fields:[ 
    						{ name:"user", title:"User name", required:"true", value: "Mitch" }, 
    						{ name:"msg", title:"Message", editorType:"textArea", width:"*", height:"50", value: "Foo" }, 
    						{ editorType:"button", colSpan:"*", align:"center", title:"Send", click:"sendChatMessage()" }
    					 ]
    				}) 
    			] 
    		});
    		
    	</script>   
    </body> 
    </html>

    Comment


      #3
      This looks like you have a mishmash of files from different versions or editions of SmartClient being loaded.

      Be sure you've cleared your browser cache, the use Firebug (or any similar tool) to look at the actual files being downloaded by the browser - toward the top of the file it shows the edition and date stamp.

      You either have mixed files, missing files or both.

      Comment


        #4
        Thank you for your reply.

        To be careful, I have done the following steps:
        1. removed all isomorphic files from my server.
        2. downloaded nightly enterprise smart client (10-22)
        3. downloaded nightly realtime messaging because I was prompted to do so
        4. put the new smartclientSDK directory in place on my server
        5. copied two JS files (ISC_RealtimeMessaging.js and ISC_RealtimeMessaging.js.gz ) from the messaging download into the smartclientSDK/isomorphic/system/modules directory
        6. cleared my client browser cache of everything (IE 11 in this case)
        7. started the smartclient server (log below)
        8. loaded my test1.jsp page (log and file below)
        9. opened console and saw message NOT LICENSED error
        10. opened F!2 in IE to see debugger and what was actually loaded (see below)

        Summary: I think everything is clean on my end.

        Thanks in advance, and please advise.

        SERVER STARTUP
        Code:
        Using auto-detected JDK JAVA_HOME: "C:\Program Files\Java\jdk1.8.0_20"
        
        Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
        Setting Tomcat <Connector> property (port 8080): maxThreads=1000
        Setting Tomcat <Connector> property (port 8080): maxHeaderCount=200
        Setting Tomcat <Connector> property (port 8080): maxKeepAliveRequests=1000
        Setting Tomcat <Connector> property (port 8080): maxHttpHeaderSize=65536
        Oct 22, 2014 4:49:24 PM org.apache.catalina.startup.Embedded start
        INFO: Starting tomcat server
        Oct 22, 2014 4:49:24 PM org.apache.catalina.core.StandardEngine start
        INFO: Starting Servlet Engine: Apache Tomcat/6.0.41
        ISC: Configuring log4j from: file:/E:/Home/smartclientSDK/WEB-INF/classes/log4j.isc.config.xml
        === 2014-10-22 16:49:25,578 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework - Initializing
        === 2014-10-22 16:49:25,593 [main] INFO  ConfigLoader - Attempting to load framework.properties from CLASSPATH
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Successfully loaded framework.properties from CLASSPATH at location: jar:file:/E:/Home/smartclientSDK/WEB-INF/lib/isomorphic_core_rpc.jar!/framework.properties
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Attempting to load project.properties from CLASSPATH
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Unable to locate project.properties in CLASSPATH
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Successfully loaded isc_interfaces.properties from CLASSPATH at location: jar:file:/E:/Home/smartclientSDK/WEB-INF/lib/isomorphic_core_rpc.jar!/isc_interfaces.properties
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Attempting to load server.properties from CLASSPATH
        === 2014-10-22 16:49:25,640 [main] INFO  ConfigLoader - Successfully loaded server.properties from CLASSPATH at location: file:/E:/Home/smartclientSDK/WEB-INF/classes/server.properties
        === 2014-10-22 16:49:25,656 [main] INFO  Logger - Logging system started.
        === 2014-10-22 16:49:25,656 [main] INFO  ISCInit - Auto-detected webRoot - using: E:\Home\smartclientSDK
        === 2014-10-22 16:49:25,656 [main] INFO  ISCInit - Isomorphic SmartClient/SmartGWT Framework (v10.0p_2014-10-22/Enterprise Deployment 2014-10-22) - Initialization Complete
        Oct 22, 2014 4:49:25 PM org.apache.catalina.core.ApplicationContext log
        INFO: Initializing Spring root WebApplicationContext
        === 2014-10-22 16:49:28,110 [main] INFO  AuthenticationFilter - AuthExampleAuthenticator - URI Cache enabled - max size: 10000 entries
        === 2014-10-22 16:49:28,125 [main] INFO  JSSyntaxScannerFilter - Couldn't load list of FileAssembler URLs - if the filter intercepts those URLs, they will be scanned.
        === 2014-10-22 16:49:28,125 [main] DEBUG ConfigParser - Matched var name: debug
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - value after substitution: true
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - Matched var name: systemURI
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - Matched var name: isomorphicPathRootRelative
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - value after substitution: isomorphic/system
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - value after substitution: /isomorphic/system/modules
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - Matched var name: systemURI
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - Matched var name: isomorphicPathRootRelative
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - value after substitution: isomorphic/system
        === 2014-10-22 16:49:28,141 [main] DEBUG ConfigParser - value after substitution: /isomorphic/system/development
        === 2014-10-22 16:49:28,156 [main] INFO  PreCache - Isomorphic PreCache servlet loading
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - Matched var name: isomorphicDir
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - Matched var name: isomorphicPathRootRelative
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - value after substitution: isomorphic
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - Matched var name: webRoot
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - value after substitution: E:\Home\smartclientSDK/isomorphic
        === 2014-10-22 16:49:28,188 [main] DEBUG ConfigParser - value after substitution: E:\Home\smartclientSDK/isomorphic/system/schema
        === 2014-10-22 16:49:28,203 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\builtinTypes.xml: 0ms
        === 2014-10-22 16:49:28,219 [main] INFO  PoolManager - SmartClient pooling started for 'simpleTypes' objects
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - Matched var name: webRoot
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - value after substitution: E:\Home\smartclientSDK/tools/selenium
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - Matched var name: webRoot
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - value after substitution: E:\Home\smartclientSDK/examples/shared/ds, E:\Home\smartclientSDK/tools/selenium
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - Matched var name: webRoot
        === 2014-10-22 16:49:28,219 [main] DEBUG ConfigParser - value after substitution: E:\Home\smartclientSDK/shared/ds, E:\Home\smartclientSDK/examples/shared/ds, E:\Home\smartclientSDK/tools/selenium
        === 2014-10-22 16:49:28,281 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\DataSource.ds.xml: 0ms
        === 2014-10-22 16:49:28,313 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\DataSourceField.ds.xml: 0ms
        === 2014-10-22 16:49:28,344 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\Validator.ds.xml: 0ms
        === 2014-10-22 16:49:28,360 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\ValueMap.ds.xml: 0ms
        === 2014-10-22 16:49:28,360 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\InstantDataApp.ds.xml: 0ms
        === 2014-10-22 16:49:28,391 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\Application.ds.xml: 0ms
        === 2014-10-22 16:49:28,406 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\IDAPage.ds.xml: 0ms
        === 2014-10-22 16:49:28,406 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\IDAUserType.ds.xml: 0ms
        === 2014-10-22 16:49:28,406 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\IDAOperation.ds.xml: 0ms
        === 2014-10-22 16:49:28,422 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\Canvas.ds.xml: 0ms
        === 2014-10-22 16:49:28,453 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\MethodDeclaration.ds.xml: 0ms
        === 2014-10-22 16:49:28,453 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\Img.ds.xml: 0ms
        === 2014-10-22 16:49:28,469 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\StatefulCanvas.ds.xml: 0ms
        === 2014-10-22 16:49:28,469 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\Button.ds.xml: 0ms
        === 2014-10-22 16:49:28,485 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\ListViewer.ds.xml: 0ms
        === 2014-10-22 16:49:28,485 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\ListGrid.ds.xml: 0ms
        === 2014-10-22 16:49:28,500 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\DynamicForm.ds.xml: 0ms
        === 2014-10-22 16:49:28,500 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\FormItem.ds.xml: 0ms
        === 2014-10-22 16:49:28,516 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\DetailViewer.ds.xml: 0ms
        === 2014-10-22 16:49:28,531 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\DetailViewerField.ds.xml: 15ms
        === 2014-10-22 16:49:28,531 [main] DEBUG XML - Parsed XML from E:\Home\smartclientSDK\isomorphic\system\schema\isomorphicXML.ds.xml: 0ms
        === 2014-10-22 16:49:28,531 [main] INFO  PreCache - Isomorphic PreCache complete (375ms)
        === 2014-10-22 16:49:28,641 [main] INFO  TilesPlugin - Tiles definition factory loaded for module ''.
        === 2014-10-22 16:49:28,657 [main] INFO  ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validator-rules.xml'
        === 2014-10-22 16:49:28,657 [main] INFO  ValidatorPlugIn - Loading validation rules file from '/WEB-INF/validation.xml'
        Oct 22, 2014 4:49:28 PM org.apache.coyote.http11.Http11Protocol init
        INFO: Initializing Coyote HTTP/1.1 on http-8080
        Oct 22, 2014 4:49:28 PM org.apache.coyote.http11.Http11Protocol start
        INFO: Starting Coyote HTTP/1.1 on http-8080

        TEST1.JSP Loading
        Code:
        === 2014-10-22 16:56:40,193 [80-1] INFO  RequestContext - URL: '/test1.jsp', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,912 [80-1] DEBUG LoadISCTag - isomorphicURI not specified in tag, defaulting to: isomorphic/
        === 2014-10-22 16:56:40,928 [80-1] INFO  JSSyntaxScannerFilter - /test1.jsp: scanning <script> tags in html output
        === 2014-10-22 16:56:40,928 [80-1] INFO  Compression - /test1.jsp: 4043 -> 1181 bytes
        === 2014-10-22 16:56:40,928 [80-1] DEBUG ServletTools - setting cookie 'isc_cState' to: 'ready'
        === 2014-10-22 16:56:40,928 [80-3] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Containers.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,928 [80-5] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Forms.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,928 [80-2] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Foundation.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,928 [80-1] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Core.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,928 [80-4] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Grids.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,928 [80-6] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_DataBinding.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,943 [80-4] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Grids.js
        === 2014-10-22 16:56:40,943 [80-1] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Core.js
        === 2014-10-22 16:56:40,943 [80-3] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Containers.js
        === 2014-10-22 16:56:40,943 [80-2] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Foundation.js
        === 2014-10-22 16:56:40,943 [80-5] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Forms.js
        === 2014-10-22 16:56:40,959 [80-2] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Foundation.js
        === 2014-10-22 16:56:40,959 [80-1] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Core.js
        === 2014-10-22 16:56:40,959 [80-4] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Grids.js
        === 2014-10-22 16:56:40,959 [80-3] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Containers.js
        === 2014-10-22 16:56:40,943 [80-6] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_DataBinding.js
        === 2014-10-22 16:56:40,975 [80-1] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Calendar.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,975 [80-2] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_RealtimeMessaging.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,959 [80-5] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Forms.js
        === 2014-10-22 16:56:40,975 [80-2] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_RealtimeMessaging.js
        === 2014-10-22 16:56:40,975 [80-4] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Drawing.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,975 [80-1] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Calendar.js
        === 2014-10-22 16:56:40,975 [80-3] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_PluginBridges.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,975 [80-6] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_DataBinding.js
        === 2014-10-22 16:56:40,990 [80-3] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_PluginBridges.js
        === 2014-10-22 16:56:40,990 [80-5] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Charts.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:40,990 [80-1] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Calendar.js
        === 2014-10-22 16:56:40,990 [80-4] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Drawing.js
        === 2014-10-22 16:56:40,990 [80-2] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_RealtimeMessaging.js
        === 2014-10-22 16:56:41,006 [80-4] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Drawing.js
        === 2014-10-22 16:56:41,006 [80-1] INFO  RequestContext - URL: '/isomorphic/skins/Enterprise/load_skin.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:41,006 [80-6] INFO  RequestContext - URL: '/isomorphic/system/modules/ISC_Tools.js', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:41,006 [80-5] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Charts.js
        === 2014-10-22 16:56:40,990 [80-3] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_PluginBridges.js
        === 2014-10-22 16:56:41,021 [80-5] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Charts.js
        === 2014-10-22 16:56:41,021 [80-6] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Tools.js
        === 2014-10-22 16:56:41,006 [80-1] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/skins/Enterprise/load_skin.js
        === 2014-10-22 16:56:41,021 [80-6] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/system/modules/ISC_Tools.js
        === 2014-10-22 16:56:41,021 [80-1] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/skins/Enterprise/load_skin.js
        === 2014-10-22 16:56:41,490 [80-1] INFO  RequestContext - URL: '/isomorphic/skins/Enterprise/skin_styles.css', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:41,490 [80-1] INFO  Download - Using gzipped form of request file: E:/Home/smartclientSDK/isomorphic/skins/Enterprise/skin_styles.css
        === 2014-10-22 16:56:41,490 [80-1] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/skins/Enterprise/skin_styles.css
        === 2014-10-22 16:56:41,537 [80-1] INFO  RequestContext - URL: '/isomorphic/skins/Enterprise/images/blank.gif', User-Agent: 'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
        === 2014-10-22 16:56:41,553 [80-1] INFO  Download - done streaming: E:/Home/smartclientSDK/isomorphic/skins/Enterprise/images/blank.gif

        ISC CONSOLE LOG
        Code:
        12:56:41.104:INFO:Log:initialized
        12:56:41.519:WARN:Messaging:RealtimeMessaging not licensed - refusing to subscribe()
        12:56:41.564:INFO:Log:isc.Page is loaded

        TEST1.JSP
        Code:
        <%@ taglib uri="/WEB-INF/iscTaglib.xml" prefix="isomorphic" %>
        <!DOCTYPE html> 
        <html lang="en"> 
        
        <head> 
        	<script>window.isc_useSimpleNames = false;</script> 
        	
        	<isomorphic:loadISC
        		includeModules="PluginBridges,Drawing,Charts,Calendar,Tools,RealtimeMessaging"
        		skin="Enterprise"
        	/>
        
        </head> 
        
        <body> 
        
        <script> 
        		isc.Page.setAppImgDir( "[APP]" );  
        		isc.setAutoDraw(false); 
        		
        		function sendChatMessage() { 
        
        			// Ensure the required 'user' field is not empty 
        			if (!chatForm.validate()) return; 
        
        			var userName = chatForm.getValue('user'), 
        			messageText = chatForm.getValue('msg'); 
        
        			// If no message was entered, avoid sending an empty message to the server. 
        			if (!messageText) return; 
        
        			// assemble the message
        			var message = '<b>' + userName + ':</b> ' + messageText + '<br><br>'; 
        
        			// and send it to the chatChannel 
        			isc.Messaging.send('chatChannel', message, "callback(rpcResponse)");
        		} 
        
        		function callback(rpcResponse) { 
        
        			if (rpcResponse.status != isc.RPCResponse.STATUS_SUCCESS) {
        
        				isc.say("Unable to send message"); 
        			} 
        		} 
        
        		isc.Messaging.subscribe("chatChannel", "chatLog.setContents( data )" ); 
        
        		isc.VLayout.create({
        			width: "100%",
        			height: "100%",
        			autoDraw: true,
        			members: [ 
        			
        /*				isc.ListGrid.create( {
        					dataSource: "Organizations",
        					autoFetchData: true,
        					showFilterEditor: true
        				} ),
        				
        				isc.ListGrid.create( {
        					dataSource: "Projects",
        					autoFetchData: true,
        					showFilterEditor: true
        				} ),
        				
        				isc.ListGrid.create( {
        					dataSource: "Breakdowns",
        					autoFetchData: true,
        					showFilterEditor: true
        				} ),
        				
        				isc.ListGrid.create( {
        					dataSource: "Groups",
        					autoFetchData: true,
        					showFilterEditor: true
        				} ),
        */
        				isc.Canvas.create({ 
        					ID:"chatLog",  
        					border:"2px solid gray", 
        					contents:"Chat session:"
        				}),
        				
        				isc.DynamicForm.create({ 
        					ID:"chatForm", 
        					fields:[ 
        						{ name:"user", title:"User name", required:"true", value: "Mitch" }, 
        						{ name:"msg", title:"Message", editorType:"textArea", width:"*", height:"50", value: "Foo" }, 
        						{ editorType:"button", colSpan:"*", align:"center", title:"Send", click:"sendChatMessage()" }
        					 ]
        				}) 
        			] 
        		});
        		
        	</script>   
        </body> 
        </html>

        PAGE SOURCE RETURNED TO BROWSER FROM THE JSP
        Code:
        <!DOCTYPE html> 
        <html lang="en"> 
        
        <head> 
        	<script>window.isc_useSimpleNames = false;</script> 
        	
        	<SCRIPT>window.isomorphicDir='isomorphic/';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Core.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Core';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Foundation.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Foundation';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Containers.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Containers';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Grids.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Grids';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Forms.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Forms';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_DataBinding.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='DataBinding';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_RealtimeMessaging.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='RealtimeMessaging';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Calendar.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Calendar';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_PluginBridges.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='PluginBridges';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Drawing.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Drawing';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Charts.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Charts';</SCRIPT>
        <SCRIPT SRC=isomorphic/system/modules/ISC_Tools.js?isc_version=v10.0p_2014-10-22.js></SCRIPT><SCRIPT>isc._lastModule='Tools';</SCRIPT>
        <SCRIPT SRC=isomorphic/skins/Enterprise/load_skin.js?isc_version=v10.0p_2014-10-22.js></SCRIPT>
        
        
        </head> 
        
        <body> 
        ...

        USING BROWSER DEBUGGER, THE JS FILE LOADED FOR MESSAGING LOOKS LIKE:
        Code:
        /*
        
          SmartClient Ajax RIA system
          Version v10.0p_2014-10-22 (2014-10-22)
        
          Copyright 2000 and beyond Isomorphic Software, Inc. All rights reserved.
          "SmartClient" is a trademark of Isomorphic Software, Inc.
        
          LICENSE NOTICE
             INSTALLATION OR USE OF THIS SOFTWARE INDICATES YOUR ACCEPTANCE OF THE
             SOFTWARE LICENSE AGREEMENT. If you have received this file without an 
             Isomorphic Software license file, please see:
        
                 http://www.isomorphic.com/licenses/license-sisv.html
        
             You are not required to accept this agreement, however, nothing else
             grants you the right to copy or use this software. Unauthorized copying
             and use of this software is a violation of international copyright law.
        
          PROPRIETARY & PROTECTED MATERIAL
             This software contains proprietary materials that are protected by
             contract and intellectual property law. YOU ARE EXPRESSLY PROHIBITED
             FROM ATTEMPTING TO REVERSE ENGINEER THIS SOFTWARE OR MODIFY THIS
             SOFTWARE FOR HUMAN READABILITY.
        
          CONTACT ISOMORPHIC
             For more information regarding license rights and restrictions, or to
             report possible license violations, please contact Isomorphic Software
             by email (licensing@isomorphic.com) or web (www.isomorphic.com).
        
        */
        
        if(window.isc&&window.isc.module_Core&&!window.isc.module_RealtimeMessaging){isc.module_RealtimeMessaging=1;isc._moduleStart=isc._RealtimeMessaging_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log&&isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={message:'RealtimeMessaging load/parse time: '+(isc._moduleStart-isc._moduleEnd)+'ms',category:'loadTime'};if(isc.Log&&isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime');else if(isc._preLog)isc._preLog[isc._preLog.length]=isc._pTM;else isc._preLog=[isc._pTM]}isc.definingFramework=true;if(window.isc&&isc.version!="v10.0p_2014-10-22"){isc.$113h=function(){var _1=false;if(isc.version.toLowerCase().contains("pro")||isc.version.toLowerCase().contains("lgpl")){_1=true}else{var _2=isc.version;if(_2.indexOf("/")!=-1){_2=_2.substring(0,_2.indexOf("/"))}

        Comment


          #5
          What about the header for ISC_Core.js? That's actually the file that would contain the licensing information, and you would see the problem you're experiencing if the actual file used is either actually from an Eval build or from a build you downloaded before you purchased Messaging.

          Comment


            #6
            It seems correct also.

            ISC_Core.js
            Code:
            /*
            
              SmartClient Ajax RIA system
              Version v10.0p_2014-10-22/Enterprise Development Only (2014-10-22)
            
              Copyright 2000 and beyond Isomorphic Software, Inc. All rights reserved.
              "SmartClient" is a trademark of Isomorphic Software, Inc.
            
              LICENSE NOTICE
                 Use of this software is governed by a contract between your organization
                 and Isomorphic Software.  Do not use or deploy this software unless you
                 are familiar with the terms of this agreement and have verified that you
                 have rights to do so.
            
              PROPRIETARY & PROTECTED MATERIAL
                 This software contains proprietary materials that are protected by
                 contract and intellectual property law. YOU ARE EXPRESSLY PROHIBITED
                 FROM ATTEMPTING TO REVERSE ENGINEER THIS SOFTWARE OR MODIFY THIS
                 SOFTWARE FOR HUMAN READABILITY.
            
              CONTACT ISOMORPHIC
                 For more information regarding license rights and restrictions, or to
                 report possible license violations, please contact Isomorphic Software
                 by email (licensing@isomorphic.com) or web (www.isomorphic.com).
            
            */
            
            var isc=window.isc?window.isc:{};if(window.isc&&!window.isc.module_Core){isc.module_Core=1;isc._moduleStart=isc._Core_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log&&isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={message:'Core load/parse time: '+(isc._moduleStart-isc._moduleEnd)+'ms',category:'loadTime'};if(isc.Log&&isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime');else if(isc._preLog)isc._preLog[isc._preLog.length]=isc._pTM;else isc._preLog=[isc._pTM]}isc.definingFramework=true;var isc=window.isc?window.isc:{};isc.$d=new Date().getTime();isc.version="v10.0p_2014-10-22/Enterprise Development Only";isc.versionNumber="v10.0p_2014-10-22";isc.buildDate="2014-10-22";isc.expirationDate="";isc.licenseType="Enterprise";isc.licenseCompany="Isomorphic Software";isc.licenseSerialNumber="ISC_ENTERPRISE_NIGHTLY";is

            Comment


              #7
              The ISC_Core.js is correct in its version, but clearly does *not* have the feature turned on. In the debugger, you can see the code below and the boolean for the feature is false. (RealtimeMessaging:{present:"false",name:"RealtimeMessaging Module"})

              Maybe my "account" download is not giving me the right file.

              Code:
              /*
              
                SmartClient Ajax RIA system
                Version v10.0p_2014-10-22/Enterprise Development Only (2014-10-22)
              
                Copyright 2000 and beyond Isomorphic Software, Inc. All rights reserved.
                "SmartClient" is a trademark of Isomorphic Software, Inc.
              
                LICENSE NOTICE
                   Use of this software is governed by a contract between your organization
                   and Isomorphic Software.  Do not use or deploy this software unless you
                   are familiar with the terms of this agreement and have verified that you
                   have rights to do so.
              
                PROPRIETARY & PROTECTED MATERIAL
                   This software contains proprietary materials that are protected by
                   contract and intellectual property law. YOU ARE EXPRESSLY PROHIBITED
                   FROM ATTEMPTING TO REVERSE ENGINEER THIS SOFTWARE OR MODIFY THIS
                   SOFTWARE FOR HUMAN READABILITY.
              
                CONTACT ISOMORPHIC
                   For more information regarding license rights and restrictions, or to
                   report possible license violations, please contact Isomorphic Software
                   by email (licensing@isomorphic.com) or web (www.isomorphic.com).
              
              */
              
              var isc=window.isc?window.isc:{};if(window.isc&&!window.isc.module_Core){isc.module_Core=1;isc._moduleStart=isc._Core_start=(isc.timestamp?isc.timestamp():new Date().getTime());if(isc._moduleEnd&&(!isc.Log||(isc.Log&&isc.Log.logIsDebugEnabled('loadTime')))){isc._pTM={message:'Core load/parse time: '+(isc._moduleStart-isc._moduleEnd)+'ms',category:'loadTime'};if(isc.Log&&isc.Log.logDebug)isc.Log.logDebug(isc._pTM.message,'loadTime');else if(isc._preLog)isc._preLog[isc._preLog.length]=isc._pTM;else isc._preLog=[isc._pTM]}isc.definingFramework=true;var isc=window.isc?window.isc:{};isc.$d=new Date().getTime();isc.version="v10.0p_2014-10-22/Enterprise Development Only";isc.versionNumber="v10.0p_2014-10-22";isc.buildDate="2014-10-22";isc.expirationDate="";isc.licenseType="Enterprise";isc.licenseCompany="Isomorphic Software";isc.licenseSerialNumber="ISC_ENTERPRISE_NIGHTLY";isc.licensingPage="http://smartclient.com/product/";isc.$1142="debugModules";isc.$1143="nonDebugModules";isc.checkForDebugAndNonDebugModules=function(){if(isc.checkForDebugAndNonDebugModules.$75z)return;var _1=isc['_'+this.$1142],_2=_1!=null&&_1.length>0,_3=isc['_'+this.$1143],_4=_3!=null&&_3.length>0;if(_2&&_4){isc.logWarn("Both Debug and non-Debug modules were loaded; the Debug versions of '"+_1.join("', '")+"' and the non-Debug versions of '"+_3.join("', '")+"' were loaded. Mixing Debug and non-Debug modules is not supported and may lead to JavaScript errors and/or unpredictable behavior. To fix, ensure that only modules in the modules/ folder or the modules-debug/ folder are loaded and clear the browser cache. If using Smart GWT, also clear the GWT unit cache and recompile.");isc.checkForDebugAndNonDebugModules.$75z=true}};isc.$41r={SCServer:{present:"true",name:"SmartClient Server",serverOnly:true,isPro:true},Drawing:{present:"${includeDrawing}",name:"Drawing Module"},PluginBridges:{present:"true",name:"PluginBridges Module"},RichTextEditor:{present:"true",name:"RichTextEditor Module"},Calendar:{present:"true",name:"Calendar Module"},Analytics:{present:"false",name:"Analytics Module"},Charts:{present:"true",name:"Charts Module"},Tools:{present:"${includeTools}",name:"Dashboards and Tools Module"},NetworkPerformance:{present:"true",name:"Network Performance Module"},FileLoader:{present:"true",name:"Network Performance Module"},RealtimeMessaging:{present:"false",name:"RealtimeMessaging Module"},serverCriteria:{present:"true",name:"Server Advanced Filtering",serverOnly:true,isFeature:true},customSQL:{present:"true",name:"SQL Templating",serverOnly:true,isFeature:true},chaining:{present:"true",name:"Transaction Chaining",serverOnly:true,isFeature:true},batchDSGenerator:{present:"true",name:"Batch DS-Generator",serverOnly:true,isFeature:true},batchUploader:{present:"true",name:"Batch Uploader",serverOnly:true,isFeature:true},transactions:{present:"true",name:"Automatic Transaction Management",serverOnly:true,isFeature:true}};isc.canonicalizeModules=function(_1){if(!_1)return null;if(isc.isA.String(_1)){if(_1.indexOf(",")!=-1){_1=_1.split(",");var _2=/^\s+/,_3=/\s+$/;for(var i=0;i<_1.length;i++){_1[i]=_1[i].replace(_2,"").replace(_3,"")}}else _1=[_1]}

              Comment


                #8
                We're checking on this. Just to confirm, the account you used to download is the same you are posting from, right? "mitch"
                Last edited by Isomorphic; 22 Oct 2014, 14:13.

                Comment


                  #9
                  Yes, but there is an old account using my email as the account name, which is no longer needed and can be deleted to prevent future confusion.

                  Comment


                    #10
                    We see the problem and are looking into how to best resolve it.

                    Comment


                      #11
                      Perfect. Thanks for the update.

                      Comment


                        #12
                        Today's builds of SC 10.1d/10.0p and SGWT 5.1d/5.0p should contain fixes to ensure RealtimeMessaging and other optional modules are properly activated. Note that to ensure optional modules work properly going forward, make sure to read and comply with the "loading optional modules" doc topic.
                        Last edited by Isomorphic; 27 Oct 2014, 12:51.

                        Comment


                          #13
                          Awesome. Works perfectly.

                          Comment

                          Working...
                          X