Announcement

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

    #16
    So by updating each record would look like this?

    Code:
    public DSResponse deleteUserDestinationsByIPAddress(DSRequest dsRequest)
        {
            DSResponse dsResponse = new DSResponse();
            try
            {
                DataSource vsd = DataSourceManager.get("videoStreamDestination");
                List<VideoStreamDestination> records = vsd.fetch("ipAddress",dsRequest.getFieldValue("ipAddress").toString());
    
                Map criteria = new HashMap();
                criteria.put("ipAddress", dsRequest.getFieldValue("ipAddress").toString());/*
                dsRequest.setAllowMultiUpdate(true);
                dsRequest.setCriteria(criteria);
                dsRequest.setFieldValue("deletedFlag",false);*/
    
                //iterate the entity list and make maps out of the objects
                for(VideoStreamDestination destination : records)
                {
                   DSRequest updateRequest = new DSRequest("videoStreamDestination",DSOperationType.UPDATE.toString().toLowerCase());
                    updateRequest.setCriteria(criteria);
                    updateRequest.setFieldValue("deletedFlag",true);
                    updateRequest.execute();
                }
    
                /*dsRequest.setOperationType(DSOperationType.UPDATE.toString().toLowerCase());
                dsRequest.execute();*/
            }
            catch (Exception e)
            {
                e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
            }
            return dsResponse;
        }

    Comment


      #17
      Close. The criteria for each "updateRequest" should be the primary key for the record to update, which you can obtain from your VideoStreamDestination records (presumably getId()) then put into the criteria via put("id", pkValue);

      Comment


        #18
        Code:
        public DSResponse deleteUserDestinationsByIPAddress(DSRequest dsRequest)
            {
                DSResponse dsResponse = new DSResponse();
                try
                {
                    DataSource vsd = DataSourceManager.get("videoStreamDestination");
                    List<VideoStreamDestination> records = vsd.fetch("ipAddress",dsRequest.getFieldValue("ipAddress").toString());
        
        
                    //iterate the entity list and make maps out of the objects
                    for(VideoStreamDestination destination : records)
                    {
                        Map criteria = new HashMap();
                        criteria.put("id", dsRequest.getFieldValue("id"));
                        DSRequest updateRequest = new DSRequest("videoStreamDestination",DSOperationType.UPDATE.toString().toLowerCase());
                        updateRequest.setCriteria(criteria);
                        updateRequest.setFieldValue("deletedFlag",true);
                        vsd.executeUpdate(updateRequest);
                    }
                }
                catch (Exception e)
                {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
                return dsResponse;
            }
        Have I set the Id field incorrectly?
        Produces:


        09:26:07,694 ERROR [stderr] (http--0.0.0.0-8080-3) java.lang.IllegalArgumentException: id to load is required for loading
        09:26:07,699 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:87)
        09:26:07,704 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:59)
        09:26:07,710 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:867)
        09:26:07,715 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:863)
        09:26:07,716 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:795)
        09:26:07,722 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:770)
        09:26:07,726 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.jpa.container.AbstractEntityManager.find(AbstractEntityManager.java:193)
        09:26:07,727 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:904)
        09:26:07,731 ERROR [stderr] (http--0.0.0.0-8080-3) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
        09:26:07,735 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1295)
        09:26:07,742 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.jpa.JPADataSource.execute(JPADataSource.java:440)
        09:26:07,743 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:725)
        09:26:07,744 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
        09:26:07,747 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        09:26:07,748 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1954)
        09:26:07,749 ERROR [stderr] (http--0.0.0.0-8080-3) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:112)
        09:26:07,750 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        09:26:07,751 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        09:26:07,752 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        09:26:07,754 ERROR [stderr] (http--0.0.0.0-8080-3) at java.lang.reflect.Method.invoke(Method.java:601)
        09:26:07,755 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        09:26:07,756 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        09:26:07,757 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        09:26:07,757 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
        09:26:07,758 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        09:26:07,759 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        09:26:07,760 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        09:26:07,760 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        09:26:07,761 ERROR [stderr] (http--0.0.0.0-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        09:26:07,761 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        09:26:07,762 ERROR [stderr] (http--0.0.0.0-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        09:26:07,762 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        09:26:07,763 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:07,764 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        09:26:07,764 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:07,765 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:07,766 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
        09:26:07,766 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:07,767 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:07,768 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        09:26:07,768 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        09:26:07,769 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        09:26:07,770 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        09:26:07,770 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        09:26:07,771 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        09:26:07,772 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        09:26:07,772 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        09:26:07,773 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        09:26:07,774 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        09:26:07,774 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        09:26:07,775 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        09:26:07,775 ERROR [stderr] (http--0.0.0.0-8080-3) at java.lang.Thread.run(Thread.java:722)
        09:26:07,776 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:07,776 [80-3] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
        09:26:07,777 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:07,777 [80-3] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
        09:26:07,778 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:07,778 [80-3] DEBUG JPADataSource - Releasing entity manager.
        09:26:21,729 ERROR [org.jboss.as.ejb3] (EJB default - 9) JBAS014120: Error invoking timeout for timer: [id=9dca7995-05da-424c-881f-9d35edc3ddbd timedObjectId=gsui.gsui.PeriodicWamiMissionStatu
        0d5367 initialExpiration=Tue Jun 12 00:00:00 PDT 2012 intervalDuration(in milli sec)=0 nextExpiration=Tue Jun 12 09:26:10 PDT 2012 timerState=IN_TIMEOUT: javax.ejb.ConcurrentAccessTimeoutExcep
        t$Invocation@4fcddda5 - could not obtain lock within 5000MILLISECONDS
        at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyInterceptor.java:101) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:105) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:56) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:103) [jboss-as-weld-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53) [jboss-as-ejb3-7.1
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Fina
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:43) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
        at org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:101) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:111) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.ejb3.timerservice.task.CalendarTimerTask.callTimeout(CalendarTimerTask.java:62) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at org.jboss.as.ejb3.timerservice.task.TimerTask.run(TimerTask.java:132) [jboss-as-ejb3-7.1.0.Final.jar:7.1.0.Final]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_02]
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_02]
        at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_02]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_02]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_02]
        at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_02]
        at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]

        09:26:21,748 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:21,748 [80-3] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations f
        09:26:21,804 INFO [org.jboss.as.ejb3] (EJB default - 9) JBAS014121: Timer: [id=9dca7995-05da-424c-881f-9d35edc3ddbd timedObjectId=gsui.gsui.PeriodicWamiMissionStatusNotifier auto-timer?:false
        e Jun 12 00:00:00 PDT 2012 intervalDuration(in milli sec)=0 nextExpiration=Tue Jun 12 09:26:15 PDT 2012 timerState=IN_TIMEOUT will be retried
        09:26:21,804 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:21,804 [80-3] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing g
        09:26:21,809 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:21,809 [80-3] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager and starting transaction.
        09:26:21,810 INFO [org.jboss.as.ejb3] (EJB default - 9) JBAS014123: Retrying timeout for timer: [id=9dca7995-05da-424c-881f-9d35edc3ddbd timedObjectId=gsui.gsui.PeriodicWamiMissionStatusNotif
        initialExpiration=Tue Jun 12 00:00:00 PDT 2012 intervalDuration(in milli sec)=0 nextExpiration=Tue Jun 12 09:26:20 PDT 2012 timerState=IN_TIMEOUT
        09:26:21,822 INFO [stdout] (http--0.0.0.0-8080-1) === 2012-06-12 09:26:21,819 [80-1] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv
        09:26:21,830 INFO [stdout] (http--0.0.0.0-8080-14) === 2012-06-12 09:26:21,830 [0-14] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; r
        09:26:21,857 INFO [stdout] (http--0.0.0.0-8080-4) === 2012-06-12 09:26:21,844 [80-4] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv
        09:26:21,859 INFO [stdout] (http--0.0.0.0-8080-5) === 2012-06-12 09:26:21,830 [80-5] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv
        09:26:21,870 INFO [stdout] (http--0.0.0.0-8080-4) === 2012-06-12 09:26:21,859 [80-4] ERROR MessagingServlet - MessagingServlet top-level exception
        09:26:21,871 INFO [stdout] (http--0.0.0.0-8080-4) ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
        09:26:21,891 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352)
        09:26:21,892 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:316)
        09:26:21,899 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.Response.flushBuffer(Response.java:543)
        09:26:21,901 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:280)
        09:26:21,923 INFO [stdout] (http--0.0.0.0-8080-4) at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:204)
        09:26:21,925 INFO [stdout] (http--0.0.0.0-8080-4) at com.isomorphic.messaging.MessagingConnectionHandler.sendSyncDocumentDomain(MessagingConnectionHandler.java:214)
        09:26:21,926 INFO [stdout] (http--0.0.0.0-8080-4) at com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:101)
        09:26:21,930 INFO [stdout] (http--0.0.0.0-8080-4) at com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
        09:26:21,932 INFO [stdout] (http--0.0.0.0-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        09:26:21,935 INFO [stdout] (http--0.0.0.0-8080-4) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        09:26:21,936 INFO [stdout] (http--0.0.0.0-8080-4) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        09:26:21,937 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        09:26:21,938 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:21,940 INFO [stdout] (http--0.0.0.0-8080-4) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        09:26:21,941 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:21,944 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:21,945 INFO [stdout] (http--0.0.0.0-8080-4) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
        09:26:21,948 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:21,949 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:21,950 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        09:26:21,950 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        09:26:21,951 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        09:26:21,952 INFO [stdout] (http--0.0.0.0-8080-4) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        09:26:21,953 INFO [stdout] (http--0.0.0.0-8080-4) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        09:26:21,959 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        09:26:21,961 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        09:26:21,965 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        09:26:21,966 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        09:26:21,969 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        09:26:21,970 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        09:26:21,972 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        09:26:21,975 INFO [stdout] (http--0.0.0.0-8080-4) at java.lang.Thread.run(Thread.java:722)
        09:26:21,977 INFO [stdout] (http--0.0.0.0-8080-4) Caused by: java.net.SocketException: Software caused connection abort: socket write error
        09:26:21,978 INFO [stdout] (http--0.0.0.0-8080-4) at java.net.SocketOutputStream.socketWrite0(Native Method)
        09:26:21,980 INFO [stdout] (http--0.0.0.0-8080-4) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        09:26:21,980 INFO [stdout] (http--0.0.0.0-8080-4) at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        09:26:21,983 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
        09:26:21,987 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
        09:26:21,989 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
        09:26:21,990 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1027)
        09:26:21,991 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.coyote.Response.action(Response.java:190)
        09:26:21,991 INFO [stdout] (http--0.0.0.0-8080-4) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:347)
        09:26:21,992 INFO [stdout] (http--0.0.0.0-8080-4) ... 31 more
        09:26:21,993 INFO [stdout] (http--0.0.0.0-8080-14) === 2012-06-12 09:26:21,859 [0-14] ERROR MessagingServlet - MessagingServlet top-level exception
        09:26:21,994 INFO [stdout] (http--0.0.0.0-8080-14) ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
        09:26:21,995 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352)
        09:26:21,996 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:316)
        09:26:21,997 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.Response.flushBuffer(Response.java:543)
        09:26:21,998 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:280)
        09:26:21,999 INFO [stdout] (http--0.0.0.0-8080-14) at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:204)
        09:26:21,999 INFO [stdout] (http--0.0.0.0-8080-14) at com.isomorphic.messaging.MessagingConnectionHandler.sendSyncDocumentDomain(MessagingConnectionHandler.java:214)
        09:26:22,000 INFO [stdout] (http--0.0.0.0-8080-14) at com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:101)
        09:26:22,001 INFO [stdout] (http--0.0.0.0-8080-14) at com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
        09:26:22,002 INFO [stdout] (http--0.0.0.0-8080-14) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        09:26:22,003 INFO [stdout] (http--0.0.0.0-8080-14) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        09:26:22,003 INFO [stdout] (http--0.0.0.0-8080-14) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        09:26:22,004 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        09:26:22,005 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,007 INFO [stdout] (http--0.0.0.0-8080-14) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        09:26:22,007 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:22,008 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,009 INFO [stdout] (http--0.0.0.0-8080-14) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
        09:26:22,009 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:22,010 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,011 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        09:26:22,012 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        09:26:22,013 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        09:26:22,014 INFO [stdout] (http--0.0.0.0-8080-14) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        09:26:22,014 INFO [stdout] (http--0.0.0.0-8080-14) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        09:26:22,015 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        09:26:22,017 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        09:26:22,017 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        09:26:22,019 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        09:26:22,019 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        09:26:22,020 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        09:26:22,021 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        09:26:22,022 INFO [stdout] (http--0.0.0.0-8080-14) at java.lang.Thread.run(Thread.java:722)
        09:26:22,023 INFO [stdout] (http--0.0.0.0-8080-14) Caused by: java.net.SocketException: Software caused connection abort: socket write error
        09:26:22,024 INFO [stdout] (http--0.0.0.0-8080-14) at java.net.SocketOutputStream.socketWrite0(Native Method)
        09:26:22,025 INFO [stdout] (http--0.0.0.0-8080-14) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
        09:26:22,026 INFO [stdout] (http--0.0.0.0-8080-14) at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
        09:26:22,027 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
        09:26:22,028 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
        09:26:22,029 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
        09:26:22,029 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1027)
        09:26:22,030 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.coyote.Response.action(Response.java:190)
        09:26:22,032 INFO [stdout] (http--0.0.0.0-8080-14) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:347)
        09:26:22,033 INFO [stdout] (http--0.0.0.0-8080-14) ... 31 more
        09:26:22,033 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:21,903 [80-3] DEBUG JPADataSource - [builtinApplication.null] Executing update.
        09:26:22,034 ERROR [stderr] (http--0.0.0.0-8080-3) java.lang.IllegalArgumentException: id to load is required for loading
        09:26:22,036 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:87)
        09:26:22,036 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.event.spi.LoadEvent.<init>(LoadEvent.java:59)
        09:26:22,037 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:867)
        09:26:22,038 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.internal.SessionImpl.get(SessionImpl.java:863)
        09:26:22,039 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:795)
        09:26:22,039 ERROR [stderr] (http--0.0.0.0-8080-3) at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:770)
        09:26:22,041 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.jpa.container.AbstractEntityManager.find(AbstractEntityManager.java:193)
        09:26:22,041 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:904)
        09:26:22,042 ERROR [stderr] (http--0.0.0.0-8080-3) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
        09:26:22,043 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1295)
        09:26:22,043 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.jpa.JPADataSource.execute(JPADataSource.java:440)
        09:26:22,044 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:725)
        09:26:22,046 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
        09:26:22,046 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.application.AppBase.execute(AppBase.java:491)
        09:26:22,047 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1954)
        09:26:22,048 ERROR [stderr] (http--0.0.0.0-8080-3) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:112)
        09:26:22,049 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        09:26:22,050 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        09:26:22,051 ERROR [stderr] (http--0.0.0.0-8080-3) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        09:26:22,051 ERROR [stderr] (http--0.0.0.0-8080-3) at java.lang.reflect.Method.invoke(Method.java:601)
        09:26:22,052 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        09:26:22,053 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        09:26:22,053 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        09:26:22,054 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
        09:26:22,056 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        09:26:22,056 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        09:26:22,057 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        09:26:22,058 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        09:26:22,058 ERROR [stderr] (http--0.0.0.0-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        09:26:22,059 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        09:26:22,060 ERROR [stderr] (http--0.0.0.0-8080-3) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        09:26:22,061 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        09:26:22,062 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,063 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        09:26:22,063 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:22,064 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,066 ERROR [stderr] (http--0.0.0.0-8080-3) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
        09:26:22,066 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        09:26:22,068 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        09:26:22,068 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        09:26:22,069 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        09:26:22,070 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        09:26:22,071 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        09:26:22,071 ERROR [stderr] (http--0.0.0.0-8080-3) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        09:26:22,073 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        09:26:22,073 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        09:26:22,074 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        09:26:22,076 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        09:26:22,077 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        09:26:22,078 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        09:26:22,079 ERROR [stderr] (http--0.0.0.0-8080-3) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        09:26:22,079 ERROR [stderr] (http--0.0.0.0-8080-3) at java.lang.Thread.run(Thread.java:722)
        09:26:22,080 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:22,080 [80-3] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
        09:26:22,082 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:22,082 [80-3] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
        09:26:22,083 INFO [stdout] (http--0.0.0.0-8080-3) === 2012-06-12 09:26:22,083 [80-3] DEBUG JPADataSource - Releasing entity manager.

        Code:
        public DSResponse deleteUserDestinationsByIPAddress(DSRequest dsRequest)
            {
                DSResponse dsResponse = new DSResponse();
                try
                {
                    DataSource vsd = DataSourceManager.get("videoStreamDestination");
                    List<VideoStreamDestination> records = vsd.fetch("ipAddress",dsRequest.getFieldValue("ipAddress").toString());
        
        
                    //iterate the entity list and make maps out of the objects
                    for(VideoStreamDestination destination : records)
                    {
                        Map criteria = new HashMap();
                        criteria.put("id", dsRequest.getFieldValue("id"));
                        DSRequest updateRequest = new DSRequest("videoStreamDestination",DSOperationType.UPDATE.toString().toLowerCase());
                        updateRequest.setCriteria(criteria);
                        updateRequest.setFieldValue("deletedFlag",true);
                        updateRequest.execute();
                    }
                }
                catch (Exception e)
                {
                    e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                }
                return dsResponse;
            }
        produces:

        [QUOTE]
        36:47,775 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,775 [0-13] INFO IDACall - Performing 1 operation(s)
        36:47,779 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,779 [0-13] DEBUG ServerObject - Couldn't find a public method named: fetch on class: com.sncorp.gs2.ui.server.dmi
        36:47,780 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,780 [0-13] DEBUG DataSourceDMI - DataSourceDMI: no public method name: fetch available on class: com.sncorp.gs2.u
        36:47,781 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,781 [0-13] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operatio
        36:47,782 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,782 [0-13] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performi
        36:47,783 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,783 [0-13] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager and starting transaction.
        36:47,788 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,788 [0-13] DEBUG JPADataSource - [builtinApplication.null] Executing fetch.
        36:47,789 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,789 [0-13] DEBUG JPADataSource - [builtinApplication.null] Query string: select _VideoStreamDestination from Vide
        36:47,790 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,790 [0-13] DEBUG JPADataSource - [builtinApplication.null] Parameter p0: 127.0.0.1
        36:47,831 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,831 [0-13] INFO DSResponse - [builtinApplication.null] DSResponse: List with 2 items
        36:47,832 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,832 [0-13] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
        36:47,837 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,837 [0-13] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
        36:47,838 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,838 [0-13] DEBUG JPADataSource - Releasing entity manager.
        36:47,850 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,850 [0-13] DEBUG JPADataSource - Executing update.
        36:47,854 ERROR [stderr] (http--0.0.0.0-8080-13) java.lang.NullPointerException
        36:47,854 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:904)
        36:47,855 ERROR [stderr] (http--0.0.0.0-8080-13) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
        36:47,855 ERROR [stderr] (http--0.0.0.0-8080-13) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:109)
        36:47,856 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        36:47,857 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        36:47,857 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        36:47,858 ERROR [stderr] (http--0.0.0.0-8080-13) at java.lang.reflect.Method.invoke(Method.java:601)
        36:47,858 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        36:47,859 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        36:47,859 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        36:47,860 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
        36:47,860 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        36:47,861 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        36:47,861 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        36:47,862 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        36:47,862 ERROR [stderr] (http--0.0.0.0-8080-13) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        36:47,862 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        36:47,863 ERROR [stderr] (http--0.0.0.0-8080-13) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        36:47,863 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        36:47,864 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,865 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        36:47,865 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        36:47,866 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,867 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
        36:47,867 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        36:47,868 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,869 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        36:47,869 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        36:47,870 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        36:47,870 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        36:47,871 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        36:47,872 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        36:47,873 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        36:47,874 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        36:47,874 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        36:47,875 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        36:47,875 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        36:47,876 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        36:47,876 ERROR [stderr] (http--0.0.0.0-8080-13) at java.lang.Thread.run(Thread.java:722)
        36:47,877 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,877 [0-13] DEBUG JPADataSource - Executing update.
        36:47,877 ERROR [stderr] (http--0.0.0.0-8080-13) java.lang.NullPointerException
        36:47,878 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:904)
        36:47,878 ERROR [stderr] (http--0.0.0.0-8080-13) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
        36:47,879 ERROR [stderr] (http--0.0.0.0-8080-13) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:109)
        36:47,880 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        36:47,881 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        36:47,881 ERROR [stderr] (http--0.0.0.0-8080-13) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        36:47,882 ERROR [stderr] (http--0.0.0.0-8080-13) at java.lang.reflect.Method.invoke(Method.java:601)
        36:47,882 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
        36:47,883 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
        36:47,883 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
        36:47,884 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
        36:47,884 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
        36:47,884 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
        36:47,885 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
        36:47,885 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
        36:47,886 ERROR [stderr] (http--0.0.0.0-8080-13) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
        36:47,890 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
        36:47,890 ERROR [stderr] (http--0.0.0.0-8080-13) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        36:47,891 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
        36:47,891 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,892 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
        36:47,892 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        36:47,893 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,894 ERROR [stderr] (http--0.0.0.0-8080-13) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
        36:47,894 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
        36:47,895 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
        36:47,895 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
        36:47,896 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
        36:47,896 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
        36:47,897 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
        36:47,897 ERROR [stderr] (http--0.0.0.0-8080-13) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
        36:47,898 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
        36:47,899 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        36:47,900 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        36:47,900 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
        36:47,901 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
        36:47,902 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
        36:47,903 ERROR [stderr] (http--0.0.0.0-8080-13) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
        36:47,903 ERROR [stderr] (http--0.0.0.0-8080-13) at java.lang.Thread.run(Thread.java:722)
        36:47,903 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,903 [0-13] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
        36:47,906 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,906 [0-13] DEBUG RPCManager - DMI response, dropExtraFields: false
        36:47,907 INFO [stdout] (http--0.0.0.0-8080-13) === 2012-06-12 09:36:47,907 [0-13] INFO Compression - /gsui/gsui/sc/IDACall: 144 -> 131 bytes
        [QUOTE]

        Comment


          #19
          The ids of the records aren't in the dsRequest coming from the client.

          Here, we'll just write the code:

          Code:
          public DSResponse deleteUserDestinationsByIPAddress(DSRequest dsRequest)
              {
                  DSResponse dsResponse = new DSResponse();
                  try
                  {
                      DataSource vsd = DataSourceManager.get("videoStreamDestination");
                      List<VideoStreamDestination> records = vsd.fetch("ipAddress",dsRequest.getFieldValue("ipAddress").toString());
          
          
                      //iterate the entity list and make maps out of the objects
                      for(VideoStreamDestination destination : records)
                      {
                          Map criteria = new HashMap();
                          [b]criteria.put("id", destination.getId());[/b]
                          DSRequest updateRequest = new DSRequest("videoStreamDestination",DSOperationType.UPDATE.toString().toLowerCase());
                          updateRequest.setCriteria(criteria);
                          updateRequest.setFieldValue("deletedFlag",true);
                          vsd.executeUpdate(updateRequest);
                      }
                  }
                  catch (Exception e)
                  {
                      e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                  }
                  return dsResponse;
              }

          Comment


            #20
            Okay, I see, and I'll test it.

            However, this does not do the trick either, and id is definitely there.

            Code:
            public DSResponse deleteUserDestinationsByIPAddress(DSRequest dsRequest)
                {
                    DSResponse dsResponse = new DSResponse();
                    try
                    {
                        DataSource vsd = DataSourceManager.get("videoStreamDestination");
                        List<VideoStreamDestination> records = vsd.fetch("ipAddress",dsRequest.getFieldValue("ipAddress").toString());
            
                        //a multi-update is not performed here, because there is an issue with doing so at present
                        //http://forums.smartclient.com/showthread.php?p=87665&posted=1#post87665
            
                        //iterate the entity list and make maps out of the objects
                        for(VideoStreamDestination destination : records)
                        {
                            Map criteria = new HashMap();
                            criteria.put("id", dsRequest.getFieldValue("id"));
                            DSRequest updateRequest = new DSRequest("videoStreamDestination",DSOperationType.UPDATE.toString().toLowerCase());
            
                            Map<String,Object> newVals = DataTools.getProperties(destination);
                            newVals.put("deletedFlag",true);
            
                            updateRequest.setValues(newVals);
            
                            /*updateRequest.setCriteria(criteria);
                            updateRequest.setFieldValue("deletedFlag",true);*/
                            updateRequest.execute();
                        }
                    }
                    catch (Exception e)
                    {
                        e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
                    }
                    return dsResponse;
                }

            Comment


              #21
              This code is obviously wrong - just from a sanity check perspective, you've got the expression dsRequest.getFieldValue("id") in a loop and yet it's going to return the same value every time.

              Comment


                #22
                Your last code snip caught the logic flaw (thank you). However, the updated code you provided results in null pointer exceptions when execute is called. Gotta move on to something that works, I'll come back to this later.

                Comment


                  #23
                  Probably another logic flaw such as destination.getId() returning null. Post the stack trace when you have time.

                  Comment


                    #24
                    13:18:28,659 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,659 [0-16] INFO IDACall - Performing 1 operation(s)
                    13:18:28,661 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,661 [0-16] DEBUG ServerObject - Couldn't find a public method named: fetch on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI
                    13:18:28,662 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,662 [0-16] DEBUG DataSourceDMI - DataSourceDMI: no public method name: fetch available on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI - defaulting to builtin operations.
                    13:18:28,663 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,663 [0-16] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations for this application
                    13:18:28,664 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,664 [0-16] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing generic datasource operation
                    13:18:28,665 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,665 [0-16] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager and starting transaction.
                    13:18:28,669 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,668 [0-16] DEBUG JPADataSource - [builtinApplication.null] Executing fetch.
                    13:18:28,669 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,669 [0-16] DEBUG JPADataSource - [builtinApplication.null] Query string: select _VideoStreamDestination from VideoStreamDestination _VideoStreamDestination where (lower(_VideoStreamDestination.ipAddress) = lower(:p0))

                    13:18:28,672 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,672 [0-16] DEBUG JPADataSource - [builtinApplication.null] Parameter p0: 127.0.0.1
                    13:18:28,681 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,680 [0-16] INFO DSResponse - [builtinApplication.null] DSResponse: List with 2 items
                    13:18:28,681 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,681 [0-16] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
                    13:18:28,687 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,687 [0-16] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
                    13:18:28,688 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:28,688 [0-16] DEBUG JPADataSource - Releasing entity manager.
                    13:18:39,775 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-16) === 2012-06-12 13:18:39,775 [0-16] DEBUG JPADataSource - Executing update.
                    13:18:39,784 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) java.lang.NullPointerException
                    13:18:39,784 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-19) === 2012-06-12 13:18:39,781 [0-19] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                    13:18:39,798 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:904)
                    13:18:39,806 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
                    13:18:39,823 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-10) === 2012-06-12 13:18:39,823 [0-10] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                    13:18:39,817 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:133)
                    13:18:39,828 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    13:18:39,831 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                    13:18:39,838 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                    13:18:39,851 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at java.lang.reflect.Method.invoke(Method.java:601)
                    13:18:39,857 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
                    13:18:39,863 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
                    13:18:39,862 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-5) === 2012-06-12 13:18:39,862 [80-5] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                    13:18:39,864 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                    13:18:39,866 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
                    13:18:39,867 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
                    13:18:39,868 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
                    13:18:39,872 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
                    13:18:39,873 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
                    13:18:39,877 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                    13:18:39,877 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                    13:18:39,881 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                    13:18:39,882 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                    13:18:39,883 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    13:18:39,885 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                    13:18:39,893 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                    13:18:39,897 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    13:18:39,899 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                    13:18:39,904 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                    13:18:39,907 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                    13:18:39,909 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                    13:18:39,911 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                    13:18:39,912 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                    13:18:39,914 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                    13:18:39,915 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                    13:18:39,916 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                    13:18:39,917 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    13:18:39,918 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    13:18:39,919 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                    13:18:39,919 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                    13:18:39,920 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                    13:18:39,921 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                    13:18:39,922 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-16) at java.lang.Thread.run(Thread.java:722)

                    Comment


                      #25
                      attached a shot of a debug session with watches showing state
                      Attached Files

                      Comment


                        #26
                        Is it possible that you've made some more changes, such that you are now directly calling vsd.executeUpdate() rather than either vsd.execute() or dsRequest.execute()? (this would be invalid).

                        Comment


                          #27
                          at the moment the code is calling vsd.executeUpdate(updateRequest). So if I read this right, that's invalid, and I should be calling vsd.execute() or updateRequest.execute()?

                          Comment


                            #28
                            Correct.

                            And we figured this out in round-about, time consuming way because you showed us one piece of code but errors from another. Please don't do that :)

                            Comment


                              #29
                              Not tracking, I showed you what I got from painstaking trial-and-error. Here is some more:

                              calling request.execute() produces it. Moving on to trying vsd.execute();


                              16:48:47,629 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,629 [0-56] INFO IDACall - Performing 1 operation(s)
                              16:48:47,631 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,631 [0-56] DEBUG ServerObject - Couldn't find a public method named: fetch on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI
                              16:48:47,632 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,632 [0-56] DEBUG DataSourceDMI - DataSourceDMI: no public method name: fetch available on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI - defaulting to builtin operations.
                              16:48:47,633 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,633 [0-56] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations for this application
                              16:48:47,634 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,634 [0-56] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing generic datasource operation
                              16:48:47,635 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,635 [0-56] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager and starting transaction.
                              16:48:47,639 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,639 [0-56] DEBUG JPADataSource - [builtinApplication.null] Executing fetch.
                              16:48:47,640 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,640 [0-56] DEBUG JPADataSource - [builtinApplication.null] Query string: select _VideoStreamDestination from VideoStreamDestination _VideoStreamDestination where (lower(_VideoStreamDestination.ipAddress) = lower(:p0))

                              16:48:47,642 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,642 [0-56] DEBUG JPADataSource - [builtinApplication.null] Parameter p0: 127.0.0.1
                              16:48:47,652 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,652 [0-56] INFO DSResponse - [builtinApplication.null] DSResponse: List with 2 items
                              16:48:47,653 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,653 [0-56] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
                              16:48:47,659 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,659 [0-56] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
                              16:48:47,660 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:48:47,660 [0-56] DEBUG JPADataSource - Releasing entity manager.
                              16:49:06,120 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,120 [0-56] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations for this application
                              16:49:06,129 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,129 [0-56] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing generic datasource operation
                              16:49:06,178 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) === 2012-06-12 16:49:06,143 [-208] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                              16:49:06,197 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-204) === 2012-06-12 16:49:06,191 [-204] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                              16:49:06,198 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-227) === 2012-06-12 16:49:06,185 [-227] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                              16:49:06,245 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,149 [0-56] DEBUG JPADataSource - [builtinApplication.null] Auto-joining transactions.
                              16:49:06,248 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) === 2012-06-12 16:49:06,198 [-208] ERROR MessagingServlet - MessagingServlet top-level exception
                              16:49:06,254 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
                              16:49:06,263 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352)
                              16:49:06,271 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:316)
                              16:49:06,273 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.Response.flushBuffer(Response.java:543)
                              16:49:06,278 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:280)
                              16:49:06,279 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:204)
                              16:49:06,285 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at com.isomorphic.messaging.MessagingConnectionHandler.sendSyncDocumentDomain(MessagingConnectionHandler.java:214)
                              16:49:06,290 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:101)
                              16:49:06,296 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
                              16:49:06,300 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                              16:49:06,300 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                              16:49:06,305 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                              16:49:06,306 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                              16:49:06,310 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,311 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                              16:49:06,313 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,315 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,316 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
                              16:49:06,319 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,320 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,323 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                              16:49:06,326 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                              16:49:06,327 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                              16:49:06,333 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                              16:49:06,337 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                              16:49:06,341 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                              16:49:06,342 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                              16:49:06,346 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                              16:49:06,350 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                              16:49:06,350 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                              16:49:06,353 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                              16:49:06,354 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                              16:49:06,357 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at java.lang.Thread.run(Thread.java:722)
                              16:49:06,358 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) Caused by: java.net.SocketException: Software caused connection abort: socket write error
                              16:49:06,359 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at java.net.SocketOutputStream.socketWrite0(Native Method)
                              16:49:06,360 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
                              16:49:06,361 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
                              16:49:06,363 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
                              16:49:06,364 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
                              16:49:06,364 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
                              16:49:06,365 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1027)
                              16:49:06,366 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.coyote.Response.action(Response.java:190)
                              16:49:06,366 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:347)
                              16:49:06,367 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-208) ... 31 more
                              16:49:06,367 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) === 2012-06-12 16:49:06,260 [-223] INFO RequestContext - URL: '/gsui/gsui/sc/messaging', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                              16:49:06,368 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,247 [0-56] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager, starting transaction and setting it to RPCManager.
                              16:49:06,370 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) === 2012-06-12 16:49:06,369 [-223] ERROR MessagingServlet - MessagingServlet top-level exception
                              16:49:06,371 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error
                              16:49:06,373 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:352)
                              16:49:06,375 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:316)
                              16:49:06,376 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.Response.flushBuffer(Response.java:543)
                              16:49:06,376 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:280)
                              16:49:06,377 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at javax.servlet.ServletResponseWrapper.flushBuffer(ServletResponseWrapper.java:204)
                              16:49:06,378 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at com.isomorphic.messaging.MessagingConnectionHandler.sendSyncDocumentDomain(MessagingConnectionHandler.java:214)
                              16:49:06,379 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at com.isomorphic.messaging.MessagingConnectionHandler.process(MessagingConnectionHandler.java:101)
                              16:49:06,380 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at com.isomorphic.messaging.MessagingServlet.doPost(MessagingServlet.java:91)
                              16:49:06,380 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                              16:49:06,381 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                              16:49:06,382 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                              16:49:06,382 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                              16:49:06,383 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,384 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                              16:49:06,385 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,385 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,386 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:246)
                              16:49:06,387 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,387 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,388 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                              16:49:06,389 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                              16:49:06,390 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                              16:49:06,390 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                              16:49:06,391 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                              16:49:06,392 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                              16:49:06,392 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                              16:49:06,393 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                              16:49:06,394 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                              16:49:06,394 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                              16:49:06,395 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                              16:49:06,396 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                              16:49:06,396 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at java.lang.Thread.run(Thread.java:722)
                              16:49:06,397 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) Caused by: java.net.SocketException: Software caused connection abort: socket write error
                              16:49:06,398 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at java.net.SocketOutputStream.socketWrite0(Native Method)
                              16:49:06,400 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
                              16:49:06,402 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
                              16:49:06,403 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:724)
                              16:49:06,404 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:449)
                              16:49:06,404 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299)
                              16:49:06,405 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1027)
                              16:49:06,406 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.coyote.Response.action(Response.java:190)
                              16:49:06,406 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:347)
                              16:49:06,407 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-223) ... 31 more
                              16:49:06,407 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,374 [0-56] DEBUG DSRequest - [builtinApplication.null] Clobbering existing FreeResourcesHandler of type 'com.sncorp.gs2.ui.server.datasource.RTMDataSource' with a 'com.sncorp.gs2.ui.server.datasource.RTMDataSource'
                              16:49:06,412 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 16:49:06,412 [0-56] DEBUG JPADataSource - [builtinApplication.null] Executing update.
                              16:49:06,449 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) java.lang.NullPointerException
                              16:49:06,450 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1362)
                              16:49:06,452 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1351)
                              16:49:06,453 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:906)
                              16:49:06,455 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
                              16:49:06,457 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1295)
                              16:49:06,458 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.execute(JPADataSource.java:440)
                              16:49:06,459 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:725)
                              16:49:06,461 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
                              16:49:06,461 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.application.AppBase.execute(AppBase.java:491)
                              16:49:06,463 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1954)
                              16:49:06,463 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.update(VideoStreamDestinationDMI.java:62)
                              16:49:06,464 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              16:49:06,466 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                              16:49:06,466 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              16:49:06,467 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.reflect.Method.invoke(Method.java:601)
                              16:49:06,470 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
                              16:49:06,471 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
                              16:49:06,472 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                              16:49:06,474 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
                              16:49:06,476 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:133)
                              16:49:06,478 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              16:49:06,480 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                              16:49:06,480 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              16:49:06,482 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.reflect.Method.invoke(Method.java:601)
                              16:49:06,483 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
                              16:49:06,486 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
                              16:49:06,487 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                              16:49:06,488 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
                              16:49:06,490 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
                              16:49:06,490 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
                              16:49:06,492 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
                              16:49:06,492 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
                              16:49:06,493 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                              16:49:06,493 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                              16:49:06,495 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                              16:49:06,496 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                              16:49:06,497 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,498 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                              16:49:06,500 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,501 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,502 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                              16:49:06,503 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                              16:49:06,504 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                              16:49:06,506 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                              16:49:06,506 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                              16:49:06,508 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                              16:49:06,509 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                              16:49:06,510 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                              16:49:06,511 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                              16:49:06,512 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                              16:49:06,513 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                              16:49:06,514 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                              16:49:06,515 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                              16:49:06,515 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                              16:49:06,516 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                              16:49:06,518 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.Thread.run(Thread.java:722)

                              Comment


                                #30
                                With a call to vsd.exceute(updateRequest);


                                17:00:13,300 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:13,300 [0-56] INFO RequestContext - URL: '/gsui/skin/fleet/images/Window/maximize_Over.gif', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                                17:00:15,286 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,286 [0-56] INFO RequestContext - URL: '/gsui/gsui/sc/IDACall', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                                17:00:15,289 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,289 [0-56] DEBUG XML - Parsed XML from (in memory stream): 0ms
                                17:00:15,292 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,292 [0-56] DEBUG RPCManager - Processing 1 requests.
                                17:00:15,293 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,293 [0-56] DEBUG RPCManager - Request #1 (DSRequest) payload: {
                                17:00:15,294 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) criteria:{
                                17:00:15,296 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) },
                                17:00:15,298 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) values:{
                                17:00:15,301 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) ipAddress:"127.0.0.1"
                                17:00:15,307 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) },
                                17:00:15,309 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) operationConfig:{
                                17:00:15,311 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) dataSource:"videoStreamDestination",
                                17:00:15,313 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) operationType:"update"
                                17:00:15,315 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) },
                                17:00:15,317 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) appID:"builtinApplication",
                                17:00:15,319 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) operation:"deleteUserDestinationsByIPAddress",
                                17:00:15,321 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) oldValues:{
                                17:00:15,323 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) ipAddress:"127.0.0.1"
                                17:00:15,325 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) }
                                17:00:15,327 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) }
                                17:00:15,330 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,330 [0-56] INFO IDACall - Performing 1 operation(s)
                                17:00:15,330 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-112) === 2012-06-12 17:00:15,307 [-112] INFO RequestContext - URL: '/gsui/skin/fleet/images/Window/close_Over.gif', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                                17:00:15,332 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,332 [0-56] DEBUG ServerObject - Couldn't find a public method named: fetch on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI
                                17:00:15,333 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,333 [0-56] DEBUG DataSourceDMI - DataSourceDMI: no public method name: fetch available on class: com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI - defaulting to builtin operations.
                                17:00:15,334 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,334 [0-56] DEBUG AppBase - [builtinApplication.null] No userTypes defined, allowing anyone access to all operations for this application
                                17:00:15,335 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,335 [0-56] DEBUG AppBase - [builtinApplication.null] No public zero-argument method named '_null' found, performing generic datasource operation
                                17:00:15,335 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,335 [0-56] DEBUG JPADataSource - [builtinApplication.null] Creating EntityManager and starting transaction.
                                17:00:15,339 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,339 [0-56] DEBUG JPADataSource - [builtinApplication.null] Executing fetch.
                                17:00:15,340 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,340 [0-56] DEBUG JPADataSource - [builtinApplication.null] Query string: select _VideoStreamDestination from VideoStreamDestination _VideoStreamDestination where (lower(_VideoStreamDestination.ipAddress) = lower(:p0))

                                17:00:15,343 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,343 [0-56] DEBUG JPADataSource - [builtinApplication.null] Parameter p0: 127.0.0.1
                                17:00:15,352 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,352 [0-56] INFO DSResponse - [builtinApplication.null] DSResponse: List with 2 items
                                17:00:15,353 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,353 [0-56] DEBUG JPADataSource - [builtinApplication.null] Committing current transaction.
                                17:00:15,359 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,359 [0-56] DEBUG JPADataSource - [builtinApplication.null] Releasing entity manager.
                                17:00:15,360 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,360 [0-56] DEBUG JPADataSource - Releasing entity manager.
                                17:00:15,361 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,361 [0-56] DEBUG JPADataSource - Auto-joining transactions.
                                17:00:15,362 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,362 [0-56] DEBUG JPADataSource - Creating EntityManager, starting transaction and setting it to RPCManager.
                                17:00:15,366 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,366 [0-56] DEBUG DSRequest - Clobbering existing FreeResourcesHandler of type 'com.sncorp.gs2.ui.server.datasource.RTMDataSource' with a 'com.sncorp.gs2.ui.server.datasource.RTMDataSource'
                                17:00:15,367 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,367 [0-56] DEBUG JPADataSource - Executing update.
                                17:00:15,378 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) java.lang.NullPointerException
                                17:00:15,379 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1362)
                                17:00:15,380 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1351)
                                17:00:15,380 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:906)
                                17:00:15,381 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
                                17:00:15,382 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1295)
                                17:00:15,382 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.execute(JPADataSource.java:440)
                                17:00:15,383 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:133)
                                17:00:15,383 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                17:00:15,384 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                17:00:15,384 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                17:00:15,385 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.reflect.Method.invoke(Method.java:601)
                                17:00:15,385 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
                                17:00:15,386 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
                                17:00:15,387 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                                17:00:15,387 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
                                17:00:15,388 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
                                17:00:15,388 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
                                17:00:15,389 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
                                17:00:15,389 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
                                17:00:15,390 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                                17:00:15,390 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                                17:00:15,390 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                                17:00:15,391 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                                17:00:15,391 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,392 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                                17:00:15,392 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                                17:00:15,393 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,393 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                                17:00:15,394 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                                17:00:15,395 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,395 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                                17:00:15,396 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                                17:00:15,396 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                                17:00:15,397 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                                17:00:15,398 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                                17:00:15,398 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                                17:00:15,399 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                                17:00:15,400 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                17:00:15,401 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                                17:00:15,402 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                                17:00:15,402 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                                17:00:15,406 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                                17:00:15,409 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.Thread.run(Thread.java:722)
                                17:00:15,410 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,410 [0-56] DEBUG JPADataSource - Auto-joining transactions.
                                17:00:15,411 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,411 [0-56] DEBUG JPADataSource - Acquiring EntityManager and current transaction from RPCManager.
                                17:00:15,412 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,412 [0-56] DEBUG DSRequest - Clobbering existing FreeResourcesHandler of type 'com.sncorp.gs2.ui.server.datasource.RTMDataSource' with a 'com.sncorp.gs2.ui.server.datasource.RTMDataSource'
                                17:00:15,413 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,413 [0-56] DEBUG JPADataSource - Executing update.
                                17:00:15,422 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) java.lang.NullPointerException
                                17:00:15,423 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1362)
                                17:00:15,423 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.setProperties(DataSource.java:1351)
                                17:00:15,424 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.executeUpdate(JPADataSource.java:906)
                                17:00:15,425 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.datasource.RTMDataSource.executeUpdate(RTMDataSource.java:83)
                                17:00:15,425 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSource.execute(DataSource.java:1295)
                                17:00:15,426 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.jpa.JPADataSource.execute(JPADataSource.java:440)
                                17:00:15,427 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.sncorp.gs2.ui.server.dmi.VideoStreamDestinationDMI.deleteUserDestinationsByIPAddress(VideoStreamDestinationDMI.java:133)
                                17:00:15,427 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                17:00:15,428 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
                                17:00:15,428 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                17:00:15,429 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.reflect.Method.invoke(Method.java:601)
                                17:00:15,429 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.base.Reflection.adaptArgsAndInvoke(Reflection.java:950)
                                17:00:15,430 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:386)
                                17:00:15,430 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DataSourceDMI.execute(DataSourceDMI.java:64)
                                17:00:15,431 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1951)
                                17:00:15,432 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:199)
                                17:00:15,432 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:156)
                                17:00:15,433 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:121)
                                17:00:15,433 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.IDACall.doPost(IDACall.java:73)
                                17:00:15,433 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
                                17:00:15,434 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.BaseServlet.service(BaseServlet.java:152)
                                17:00:15,434 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
                                17:00:15,435 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
                                17:00:15,435 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,436 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)
                                17:00:15,437 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                                17:00:15,437 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,438 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:259)
                                17:00:15,438 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
                                17:00:15,439 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
                                17:00:15,440 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
                                17:00:15,440 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
                                17:00:15,441 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397)
                                17:00:15,441 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)
                                17:00:15,442 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154)
                                17:00:15,443 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
                                17:00:15,443 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                                17:00:15,444 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                17:00:15,444 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
                                17:00:15,445 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)
                                17:00:15,445 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)
                                17:00:15,446 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
                                17:00:15,446 ERROR [stderr] (http-0.0.0.0-0.0.0.0-8080-56) at java.lang.Thread.run(Thread.java:722)
                                17:00:15,447 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,447 [0-56] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8
                                17:00:15,447 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,447 [0-56] DEBUG JPADataSource - Committing transaction for 0 queued operation(s).
                                17:00:15,453 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,453 [0-56] DEBUG RPCManager - DMI response, dropExtraFields: true
                                17:00:15,455 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,455 [0-56] INFO Compression - /gsui/gsui/sc/IDACall: 144 -> 132 bytes
                                17:00:15,496 INFO [stdout] (http-0.0.0.0-0.0.0.0-8080-56) === 2012-06-12 17:00:15,496 [0-56] INFO RequestContext - URL: '/gsui/skin/fleet/images/Dialog/say.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0': Moz (Gecko) with Accept-Encoding header
                                Thanks for the continued help...

                                Comment

                                Working...
                                X