Announcement

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

  • claudiobosticco
    replied
    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?

    Leave a comment:


  • claudiobosticco
    replied
    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; 16th Oct 2014, 07:53.

    Leave a comment:


  • claudiobosticco
    replied
    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?

    Leave a comment:


  • claudiobosticco
    replied
    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; 3rd Mar 2015, 06:50.

    Leave a comment:


  • Isomorphic
    replied
    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?

    Leave a comment:


  • Isomorphic
    replied
    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.

    Leave a comment:


  • claudiobosticco
    started a topic Remote Debugging doesn't work

    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:
Working...
X