Announcement

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

    Remote Debugging doesn't work

    SmartClient Version: v10.0p_2014-09-30/EVAL Deployment (expires 2014.11.29_06.38.33) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

    The Remote Debug feature works in the feature explorer.
    But it doesn't work in my application. My application is already configured with realtime messaging, and it's working.
    So I assume that I don't have to touch anything in my application, is it correct?

    Then I open two different browsers pointing to the same host/app, one with the isc_remoteDebug parameter:
    Code:
    https://srvubuntu.juventus.priv:8443/Legend/?isc_remoteDebug=true
    the other without:
    Code:
    https://srvubuntu.juventus.priv:8443/Legend/
    but nothing shows in the 'Remote' dropdown.

    How could I debug this remote debugging feature? Is there something to look for in the server or client logs, some logging categories to enable?

    Don't know if it could help, but after some attempt, and after closing the browser with isc_remoteDebug=true, after re-opening the developer console on the other browser I got this msg on the native alert:

    Code:
    Error in call() - unable to resolve sendChannel	MessagingDMIClient.call(_1=>"getGlobalLogCookie", _2=>Array[0], _3=>anonymous()) @ ISC_Core.js:1727:296
    	saveState(_1=>undef) @ ISC_DeveloperConsole.js:57:44
    	eval(target=>null, eventInfo=>undef) @ [no file]:3:1
    	Page._handleEvent(_1=>null, _2=>"resize", _3=>undef) @ ISC_Core.js:1270:40
    	EventHandler.__fireResizeEvent(_1=>"landscape") @ ISC_Core.js:1598:85
    	EventHandler.__pageResize(_1=>true) @ ISC_Core.js:1598:6
    	Canvas._checkForPageResize() @ ISC_Core.js:2881:593
    	Class._fireCallback(_1=>Obj, _2=>undef, _3=>Array[0], _4=>[Class Canvas], _5=>undef) @ ISC_Core.js:285:49
    	Class.__fireActionsOnPause() @ ISC_Core.js:290:383
    	Class._fireCallback(_1=>Obj, _2=>undef, _3=>Array[0], _4=>[Class Canvas], _5=>undef) @ ISC_Core.js:285:78
    
    Stack trace:
    	[a][c]MessagingDMIClient.logMessage(_1=>2, _2=>"Error in call() - unable to resolve send..."[784], _3=>undef, _4=>undef) @ ISC_Core.js:972:190
    	[a][c]MessagingDMIClient.logError(_1=>"Error in call() - unable to resolve send..."[784], _2=>undef) @ ISC_Core.js:974:273
    	MessagingDMIClient.call(_1=>"getGlobalLogCookie", _2=>Array[0], _3=>anonymous()) @ ISC_Core.js:1727:232
    	saveState(_1=>undef) @ ISC_DeveloperConsole.js:…

    #2
    You shouldn't need to do anything in your application when migrating from 9.1 to 10.0 related to Realtime Messaging.

    However it looks like with Realtime Messaging enabled there is a problem with the Remote Debugging feature....we will take a look.

    Comment


      #3
      I think I misread your original question. Having re-read it, it looks like you're saying that the remote debugging feature is working when you remote debug the Feature Explorer, but not when you try to remote debug your application. Right?

      We have tested (and I have just re-confirmed) that testing applications other than the Feature Explorer does work, but: while I was doing this I ran across a bug that could explain the problem you're seeing.

      If you enable remote debugging on more than one page on the same browser (e.g. two different tabs or two different windows of the same browser) that also point to the same server (could be the same or different applications), then the remote debugger does not properly disambiguate between them and messages get sent to all of them.

      This is definitely a bug and will be fixed in the next few days. I will update this post once that's done.

      In the meantime, can you confirm if this is the problem you're seeing or if it's something else?

      Comment


        #4
        Mh, no, it's not.

        Now I've done more tests.
        I've got an application deployed with realtime messaging working, configured using a standalone broker (activemq) installed on another server.

        I restarted the server, and tested the realtime messaging using two different browsers (Firefox and Safari) on the same MAC, repeating several times an action (using Firefox) which pushes an update which I could see on Safari.

        the log of the realtime messaging send is:
        Code:
        2014-10-01 22:34:27,743 INFO  [cbosticco 544] RequestContext URL: '/Legend/isomorphic/IDACall', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0': Moz (Gecko) with Accept-Encoding header 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: host:srvubuntu.juventus.priv:8443 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: user-agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: accept-language:it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: accept-encoding:gzip, deflate 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: content-type:application/x-www-form-urlencoded; charset=UTF-8 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: referer:https://srvubuntu.juventus.priv:8443/Legend/ 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: content-length:4920 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: cookie:JSESSIONID=52E9A5EA3C6BCF2EC98DE2DD37DDFF2D; GLog=%7B%0D%20%20%20%20left%3A-1417%2C%20%0D%20%20%20%20top%3A22%2C%20%0D%20%20%20%20width%3A1360%2C%20%0D%20%20%20%20height%3A812%2C%20%0D%20%20%20%20priorityDefaults%3A%7B%0D%20%20%20%20%20%20%20%20sgwtInternal%3A1%2C%20%0D%20%20%20%20%20%20%20%20Log%3A4%0D%20%20%20%20%7D%2C%20%0D%20%20%20%20defaultPriority%3A3%2C%20%0D%20%20%20%20trackRPC%3Anull%2C%20%0D%20%20%20%20pageGUID%3A%2266181855-F9E3-46C2-8AE6-EA7443933958%22%0D%7D; isc_cState=ready 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: connection:keep-alive 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: pragma:no-cache 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall Header Name:Value pair: cache-control:no-cache 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall session exists: 52E9A5EA3C6BCF2EC98DE2DD37DDFF2D 
        2014-10-01 22:34:27,744 DEBUG [cbosticco 544] IDACall remote user: cbosticco 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] XML Parsed XML from (in memory stream): 1ms 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] ISCKeyedObjectPool Borrowing object for 'transaction' 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource null of type 'transaction' in the pooling flow 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] ISCKeyedObjectPool Borrowing object for 'Object' 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource 1353 of type 'Object' and assigned it to thread http-bio-8443-exec-9 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource 1353 of type 'Object' in the pooling flow 
        2014-10-01 22:34:27,745 DEBUG [cbosticco 544] PoolableDataSourceFactory Activated DataSource 1353 of type 'Object' 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] ISCKeyedObjectPool Borrowing object for 'List' 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource 1354 of type 'List' and assigned it to thread http-bio-8443-exec-9 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource 1354 of type 'List' in the pooling flow 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] PoolableDataSourceFactory Activated DataSource 1354 of type 'List' 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] ISCKeyedObjectPool Borrowing object for 'elem' 
        2014-10-01 22:34:27,746 DEBUG [cbosticco 544] PoolableDataSourceFactory Created DataSource null of type 'elem' in the pooling flow 
        2014-10-01 22:34:27,747 DEBUG [cbosticco 544] RPCManager Processing 1 requests. 
        2014-10-01 22:34:27,748 DEBUG [cbosticco 544] RPCManager Request #1 (DSRequest) payload: {
            appID:"builtinApplication",
            operation:"messagingSend",
            values:{
                type:"send",
                sendToChannels:[
                    "jms/updateOrdineChannel"
                ],
                subscribedChannels:{
                    "jms/removeOrdineChannel":{
                    },
                    "jms/updateOrdineChannel":{
                    },
                    "jms/addOrdineChannel":{
                    },
                    "jms/removeParkDisponibiliGridChannel":{
                    },
                    "jms/addParkDisponibiliGridChannel":{
                    }
                },
                data:[
                    {
                        UPGRADE_WIP:false,
                        TOTALE_RIGHE_SCONTATO:300,
                        VALORE_BIGLIETTO:300,
                        TIPO_PAGAMENTO:"CC",
                        QTA_POSTI:2,
                        SUM_SCONTO_RIGHE:0,
                        TIPO:"LEG",
                        ID_REC:727924,
                        ARCHIVIATO_PER_STATS:false,
                        IS_NUOVA_VENDITA:true,
                        ID_STATO_CONTRATTO_FK:495229,
                        BIGLIETTI_EMESSI:false,
                        CREATOR:"cbosticco",
                        DATE_CREATOR:new Date(1407401085000),
                        FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                        ACCOUNT:"cbosticco",
                        NUM_POSTI:1,
                        CONTRATTO_NUM:7794,
                        TRIBUNE:"LCN",
                        IS_FATTURATO:false,
                        IS_ANNULLATO:false,
                        NUMERO_INTESTATARI_VALORIZZATI:0,
                        SOGGETTO_DESC:"xxxxxx BARBARA",
                        EMAIL:"pippo@yup.it",
                        FLAG_BIGLIETTI_EMESSI:"NONE",
                        VALORE_CONTRATTO_SCONTATO:300,
                        NUM_RIGHE_NON_CONFERMATE:0,
                        VALORE_CONTRATTO:300,
                        FLAG_POSTI_ASSEGNATI:"NONE",
                        RITIRO_ACCREDITI:"EMAIL",
                        STATO_CONTRATTO:"INC",
                        INCASSATO:"T",
                        FL_DATI_DEFINITIVI:true,
                        NOMINATIVI_COMPLETI:false,
                        IS_INCASSATO:true,
                        STAGIONE:"2014/2015",
                        FATT_DA_COMPENSARE:false,
                        ID_EVENTO_FK:537064,
                        TIPO_SOGGETTO_CODICE:"PF",
                        TIPO_SOGGETTO:"Persona Fisica",
                        STATO_CONTRATTO_DESC:"Incassata",
                        ID_STAGIONI_FK:579086,
                        EMAIL_TIPO:"pippo@yup.it",
                        DATA_INIZIO_EVENTO:new Date(1417442400000),
                        ACCOUNT_MOD:"cbosticco",
                        DATE_MOD:new Date(1407401138000),
                        VALORE_TICKETING:210,
                        ID_ANAGRAFICA_CLIENTI_FK:727904
                    }
                ]
            },
            criteria:{
            }
        } 
        2014-10-01 22:34:27,748 INFO  [cbosticco 544] IDACall Performing 1 operation(s) 
        2014-10-01 22:34:27,748 DEBUG [cbosticco 544] DeclarativeSecurity Processing security checks for DataSource null, field null 
        2014-10-01 22:34:27,748 DEBUG [cbosticco 544] AppBase [builtinApplication.messagingSend] No userTypes defined, allowing anyone access to all operations for this application 
        2014-10-01 22:34:27,748 INFO  [cbosticco 544] AppBase [builtinApplication.messagingSend] Invoking custom app operation method '_messagingSend' 
        2014-10-01 22:34:27,766 DEBUG [cbosticco 544] DSRequest About to free up resources for request of type messagingSend on DataSource null 
        2014-10-01 22:34:27,766 DEBUG [cbosticco 544] DSRequest Ignoring freeResources call because this is not a primary request! 
        2014-10-01 22:34:27,766 DEBUG [cbosticco 544] RPCManager Content type for RPC transaction: text/plain; charset=UTF-8 
        2014-10-01 22:34:27,766 DEBUG [cbosticco 544] DSRequest Ignoring freeQueueResources call because this is not a primary request! 
        2014-10-01 22:34:27,766 INFO  [cbosticco 544] Compression /Legend/isomorphic/IDACall: 968 -> 323 bytes
        Then I enabled the remote debug on Firefox, refreshed the Safari window and opened the developer console on Safari, but nothing showed in the 'Remote' dropdown.

        Then I retried the same action (using Firefox) which pushes an update, but this time I got an error:
        Code:
        2014-10-01 22:36:28,072 DEBUG [cbosticco 544] RPCManager Processing 1 requests. 
        2014-10-01 22:36:28,073 DEBUG [cbosticco 544] RPCManager Request #1 (DSRequest) payload: {
            appID:"builtinApplication",
            operation:"messagingSend",
            values:{
                type:"send",
                sendToChannels:[
                    "jms/updateOrdineChannel"
                ],
                subscribedChannels:{
                    "66181855-F9E3-46C2-8AE6-EA7443933958":{
                    },
                    isc_DebugTarget:{
                    },
                    "jms/removeOrdineChannel":{
                    },
                    "jms/updateOrdineChannel":{
                    },
                    "jms/addOrdineChannel":{
                    },
                    "jms/removeParkDisponibiliGridChannel":{
                    },
                    "jms/addParkDisponibiliGridChannel":{
                    }
                },
                data:[
                    {
                        UPGRADE_WIP:false,
                        TOTALE_RIGHE_SCONTATO:300,
                        VALORE_BIGLIETTO:300,
                        TIPO_PAGAMENTO:"CC",
                        QTA_POSTI:2,
                        SUM_SCONTO_RIGHE:0,
                        TIPO:"LEG",
                        ID_REC:727924,
                        ARCHIVIATO_PER_STATS:false,
                        IS_NUOVA_VENDITA:true,
                        ID_STATO_CONTRATTO_FK:495229,
                        BIGLIETTI_EMESSI:false,
                        CREATOR:"cbosticco",
                        DATE_CREATOR:new Date(1407401085000),
                        FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                        ACCOUNT:"cbosticco",
                        NUM_POSTI:1,
                        CONTRATTO_NUM:7794,
                        TRIBUNE:"LCN",
                        IS_FATTURATO:false,
                        IS_ANNULLATO:false,
                        NUMERO_INTESTATARI_VALORIZZATI:0,
                        SOGGETTO_DESC:"xxxxx BARBARA",
                        EMAIL:"pippo@yup.it",
                        FLAG_BIGLIETTI_EMESSI:"NONE",
                        VALORE_CONTRATTO_SCONTATO:300,
                        NUM_RIGHE_NON_CONFERMATE:0,
                        VALORE_CONTRATTO:300,
                        FLAG_POSTI_ASSEGNATI:"NONE",
                        RITIRO_ACCREDITI:"EMAIL",
                        STATO_CONTRATTO:"INC",
                        INCASSATO:"T",
                        FL_DATI_DEFINITIVI:true,
                        NOMINATIVI_COMPLETI:false,
                        IS_INCASSATO:true,
                        STAGIONE:"2014/2015",
                        FATT_DA_COMPENSARE:false,
                        ID_EVENTO_FK:537064,
                        TIPO_SOGGETTO_CODICE:"PF",
                        TIPO_SOGGETTO:"Persona Fisica",
                        STATO_CONTRATTO_DESC:"Incassata",
                        ID_STAGIONI_FK:579086,
                        EMAIL_TIPO:"pippo@yup.it",
                        DATA_INIZIO_EVENTO:new Date(1417442400000),
                        ACCOUNT_MOD:"cbosticco",
                        DATE_MOD:new Date(1407401138000),
                        VALORE_TICKETING:210,
                        ID_ANAGRAFICA_CLIENTI_FK:727904
                    }
                ]
            },
            criteria:{
            }
        } 
        2014-10-01 22:36:28,073 INFO  [cbosticco 544] IDACall Performing 1 operation(s) 
        2014-10-01 22:36:28,073 DEBUG [cbosticco 544] DeclarativeSecurity Processing security checks for DataSource null, field null 
        2014-10-01 22:36:28,073 DEBUG [cbosticco 544] AppBase [builtinApplication.messagingSend] No userTypes defined, allowing anyone access to all operations for this application 
        2014-10-01 22:36:28,073 INFO  [cbosticco 544] AppBase [builtinApplication.messagingSend] Invoking custom app operation method '_messagingSend' 
        2014-10-01 22:36:28,082 DEBUG [cbosticco 544] DSRequest About to free up resources for request of type messagingSend on DataSource null 
        2014-10-01 22:36:28,082 DEBUG [cbosticco 544] DSRequest Ignoring freeResources call because this is not a primary request! 
        2014-10-01 22:36:28,084 WARN  [cbosticco 544] RequestContext dsRequest.execute() failed:  
        javax.naming.NameNotFoundException: Name [3F9D8F78-494D-409C-9106-81E2F9062515] is not bound in this Context. Unable to find [3F9D8F78-494D-409C-9106-81E2F9062515].
        	at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
        	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
        	at com.isomorphic.messaging.JMSMessageDispatcher.bindToChannel(JMSMessageDispatcher.java:115)
        	at com.isomorphic.messaging.JMSMessageDispatcher.reconnect(JMSMessageDispatcher.java:97)
        	at com.isomorphic.messaging.JMSMessageDispatcher.ensureConnected(JMSMessageDispatcher.java:103)
        	at com.isomorphic.messaging.JMSMessageDispatcher.deliver(JMSMessageDispatcher.java:206)
        	at com.isomorphic.messaging.MessagingConnectionHandler.send(MessagingConnectionHandler.java:80)
        	at com.isomorphic.application.AppBase._messagingSend(AppBase.java:523)
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        	at java.lang.reflect.Method.invoke(Method.java:597)
        	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:646)
        	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2543)
        	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:211)
        	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:176)
        	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:140)
        	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:77)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
        	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
        	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.juve.utils.Log4jSessionFilter.doFilter(Log4jSessionFilter.java:66)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
        	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
        	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:178)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:92)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:110)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:110)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
        	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:170)
        	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:238)
        	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:168)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
        	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:242)
        	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:77)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:89)
        	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
        	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
        	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
        	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)
        	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:124)
        	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:473)
        	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
        	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:101)
        	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:954)
        	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:120)
        	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
        	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
        	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
        	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
        	at java.lang.Thread.run(Thread.java:662)
        2014-10-01 22:36:28,086 DEBUG [cbosticco 544] RPCManager Content type for RPC transaction: text/plain; charset=UTF-8 
        2014-10-01 22:36:28,090 DEBUG [cbosticco 544] DSRequest Ignoring freeQueueResources call because this is not a primary request! 
        2014-10-01 22:36:28,091 INFO  [cbosticco 544] Compression /Legend/isomorphic/IDACall: 128 -> 120 bytes
        Does this shed some light on it?
        Last edited by claudiobosticco; 3 Mar 2015, 06:50.

        Comment


          #5
          Hello, I've just re-tested the scenario described in the previous post, with build SmartClient Version: v10.0p_2014-10-16/EVAL Deployment (expires 2014.12.15_05.01.46) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

          So, after having verified that realtime messaging is working for my configured channels, I enabled remote debugging on one browser, then I refreshed the other browser, opened the developer console, and, after some seconds, the developer console logged:
          Code:
           
          Messaging endpoint not responding - remote debugging unavailable.  To fix, make sure you have correctly registered the Messaging servlet in your web.xml
          The Messaging servlet in my web.xml is configured like this:
          Code:
              <!-- //>RealtimeMessaging -->
              <!-- The MessagingServlet is used by realtime messaging -->
              <servlet>
                  <servlet-name>MessagingServlet</servlet-name>
                  <servlet-class>com.isomorphic.messaging.MessagingServlet</servlet-class>
              </servlet>
              <!-- //<RealtimeMessaging -->
          
              <!-- //>RealtimeMessaging -->
              <!-- Messaging uses this URL by default -->
              <servlet-mapping>
                  <servlet-name>MessagingServlet</servlet-name>
                  <url-pattern>/isomorphic/messaging/*</url-pattern>
              </servlet-mapping>
              <!-- //<RealtimeMessaging -->
          This is the server side log relative to the opening of the developer console:
          Code:
          2014-10-16 17:29:31,112 INFO  [cbosticco 549] RequestContext URL: '/Legend/tools/developerConsoleOperations.jsp', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0': Moz (Gecko) with Accept-Encoding header 
          2014-10-16 17:29:31,134 INFO  [cbosticco 549] RequestContext URL: '/Legend/isomorphic/skins/Graphite/images/Splitbar/vsplit_snap.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0': Moz (Gecko) with Accept-Encoding header 
          2014-10-16 17:29:31,136 INFO  [cbosticco 549] RequestContext URL: '/Legend/isomorphic/skins/Graphite/images/Splitbar/hsplit_snap.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0': Moz (Gecko) with Accept-Encoding header 
          2014-10-16 17:29:31,136 INFO  [cbosticco 549] RequestContext URL: '/Legend/isomorphic/skins/Graphite/images/DynamicForm/checked.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0': Moz (Gecko) with Accept-Encoding header 
          2014-10-16 17:29:31,138 INFO  [cbosticco 549] RequestContext URL: '/Legend/isomorphic/skins/Graphite/images/DynamicForm/unchecked.png', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:33.0) Gecko/20100101 Firefox/33.0': Moz (Gecko) with Accept-Encoding header 
          2014-10-16 17:29:31,141 DEBUG [cbosticco 549] XML Parsed XML from (in memory stream): 4ms 
          2014-10-16 17:29:31,142 DEBUG [cbosticco 549] ISCKeyedObjectPool Borrowing object for 'transaction' 
          2014-10-16 17:29:31,160 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource null of type 'transaction' in the pooling flow 
          2014-10-16 17:29:31,160 DEBUG [cbosticco 549] ISCKeyedObjectPool Borrowing object for 'Object' 
          2014-10-16 17:29:31,160 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource 1297 of type 'Object' and assigned it to thread http-bio-8443-exec-138 
          2014-10-16 17:29:31,160 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource 1297 of type 'Object' in the pooling flow 
          2014-10-16 17:29:31,160 DEBUG [cbosticco 549] PoolableDataSourceFactory Activated DataSource 1297 of type 'Object' 
          2014-10-16 17:29:31,161 INFO  [cbosticco 549] Download done streaming: /usr/local/tomcat/apache-tomcat-7.0.40/webapps/Legend##0549/isomorphic/skins/Graphite/images/DynamicForm/unchecked.png 
          2014-10-16 17:29:31,165 INFO  [cbosticco 549] Download done streaming: /usr/local/tomcat/apache-tomcat-7.0.40/webapps/Legend##0549/isomorphic/skins/Graphite/images/Splitbar/vsplit_snap.png 
          2014-10-16 17:29:31,170 INFO  [cbosticco 549] Download done streaming: /usr/local/tomcat/apache-tomcat-7.0.40/webapps/Legend##0549/isomorphic/skins/Graphite/images/Splitbar/hsplit_snap.png 
          2014-10-16 17:29:31,171 INFO  [cbosticco 549] Download done streaming: /usr/local/tomcat/apache-tomcat-7.0.40/webapps/Legend##0549/isomorphic/skins/Graphite/images/DynamicForm/checked.png 
          2014-10-16 17:29:31,175 DEBUG [cbosticco 549] ISCKeyedObjectPool Borrowing object for 'List' 
          2014-10-16 17:29:31,185 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource 1298 of type 'List' and assigned it to thread http-bio-8443-exec-138 
          2014-10-16 17:29:31,185 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource 1298 of type 'List' in the pooling flow 
          2014-10-16 17:29:31,185 DEBUG [cbosticco 549] PoolableDataSourceFactory Activated DataSource 1298 of type 'List' 
          2014-10-16 17:29:31,185 DEBUG [cbosticco 549] ISCKeyedObjectPool Borrowing object for 'elem' 
          2014-10-16 17:29:31,186 DEBUG [cbosticco 549] PoolableDataSourceFactory Created DataSource null of type 'elem' in the pooling flow 
          2014-10-16 17:29:31,186 DEBUG [cbosticco 549] RPCManager Processing 1 requests. 
          2014-10-16 17:29:31,186 DEBUG [cbosticco 549] RPCManager Request #1 (RPCRequest) data: {
              appID:"isc_builtin",
              className:"builtin",
              methodName:"areServerTimingsTracked",
              arguments:[
              ],
              is_ISC_RPC_DMI:true
          } 
          2014-10-16 17:29:31,205 DEBUG [cbosticco 549] RPCDMI appConfig: isc.Application.create({
              rpcBindings:[
                  {
                      ID:"builtin",
                      className:"com.isomorphic.rpc.BuiltinRPC",
                      visibleMethods:[
                          {
                              name:"downloadWSDL"
                          },
                          {
                              name:"downloadClientContent"
                          },
                          {
                              name:"downloadClientExport"
                          },
                          {
                              name:"xmlToJS"
                          },
                          {
                              name:"uploadProgressCheck"
                          },
                          {
                              name:"saveFile"
                          },
                          {
                              name:"appendToFile"
                          },
                          {
                              name:"loadFile"
                          },
                          {
                              name:"deleteFile"
                          },
                          {
                              name:"loadSharedXML"
                          },
                          {
                              name:"saveSharedXML"
                          },
                          {
                              name:"getAvailableScriptEngines"
                          },
                          {
                              name:"devConsoleEvalServerScript"
                          },
                          {
                              name:"evalJava"
                          },
                          {
                              name:"getLogNames"
                          },
                          {
                              name:"getLogEntries"
                          },
                          {
                              name:"clearLogEntries"
                          },
                          {
                              name:"getLogThresholds"
                          },
                          {
                              name:"setLogThreshold"
                          },
                          {
                              name:"setTemporaryLogThreshold"
                          },
                          {
                              name:"revertTemporaryLogThresholds"
                          },
                          {
                              name:"getPdfObject"
                          },
                          {
                              name:"exportImage"
                          },
                          {
                              name:"areServerTimingsTracked"
                          },
                          {
                              name:"trackServerTimings"
                          }
                      ]
                  },
                  {
                      ID:"builtin_tools",
                      className:"com.isomorphic.tools.BuiltinRPC",
                      visibleMethods:[
                          {
                              name:"getDataSourceFromTable"
                          },
                          {
                              name:"getDataSourceJSONFromTable"
                          },
                          {
                              name:"getDataSourceFromHibernateMapping"
                          },
                          {
                              name:"getDataSourceJSONFromHibernateMapping"
                          },
                          {
                              name:"getTables"
                          },
                          {
                              name:"getFieldsFromTable"
                          },
                          {
                              name:"getBeanFields"
                          },
                          {
                              name:"getHibernateBeans"
                          },
                          {
                              name:"getDatabaseProductNameAndVersion"
                          },
                          {
                              name:"getDatabaseTableTypes"
                          },
                          {
                              name:"setAttributes"
                          },
                          {
                              name:"clearAttributes"
                          },
                          {
                              name:"getAttributes"
                          },
                          {
                              name:"getAttribute"
                          },
                          {
                              name:"getDataSourceConfigFromJavaClass"
                          },
                          {
                              args:"cName",
                              language:"groovy",
                              name:"getJavaSource",
                              script:"\n                    if (!com.isomorphic.auth.DevModeAuthFilter.devModeAuthorized(request)) throw new Exception(\"Not Authorized\");                    \n                    //import org.apache.bcel.Repository;\n\n                    try {\n                        return org.apache.bcel.Repository.lookupClass(cName).toString();\n                    } catch (Throwable e) {\n                        return \"Unable to reverse engineer class \"+cName+\": \"+e.getMessage();\n                    }\n                "
                          },
                          {
                              name:"loadDataSource"
                          },
                          {
                              name:"dsFromXML"
                          },
                          {
                              name:"dsConfigFromXML"
                          },
                          {
                              name:"getDefinedDataSources"
                          }
                      ]
                  },
                  {
                      ID:"builtin_adminconsole",
                      className:"com.isomorphic.tools.AdminConsole",
                      visibleMethods:[
                          {
                              name:"getDefinedDatabases"
                          },
                          {
                              name:"testDB"
                          },
                          {
                              name:"saveDBConfig"
                          },
                          {
                              name:"setDefaultDB"
                          },
                          {
                              name:"importDataSources"
                          },
                          {
                              name:"discoverJNDIDatabases"
                          }
                      ]
                  }
              ]
          })
           
          2014-10-16 17:29:31,225 DEBUG [cbosticco 549] RPCDMI rpc returned RPCResponse 
          2014-10-16 17:29:31,225 DEBUG [cbosticco 549] RPCManager Content type for RPC transaction: text/plain; charset=UTF-8 
          2014-10-16 17:29:31,226 INFO  [cbosticco 549] Compression /Legend/tools/developerConsoleOperations.jsp: 89 -> 78 bytes
          Any hints?

          Comment


            #6
            I must add that after the remote debug fail, realtime messaging stopped working:
            Code:
            2014-10-16 17:44:16,229 DEBUG [cbosticco 549] DataSourceDMI Invocation threw exception 
            javax.naming.NameNotFoundException: Name [A1825CC4-9991-4A92-912B-0E12ED80484B] is not bound in this Context. Unable to find [A1825CC4-9991-4A92-912B-0E12ED80484B].
            	at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
            	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
            	at com.isomorphic.messaging.JMSMessageDispatcher.bindToChannel(JMSMessageDispatcher.java:115)
            	at com.isomorphic.messaging.JMSMessageDispatcher.reconnect(JMSMessageDispatcher.java:97)
            	at com.isomorphic.messaging.JMSMessageDispatcher.ensureConnected(JMSMessageDispatcher.java:103)
            	at com.isomorphic.messaging.JMSMessageDispatcher.deliver(JMSMessageDispatcher.java:206)
            	at com.isomorphic.messaging.ISCMessageDispatcher.send(ISCMessageDispatcher.java:286)
            	at com.juve.legend.ordini.NuovoOrdineDMI.pushAddOrdine(NuovoOrdineDMI.java:96)
            	at com.juve.legend.ordini.NuovoOrdineDMI.nuovoOrdine(NuovoOrdineDMI.java:89)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            	at java.lang.reflect.Method.invoke(Method.java:597)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
            	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
            	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
            	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2539)
            	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:213)
            	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:178)
            	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:142)
            	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:77)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
            	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.juve.utils.Log4jSessionFilter.doFilter(Log4jSessionFilter.java:66)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
            	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
            	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:178)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:92)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:110)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:110)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:170)
            	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:238)
            	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:168)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
            	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:242)
            	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:77)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:89)
            	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)
            	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:124)
            	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:473)
            	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
            	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:101)
            	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:954)
            	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:120)
            	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
            	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
            	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
            	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
            	at java.lang.Thread.run(Thread.java:662)
            2014-10-16 17:44:16,241 DEBUG [cbosticco 549] DSRequest freeOnExecute is false for request of type add on DataSource LEG_ORDINE - not freeing resources! 
            2014-10-16 17:44:16,251 WARN  [cbosticco 549] RequestContext dsRequest.execute() failed:  
            javax.naming.NameNotFoundException: Name [A1825CC4-9991-4A92-912B-0E12ED80484B] is not bound in this Context. Unable to find [A1825CC4-9991-4A92-912B-0E12ED80484B].
            	at org.apache.naming.NamingContext.lookup(NamingContext.java:820)
            	at org.apache.naming.NamingContext.lookup(NamingContext.java:168)
            	at com.isomorphic.messaging.JMSMessageDispatcher.bindToChannel(JMSMessageDispatcher.java:115)
            	at com.isomorphic.messaging.JMSMessageDispatcher.reconnect(JMSMessageDispatcher.java:97)
            	at com.isomorphic.messaging.JMSMessageDispatcher.ensureConnected(JMSMessageDispatcher.java:103)
            	at com.isomorphic.messaging.JMSMessageDispatcher.deliver(JMSMessageDispatcher.java:206)
            	at com.isomorphic.messaging.ISCMessageDispatcher.send(ISCMessageDispatcher.java:286)
            	at com.juve.legend.ordini.NuovoOrdineDMI.pushAddOrdine(NuovoOrdineDMI.java:96)
            	at com.juve.legend.ordini.NuovoOrdineDMI.nuovoOrdine(NuovoOrdineDMI.java:89)
            	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            	at java.lang.reflect.Method.invoke(Method.java:597)
            	at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:975)
            	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:416)
            	at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
            	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:2539)
            	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:213)
            	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:178)
            	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:142)
            	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:77)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
            	at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:156)
            	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:202)
            	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:181)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.juve.utils.Log4jSessionFilter.doFilter(Log4jSessionFilter.java:66)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
            	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
            	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:55)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:36)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:178)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:92)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:189)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:106)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:110)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.access.channel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:110)
            	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
            	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:170)
            	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:238)
            	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:168)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.isomorphic.servlet.CompressionFilter._doFilter(CompressionFilter.java:260)
            	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at com.isomorphic.js.JSSyntaxScannerFilter._doFilter(JSSyntaxScannerFilter.java:242)
            	at com.isomorphic.servlet.BaseFilter.doFilter(BaseFilter.java:83)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:77)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:89)
            	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
            	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
            	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
            	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)
            	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:124)
            	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:473)
            	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
            	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:101)
            	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:954)
            	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:120)
            	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
            	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)
            	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
            	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
            	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919)
            	at java.lang.Thread.run(Thread.java:662)
            note that my code fails here:
            Code:
                    ISCMessageDispatcher dispatcher = ISCMessageDispatcher.instance();
                    dispatcher.send(new ISCMessage("jms/addOrdineChannel", dsResponse.getDataList()));
            So I don't understand why it's complaining about name 'Name [A1825CC4-9991-4A92-912B-0E12ED80484B]'
            Last edited by claudiobosticco; 16 Oct 2014, 07:53.

            Comment


              #7
              SmartClient Version: v10.0p_2014-10-28/EVAL Deployment (expires 2014.12.27_08.11.04) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

              Hello, an update on this issue. The remote debug feature IS working on my local deployment with messaging configured in 'simple mode', this is the configuration I've got in server.properties:
              Code:
              messaging.keepaliveInterval: 3000
              messaging.keepaliveReestablishDelay: 1000
              messaging.connectTimeout: 4000
              messaging.connectionTTL: 120000
              messaging.flushBufferSize: 8096
              messaging.dispatcherImplementer: com.isomorphic.messaging.LocalMessageDispatcher
              messaging.jms.context: _container_
              messaging.jms.topicConnectionFactory: jms/TopicConnectionFactory
              messaging.jms.jndiPrefix:
              with this configuration, the messaging works within my webapp, and the remote debug is working too. So far so good.

              But, when I switch to the 'Enterprise mode', using a standalone activeMQ broker, I've got the previously described behavior: the messaging within my webapp is working, but remote debug isn't (I've got the <Messaging endpoint not responding - remote debugging unavailable. To fix, make sure you have correctly registered the Messaging servlet in your web.xml
              > message logged).
              And, after trying to enable remote debug, messaging within my webapp stops working.

              In my 'enterprise mode' config, the server.properties contains:
              Code:
              messaging.keepaliveInterval: 3000
              messaging.keepaliveReestablishDelay: 1000
              messaging.connectTimeout: 4000
              messaging.connectionTTL: 120000
              messaging.flushBufferSize: 8096
              messaging.dispatcherImplementer: com.isomorphic.messaging.JMSMessageDispatcher
              messaging.jms.context: _container_
              messaging.jms.topicConnectionFactory: jms/ConnectionFactory
              messaging.jms.jndiPrefix:
              
              jndi.messaging.java.naming.factory.initial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
              jndi.messaging.java.naming.provider.url: tcp://svjuve11.juventus.priv:61616
              the 'broker' resource configuration:
              Code:
              <Resource auth="Container"
               name="jms/ConnectionFactory"
               type="org.apache.activemq.ActiveMQConnectionFactory"
               description="JMS Connection Factory"
               factory="org.apache.activemq.jndi.JNDIReferenceFactory"
               brokerURL="tcp://svjuve11.juventus.priv:61616"
               brokerName="svjuve11"/>
              Any hints?

              Comment


                #8
                We are trying to reproduce and fix. The JNDI names you're referring to (e.g. "A1825CC4-9991-4A92-912B-0E12ED80484B") are random unique identifiers generated and assigned by the remote debug feature.

                The remote debug feature is definitely not intended to be limited to in-memory messaging...

                Thanks for all the clear info on this.

                Comment


                  #9
                  Ok, reproduced and fixed (patch will be in the Nov 4 build). The following configuration should work for you with JMS+Enterprise+Remote Debugging with the stock message dispatcher:

                  Code:
                  messaging.keepaliveInterval: 3000
                  messaging.keepaliveReestablishDelay: 1000
                  messaging.connectTimeout: 4000
                  messaging.connectionTTL: 120000
                  messaging.flushBufferSize: 8096
                  messaging.dispatcherImplementer: com.isomorphic.messaging.JMSMessageDispatcher
                  messaging.jms.context: messaging
                  
                  jndi.messaging.java.naming.factory.initial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
                  jndi.messaging.java.naming.provider.url: tcp://svjuve11.juventus.priv:61616

                  Comment


                    #10
                    Hello, I'm testing SmartClient Version: v10.0p_2014-11-04/EVAL Deployment (expires 2015.01.03_18.46.24) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

                    Actually the only difference in the configuration you're suggesting respect to my previous conf is:
                    Code:
                    messaging.jms.context: messaging
                    instead of what I was using:
                    Code:
                    messaging.jms.context: _container_
                    But with 'messaging.jms.context: messaging' the realTime messaging doesn't work.
                    This is what is logging server side

                    Code:
                    2014-11-05 12:39:52,233 DEBUG RPCManager Request #1 (DSRequest) payload: {
                        appID:"builtinApplication",
                        operation:"messagingSend",
                        values:{
                            type:"send",
                            sendToChannels:[
                                "jms/updateOrdineChannel"
                            ],
                            subscribedChannels:{
                                "37C83AC6-D2DB-4D8C-BF98-67C2D0140BBD":{
                                },
                                isc_DebugTarget:{
                                },
                                "jms/removeOrdineChannel":{
                                },
                                "jms/updateOrdineChannel":{
                                },
                                "jms/addOrdineChannel":{
                                },
                                "jms/removeParkDisponibiliGridChannel":{
                                },
                                "jms/addParkDisponibiliGridChannel":{
                                }
                            },
                            data:[
                                {
                                    TOTALE_RIGHE_SCONTATO:300,
                                    TIPO_PAGAMENTO:"CC",
                                    QTA_POSTI:2,
                                    SUM_SCONTO_RIGHE:0,
                                    ARCHIVIATO_PER_STATS:false,
                                    FL_CONS_COM_DATI_TERZI:true,
                                    IS_NUOVA_VENDITA:true,
                                    ID_STATO_CONTRATTO_FK:495229,
                                    BIGLIETTI_EMESSI:false,
                                    FL_CONS_TRATT_DATI_PERS:true,
                                    CREATOR:"xxxxx",
                                    DATE_CREATOR:new Date(1414398745000),
                                    VALORE_SERVIZI_LORDO:180,
                                    ACCOUNT:"yyyyy",
                                    TRIBUNE:"LCN",
                                    CONTRATTO_NUM:9039,
                                    IS_FATTURATO:false,
                                    NUMERO_INTESTATARI_VALORIZZATI:0,
                                    FLAG_BIGLIETTI_EMESSI:"NONE",
                                    DATA_STAMPA_SCHEDA:new Date(1414401005000),
                                    FLAG_POSTI_ASSEGNATI:"NONE",
                                    INCASSATO:"T",
                                    FL_DATI_DEFINITIVI:false,
                                    TIPO_CARTA:"mastercard",
                                    IS_CLIENTE_JPC:true,
                                    STAGIONE:"2014/2015",
                                    FATT_DA_COMPENSARE:false,
                                    TIPO_SOGGETTO_CODICE:"PF",
                                    DATA_INIZIO_EVENTO:new Date(1417366800000),
                                    EMAIL_TIPO:"pippo@foo.it",
                                    NUM_CARTA_CREDITO:"1234454656647",
                                    SCADENZA_CARTA_MMAA:"1015",
                                    ID_ANAGRAFICA_CLIENTI_FK:540506,
                                    UPGRADE_WIP:false,
                                    VALORE_BIGLIETTO:300,
                                    TIPO:"LEG",
                                    ID_REC:821078,
                                    VALORE_ORDINE:600,
                                    SERVIZI_NETTI:180,
                                    FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                                    NUM_POSTI:1,
                                    ordineNatoDaBackoffice:false,
                                    IS_ANNULLATO:false,
                                    PARTITA:"Juventus - Torino",
                                    VALORE_ORDINE_SCONTATO:600,
                                    VALORE_TICKETING_PER_POSTI:420,
                                    EMAIL:"pippo@yup.it",
                                    VALORE_CONTRATTO_SCONTATO:300,
                                    NUM_RIGHE_NON_CONFERMATE:0,
                                    VALORE_CONTRATTO:300,
                                    RITIRO_ACCREDITI:"STADIO",
                                    CONTABILITA_CLIENTE_CODE:"C10658",
                                    STATO_CONTRATTO:"INC",
                                    NOMINATIVI_COMPLETI:false,
                                    IS_INCASSATO:true,
                                    ID_EVENTO_FK:765268,
                                    TIPO_SOGGETTO:"Persona Fisica",
                                    IS_WAITNG_LIST:false,
                                    STATO_CONTRATTO_DESC:"Incassata",
                                    ID_STAGIONI_FK:579086,
                                    ACCOUNT_MOD:"cbosticco",
                                    DATE_MOD:new Date(1414752715000),
                                    VALORE_TICKETING:210
                                }
                            ]
                        },
                        criteria:{
                        }
                    }
                    2014-11-05 12:39:52,233 INFO  IDACall Performing 1 operation(s)
                    2014-11-05 12:39:52,233 INFO  AppBase [builtinApplication.messagingSend] Invoking custom app operation method '_messagingSend'
                    2014-11-05 12:39:52,265 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/removeOrdineChannel
                    2014-11-05 12:39:52,276 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: CF4C23A0-A0EC-4139-B39E-B6AE8EFD9FC5
                    2014-11-05 12:39:52,286 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/addOrdineChannel
                    2014-11-05 12:39:52,295 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/removeParkDisponibiliGridChannel
                    2014-11-05 12:39:52,304 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/addParkDisponibiliGridChannel
                    2014-11-05 12:39:52,313 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: isc_DebugTarget
                    2014-11-05 12:39:52,323 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: isc_DebugMaster
                    2014-11-05 12:39:52,334 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/updateOrdineChannel
                    2014-11-05 12:39:52,343 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: 37C83AC6-D2DB-4D8C-BF98-67C2D0140BBD
                    2014-11-05 12:39:52,352 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: 19F7D96D-3014-4164-8D07-1A498F1D6BD6
                    2014-11-05 12:39:52,356 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Queue' is being used by the channel: jms/updateOrdineChannel
                    2014-11-05 12:39:52,367 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] Delivered message to JMS (Queue)
                    2014-11-05 12:39:52,403 DEBUG RPCManager Content type for RPC transaction: text/plain; charset=UTF-8
                    2014-11-05 12:39:52,404 INFO  Compression /Legend/isomorphic/IDACall: 156 -> 140 bytes
                    it says 'Delivered message to JMS (Queue)' but my callback is never called. If I switch to 'container' the realtime messaging starts working.

                    What's the purpose of this 'messaging.jms.context: messaging' setting? It isn't mentioned in the Messaging_QuickRef.

                    Also the remote debug isn't working...the only difference is that I don't have the 'remote debugging unavailable' log in the dev console.
                    Last edited by claudiobosticco; 21 Oct 2017, 00:30.

                    Comment


                      #11
                      same results with
                      SmartClient Version: v10.0p_2014-11-05/EVAL Deployment (expires 2015.01.04_07.38.27) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

                      Comment


                        #12
                        Couple of things:

                        1. This setting:

                        Code:
                        messaging.jms.context: messaging
                        Is not actually the only difference to your original config - I also removed these lines:

                        Code:
                        messaging.jms.topicConnectionFactory: jms/ConnectionFactory
                        messaging.jms.jndiPrefix:
                        2. The 'messaging' context in this config line:

                        Code:
                        messaging.jms.context: messaging
                        instructs the JMS stack to use these configuration params:

                        Code:
                        jndi.messaging.java.naming.factory.initial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
                        jndi.messaging.java.naming.provider.url: tcp://svjuve11.juventus.priv:61616
                        But - I'm surprised there is still a problem with this...actually the _container_ approach worked for me even before we made any changes - it was just the enterprise JMS configuration that had problems. You don't see any error messages at all in your logs? No Exceptions?

                        Comment


                          #13
                          Originally posted by Isomorphic View Post
                          Couple of things:

                          1. This setting:

                          Code:
                          messaging.jms.context: messaging
                          Is not actually the only difference to your original config - I also removed these lines:

                          Code:
                          messaging.jms.topicConnectionFactory: jms/ConnectionFactory
                          messaging.jms.jndiPrefix:
                          ok, but if I exclude them, then the realtime messaging stops working with this message in the tomcat's log:
                          Code:
                          2014-11-11 11:46:43,619 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] Unable to find the context defined in 'jndiPrefix': jms
                          Originally posted by Isomorphic View Post
                          2. The 'messaging' context in this config line:

                          Code:
                          messaging.jms.context: messaging
                          instructs the JMS stack to use these configuration params:

                          Code:
                          jndi.messaging.java.naming.factory.initial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
                          jndi.messaging.java.naming.provider.url: tcp://svjuve11.juventus.priv:61616
                          thanks for the clarification, so those settings:
                          Code:
                          jndi.messaging.java.naming.factory.initial: org.apache.activemq.jndi.ActiveMQInitialContextFactory
                          jndi.messaging.java.naming.provider.url: tcp://hostname:61616
                          are ignored when using:
                          Code:
                          messaging.jms.context: _container_
                          actually it's clear after re-reading the docs, but originally I copied them from https://isomorphic.atlassian.net/wik...t+and+ActiveMQ

                          Originally posted by Isomorphic View Post
                          But - I'm surprised there is still a problem with this...actually the _container_ approach worked for me even before we made any changes - it was just the enterprise JMS configuration that had problems. You don't see any error messages at all in your logs? No Exceptions?
                          I need to ask a clarification, maybe I didn't understand the meaning of this sentence:
                          the _container_ approach worked for me even before [cut] it was just the enterprise JMS configuration that had problems
                          isn't the 'messaging.dispatcherImplementer' which determines the 'Enterprise mode' vs 'Simple mode' ?

                          I thought that my original configuration, without those ignored jndi.messaging... settings:
                          Code:
                          messaging.keepaliveInterval: 3000
                          messaging.keepaliveReestablishDelay: 1000
                          messaging.connectTimeout: 4000
                          messaging.connectionTTL: 120000
                          messaging.flushBufferSize: 8096
                          messaging.dispatcherImplementer: com.isomorphic.messaging.JMSMessageDispatcher
                          messaging.jms.context: _container_
                          messaging.jms.topicConnectionFactory: jms/ConnectionFactory
                          messaging.jms.jndiPrefix:
                          really IS what you call 'Enterprise Mode', isn't it?

                          (I'll write another post to reply to your question, for clarity)

                          Comment


                            #14
                            Originally posted by Isomorphic View Post
                            But - I'm surprised there is still a problem with this...actually the _container_ approach worked for me even before we made any changes - it was just the enterprise JMS configuration that had problems. You don't see any error messages at all in your logs? No Exceptions?
                            SmartClient Version: v10.0p_2014-11-11/EVAL Deployment (expires 2015.01.10_07.38.05) Licensed to: Isomorphic Software (#ISC_EVAL_NIGHTLY)

                            Now I'm testing with this configuration (without jndi.messaging... properties):
                            Code:
                            messaging.keepaliveInterval: 3000
                            messaging.keepaliveReestablishDelay: 1000
                            messaging.connectTimeout: 4000
                            messaging.connectionTTL: 120000
                            messaging.flushBufferSize: 8096
                            messaging.dispatcherImplementer: com.isomorphic.messaging.JMSMessageDispatcher
                            messaging.jms.context: _container_
                            messaging.jms.topicConnectionFactory: jms/ConnectionFactory
                            messaging.jms.jndiPrefix:
                            The resource is defined like this:
                            Code:
                            <Resource auth="Container"
                                            name="jms/ConnectionFactory"
                                            type="org.apache.activemq.ActiveMQConnectionFactory"
                                            description="JMS Connection Factory"
                                            factory="org.apache.activemq.jndi.JNDIReferenceFactory"
                                            brokerURL="tcp://svjuve11.juventus.priv:61616"
                                            brokerName="svjuve11"/>
                            and the channel like that:
                            Code:
                                <Resource auth="Container"
                                          name="jms/updateOrdineChannel"
                                          type="org.apache.activemq.command.ActiveMQTopic"
                                          description="JMS Topic"
                                          factory="org.apache.activemq.jndi.JNDIReferenceFactory"
                                          physicalName="updateOrdineChannel"/>
                            the realtime messaging is working, this are the logs:
                            Code:
                            2014-11-11 14:19:45,268 DEBUG RPCManager Processing 1 requests.
                            2014-11-11 14:19:45,270 DEBUG RPCManager Request #1 (DSRequest) payload: {
                                appID:"builtinApplication",
                                operation:"messagingSend",
                                values:{
                                    type:"send",
                                    sendToChannels:[
                                        "jms/updateOrdineChannel"
                                    ],
                                    subscribedChannels:{
                                        "jms/removeOrdineChannel":{
                                        },
                                        "jms/updateOrdineChannel":{
                                        },
                                        "jms/addOrdineChannel":{
                                        },
                                        "jms/removeParkDisponibiliGridChannel":{
                                        },
                                        "jms/addParkDisponibiliGridChannel":{
                                        }
                                    },
                                    data:[
                                        {
                                            TOTALE_RIGHE_SCONTATO:2400,
                                            TIPO_PAGAMENTO:"CC",
                                            QTA_POSTI:2,
                                            SUM_SCONTO_RIGHE:0,
                                            ARCHIVIATO_PER_STATS:false,
                                            FL_CONS_COM_DATI_TERZI:true,
                                            IS_NUOVA_VENDITA:true,
                                            ID_STATO_CONTRATTO_FK:495229,
                                            BIGLIETTI_EMESSI:false,
                                            FL_CONS_TRATT_DATI_PERS:true,
                                            CREATOR:"erthfggh",
                                            DATE_CREATOR:new Date(1414398745000),
                                            VALORE_SERVIZI_LORDO:180,
                                            ACCOUNT:"fjhghg",
                                            TRIBUNE:"LCN",
                                            CONTRATTO_NUM:9039,
                                            IS_FATTURATO:false,
                                            NUMERO_INTESTATARI_VALORIZZATI:0,
                                            FLAG_BIGLIETTI_EMESSI:"NONE",
                                            DATA_STAMPA_SCHEDA:new Date(1414401005000),
                                            FLAG_POSTI_ASSEGNATI:"NONE",
                                            INCASSATO:"T",
                                            FL_DATI_DEFINITIVI:false,
                                            TIPO_CARTA:"mastercard",
                                            IS_CLIENTE_JPC:true,
                                            STAGIONE:"2014/2015",
                                            FATT_DA_COMPENSARE:false,
                                            TIPO_SOGGETTO_CODICE:"PF",
                                            NOME_INTEST:"sdfgf francesco",
                                            COGNOME_INTEST:"vinefgdhdfhlla",
                                            DATA_INIZIO_EVENTO:new Date(1417366800000),
                                            NUM_CARTA_CREDITO:"5436747568567",
                                            SCADENZA_CARTA_MMAA:"1015",
                                            EMAIL_REF_COMM:"g.pippo@fgdhgfhd.it",
                                            ID_ANAGRAFICA_CLIENTI_FK:545463,
                                            UPGRADE_WIP:false,
                                            VALORE_BIGLIETTO:300,
                                            TIPO:"LEG",
                                            ID_REC:821078,
                                            VALORE_ORDINE:600,
                                            SERVIZI_NETTI:180,
                                            FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                                            NUM_POSTI:8,
                                            ordineNatoDaBackoffice:false,
                                            IS_ANNULLATO:false,
                                            SOGGETTO_DESC:"dfghdfghdf dfghdfgh Francesco",
                                            PARTITA:"Juventus - Torino",
                                            VALORE_ORDINE_SCONTATO:600,
                                            VALORE_TICKETING_PER_POSTI:420,
                                            VALORE_CONTRATTO_SCONTATO:2400,
                                            NUM_RIGHE_NON_CONFERMATE:0,
                                            VALORE_CONTRATTO:2400,
                                            RITIRO_ACCREDITI:"STADIO",
                                            CONTABILITA_CLIENTE_CODE:"C09299",
                                            STATO_CONTRATTO:"INC",
                                            NOMINATIVI_COMPLETI:false,
                                            IS_INCASSATO:true,
                                            ID_EVENTO_FK:765268,
                                            TIPO_SOGGETTO:"Persona Fisica",
                                            IS_WAITNG_LIST:false,
                                            STATO_CONTRATTO_DESC:"Incassata",
                                            ID_STAGIONI_FK:579086,
                                            ACCOUNT_MOD:"cbosticco",
                                            DATE_MOD:new Date(1415370851000),
                                            VALORE_TICKETING:210
                                        }
                                    ]
                                },
                                criteria:{
                                }
                            }
                            2014-11-11 14:19:45,270 INFO  IDACall Performing 1 operation(s)
                            2014-11-11 14:19:45,270 INFO  AppBase [builtinApplication.messagingSend] Invoking custom app operation method '_messagingSend'
                            2014-11-11 14:19:45,321 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] Delivered message to JMS (Topic)
                            2014-11-11 14:19:45,325 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                            2014-11-11 14:19:45,325 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                            2014-11-11 14:19:45,326 DEBUG RPCManager Content type for RPC transaction: text/plain; charset=UTF-8
                            2014-11-11 14:19:45,327 INFO  Compression /Legend/isomorphic/IDACall: 156 -> 140 bytes
                            2014-11-11 14:19:45,332 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TOTALE_RIGHE_SCONTATO=2400, TIPO_PAGAMENTO=CC, QTA_POSTI=2, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=true, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495229, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=true, CREATOR=dfghdfh, DATE_CREATOR=Mon Oct 27 09:32:25 CET 2014, VALORE_SERVIZI_LORDO=180, ACCOUNT=dgfhd, TRIBUNE=LCN, CONTRATTO_NUM=9039,IS_FATTURATO=false, NUMERO_INTESTATARI_VALORIZZATI=0, FLAG_BIGLIETTI_EMESSI=NONE, DATA_STAMPA_SCHEDA=Mon Oct 27 10:10:05 CET 2014, FLAG_POSTI_ASSEGNATI=NONE, INCASSATO=T, FL_DATI_DEFINITIVI=false, TIPO_CARTA=mastercard, IS_CLIENTE_JPC=true, STAGIONE=2014/2015, FATT_DA_COMPENSARE=false, TIPO_SOGGETTO_CODICE=PF, NOME_INTEST=giuseppe hghjfgjh, COGNOME_INTEST=fghjfhgfghj, DATA_INIZIO_EVENTO=Sun Nov 30 18:00:00 CET 2014, NUM_CARTA_CREDITO=45678658, SCADENZA_CARTA_MMAA=1015, EMAIL_REF_COMM=g.cvbv@dghfgf.it, ID_ANAGRAFICA_CLIENTI_FK=545463, UPGRADE_WIP=false, VALORE_BIGLIETTO=300, TIPO=LEG, ID_REC=821078, VALORE_ORDINE=600, SERVIZI_NETTI=180, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=8, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, SOGGETTO_DESC=hgfjhgh fgjhjg Francesco, PARTITA=Juventus - Torino, VALORE_ORDINE_SCONTATO=600, VALORE_TICKETING_PER_POSTI=420, VALORE_CONTRATTO_SCONTATO=2400, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=2400, RITIRO_ACCREDITI=STADIO, CONTABILITA_CLIENTE_CODE=C09299, STATO_CONTRATTO=INC, NOMINATIVI_COMPLETI=false, IS_INCASSATO=true, ID_EVENTO_FK=765268, TIPO_SOGGETTO=Persona Fisica, IS_WAITNG_LIST=false, STATO_CONTRATTO_DESC=Incassata, ID_STAGIONI_FK=579086, ACCOUNT_MOD=cbosticco, DATE_MOD=Fri Nov 07 15:34:11 CET 2014, VALORE_TICKETING=210}]
                            2014-11-11 14:19:45,332 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TOTALE_RIGHE_SCONTATO=2400, TIPO_PAGAMENTO=CC, QTA_POSTI=2, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=true, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495229, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=true, CREATOR=fghjghjfjgf, DATE_CREATOR=Mon Oct 27 09:32:25 CET 2014, VALORE_SERVIZI_LORDO=180, ACCOUNT=fghjghj,  TRIBUNE=LCN, CONTRATTO_NUM=9039,  IS_FATTURATO=false, NUMERO_INTESTATARI_VALORIZZATI=0, FLAG_BIGLIETTI_EMESSI=NONE, DATA_STAMPA_SCHEDA=Mon Oct 27 10:10:05 CET 2014, FLAG_POSTI_ASSEGNATI=NONE, INCASSATO=T, FL_DATI_DEFINITIVI=false, TIPO_CARTA=mastercard, IS_CLIENTE_JPC=true, STAGIONE=2014/2015, FATT_DA_COMPENSARE=false,  TIPO_SOGGETTO_CODICE=PF, NOME_INTEST=giuseppe fghj, COGNOME_INTEST=gfhhjfhh,  DATA_INIZIO_EVENTO=Sun Nov 30 18:00:00 CET 2014, NUM_CARTA_CREDITO=4567567457, SCADENZA_CARTA_MMAA=1015, EMAIL_REF_COMM=g.fgjhjf@fgjh.it, ID_ANAGRAFICA_CLIENTI_FK=545463, UPGRADE_WIP=false, VALORE_BIGLIETTO=300, TIPO=LEG, ID_REC=821078, VALORE_ORDINE=600, SERVIZI_NETTI=180, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=8, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, SOGGETTO_DESC=ghfjfjfg Giuseppe ghfjgf, PARTITA=Juventus - Torino, VALORE_ORDINE_SCONTATO=600, VALORE_TICKETING_PER_POSTI=420, VALORE_CONTRATTO_SCONTATO=2400, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=2400, RITIRO_ACCREDITI=STADIO, CONTABILITA_CLIENTE_CODE=C09299, STATO_CONTRATTO=INC, NOMINATIVI_COMPLETI=false, IS_INCASSATO=true, ID_EVENTO_FK=765268, TIPO_SOGGETTO=Persona Fisica, IS_WAITNG_LIST=false, STATO_CONTRATTO_DESC=Incassata, ID_STAGIONI_FK=579086, ACCOUNT_MOD=cbosticco, DATE_MOD=Fri Nov 07 15:34:11 CET 2014, VALORE_TICKETING=210}]
                            2014-11-11 14:19:45,332 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                            2014-11-11 14:19:45,332 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                            strange thing is those double logs:
                            Code:
                            sending message to channel: jms/updateOrdineChannel
                            but my callback is called only once.

                            remote debug doesn't work, but realtime messaging continue to function properly after trying to activate remote debug, with this logs:
                            Code:
                            2014-11-11 14:32:16,159 DEBUG RPCManager Processing 1 requests.
                            2014-11-11 14:32:16,160 DEBUG RPCManager Request #1 (DSRequest) payload: {
                                appID:"builtinApplication",
                                operation:"messagingSend",
                                values:{
                                    type:"send",
                                    sendToChannels:[
                                        "jms/updateOrdineChannel"
                                    ],
                                    subscribedChannels:{
                                        "8350FE84-00FA-4542-9528-DF79805BE281":{
                                        },
                                        isc_DebugTarget:{
                                        },
                                        "jms/removeOrdineChannel":{
                                        },
                                        "jms/updateOrdineChannel":{
                                        },
                                        "jms/addOrdineChannel":{
                                        },
                                        "jms/removeParkDisponibiliGridChannel":{
                                        },
                                        "jms/addParkDisponibiliGridChannel":{
                                        }
                                    },
                                    data:[
                                        {
                                            TOTALE_RIGHE_SCONTATO:4200,
                                            TIPO_PAGAMENTO:"CC",
                                            QTA_POSTI:2,
                                            SUM_SCONTO_RIGHE:0,
                                            ARCHIVIATO_PER_STATS:false,
                                            FL_CONS_COM_DATI_TERZI:true,
                                            IS_NUOVA_VENDITA:true,
                                            ID_STATO_CONTRATTO_FK:495229,
                                            BIGLIETTI_EMESSI:false,
                                            FL_CONS_TRATT_DATI_PERS:true,
                                            CREATOR:"ffghjfghj",
                                            DATE_CREATOR:new Date(1414398745000),
                                            VALORE_SERVIZI_LORDO:180,
                                            ACCOUNT:"fghjfg",
                                            TRIBUNE:"LCN",
                                            CONTRATTO_NUM:9039,
                                            IS_FATTURATO:false,
                                            NUMERO_INTESTATARI_VALORIZZATI:0,
                                            FLAG_BIGLIETTI_EMESSI:"NONE",
                                            DATA_STAMPA_SCHEDA:new Date(1414401005000),
                                            FLAG_POSTI_ASSEGNATI:"NONE",
                                            INCASSATO:"T",
                                            FL_DATI_DEFINITIVI:false,
                                            TIPO_CARTA:"mastercard",
                                            IS_CLIENTE_JPC:true,
                                            STAGIONE:"2014/2015",
                                            FATT_DA_COMPENSARE:false,
                                            TIPO_SOGGETTO_CODICE:"PF",
                                            NOME_INTEST:"giuseppe fhgjghjfgh",
                                            COGNOME_INTEST:"fghjfhgfg",
                                            DATA_INIZIO_EVENTO:new Date(1417366800000),
                                            NUM_CARTA_CREDITO:"356745764",
                                            SCADENZA_CARTA_MMAA:"1015",
                                            EMAIL_REF_COMM:"g.fghjf@fghjfhgjg.it",
                                            ID_ANAGRAFICA_CLIENTI_FK:545463,
                                            UPGRADE_WIP:false,
                                            VALORE_BIGLIETTO:300,
                                            TIPO:"LEG",
                                            ID_REC:821078,
                                            VALORE_ORDINE:600,
                                            SERVIZI_NETTI:180,
                                            FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                                            NUM_POSTI:14,
                                            ordineNatoDaBackoffice:false,
                                            IS_ANNULLATO:false,
                                            SOGGETTO_DESC:"dfghjfgj fghjfgj Francesco",
                                            PARTITA:"Juventus - Torino",
                                            VALORE_ORDINE_SCONTATO:600,
                                            VALORE_TICKETING_PER_POSTI:420,
                                            VALORE_CONTRATTO_SCONTATO:4200,
                                            NUM_RIGHE_NON_CONFERMATE:0,
                                            VALORE_CONTRATTO:4200,
                                            RITIRO_ACCREDITI:"STADIO",
                                            CONTABILITA_CLIENTE_CODE:"C09299",
                                            STATO_CONTRATTO:"INC",
                                            NOMINATIVI_COMPLETI:false,
                                            IS_INCASSATO:true,
                                            ID_EVENTO_FK:765268,
                                            TIPO_SOGGETTO:"Persona Fisica",
                                            IS_WAITNG_LIST:false,
                                            STATO_CONTRATTO_DESC:"Incassata",
                                            ID_STAGIONI_FK:579086,
                                            ACCOUNT_MOD:"cbosticco",
                                            DATE_MOD:new Date(1415370851000),
                                            VALORE_TICKETING:210
                                        }
                                    ]
                                },
                                criteria:{
                                }
                            }
                            2014-11-11 14:32:16,160 INFO  IDACall Performing 1 operation(s)
                            2014-11-11 14:32:16,160 INFO  AppBase [builtinApplication.messagingSend] Invoking custom app operation method '_messagingSend'
                            2014-11-11 14:32:16,182 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Topic' is being used by the channel: isc_DebugTarget
                            2014-11-11 14:32:16,196 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Topic' is being used by the channel: 593E16C0-F89B-4D4E-BBE7-C8B2BFEC96AA
                            2014-11-11 14:32:16,215 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Topic' is being used by the channel: 485A15F7-CA17-48CF-8E7D-16ED3C209C55
                            2014-11-11 14:32:16,232 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Topic' is being used by the channel: 8350FE84-00FA-4542-9528-DF79805BE281
                            2014-11-11 14:32:16,254 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] A 'Temporary Topic' is being used by the channel: 8D2BBD92-B65E-4027-A5A5-9BC46E211AAB
                            2014-11-11 14:32:16,271 DEBUG JMSMessageDispatcher [builtinApplication.messagingSend] Delivered message to JMS (Topic)
                            2014-11-11 14:32:16,271 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                            2014-11-11 14:32:16,272 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                            2014-11-11 14:32:16,274 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TOTALE_RIGHE_SCONTATO=4200, TIPO_PAGAMENTO=CC, QTA_POSTI=2, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=true, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495229, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=true, CREATOR=fhgjfghfg, DATE_CREATOR=Mon Oct 27 09:32:25 CET 2014, VALORE_SERVIZI_LORDO=180, ACCOUNT=aubaudi, TRIBUNE=LCN, CONTRATTO_NUM=9039, IS_FATTURATO=false, NUMERO_INTESTATARI_VALORIZZATI=0, FLAG_BIGLIETTI_EMESSI=NONE, DATA_STAMPA_SCHEDA=Mon Oct 27 10:10:05 CET 2014, FLAG_POSTI_ASSEGNATI=NONE, INCASSATO=T, FL_DATI_DEFINITIVI=false, TIPO_CARTA=mastercard, IS_CLIENTE_JPC=true, STAGIONE=2014/2015, FATT_DA_COMPENSARE=false, TIPO_SOGGETTO_CODICE=PF, NOME_INTEST=giuseppe hgjhgf, COGNOME_INTEST=bvjjhcmv, DATA_INIZIO_EVENTO=Sun Nov 30 18:00:00 CET 2014, NUM_CARTA_CREDITO=6576457856, SCADENZA_CARTA_MMAA=1015, EMAIL_REF_COMM=g.fghjfghjf@hgjffghf.it, ID_ANAGRAFICA_CLIENTI_FK=545463, UPGRADE_WIP=false, VALORE_BIGLIETTO=300, TIPO=LEG, ID_REC=821078, VALORE_ORDINE=600, SERVIZI_NETTI=180, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=14, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, SOGGETTO_DESC=fgjhfghj Giuseppe fgjhfgh, PARTITA=Juventus - Torino, VALORE_ORDINE_SCONTATO=600, VALORE_TICKETING_PER_POSTI=420, VALORE_CONTRATTO_SCONTATO=4200, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=4200, RITIRO_ACCREDITI=STADIO, CONTABILITA_CLIENTE_CODE=C09299, STATO_CONTRATTO=INC, NOMINATIVI_COMPLETI=false, IS_INCASSATO=true, ID_EVENTO_FK=765268, TIPO_SOGGETTO=Persona Fisica, IS_WAITNG_LIST=false, STATO_CONTRATTO_DESC=Incassata, ID_STAGIONI_FK=579086, ACCOUNT_MOD=cbosticco, DATE_MOD=Fri Nov 07 15:34:11 CET 2014, VALORE_TICKETING=210}]
                            2014-11-11 14:32:16,274 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TOTALE_RIGHE_SCONTATO=4200, TIPO_PAGAMENTO=CC, QTA_POSTI=2, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=true, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495229, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=true, CREATOR=fghjfjhfhg, DATE_CREATOR=Mon Oct 27 09:32:25 CET 2014, VALORE_SERVIZI_LORDO=180, ACCOUNT=fhgjfhg, TRIBUNE=LCN, CONTRATTO_NUM=9039, IS_FATTURATO=false, NUMERO_INTESTATARI_VALORIZZATI=0, FLAG_BIGLIETTI_EMESSI=NONE, DATA_STAMPA_SCHEDA=Mon Oct 27 10:10:05 CET 2014, FLAG_POSTI_ASSEGNATI=NONE, INCASSATO=T, FL_DATI_DEFINITIVI=false, TIPO_CARTA=mastercard, IS_CLIENTE_JPC=true, STAGIONE=2014/2015, FATT_DA_COMPENSARE=false,  TIPO_SOGGETTO_CODICE=PF, NOME_INTEST=giuseppe fhgjfg, COGNOME_INTEST=fghjhgfjf, DATA_INIZIO_EVENTO=Sun Nov 30 18:00:00 CET 2014, NUM_CARTA_CREDITO=56643453656, SCADENZA_CARTA_MMAA=1015, EMAIL_REF_COMM=g.fgfhjfghj@fjghjfg.it, ID_ANAGRAFICA_CLIENTI_FK=545463, UPGRADE_WIP=false, VALORE_BIGLIETTO=300, TIPO=LEG, ID_REC=821078, VALORE_ORDINE=600, SERVIZI_NETTI=180, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=14, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, SOGGETTO_DESC=ghfjfhfhg gfhjfjhg Francesco, PARTITA=Juventus - Torino, VALORE_ORDINE_SCONTATO=600, VALORE_TICKETING_PER_POSTI=420, VALORE_CONTRATTO_SCONTATO=4200, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=4200, RITIRO_ACCREDITI=STADIO, CONTABILITA_CLIENTE_CODE=C09299, STATO_CONTRATTO=INC, NOMINATIVI_COMPLETI=false, IS_INCASSATO=true, ID_EVENTO_FK=765268, TIPO_SOGGETTO=Persona Fisica, IS_WAITNG_LIST=false, STATO_CONTRATTO_DESC=Incassata, ID_STAGIONI_FK=579086, ACCOUNT_MOD=cbosticco, DATE_MOD=Fri Nov 07 15:34:11 CET 2014, VALORE_TICKETING=210}]
                            2014-11-11 14:32:16,274 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                            2014-11-11 14:32:16,275 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                            2014-11-11 14:32:16,277 DEBUG RPCManager Content type for RPC transaction: text/plain; charset=UTF-8
                            you could see the only difference with the log before trying to register for remote debug in those 'Temporary Topic' mentioned in the logs.

                            And no, I don't see errors/exceptions in the server logs.

                            Please feel free to ask me for more test or anything that may help.
                            Last edited by claudiobosticco; 21 Oct 2017, 00:27.

                            Comment


                              #15
                              Hello, actually I did forget this thread, otherwise I wouldn't have started that thread:
                              https://forums.smartclient.com/forum...ed-environment

                              because actually I'm in the same situation as 3 years ago, from 10.0 through 11.1 SmartClient versions: the remote debug doesn't work when I'm in 'Enterprise mode' with ActiveMQ as a broker.
                              While Realtime Messaging works.
                              Please note that I'm using the same settings as in post #14, because those of post #9 don't work for me.

                              Please let me know what I can try (as different settings) o what I may provide (logging or other) to help.

                              Please note that I do see those logs:

                              Code:
                              2017-10-19 15:51:41,121 DEBUG TaskRunnerFactory Initialized TaskRunnerFactory[ActiveMQ Session Task] using ExecutorService: java.util.concurrent.ThreadPoolExecutor@18c470d1[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
                              2017-10-19 15:51:41,311 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                              2017-10-19 15:51:41,315 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: isc_DebugMaster data: {payload={methodName=targetAvailable, args=[{GUID=023916D8-C456-4E4C-9B9C-268613B3E6D4, receiveChannel=023916D8-C456-4E4C-9B9C-268613B3E6D4, discoverableOnChannel=isc_DebugTarget, generatedDate=Thu Oct 19 15:51:40 CEST 2017, userAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0, platform=MacIntel, vendor=, visibleMethods=[], documentTitle=Gestione Terzo Livello Palchi, URL=https://localhost:8443/Legend/?isc_remoteDebug=true, formFactor=Desktop, browserVersion=56, browserMinorVersion=56}]}, sequence=1, originChannel=023916D8-C456-4E4C-9B9C-268613B3E6D4, expectsReply=false}
                              2017-10-19 15:51:41,315 DEBUG ISCMessageDispatcher sending message to channel: isc_DebugMaster
                              2017-10-19 15:51:41,317 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                              2017-10-19 15:51:41,318 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: isc_DebugMaster data: {payload={methodName=targetAvailable, args=[{GUID=023916D8-C456-4E4C-9B9C-268613B3E6D4, receiveChannel=023916D8-C456-4E4C-9B9C-268613B3E6D4, discoverableOnChannel=isc_DebugTarget, generatedDate=Thu Oct 19 15:51:40 CEST 2017, userAgent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:56.0) Gecko/20100101 Firefox/56.0, platform=MacIntel, vendor=, visibleMethods=[], documentTitle=Gestione Terzo Livello Palchi, URL=https://localhost:8443/Legend/?isc_remoteDebug=true, formFactor=Desktop, browserVersion=56, browserMinorVersion=56}]}, sequence=1, originChannel=023916D8-C456-4E4C-9B9C-268613B3E6D4, expectsReply=false}
                              2017-10-19 15:51:41,318 DEBUG ISCMessageDispatcher sending message to channel: isc_DebugMaster
                              2017-10-19 15:51:41,338 DEBUG ThreadPoolUtils Shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@18c470d1[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 7] is shutdown: true and terminated: true took: 0.000 seconds.
                              2017-10-19 15:51:41,338 DEBUG ThreadPoolUtils Shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@1fbf839e[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] is shutdown: true and terminated: true took: 0.000 seconds.
                              2017-10-19 15:51:41,339 DEBUG TcpTransport Stopping transport tcp://svjuve11.juventus.priv/172.16.2.11:61616@55589
                              2017-10-19 15:51:41,340 DEBUG TaskRunnerFactory Initialized TaskRunnerFactory[ActiveMQ Task] using ExecutorService: java.util.concurrent.ThreadPoolExecutor@5c6b57b9[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
                              2017-10-19 15:51:41,340 DEBUG TcpTransport Closed socket Socket[addr=svjuve11.juventus.priv/172.16.2.11,port=61616,localport=55589]
                              2017-10-19 15:51:41,341 DEBUG ThreadPoolUtils Forcing shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@5c6b57b9[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
                              2017-10-19 15:51:50,208 DEBUG AbstractInactivityMonitor WriteChecker: 10002ms elapsed since last write check.
                              2017-10-19 15:51:50,208 DEBUG AbstractInactivityMonitor Running WriteCheck[tcp://172.16.2.11:61616]
                              2017-10-19 15:52:00,200 DEBUG AbstractInactivityMonitor 30002ms elapsed since last read check.
                              2017-10-19 15:52:00,212 DEBUG AbstractInactivityMonitor WriteChecker: 10004ms elapsed since last write check.
                              2017-10-19 15:52:00,212 DEBUG AbstractInactivityMonitor Running WriteCheck[tcp://172.16.2.11:61616]
                              2017-10-19 15:52:00,707 DEBUG AbstractInactivityMonitor WriteChecker: 10005ms elapsed since last write check.
                              2017-10-19 15:52:00,707 DEBUG AbstractInactivityMonitor Running WriteCheck[tcp://172.16.2.11:61616]
                              2017-10-19 15:52:10,215 DEBUG AbstractInactivityMonitor WriteChecker: 10003ms elapsed since last write check.
                              2017-10-19 15:52:10,215 DEBUG AbstractInactivityMonitor Running WriteCheck[tcp://172.16.2.11:61616]
                              2017-10-19 15:52:10,711 DEBUG AbstractInactivityMonitor WriteChecker: 10004ms elapsed since last write check.
                              2017-10-19 15:52:10,711 DEBUG AbstractInactivityMonitor Running WriteCheck[tcp://172.16.2.11:61616]
                              when I add ?isc_remoteDebug=true to the URL and then press Enter.

                              Note that if I press Enter another time in the browser URL, to reload the page, it doesn't repeat those logs about isc_DebugMaster/isc_DebugTarget.

                              The only other logs where I see them are, when the application calls isc.Messaging.send:
                              Code:
                              2017-10-19 15:55:55,067 DEBUG RPCManager Request #1 (RPCRequest) data: {
                                  appID:"isc_builtin",
                                  className:"builtin",
                                  methodName:"messagingSend",
                                  arguments:[
                                      {
                                          type:"send",
                                          sendToChannels:[
                                              "jms/updateOrdineChannel"
                                          ],
                                          subscribedChannels:{
                                              "023916D8-C456-4E4C-9B9C-268613B3E6D4":{
                                              },
                                              isc_DebugTarget:{
                                              },
                                              "jms/removeOrdineChannel":{
                                                  subscriptionCallback:null
                                              },
                                              "jms/updateOrdineChannel":{
                                                  subscriptionCallback:null
                                              },
                                              "jms/addOrdineChannel":{
                                                  subscriptionCallback:null
                                              },
                                              "jms/removeParkDisponibiliGridChannel":{
                                                  subscriptionCallback:null
                                              },
                                              "jms/addParkDisponibiliGridChannel":{
                                                  subscriptionCallback:null
                                              }
                                          },
                                          data:[
                                              {
                                                  TIPO_EVENTO:"SERIE A TIM",
                                                  TOTALE_RIGHE_SCONTATO:250,
                                                  TIPO_PAGAMENTO:"CC",
                                                  QTA_POSTI:4,
                                                  SUM_SCONTO_RIGHE:0,
                                                  ARCHIVIATO_PER_STATS:false,
                                                  FL_CONS_COM_DATI_TERZI:false,
                                                  IS_NUOVA_VENDITA:true,
                                                  ID_STATO_CONTRATTO_FK:495226,
                                                  BIGLIETTI_EMESSI:false,
                                                  FL_CONS_TRATT_DATI_PERS:false,
                                                  CREATOR:"FRM000006727031",
                                                  DATE_CREATOR:new Date(1507050920000),
                                                  VALORE_SERVIZI_LORDO:480,
                                                  TIMESTAMP_SELEZIONE_EVENTO:new Date(1507057268000),
                                                  ACCOUNT:"FRM000006727031",
                                                  TRIBUNE:"LCN",
                                                  CONTRATTO_NUM:20118,
                                                  IS_FATTURATO:false,
                                                  FL_NOTIFICA_A_CLIENTE:false,
                                                  NUMERO_INTESTATARI_VALORIZZATI:0,
                                                  FL_ACC_COND_GEN_CONTR:false,
                                                  FL_REQUISITI_FIRMA:false,
                                                  FL_CONS_TRAT_DATI_ALT_SOC:false,
                                                  FLAG_BIGLIETTI_EMESSI:"NONE",
                                                  FL_PRESA_VIS_CLAUS_VESS:false,
                                                  FLAG_POSTI_ASSEGNATI:"NONE",
                                                  IS_ABBONAMENTO_LEGENDS:"F",
                                                  DATA_ULTIMO_INVIO_MAIL:new Date(1507050920000),
                                                  INCASSATO:"F",
                                                  FL_DATI_DEFINITIVI:false,
                                                  IS_CLIENTE_JPC:false,
                                                  ANAG_FAN_ID:"FRM000006727031",
                                                  STAGIONE:"2017/2018",
                                                  FATT_DA_COMPENSARE:false,
                                                  TIPO_SOGGETTO_CODICE:"AZ",
                                                  NOME_INTEST:"OSCAR",
                                                  DATA_INIZIO_EVENTO:new Date(1509890400000),
                                                  QTA_PARK:0,
                                                  ID_ANAGRAFICA_CLIENTI_FK:2915698,
                                                  FL_INVIO_MAIL:"T",
                                                  UPGRADE_WIP:false,
                                                  VALORE_BIGLIETTO:250,
                                                  TIPO:"LEG",
                                                  ID_REC:2915699,
                                                  VALORE_ORDINE:1000,
                                                  SERVIZI_NETTI:480,
                                                  FL_MAIL_SCHEDULATA_A_CLIENTE:false,
                                                  NUM_POSTI:1,
                                                  NOTE_CLIENTE:"2 MENU BIMBO",
                                                  ordineNatoDaBackoffice:false,
                                                  IS_ANNULLATO:false,
                                                  PARTITA:"Juventus - Benevento",
                                                  VALORE_ORDINE_SCONTATO:1000,
                                                  FL_CONS_TRAT_DATI_PROFILO:false,
                                                  VALORE_TICKETING_PER_POSTI:520,
                                                  ID_FASCIA_PREZZO_LEG_FK:2749302,
                                                  RAPPRESENTANTE_LEGALE:"Sartori Oscar",
                                                  VALORE_CONTRATTO_SCONTATO:250,
                                                  NUM_RIGHE_NON_CONFERMATE:0,
                                                  VALORE_CONTRATTO:250,
                                                  RITIRO_ACCREDITI:"EMAIL",
                                                  STATO_CONTRATTO:"LAV",
                                                  NOMINATIVI_COMPLETI:false,
                                                  IS_INCASSATO:false,
                                                  ID_EVENTO_FK:2906565,
                                                  TIPO_SOGGETTO:"Azienda",
                                                  IS_WAITNG_LIST:true,
                                                  STATO_CONTRATTO_DESC:"In lavorazione",
                                                  FASCIA_PREZZO_LEG:250,
                                                  ID_STAGIONI_FK:2394733,
                                                  HA_RICHIESTO_GOLD_EXPERIENCE:false,
                                                  ACCOUNT_MOD:"claudio.bosticco@juventus.com",
                                                  DATE_MOD:new Date(1508159337000),
                                                  HA_RICHIESTO_POSTI_CENTRALI:false
                                              }
                                          ]
                                      }
                                  ],
                                  is_ISC_RPC_DMI:true
                              }
                              2017-10-19 15:55:55,067 INFO  IDACall Performing 1 operation(s)
                              2017-10-19 15:55:55,087 DEBUG WireFormatNegotiator Sending: WireFormatInfo { version=10, properties={MaxFrameSize=9223372036854775807, CacheSize=1024, CacheEnabled=true, Host=svjuve11.juventus.priv, SizePrefixDisabled=false, MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
                              2017-10-19 15:55:55,106 DEBUG InactivityMonitor Using min of local: WireFormatInfo { version=10, properties={MaxFrameSize=9223372036854775807, CacheSize=1024, CacheEnabled=true, Host=svjuve11.juventus.priv, SizePrefixDisabled=false, MaxInactivityDurationInitalDelay=10000, TcpNoDelayEnabled=true, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]} and remote: WireFormatInfo { version=10, properties={CacheSize=1024, MaxFrameSize=104857600, CacheEnabled=true, SizePrefixDisabled=false, TcpNoDelayEnabled=true, MaxInactivityDurationInitalDelay=10000, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
                              2017-10-19 15:55:55,106 DEBUG WireFormatNegotiator Received WireFormat: WireFormatInfo { version=10, properties={CacheSize=1024, MaxFrameSize=104857600, CacheEnabled=true, SizePrefixDisabled=false, TcpNoDelayEnabled=true, MaxInactivityDurationInitalDelay=10000, MaxInactivityDuration=30000, TightEncodingEnabled=true, StackTraceEnabled=true}, magic=[A,c,t,i,v,e,M,Q]}
                              2017-10-19 15:55:55,106 DEBUG WireFormatNegotiator tcp://svjuve11.juventus.priv/172.16.2.11:61616@55682 before negotiation: OpenWireFormat{version=10, cacheEnabled=false, stackTraceEnabled=false, tightEncodingEnabled=false, sizePrefixDisabled=false, maxFrameSize=9223372036854775807}
                              2017-10-19 15:55:55,106 DEBUG WireFormatNegotiator tcp://svjuve11.juventus.priv/172.16.2.11:61616@55682 after negotiation: OpenWireFormat{version=10, cacheEnabled=true, stackTraceEnabled=true, tightEncodingEnabled=true, sizePrefixDisabled=false, maxFrameSize=104857600}
                              2017-10-19 15:55:55,181 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: 03BBDAB7-DE84-485F-9F5E-DE351C99B88B
                              2017-10-19 15:55:55,194 DEBUG TaskRunnerFactory Initialized TaskRunnerFactory[ActiveMQ Session Task] using ExecutorService: java.util.concurrent.ThreadPoolExecutor@20054625[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
                              2017-10-19 15:55:55,217 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: 66A43DA7-E0BF-4AFE-8B00-28D59F70DCD7
                              2017-10-19 15:55:55,243 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: 5B75DFAF-287B-403C-B395-51C8AE511ECC
                              2017-10-19 15:55:55,269 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: E6129D44-C447-422E-B661-977AF03CB03C
                              2017-10-19 15:55:55,343 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: isc_DebugTarget
                              2017-10-19 15:55:55,364 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: 4FE2BF27-EA45-468A-BDE5-0AFACF571931
                              2017-10-19 15:55:55,390 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: isc_DebugMaster
                              2017-10-19 15:55:55,412 DEBUG JMSMessageDispatcher A 'Temporary Topic' is being used by the channel: 023916D8-C456-4E4C-9B9C-268613B3E6D4
                              2017-10-19 15:55:55,457 DEBUG JMSMessageDispatcher Delivered message to JMS (Topic)
                              2017-10-19 15:55:55,458 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                              2017-10-19 15:55:55,459 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                              2017-10-19 15:55:55,460 DEBUG JMSMessageDispatcher Received message from JMS (Topic)
                              2017-10-19 15:55:55,461 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TIPO_EVENTO=SERIE A TIM, TOTALE_RIGHE_SCONTATO=250, TIPO_PAGAMENTO=CC, QTA_POSTI=4, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=false, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495226, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=false, CREATOR=FRM000006727031, DATE_CREATOR=Tue Oct 03 19:15:20 CEST 2017, VALORE_SERVIZI_LORDO=480, TIMESTAMP_SELEZIONE_EVENTO=Tue Oct 03 21:01:08 CEST 2017, ACCOUNT=FRM000006727031, TRIBUNE=LCN, CONTRATTO_NUM=20118, IS_FATTURATO=false, FL_NOTIFICA_A_CLIENTE=false, NUMERO_INTESTATARI_VALORIZZATI=0, FL_ACC_COND_GEN_CONTR=false, FL_REQUISITI_FIRMA=false, FL_CONS_TRAT_DATI_ALT_SOC=false, FLAG_BIGLIETTI_EMESSI=NONE, FL_PRESA_VIS_CLAUS_VESS=false, FLAG_POSTI_ASSEGNATI=NONE, IS_ABBONAMENTO_LEGENDS=F, DATA_ULTIMO_INVIO_MAIL=Tue Oct 03 19:15:20 CEST 2017, INCASSATO=F, FL_DATI_DEFINITIVI=false, IS_CLIENTE_JPC=false, ANAG_FAN_ID=FRM000006727031, STAGIONE=2017/2018, FATT_DA_COMPENSARE=false, TIPO_SOGGETTO_CODICE=AZ, NOME_INTEST=OSCAR, DATA_INIZIO_EVENTO=Sun Nov 05 15:00:00 CET 2017, QTA_PARK=0, ID_ANAGRAFICA_CLIENTI_FK=2915698, FL_INVIO_MAIL=T, UPGRADE_WIP=false, VALORE_BIGLIETTO=250, TIPO=LEG, ID_REC=2915699, VALORE_ORDINE=1000, SERVIZI_NETTI=480, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=1, NOTE_CLIENTE=2 MENU BIMBO, ordineNatoDaBackoffice=false, IS_ANNULLATO=false,PARTITA=Juventus - Benevento, VALORE_ORDINE_SCONTATO=1000, FL_CONS_TRAT_DATI_PROFILO=false, VALORE_TICKETING_PER_POSTI=520, ID_FASCIA_PREZZO_LEG_FK=2749302, RAPPRESENTANTE_LEGALE=Sartori Oscar, VALORE_CONTRATTO_SCONTATO=250, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=250, RITIRO_ACCREDITI=EMAIL, STATO_CONTRATTO=LAV, NOMINATIVI_COMPLETI=false, IS_INCASSATO=false, ID_EVENTO_FK=2906565, TIPO_SOGGETTO=Azienda, IS_WAITNG_LIST=true, STATO_CONTRATTO_DESC=In lavorazione, FASCIA_PREZZO_LEG=250, ID_STAGIONI_FK=2394733, HA_RICHIESTO_GOLD_EXPERIENCE=false, ACCOUNT_MOD=claudio.bosticco@juventus.com, DATE_MOD=Mon Oct 16 15:08:57 CEST 2017, HA_RICHIESTO_POSTI_CENTRALI=false}]
                              2017-10-19 15:55:55,461 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                              2017-10-19 15:55:55,461 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TIPO_EVENTO=SERIE A TIM, TOTALE_RIGHE_SCONTATO=250, TIPO_PAGAMENTO=CC, QTA_POSTI=4, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=false, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495226, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=false, CREATOR=FRM000006727031, DATE_CREATOR=Tue Oct 03 19:15:20 CEST 2017, VALORE_SERVIZI_LORDO=480, TIMESTAMP_SELEZIONE_EVENTO=Tue Oct 03 21:01:08 CEST 2017, ACCOUNT=FRM000006727031, TRIBUNE=LCN, CONTRATTO_NUM=20118,  IS_FATTURATO=false, FL_NOTIFICA_A_CLIENTE=false, NUMERO_INTESTATARI_VALORIZZATI=0, FL_ACC_COND_GEN_CONTR=false, FL_REQUISITI_FIRMA=false, FL_CONS_TRAT_DATI_ALT_SOC=false, FLAG_BIGLIETTI_EMESSI=NONE, FL_PRESA_VIS_CLAUS_VESS=false, FLAG_POSTI_ASSEGNATI=NONE, IS_ABBONAMENTO_LEGENDS=F, DATA_ULTIMO_INVIO_MAIL=Tue Oct 03 19:15:20 CEST 2017, INCASSATO=F, FL_DATI_DEFINITIVI=false, IS_CLIENTE_JPC=false, ANAG_FAN_ID=FRM000006727031, STAGIONE=2017/2018, FATT_DA_COMPENSARE=false,  TIPO_SOGGETTO_CODICE=AZ, NOME_INTEST=OSCAR,  DATA_INIZIO_EVENTO=Sun Nov 05 15:00:00 CET 2017, QTA_PARK=0, ID_ANAGRAFICA_CLIENTI_FK=2915698, FL_INVIO_MAIL=T, UPGRADE_WIP=false, VALORE_BIGLIETTO=250, TIPO=LEG, ID_REC=2915699, VALORE_ORDINE=1000, SERVIZI_NETTI=480, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=1, NOTE_CLIENTE=2 MENU BIMBO, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, PARTITA=Juventus - Benevento, VALORE_ORDINE_SCONTATO=1000, FL_CONS_TRAT_DATI_PROFILO=false, VALORE_TICKETING_PER_POSTI=520, ID_FASCIA_PREZZO_LEG_FK=2749302, RAPPRESENTANTE_LEGALE=Sartori Oscar, VALORE_CONTRATTO_SCONTATO=250, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=250, RITIRO_ACCREDITI=EMAIL, STATO_CONTRATTO=LAV, NOMINATIVI_COMPLETI=false, IS_INCASSATO=false, ID_EVENTO_FK=2906565, TIPO_SOGGETTO=Azienda, IS_WAITNG_LIST=true, STATO_CONTRATTO_DESC=In lavorazione, FASCIA_PREZZO_LEG=250, ID_STAGIONI_FK=2394733, HA_RICHIESTO_GOLD_EXPERIENCE=false, ACCOUNT_MOD=claudio.bosticco@juventus.com, DATE_MOD=Mon Oct 16 15:08:57 CEST 2017, HA_RICHIESTO_POSTI_CENTRALI=false}]
                              2017-10-19 15:55:55,462 DEBUG JMSMessageDispatcher Decoded jmsMessage for channel: jms/updateOrdineChannel data: [{TIPO_EVENTO=SERIE A TIM, TOTALE_RIGHE_SCONTATO=250, TIPO_PAGAMENTO=CC, QTA_POSTI=4, SUM_SCONTO_RIGHE=0, ARCHIVIATO_PER_STATS=false, FL_CONS_COM_DATI_TERZI=false, IS_NUOVA_VENDITA=true, ID_STATO_CONTRATTO_FK=495226, BIGLIETTI_EMESSI=false, FL_CONS_TRATT_DATI_PERS=false, CREATOR=FRM000006727031, DATE_CREATOR=Tue Oct 03 19:15:20 CEST 2017, VALORE_SERVIZI_LORDO=480, TIMESTAMP_SELEZIONE_EVENTO=Tue Oct 03 21:01:08 CEST 2017, ACCOUNT=FRM000006727031,TRIBUNE=LCN, CONTRATTO_NUM=20118, IS_FATTURATO=false, FL_NOTIFICA_A_CLIENTE=false, NUMERO_INTESTATARI_VALORIZZATI=0, FL_ACC_COND_GEN_CONTR=false, FL_REQUISITI_FIRMA=false, FL_CONS_TRAT_DATI_ALT_SOC=false, FLAG_BIGLIETTI_EMESSI=NONE, FL_PRESA_VIS_CLAUS_VESS=false, FLAG_POSTI_ASSEGNATI=NONE, IS_ABBONAMENTO_LEGENDS=F, DATA_ULTIMO_INVIO_MAIL=Tue Oct 03 19:15:20 CEST 2017, INCASSATO=F, FL_DATI_DEFINITIVI=false, IS_CLIENTE_JPC=false, ANAG_FAN_ID=FRM000006727031, STAGIONE=2017/2018, FATT_DA_COMPENSARE=false, TIPO_SOGGETTO_CODICE=AZ, NOME_INTEST=OSCAR,  DATA_INIZIO_EVENTO=Sun Nov 05 15:00:00 CET 2017, QTA_PARK=0, ID_ANAGRAFICA_CLIENTI_FK=2915698, FL_INVIO_MAIL=T, UPGRADE_WIP=false, VALORE_BIGLIETTO=250, TIPO=LEG, ID_REC=2915699, VALORE_ORDINE=1000, SERVIZI_NETTI=480, FL_MAIL_SCHEDULATA_A_CLIENTE=false, NUM_POSTI=1, NOTE_CLIENTE=2 MENU BIMBO, ordineNatoDaBackoffice=false, IS_ANNULLATO=false, PARTITA=Juventus - Benevento, VALORE_ORDINE_SCONTATO=1000, FL_CONS_TRAT_DATI_PROFILO=false, VALORE_TICKETING_PER_POSTI=520, ID_FASCIA_PREZZO_LEG_FK=2749302, RAPPRESENTANTE_LEGALE=Sartori Oscar, VALORE_CONTRATTO_SCONTATO=250, NUM_RIGHE_NON_CONFERMATE=0, VALORE_CONTRATTO=250, RITIRO_ACCREDITI=EMAIL, STATO_CONTRATTO=LAV, NOMINATIVI_COMPLETI=false, IS_INCASSATO=false, ID_EVENTO_FK=2906565, TIPO_SOGGETTO=Azienda, IS_WAITNG_LIST=true, STATO_CONTRATTO_DESC=In lavorazione, FASCIA_PREZZO_LEG=250, ID_STAGIONI_FK=2394733, HA_RICHIESTO_GOLD_EXPERIENCE=false, ACCOUNT_MOD=claudio.bosticco@juventus.com, DATE_MOD=Mon Oct 16 15:08:57 CEST 2017, HA_RICHIESTO_POSTI_CENTRALI=false}]
                              2017-10-19 15:55:55,462 DEBUG ActiveMQConnection org.apache.activemq.ActiveMQConnection$3@43bfd8e4 no dispatcher for MessageDispatch {commandId = 0, responseRequired = false, consumerId = ID:mbproedp02-55528-1508421020054-1:14:1:13, destination = topic://updateOrdineChannel, message = ActiveMQObjectMessage {commandId = 26, responseRequired = true, messageId = ID:mbproedp02-55528-1508421020054-1:14:1:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:mbproedp02-55528-1508421020054-1:14:1:1, destination = topic://updateOrdineChannel, transactionId = null, expiration = 0, timestamp = 1508421355444, arrival = 0, brokerInTime = 1508421355428, brokerOutTime = 1508421355428, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activemq.util.ByteSequence@6838837b, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 0, properties = null, readOnlyProperties = false, readOnlyBody = false, droppable = false, jmsXGroupFirstForConsumer = false}, redeliveryCounter = 0} in {}
                              2017-10-19 15:55:55,461 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                              2017-10-19 15:55:55,462 DEBUG ISCMessageDispatcher sending message to channel: jms/updateOrdineChannel
                              2017-10-19 15:55:55,475 DEBUG ThreadPoolUtils Shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@20054625[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 13] is shutdown: true and terminated: false took: 0.000 seconds.
                              2017-10-19 15:55:55,475 DEBUG ThreadPoolUtils Shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@3beb0768[Terminated, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0] is shutdown: true and terminated: true took: 0.000 seconds.
                              2017-10-19 15:55:55,475 DEBUG TcpTransport Stopping transport tcp://svjuve11.juventus.priv/172.16.2.11:61616@55682
                              2017-10-19 15:55:55,475 DEBUG TaskRunnerFactory Initialized TaskRunnerFactory[ActiveMQ Task] using ExecutorService: java.util.concurrent.ThreadPoolExecutor@43335b93[Running, pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0]
                              2017-10-19 15:55:55,476 DEBUG TcpTransport Closed socket Socket[addr=svjuve11.juventus.priv/172.16.2.11,port=61616,localport=55682]
                              2017-10-19 15:55:55,476 DEBUG ThreadPoolUtils Forcing shutdown of ExecutorService: java.util.concurrent.ThreadPoolExecutor@43335b93[Running, pool size = 1, active threads = 0, queued tasks = 0, completed tasks = 1]
                              2017-10-19 15:55:55,476 DEBUG RPCDMI rpc returned RPCResponse
                              2017-10-19 15:55:55,476 DEBUG RPCManager Content type for RPC transaction: text/plain; charset=UTF-8
                              Last edited by claudiobosticco; 21 Oct 2017, 00:32.

                              Comment

                              Working...
                              X