7 Replies Latest reply on Jan 13, 2014 4:42 PM by Carl Lewis

    Marshalling Errors

    Carl Lewis Newbie

      Hi,

       

      I'm having some trouble marshalling objects. I can successfully marshal an empty class, but as soon as I try to send anything more complex I get errors. On startup I get the following warnings:

       

      [INFO] 10:18:22,487 WARN  [ErraiMarshalling] (http--127.0.0.1-8888-1) could not locate marshaller class.

      [INFO] 10:18:22,489 WARN  [ErraiMarshalling] (http--127.0.0.1-8888-1) using dynamic marshallers. dynamic marshallers are designed for development mode testing, and ideally should not be used in production. *

       

      Then once I launch my app, which successfully makes a request to the server on a @PageShown event (using an empty object), the server builds the result set and tries to send it back to the client with the following error:

       

      10:18:24,497 ERROR [org.jboss.ejb3.invocation] (http--127.0.0.1-8888-1) JBAS014134: EJB Invocation failed on component Cam01Service for method public void org.aldaar.server.Cam01Service.getAll(org.aldaar.client.shared.Cam01FileList): javax.ejb.EJBException: java.lang.RuntimeException: java.lang.RuntimeException: no marshalling definition available for type:org.aldaar.client.shared.Cam01File

       

      All classes involved are in the shared package and marked as @Portable. I'm also able to locate MarshallerFactoryImpl.java and can see that it contains my portable class definitions.

       

      I'm assuming the first two warnings are the root cause of the problem but I'm unable to figure out how to get Errai to locate the marshaller class. Any help would be appreciated.

       

      Thanks,

       

      Carl

        • 1. Re: Marshalling Errors
          Carl Lewis Newbie

          For clarification, this only happens in development mode. If I deploy the war to JBoss 7.1.1.Final it works fine. I'm using Errai 3.0-SNAPSHOT and my pom settings are as follows:

           

          <errai.jboss.home>C:\Development\servers\jboss-as-7.1.1.Final</errai.jboss.home>

          .

          .

          .

          <plugin>

          <groupId>org.codehaus.mojo</groupId>

          <artifactId>gwt-maven-plugin</artifactId>

          <version>${gwt.version}</version>

          <executions>

          <execution>

          <goals>

          <goal>resources</goal>

          <goal>compile</goal>

          </goals>

          </execution>

          </executions>

          <configuration>

          <extraJvmArgs>-Xmx712m -XX:CompileThreshold=7000 -XX:MaxPermSize=128M -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${errai.version}/errai-client-local-class-hider-${errai.version}.jar</extraJvmArgs>

          <logLevel>INFO</logLevel>

          <noServer>false</noServer>

          <server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>

          <disableCastChecking>true</disableCastChecking>

          <runTarget>${errai.dev.context}</runTarget>

          <soyc>false</soyc>

          <hostedWebapp>src/main/webapp</hostedWebapp>

          </configuration>

          </plugin>

          • 2. Re: Marshalling Errors
            Christian Sadilek Master

            Hi Carl,

             

            We should be able to get to the bottom of this. Can you share the full stack trace with us, the source of your Cam01File class and your pom.xml?

             

            Cheers,

            Christian

            • 3. Re: Marshalling Errors
              Carl Lewis Newbie

              Hi Christian,

               

              Thanks for your time. Essentially I'm trying to return a list of Cam01File objects. Again it works when deployed as a war just not in dev mode. See below:

               

              Dev Mode Stack Trace:

               

              [INFO] 13:54:12,249 ERROR [org.jboss.ejb3.invocation] (http--127.0.0.1-8888-2) JBAS014134: EJB Invocation failed on component Cam01Service for method public void org.test.aldaar.server.Cam01Service.getAll(org.test.aldaar.client.shared.Cam01FileList): javax.ejb.EJBException: java.lang.RuntimeException: no marshalling definition available for type:org.test.aldaar.client.shared.Cam01List

              [INFO]     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:333) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:192) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.test.aldaar.server.Cam01Service$$$view1.getAll(Unknown Source) [classes:]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]

              [INFO]     at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:111) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.test.aldaar.server.Cam01Service$Proxy$_$$_Weld$Proxy$.getAll(Cam01Service$Proxy$_$$_Weld$Proxy$.java) [classes:]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]

              [INFO]     at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:165) [errai-weld-integration-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:284) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:140) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              [INFO]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              [INFO]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

              [INFO]     at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

              [INFO] Caused by: java.lang.RuntimeException: no marshalling definition available for type:org.test.aldaar.client.shared.Cam01List

              [INFO]     at org.jboss.errai.marshalling.client.util.MarshallUtil.getMarshaller(MarshallUtil.java:135) [errai-marshalling-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.marshalling.client.marshallers.ErraiProtocolEnvelopeMarshaller.marshall(ErraiProtocolEnvelopeMarshaller.java:100) [errai-marshalling-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.marshalling.client.protocols.ErraiProtocol.encodePayload(ErraiProtocol.java:40) [errai-marshalling-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.marshalling.server.protocol.ErraiProtocolServer.encodePayloadToByteArrayInputStream(ErraiProtocolServer.java:31) [errai-marshalling-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.io.BufferHelper.encodeAndWrite(BufferHelper.java:38) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.io.BufferDeliveryHandler.deliver(BufferDeliveryHandler.java:54) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.MessageQueueImpl.offer(MessageQueueImpl.java:123) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:411) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:379) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:330) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.bus.server.service.MessageBusProxy.send(MessageBusProxy.java:75) [errai-bus-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.errai.cdi.server.events.DynamicEventObserverMethod.notify(DynamicEventObserverMethod.java:133) [errai-weld-integration-3.0-SNAPSHOT.jar:3.0-SNAPSHOT]

              [INFO]     at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:569) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:564) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.jboss.weld.event.EventImpl.fire(EventImpl.java:68) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              [INFO]     at org.test.aldaar.server.Cam01Service.getAll(Cam01Service.java:73) [classes:]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]

              [INFO]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]

              [INFO]     at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]

              [INFO]     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:127) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:135) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:82) [jboss-as-weld-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

              [INFO]     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]

              [INFO]     ... 72 more

              [INFO]

              [INFO] 13:54:12,501 ERROR [stderr] (http--127.0.0.1-8888-2) java.lang.RuntimeException: Failed to dispatch CDI Event

              [INFO]

              [INFO] 13:54:12,503 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:195)

              [INFO]

              [INFO] 13:54:12,505 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.DeliveryPlan.deliver(DeliveryPlan.java:47)

              [INFO]

              [INFO] 13:54:12,506 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.ServerMessageBusImpl.sendGlobal(ServerMessageBusImpl.java:284)

              [INFO]

              [INFO] 13:54:12,508 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.SimpleDispatcher.dispatchGlobal(SimpleDispatcher.java:46)

              [INFO]

              [INFO] 13:54:12,510 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:97)

              [INFO]

              [INFO] 13:54:12,513 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.service.ErraiServiceImpl.store(ErraiServiceImpl.java:114)

              [INFO]

              [INFO] 13:54:12,515 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.doPost(DefaultBlockingServlet.java:140)

              [INFO]

              [INFO] 13:54:12,517 ERROR [stderr] (http--127.0.0.1-8888-2)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

              [INFO]

              [INFO] 13:54:12,518 ERROR [stderr] (http--127.0.0.1-8888-2)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

              [INFO]

              [INFO] 13:54:12,520 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

              [INFO]

              [INFO] 13:54:12,522 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              [INFO]

              [INFO] 13:54:12,524 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62)

              [INFO]

              [INFO] 13:54:12,526 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

              [INFO]

              [INFO] 13:54:12,528 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

              [INFO]

              [INFO] 13:54:12,530 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

              [INFO]

              [INFO] 13:54:12,532 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

              [INFO]

              [INFO] 13:54:12,534 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

              [INFO]

              [INFO] 13:54:12,536 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

              [INFO]

              [INFO] 13:54:12,539 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

              [INFO]

              [INFO] 13:54:12,542 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

              [INFO]

              [INFO] 13:54:12,544 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

              [INFO]

              [INFO] 13:54:12,546 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

              [INFO]

              [INFO] 13:54:12,548 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

              [INFO]

              [INFO] 13:54:12,549 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

              [INFO]

              [INFO] 13:54:12,551 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

              [INFO]

              [INFO] 13:54:12,554 ERROR [stderr] (http--127.0.0.1-8888-2)     at java.lang.Thread.run(Thread.java:744)

              [INFO]

              [INFO] 13:54:12,556 ERROR [stderr] (http--127.0.0.1-8888-2) Caused by: javax.ejb.EJBException: java.lang.RuntimeException: no marshalling definition available for type:org.test.aldaar.client.shared.Cam01List

              [INFO]

              [INFO] 13:54:12,559 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:166)

              [INFO]

              [INFO] 13:54:12,561 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:230)

              [INFO]

              [INFO] 13:54:12,563 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.requiresNew(CMTTxInterceptor.java:333)

              [INFO]

              [INFO] 13:54:12,565 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:192)

              [INFO]

              [INFO] 13:54:12,567 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,569 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

              [INFO]

              [INFO] 13:54:12,572 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,575 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

              [INFO]

              [INFO] 13:54:12,578 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,580 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

              [INFO]

              [INFO] 13:54:12,583 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,585 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:32)

              [INFO]

              [INFO] 13:54:12,588 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,590 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

              [INFO]

              [INFO] 13:54:12,592 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,594 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

              [INFO]

              [INFO] 13:54:12,596 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

              [INFO]

              [INFO] 13:54:12,598 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)

              [INFO]

              [INFO] 13:54:12,600 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,603 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

              [INFO]

              [INFO] 13:54:12,605 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)

              [INFO]

              [INFO] 13:54:12,608 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.test.aldaar.server.Cam01Service$$$view1.getAll(Unknown Source)

              [INFO]

              [INFO] 13:54:12,611 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              [INFO]

              [INFO] 13:54:12,613 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              [INFO]

              [INFO] 13:54:12,615 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              [INFO]

              [INFO] 13:54:12,616 ERROR [stderr] (http--127.0.0.1-8888-2)     at java.lang.reflect.Method.invoke(Method.java:606)

              [INFO]

              [INFO] 13:54:12,618 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)

              [INFO]

              [INFO] 13:54:12,621 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

              [INFO]

              [INFO] 13:54:12,624 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)

              [INFO]

              [INFO] 13:54:12,627 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)

              [INFO]

              [INFO] 13:54:12,631 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:111)

              [INFO]

              [INFO] 13:54:12,633 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)

              [INFO]

              [INFO] 13:54:12,635 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:105)

              [INFO]

              [INFO] 13:54:12,638 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.test.aldaar.server.Cam01Service$Proxy$_$$_Weld$Proxy$.getAll(Cam01Service$Proxy$_$$_Weld$Proxy$.java)

              [INFO]

              [INFO] 13:54:12,640 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              [INFO]

              [INFO] 13:54:12,642 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              [INFO]

              [INFO] 13:54:12,645 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              [INFO]

              [INFO] 13:54:12,647 ERROR [stderr] (http--127.0.0.1-8888-2)     at java.lang.reflect.Method.invoke(Method.java:606)

              [INFO]

              [INFO] 13:54:12,649 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:264)

              [INFO]

              [INFO] 13:54:12,652 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:52)

              [INFO]

              [INFO] 13:54:12,654 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:137)

              [INFO]

              [INFO] 13:54:12,658 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:260)

              [INFO]

              [INFO] 13:54:12,661 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:170)

              [INFO]

              [INFO] 13:54:12,664 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:51)

              [INFO]

              [INFO] 13:54:12,667 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:154)

              [INFO]

              [INFO] 13:54:12,670 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:241)

              [INFO]

              [INFO] 13:54:12,674 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:229)

              [INFO]

              [INFO] 13:54:12,677 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)

              [INFO]

              [INFO] 13:54:12,679 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.cdi.server.events.EventDispatcher.callback(EventDispatcher.java:165)

              [INFO]

              [INFO] 13:54:12,681 ERROR [stderr] (http--127.0.0.1-8888-2)     ... 25 more

              [INFO]

              [INFO] 13:54:12,683 ERROR [stderr] (http--127.0.0.1-8888-2) Caused by: java.lang.RuntimeException: no marshalling definition available for type:org.test.aldaar.client.shared.Cam01List

              [INFO]

              [INFO] 13:54:12,687 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.marshalling.client.util.MarshallUtil.getMarshaller(MarshallUtil.java:135)

              [INFO]

              [INFO] 13:54:12,689 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.marshalling.client.marshallers.ErraiProtocolEnvelopeMarshaller.marshall(ErraiProtocolEnvelopeMarshaller.java:100)

              [INFO]

              [INFO] 13:54:12,692 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.marshalling.client.protocols.ErraiProtocol.encodePayload(ErraiProtocol.java:40)

              [INFO]

              [INFO] 13:54:12,695 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.marshalling.server.protocol.ErraiProtocolServer.encodePayloadToByteArrayInputStream(ErraiProtocolServer.java:31)

              [INFO]

              [INFO] 13:54:12,699 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.io.BufferHelper.encodeAndWrite(BufferHelper.java:38)

              [INFO]

              [INFO] 13:54:12,702 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.io.BufferDeliveryHandler.deliver(BufferDeliveryHandler.java:54)

              [INFO]

              [INFO] 13:54:12,706 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.MessageQueueImpl.offer(MessageQueueImpl.java:123)

              [INFO]

              [INFO] 13:54:12,708 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.ServerMessageBusImpl.enqueueForDelivery(ServerMessageBusImpl.java:411)

              [INFO]

              [INFO] 13:54:12,712 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:379)

              [INFO]

              [INFO] 13:54:12,715 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:330)

              [INFO]

              [INFO] 13:54:12,717 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.bus.server.service.MessageBusProxy.send(MessageBusProxy.java:75)

              [INFO]

              [INFO] 13:54:12,720 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.errai.cdi.server.events.DynamicEventObserverMethod.notify(DynamicEventObserverMethod.java:133)

              [INFO]

              [INFO] 13:54:12,722 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:569)

              [INFO]

              [INFO] 13:54:12,725 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:564)

              [INFO]

              [INFO] 13:54:12,728 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.weld.event.EventImpl.fire(EventImpl.java:68)

              [INFO]

              [INFO] 13:54:12,731 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.test.aldaar.server.Cam01Service.getAll(Cam01Service.java:73)

              [INFO]

              [INFO] 13:54:12,734 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              [INFO]

              [INFO] 13:54:12,735 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

              [INFO]

              [INFO] 13:54:12,738 ERROR [stderr] (http--127.0.0.1-8888-2)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              [INFO]

              [INFO] 13:54:12,741 ERROR [stderr] (http--127.0.0.1-8888-2)     at java.lang.reflect.Method.invoke(Method.java:606)

              [INFO]

              [INFO] 13:54:12,743 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)

              [INFO]

              [INFO] 13:54:12,746 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,749 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)

              [INFO]

              [INFO] 13:54:12,752 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:127)

              [INFO]

              [INFO] 13:54:12,756 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:135)

              [INFO]

              [INFO] 13:54:12,759 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)

              [INFO]

              [INFO] 13:54:12,762 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,765 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

              [INFO]

              [INFO] 13:54:12,768 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)

              [INFO]

              [INFO] 13:54:12,772 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,775 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

              [INFO]

              [INFO] 13:54:12,778 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,780 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:82)

              [INFO]

              [INFO] 13:54:12,782 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,785 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

              [INFO]

              [INFO] 13:54:12,788 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,790 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

              [INFO]

              [INFO] 13:54:12,792 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

              [INFO]

              [INFO] 13:54:12,794 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,796 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)

              [INFO]

              [INFO] 13:54:12,799 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

              [INFO]

              [INFO] 13:54:12,801 ERROR [stderr] (http--127.0.0.1-8888-2)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:228)

              [INFO]

              [INFO] 13:54:12,803 ERROR [stderr] (http--127.0.0.1-8888-2)     ... 72 more

              [INFO]

              [INFO] 13:54:12,805 ERROR [stderr] (http--127.0.0.1-8888-2) *** Message delivery failure ***

              [INFO] 13:54:12,806 ERROR [stderr] (http--127.0.0.1-8888-2) Bus: org.jboss.errai.bus.server.ServerMessageBusImpl@766c293a

              [INFO] 13:54:12,808 ERROR [stderr] (http--127.0.0.1-8888-2) Message: FromClient=1, Qualifiers=[org.test.aldaar.client.shared.Request], BeanType=org.test.aldaar.client.shared.Cam01FileList, BeanReference=org.test.aldaar.client.shared.Cam01FileList@3706db93, CommandType=CDIEvent, ToSubject=cdi.event:Dispatcher

              [INFO] 13:54:12,813 ERROR [stderr] (http--127.0.0.1-8888-2) errorMessage: Error calling remote service: cdi.event:Dispatcher

              [INFO] 13:54:12,815 ERROR [stderr] (http--127.0.0.1-8888-2) exception: java.lang.RuntimeException: Failed to dispatch CDI Event

              [INFO] 13:54:12,817 ERROR [stderr] (http--127.0.0.1-8888-2) disconnect: false

              [INFO]

              [ERROR] 13:54:12 SEVERE [ManagementConsole] Error calling remote service: cdi.event:Dispatcher

              [INFO] INFO [Reflections] Reflections took 15636 ms to scan 152 urls, producing 9125 keys and 41543 values

               

              pom.xml:

               

              <?xml version="1.0" encoding="UTF-8"?>

              <project

                xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"

                xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

                <modelVersion>4.0.0</modelVersion>

               

                <groupId>org.test</groupId>

                <artifactId>ALDAAR</artifactId>

                <version>1.0</version>

                <packaging>war</packaging>

                <name>ALDAAR</name>

               

                <properties>

                  <errai.version>3.0-SNAPSHOT</errai.version>

                  <gwt.version>2.5.1</gwt.version>

                  <slf4j.version>1.5.11</slf4j.version>

                  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

                  <javaee.version>3.0.2.Final</javaee.version>

                  <errai.dev.context>${project.artifactId}</errai.dev.context>

                  <as.version>7.1.1.Final</as.version>

                  <!-- Add the absolute path for $JBOSS_HOME below to manage another instance -->

              <!--      <errai.jboss.home>${project.build.directory}/jboss-as-${as.version}</errai.jboss.home> -->

                  <errai.jboss.home>C:\Development\servers\jboss-as-7.1.1.Final</errai.jboss.home>

                </properties>

               

                <dependencyManagement>

                  <dependencies>

               

                    <dependency>

                      <groupId>org.jboss.errai.bom</groupId>

                      <artifactId>errai-version-master</artifactId>

                      <version>${errai.version}</version>

                      <type>pom</type>

                      <scope>import</scope>

                    </dependency>

               

                    <dependency>

                      <groupId>org.jboss.errai</groupId>

                      <artifactId>errai-parent</artifactId>

                      <version>${errai.version}</version>

                      <type>pom</type>

                      <scope>import</scope>

                    </dependency>

               

                    <dependency>

                      <groupId>org.jboss.spec</groupId>

                      <artifactId>jboss-javaee-6.0</artifactId>

                      <version>${javaee.version}</version>

                      <type>pom</type>

                      <scope>import</scope>

                    </dependency>

               

                    <dependency>

                      <groupId>org.jboss.weld</groupId>

                      <artifactId>weld-core</artifactId>

                      <version>1.1.5.Final</version>

                    </dependency>

                    <dependency>

                      <groupId>org.jboss.weld.servlet</groupId>

                      <artifactId>weld-servlet-core</artifactId>

                      <version>1.1.5.Final</version>

                    </dependency>

                   

                    <dependency>

                      <groupId>org.jboss.errai</groupId>

                      <artifactId>errai-cdi-jboss</artifactId>       

                      <version>${errai.version}</version>

                    </dependency>

               

                  </dependencies>

                </dependencyManagement>

               

                <dependencies>

                  <dependency>

                    <groupId>com.google.gwt</groupId>

                    <artifactId>gwt-user</artifactId>

                    <scope>provided</scope>

                  </dependency>

                  <dependency>

                    <groupId>org.jboss.errai</groupId>

                    <artifactId>errai-javaee-all</artifactId>

                  </dependency>

                  <dependency>

                    <groupId>org.jboss.errai</groupId>

                    <artifactId>errai-cordova</artifactId>

                  </dependency>

                  <dependency>

                    <groupId>org.jboss.spec</groupId>

                    <artifactId>jboss-javaee-6.0</artifactId>

                    <version>${javaee.version}</version>

                    <type>pom</type>

                    <scope>provided</scope>

                  </dependency>

               

                  <dependency>

                    <groupId>org.slf4j</groupId>

                    <artifactId>slf4j-log4j12</artifactId>

                  </dependency>

               

                  <dependency>

                    <groupId>junit</groupId>

                    <artifactId>junit</artifactId>

                    <scope>test</scope>

                  </dependency>

               

                  <dependency>

                    <groupId>org.jboss.errai</groupId>

                    <artifactId>errai-cdi-jboss</artifactId>   

                  </dependency>

                </dependencies>

               

                <repositories>

                  <repository>

                    <id>JBOSS_NEXUS</id>

                    <url>http://repository.jboss.org/nexus/content/groups/public</url>

                  </repository>

                </repositories>

               

                <build>

                  <finalName>${project.artifactId}</finalName>

                  <outputDirectory>src/main/webapp/WEB-INF/classes</outputDirectory>

               

                  <resources>

                    <resource>

                      <directory>src/main/java</directory>

                    </resource>

                    <resource>

                      <directory>src/main/resources</directory>

                    </resource>

                  </resources>

               

                  <pluginManagement>

                    <plugins>

                      <plugin>

                        <groupId>org.eclipse.m2e</groupId>

                        <artifactId>lifecycle-mapping</artifactId>

                        <version>1.0.0</version>

                        <configuration>

                          <lifecycleMappingMetadata>

                            <pluginExecutions>

                              <pluginExecution>

                                <pluginExecutionFilter>

                                  <groupId>org.codehaus.mojo</groupId>

                                  <artifactId>gwt-maven-plugin</artifactId>

                                  <versionRange>[2.4.0,)</versionRange>

                                  <goals>

                                    <goal>resources</goal>

                                  </goals>

                                </pluginExecutionFilter>

                                <action>

                                  <execute />

                                </action>

                              </pluginExecution>

                            </pluginExecutions>

                          </lifecycleMappingMetadata>

                        </configuration>

                      </plugin>

                    </plugins>

                  </pluginManagement>

               

                  <plugins>

                    <plugin>

                      <groupId>org.codehaus.mojo</groupId>

                      <artifactId>gwt-maven-plugin</artifactId>

                      <version>${gwt.version}</version>

                      <executions>

                        <execution>

                          <goals>

                            <goal>resources</goal>

                            <goal>compile</goal>

                          </goals>

                        </execution>

                      </executions>

                      <configuration>

                        <extraJvmArgs>-Xmx712m -XX:CompileThreshold=7000 -XX:MaxPermSize=128M -Derrai.jboss.home=${errai.jboss.home} -Derrai.dev.context=${errai.dev.context} -Derrai.jboss.javaagent.path=${settings.localRepository}/org/jboss/errai/errai-client-local-class-hider/${errai.version}/errai-client-local-class-hider-${errai.version}.jar</extraJvmArgs>

                        <logLevel>INFO</logLevel>

                        <noServer>false</noServer>

                        <server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>

                        <disableCastChecking>true</disableCastChecking>

                        <runTarget>${errai.dev.context}</runTarget>

                        <soyc>false</soyc>

                        <hostedWebapp>src/main/webapp</hostedWebapp>

                      </configuration>

                    </plugin>

                    <plugin>

                      <artifactId>maven-clean-plugin</artifactId>

                      <version>2.4.1</version>

                      <configuration>

                        <filesets>

                          <fileset>

                            <directory>${basedir}</directory>

                            <includes>

                              <include>src/main/webapp/app/</include>

                              <include>src/main/webapp/WEB-INF/deploy/</include>

                              <include>src/main/webapp/WEB-INF/lib/</include>

                              <include>**/gwt-unitCache/**</include>

                              <include>.errai/</include>

                            </includes>

                          </fileset>

                        </filesets>

                      </configuration>

                    </plugin>

                    <plugin>

                      <artifactId>maven-compiler-plugin</artifactId>

                      <version>2.3.2</version>

                      <configuration>

                        <source>1.6</source>

                        <target>1.6</target>

                      </configuration>

                    </plugin>

                    <!-- Unpack jboss-as from maven. Remove this if you wish to use your own jboss/wildfly instance. -->

              <!-- 

                <plugin>

                      <groupId>org.apache.maven.plugins</groupId>

                      <artifactId>maven-dependency-plugin</artifactId>

                      <executions>

                    <execution>

                          <id>unpack</id>

                          <phase>process-resources</phase>

                          <goals>

                            <goal>unpack</goal>

                          </goals>

                          <configuration>

                            <artifactItems>

                              <artifactItem>

                                <groupId>org.jboss.as</groupId>

                                <artifactId>jboss-as-dist</artifactId>

                                <version>${as.version}</version>

                                <type>zip</type>

                                <overWrite>false</overWrite>

                                <outputDirectory>${project.build.directory}</outputDirectory>

                              </artifactItem>

                            </artifactItems>

                          </configuration>

                        </execution>

                      </executions>

                    </plugin> -->      

                  </plugins>

                </build>

               

                <profiles>

                  <profile>

                    <id>jboss7</id>

                    <activation>

                      <activeByDefault>true</activeByDefault>

                    </activation>

                    <build>

                      <plugins>

                        <plugin>

                          <artifactId>maven-war-plugin</artifactId>

                          <version>2.2</version>

                          <configuration>

                            <packagingExcludes>**/javax/**/*.*,**/client/local/**/*.class</packagingExcludes>

                            <outputFileNameMapping>@{artifactId}@-@{baseVersion}@@{dashClassifier?}@.@{extension}@</outputFileNameMapping>

                          </configuration>

                        </plugin>

                        <plugin>

                          <groupId>org.jboss.as.plugins</groupId>

                          <artifactId>jboss-as-maven-plugin</artifactId>

                          <version>7.1.1.Final</version>

                          <extensions>false</extensions>

                        </plugin>

                      </plugins>

                    </build>

                    <dependencies>

                      <dependency>

                        <groupId>org.jboss.errai</groupId>

                        <artifactId>errai-jboss-as-support</artifactId>

                      </dependency>

               

                       <!-- TODO figure out how to force all these things to provided scope without doing it explicitly in EVERY SINGLE ERRAI PROJECT!!!!111!!!!1 -->

                      <!-- Don't deploy any of this -->

                      <dependency><groupId>com.google.guava</groupId><artifactId>guava-gwt</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>hsqldb</groupId><artifactId>hsqldb</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>javax.annotation</groupId><artifactId>jsr250-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>javax.enterprise</groupId><artifactId>cdi-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>javax.inject</groupId><artifactId>javax.inject</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>javax.validation</groupId><artifactId>validation-api</artifactId><classifier>sources</classifier><scope>provided</scope></dependency>

                      <dependency><groupId>javax.validation</groupId><artifactId>validation-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>junit</groupId><artifactId>junit</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate.common</groupId><artifactId>hibernate-commons-annotations</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate.javax.persistence</groupId><artifactId>hibernate-jpa-2.0-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate</groupId><artifactId>hibernate-core</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate</groupId><artifactId>hibernate-entitymanager</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate</groupId><artifactId>hibernate-validator</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.hibernate</groupId><artifactId>hibernate-validator</artifactId><classifier>sources</classifier><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-cdi-jetty</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-cdi-jboss</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-codegen-gwt</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-data-binding</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-javax-enterprise</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-jaxrs-client</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-jpa-client</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-navigation</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai</groupId><artifactId>errai-tools</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.logging</groupId><artifactId>jboss-logging</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.resteasy</groupId><artifactId>jaxrs-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.spec.javax.interceptor</groupId><artifactId>jboss-interceptors-api_1.1_spec</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.spec.javax.transaction</groupId><artifactId>jboss-transaction-api_1.1_spec</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.weld.servlet</groupId><artifactId>weld-servlet-core</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.weld</groupId><artifactId>weld-core</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.weld</groupId><artifactId>weld-api</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.weld</groupId><artifactId>weld-spi</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>xml-apis</groupId><artifactId>xml-apis</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.jboss.errai.io.netty</groupId><artifactId>netty</artifactId><scope>provided</scope></dependency>

                      <dependency><groupId>org.mortbay.jetty</groupId><artifactId>jetty-naming</artifactId><scope>provided</scope></dependency>

                    </dependencies>

                  </profile>

               

                  <profile>

                    <id>mobile</id>

                    <build>

                      <plugins>

                        <plugin>

                          <groupId>org.jboss.errai</groupId>

                          <artifactId>cordova-maven-plugin</artifactId>

                          <version>2.4.1.Final</version>

                          <executions>

                            <execution>

                              <id>build</id>

                              <phase>package</phase>

                              <goals>

                                <goal>build-project</goal>

                              </goals>

                            </execution>

                          </executions>

                        </plugin>

                      </plugins>

                    </build>

                    <pluginRepositories>

                      <pluginRepository>

                        <id>snapshots.jboss.org</id>

                        <name>JBoss Snapshot Repository</name>

                        <url>http://snapshots.jboss.org/maven2</url>

                        <layout>default</layout>

                        <snapshots>

                          <enabled>true</enabled>

                        </snapshots>

                      </pluginRepository>

                    </pluginRepositories>

                  </profile>

                </profiles>

              </project>


              Cam01File.java:

               

              package org.test.aldaar.client.shared;

               

              import javax.persistence.Column;

              import javax.persistence.Entity;

              import javax.persistence.GeneratedValue;

              import javax.persistence.GenerationType;

              import javax.persistence.Id;

              import javax.persistence.NamedQuery;

              import javax.persistence.Table;

               

              import org.jboss.errai.common.client.api.annotations.Portable;

              import org.jboss.errai.databinding.client.api.Bindable;

               

              /**

              * The persistent class for the cam01file database table.

              *

              */

              @Entity

              @Table(name = "cam01file", schema = "maindata")

              @NamedQuery(name = "Cam01File.findAll", query = "SELECT c FROM Cam01File c")

              @Bindable

              @Portable

              public class Cam01File

              {

                  @Id

                  @GeneratedValue(strategy = GenerationType.AUTO)

                  @Column(name = "ROWUID")

                  private int rowuid;

               

                  @Column(name = "ADDDTM")

                  private String adddtm;

               

                  @Column(name = "CommonlineSeqNbr44")

                  private String commonlineSeqNbr44;

               

                  @Column(name = "CommonlineUniqueID44")

                  private String commonlineUniqueID44;

               

                  @Column(name = "FileName")

                  private String fileName;

               

                  @Column(name = "RecordType")

                  private String recordType;

               

                  @Column(name = "RowContent")

                  private String rowContent;

               

                  @Column(name = "SSN")

                  private String ssn;

               

                  public Cam01File()

                  {

                  }

               

                  public int getRowuid()

                  {

                      return this.rowuid;

                  }

               

                  public void setRowuid(int rowuid)

                  {

                      this.rowuid = rowuid;

                  }

               

                  public String getAdddtm()

                  {

                      return this.adddtm;

                  }

               

                  public void setAdddtm(String adddtm)

                  {

                      this.adddtm = adddtm;

                  }

               

                  public String getCommonlineSeqNbr44()

                  {

                      return this.commonlineSeqNbr44;

                  }

               

                  public void setCommonlineSeqNbr44(String commonlineSeqNbr44)

                  {

                      this.commonlineSeqNbr44 = commonlineSeqNbr44;

                  }

               

                  public String getCommonlineUniqueID44()

                  {

                      return this.commonlineUniqueID44;

                  }

               

                  public void setCommonlineUniqueID44(String commonlineUniqueID44)

                  {

                      this.commonlineUniqueID44 = commonlineUniqueID44;

                  }

               

                  public String getFileName()

                  {

                      return this.fileName;

                  }

               

                  public void setFileName(String fileName)

                  {

                      this.fileName = fileName;

                  }

               

                  public String getRecordType()

                  {

                      return this.recordType;

                  }

               

                  public void setRecordType(String recordType)

                  {

                      this.recordType = recordType;

                  }

               

                  public String getRowContent()

                  {

                      return this.rowContent;

                  }

               

                  public void setRowContent(String rowContent)

                  {

                      this.rowContent = rowContent;

                  }

               

                  public String getSsn()

                  {

                      return this.ssn;

                  }

               

                  public void setSsn(String ssn)

                  {

                      this.ssn = ssn;

                  }

               

                  /*

                   * (non-Javadoc)

                   *

                   * @see java.lang.Object#hashCode()

                   */

                  @Override

                  public int hashCode()

                  {

                      final int prime = 31;

                      int result = 1;

                      result = prime * result + rowuid;

                      return result;

                  }

               

                  /*

                   * (non-Javadoc)

                   *

                   * @see java.lang.Object#equals(java.lang.Object)

                   */

                  @Override

                  public boolean equals(Object obj)

                  {

                      if (this == obj)

                      {

                          return true;

                      }

                      if (obj == null)

                      {

                          return false;

                      }

                      if (!(obj instanceof Cam01File))

                      {

                          return false;

                      }

                      Cam01File other = (Cam01File) obj;

                      if (rowuid != other.rowuid)

                      {

                          return false;

                      }

                      return true;

                  }

               

                  /*

                   * (non-Javadoc)

                   *

                   * @see java.lang.Object#toString()

                   */

                  @Override

                  public String toString()

                  {

                      StringBuilder builder = new StringBuilder();

                      builder.append(", rowuid=");

                      builder.append(rowuid);

                      builder.append(", adddtm=");

                      builder.append(adddtm);

                      builder.append(", commonlineSeqNbr44=");

                      builder.append(commonlineSeqNbr44);

                      builder.append(", commonlineUniqueID44=");

                      builder.append(commonlineUniqueID44);

                      builder.append(", fileName=");

                      builder.append(fileName);

                      builder.append(", recordType=");

                      builder.append(recordType);

                      builder.append(", rowContent=");

                      builder.append(rowContent);

                      builder.append(", ssn=");

                      builder.append(ssn);

                      builder.append("]");

                      return builder.toString();

                  }

              }

               

              Cam01List.java:

               

              package org.test.aldaar.client.shared;

               

              import java.util.ArrayList;

               

              import org.jboss.errai.common.client.api.annotations.Portable;

               

              @Portable(aliasOf = java.util.List.class)

              public class Cam01List extends ArrayList

              {

               

              }

              • 4. Re: Re: Marshalling Errors
                Christian Sadilek Master

                Hi,

                 

                I tried adding the types you provided to the errai-tutorial project but wasn't able to reproduce your issue. Can you provide the details of your Cam01Service and getAll() method?

                 

                Can you also try to use composition instead of inheritance for your Cam01List? This is preferable anyway and will further allow to use Cam01List as a CDI event type. So, basically try changing Cam01List to

                 

                @Portable
                public class Cam01ListHolder {
                
                  private List<Cam01File> list = new ArrayList<Cam01File>();
                
                  public void setList(List<Cam01File> list) {
                    this.list = list;
                  }
                  
                  public boolean add(Cam01File file) {
                    return list.add(file);
                  }
                  
                  ...
                
                }
                

                 

                Cheers,

                Christian

                • 5. Re: Re: Marshalling Errors
                  Carl Lewis Newbie

                  Hi Christian,

                   

                  I originally had it as composition but changed it when I was trying to figure out the marshaling issue. I changed it back and retested as a deployed war and it still works; dev mod still fails with the same error. See below for the other classes involved.

                   

                  Thanks,

                   

                  Carl

                   

                  Cam01Service.java

                   

                  import java.util.List;

                   

                  import javax.ejb.Stateless;

                  import javax.ejb.TransactionAttribute;

                  import javax.ejb.TransactionAttributeType;

                  import javax.enterprise.event.Event;

                  import javax.enterprise.event.Observes;

                  import javax.inject.Inject;

                  import javax.persistence.EntityManager;

                  import javax.persistence.PersistenceContext;

                  import javax.persistence.TypedQuery;

                   

                  import org.test.aldaar.client.shared.Cam01File;

                  import org.test.aldaar.client.shared.Cam01FileList;

                  import org.test.aldaar.client.shared.Request;

                  import org.test.aldaar.client.shared.Response;

                   

                  @Stateless

                  @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)

                  public class Cam01Service

                  {

                      @Inject

                      @Response

                      private Event<Cam01FileList> cam01FileListEvent;

                   

                      @PersistenceContext(unitName = "ALDAAR")

                      private EntityManager em;

                   

                      public void create(Cam01File entity)

                      {

                          em.persist(entity);

                      }

                   

                      public void update(int id, Cam01File entity)

                      {

                          entity.setRowuid(id);

                          entity = em.merge(entity);

                      }

                   

                      public void delete(int id)

                      {

                          Cam01File cam01File = em.find(Cam01File.class, id);

                          em.remove(cam01File);

                      }

                   

                      public Cam01File getById(Long id)

                      {

                          return em.find(Cam01File.class, id);

                      }

                   

                      public void getAll(@Observes @Request Cam01FileList cam01List)

                      {

                          System.out.println("RECEIVED REQUEST FOR CAM01 RECORDS!!!");

                          TypedQuery<Cam01File> query = em.createNamedQuery("Cam01File.findAll", Cam01File.class);

                   

                          List<Cam01File> results = query.getResultList();

                          System.out.println("RETRIEVED CAM01FILE RECORDS!!!");

                   

                          cam01List.setRecords(results);

                   

                          System.out.println("FIRING CAM01FILELIST EVENT!!!");

                          cam01FileListEvent.fire(cam01List);

                      }

                  }


                  Cam01FileList.java

                   

                  package org.test.aldaar.client.shared;

                   

                  import java.util.List;

                   

                  import org.jboss.errai.common.client.api.annotations.Portable;

                  import org.jboss.errai.enterprise.client.cdi.api.Conversational;

                   

                  @Conversational

                  @Portable

                  public class Cam01FileList

                  {

                      private List<Cam01File> records;

                   

                      public Cam01FileList()

                      {

                   

                      }

                   

                      /**

                       * @return the records

                       */

                      public List<Cam01File> getRecords()

                      {

                          return records;

                      }

                   

                      /**

                       * @param records

                       *            the records to set

                       */

                      public void setRecords(List<Cam01File> records)

                      {

                          this.records = records;

                      }

                  }

                   

                  Request.java

                   

                  package org.test.aldaar.client.shared;

                   

                  import java.lang.annotation.ElementType;

                  import java.lang.annotation.Retention;

                  import java.lang.annotation.RetentionPolicy;

                  import java.lang.annotation.Target;

                   

                  import javax.inject.Qualifier;

                   

                  @Qualifier

                  @Target({ ElementType.FIELD, ElementType.PARAMETER })

                  @Retention(RetentionPolicy.RUNTIME)

                  public @interface Request

                  {

                   

                  }


                  Response.java


                  package org.test.aldaar.client.shared;

                   

                  import java.lang.annotation.ElementType;

                  import java.lang.annotation.Retention;

                  import java.lang.annotation.RetentionPolicy;

                  import java.lang.annotation.Target;

                   

                  import javax.inject.Qualifier;

                   

                  @Qualifier

                  @Target({ ElementType.FIELD, ElementType.PARAMETER })

                  @Retention(RetentionPolicy.RUNTIME)

                  public @interface Response

                  {

                   

                  }

                   

                   

                  Cam01Records.java


                  package org.test.aldaar.client.local;

                   

                  import javax.enterprise.event.Event;

                  import javax.enterprise.event.Observes;

                  import javax.inject.Inject;

                   

                  import org.jboss.errai.ui.client.widget.ListWidget;

                  import org.jboss.errai.ui.nav.client.local.DefaultPage;

                  import org.jboss.errai.ui.nav.client.local.Page;

                  import org.jboss.errai.ui.nav.client.local.PageShown;

                  import org.jboss.errai.ui.shared.api.annotations.DataField;

                  import org.jboss.errai.ui.shared.api.annotations.Templated;

                  import org.test.aldaar.client.shared.Cam01File;

                  import org.test.aldaar.client.shared.Cam01FileList;

                  import org.test.aldaar.client.shared.Request;

                  import org.test.aldaar.client.shared.Response;

                   

                  import com.google.gwt.user.client.ui.Composite;

                   

                   

                  @Page(role = DefaultPage.class)

                  @Templated("Cam01Records.html#app-template")

                  public class Cam01Records extends Composite

                  {

                      @DataField

                      private final ListWidget<Cam01File, Cam01FileListItemWidget> records;

                   

                      @Inject

                      @Request

                      private Event<Cam01FileList> cam01FileListEvent;

                   

                      public Cam01Records()

                      {

                          System.out.println("Cam01Records");

                          records = new Cam01FileListWidget("tbody");

                      }

                   

                   

                      public void loadRecords(@Observes @Response Cam01FileList event)

                      {

                          System.out.println("RECEIVED CAM01 FILE RECORDS!!!!");

                   

                          records.setItems(event.getRecords());

                     }

                   

                      @PageShown

                      private void getRecords()

                      {

                          System.out.println("REQUESTING CAM01 FILE RECORDS!!!!");

                          cam01FileListEvent.fire(new Cam01FileList());

                      }

                  }

                  • 6. Re: Re: Re: Marshalling Errors
                    Christian Sadilek Master

                    Hi Carl,

                     

                    I attached a simple example project that uses the exact same classes that you provided. It works fine for me in DevMode. Can you unzip the file and execute mvn clean gwt:run. You should see your debug output on the console. Does that work for you?

                     

                    Cheers,

                    Christian

                    1 of 1 people found this helpful
                    • 7. Re: Marshalling Errors
                      Carl Lewis Newbie

                      Hi Christian,

                       

                      Thanks for sending the example project. After closer inspection, comparing my project to the tutorial, it seems that I had managed to rename the ErraiApp.properties file at some point. Once I named it correctly my DevMode started working again.

                       

                      Thanks,

                       

                      Carl