3 Replies Latest reply on Oct 11, 2018 1:19 AM by jaikiran pai

    JBoss deployed application getting excpetion

    vivek singh Newbie

      I have a EJB program deplyed on JBOSS AS 7.1 for the plateform .earlier same Sourcecode was working on Weblogic plateform .

      now unable to call a mothod call is okay but no response. when i did print-stack got below error .

      This program is a EAR which content WEB+EJB 3.0 @@

      a-ed31-4946-97ee-0d2bf9b27779] rid : [71-2018-00000002] New State : [PI_1_PORTIN_REQ]

      8:50:37,152 INFO  [WEBLogger] (default task-8) IP 10.1.1.30 Hostname: 10.1.1.30 Connected, Time Sat Aug 25 18:50:37 HKT 2018, Accessing page: /ossgw/InquiryPortin.xhtml

      18:50:37,329 ERROR [stderr] (default task-8) org.jboss.ejb.client.RequestSendFailedException: EJBCLIENT000409: No more destinations are available

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:567)

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:56)

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,330 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:133)

      18:50:37,331 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

      18:50:37,331 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,331 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:108)

      18:50:37,331 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

      18:50:37,331 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:78)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:172)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:913)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:177)

      18:50:37,332 ERROR [stderr] (default task-8)    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:112)

      18:50:37,332 ERROR [stderr] (default task-8)    at com.sun.proxy.$Proxy94.queryPortin(Unknown Source)

      18:50:37,333 ERROR [stderr] (default task-8)    at npgw.pkb.PortinInquiryBean.queryPI(PortinInquiryBean.java:431)

      18:50:37,333 ERROR [stderr] (default task-8)    at npgw.pkb.PortinInquiryBean.filterPortIn(PortinInquiryBean.java:382)

      18:50:37,333 ERROR [stderr] (default task-8)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      18:50:37,333 ERROR [stderr] (default task-8)    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

      18:50:37,333 ERROR [stderr] (default task-8)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      18:50:37,333 ERROR [stderr] (default task-8)    at java.lang.reflect.Method.invoke(Method.java:498)

      18:50:37,333 ERROR [stderr] (default task-8)    at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)

      18:50:37,333 ERROR [stderr] (default task-8)    at com.sun.el.parser.AstValue.invoke(AstValue.java:289)

      18:50:37,333 ERROR [stderr] (default task-8)    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)

      18:50:37,334 ERROR [stderr] (default task-8)    at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)

      18:50:37,334 ERROR [stderr] (default task-8)    at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)

      18:50:37,334 ERROR [stderr] (default task-8)    at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

      18:50:37,337 ERROR [stderr] (default task-8)    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)

      18:50:37,349 ERROR [stderr] (default task-8)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      18:50:37,350 ERROR [stderr] (default task-8)    at java.lang.Thread.run(Thread.java:745)

      18:50:37,351 ERROR [stderr] (default task-8)    Suppressed: org.jboss.ejb.client.RequestSendFailedException: np.web.SimpleObject @ http-remoting://127.0.0.1:8083

      18:50:37,351 ERROR [stderr] (default task-8)            at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:461)

      18:50:37,351 ERROR [stderr] (default task-8)            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.lambda$handleDone$0(RemoteEJBReceiver.java:91)

      18:50:37,351 ERROR [stderr] (default task-8)            at org.xnio.FinishedIoFuture.addNotifier(FinishedIoFuture.java:79)

      18:50:37,351 ERROR [stderr] (default task-8)            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(RemoteEJBReceiver.java:76)

      18:50:37,351 ERROR [stderr] (default task-8)            at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(RemoteEJBReceiver.java:74)

      18:50:37,352 ERROR [stderr] (default task-8)            at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208)

      18:50:37,352 ERROR [stderr] (default task-8)            at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720)

      18:50:37,352 ERROR [stderr] (default task-8)            at org.jboss.remoting3.EndpointImpl$TrackingExecutor.lambda$execute$0(EndpointImpl.java:926)

      18:50:37,352 ERROR [stderr] (default task-8)            ... 3 more

      18:50:37,353 ERROR [stderr] (default task-8)    Caused by: java.io.NotSerializableException: np.web.SimpleObject

      18:50:37,353 ERROR [stderr] (default task-8)            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:959)

      18:50:37,353 ERROR [stderr] (default task-8)            at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:877)

      18:50:37,353 ERROR [stderr] (default task-8)            at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)

      18:50:37,354 ERROR [stderr] (default task-8)            at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)

      18:50:37,354 ERROR [stderr] (default task-8)            at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:372)

      18:50:37,354 ERROR [stderr] (default task-8)            ... 10 more

      18:50:37,354 ERROR [stderr] (default task-8)    Caused by: an exception which occurred:

      18:50:37,354 ERROR [stderr] (default task-8)    in object (array of np.web.SimpleObject)@347d484b jaykiran please help as I stucked in this problem since couple of days.

        • 1. Re: JBoss deployed application getting excpetion
          vivek singh Newbie

          Hi All ,

          After few changes got below exception and now clueless.Please help jaikiran Sir

           

          2018-08-30 01:48:16,676 INFO  [WEBLogger] (default task-16) [Session ID=8ucGlBA2k2gkQSjfj6glJnkl5HKWEzIc54qKdr-1] - processQuery: [stateDescription =PI_1].

          2018-08-30 01:48:16,677 DEBUG [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool] (default task-16) PostgresDS: returnConnection(75927106, false) [0/20]

          2018-08-30 01:48:16,677 INFO  [WEBLogger] (default task-16) [Session ID=8ucGlBA2k2gkQSjfj6glJnkl5HKWEzIc54qKdr-1] - processQuery: [Vector SIze()****** =1].

          2018-08-30 01:48:16,681 ERROR [stderr] (default task-26) javax.ejb.EJBException: Failed to read response

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.protocol.remote.EJBClientChannel$MethodInvocation$MethodCallResultProducer.getResult(EJBClientChannel.java:1216)

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:567)

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocationResult(RemotingEJBClientInterceptor.java:56)

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

          2018-08-30 01:48:16,682 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocationResult(TransactionPostDiscoveryInterceptor.java:133)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocationResult(DiscoveryEJBClientInterceptor.java:108)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

          2018-08-30 01:48:16,683 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,684 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocationResult(NamingEJBClientInterceptor.java:78)

          2018-08-30 01:48:16,684 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

          2018-08-30 01:48:16,684 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,684 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.TransactionInterceptor.handleInvocationResult(TransactionInterceptor.java:172)

          2018-08-30 01:48:16,684 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:569)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.getResult(EJBClientInvocationContext.java:503)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBClientInvocationContext.awaitResponse(EJBClientInvocationContext.java:913)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:177)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:112)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at com.sun.proxy.$Proxy191.queryPortin(Unknown Source)

          2018-08-30 01:48:16,685 ERROR [stderr] (default task-26)        at npgw.pkb.PortinInquiryBean.queryPI(PortinInquiryBean.java:432)

          2018-08-30 01:48:16,686 ERROR [stderr] (default task-26)        at npgw.pkb.PortinInquiryBean.filterPortIn(PortinInquiryBean.java:383)

          2018-08-30 01:48:16,686 ERROR [stderr] (default task-26)        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          2018-08-30 01:48:16,687 ERROR [stderr] (default task-26)        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          2018-08-30 01:48:16,687 ERROR [stderr] (default task-26)        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          2018-08-30 01:48:16,687 ERROR [stderr] (default task-26)        at java.lang.reflect.Method.invoke(Method.java:498)

          2018-08-30 01:48:16,688 ERROR [stderr] (default task-26)        at com.sun.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:181)

          2018-08-30 01:48:16,688 ERROR [stderr] (default task-26)        at com.sun.el.parser.AstValue.invoke(AstValue.java:289)

          2018-08-30 01:48:16,688 ERROR [stderr] (default task-26)        at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304)

          2018-08-30 01:48:16,689 ERROR [stderr] (default task-26)        at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40)

          2018-08-30 01:48:16,689 ERROR [stderr] (default task-26)        at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50)

          2018-08-30 01:48:16,689 ERROR [stderr] (default task-26)        at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)

          2018-08-30 01:48:16,689 ERROR [stderr] (default task-26)        at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87)

          2018-08-30 01:48:16,690 ERROR [stderr] (default task-26)        at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)

          2018-08-30 01:48:16,690 ERROR [stderr] (default task-26)        at javax.faces.component.UICommand.broadcast(UICommand.java:315)

          2018-08-30 01:48:16,690 ERROR [stderr] (default task-26)        at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790)

          2018-08-30 01:48:16,690 ERROR [stderr] (default task-26)        at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282)

          2018-08-30 01:48:16,691 ERROR [stderr] (default task-26)        at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)

          2018-08-30 01:48:16,691 ERROR [stderr] (default task-26)        at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)

          2018-08-30 01:48:16,691 ERROR [stderr] (default task-26)        at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198)

          2018-08-30 01:48:16,691 ERROR [stderr] (default task-26)        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:654)

          2018-08-30 01:48:16,692 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)

          2018-08-30 01:48:16,692 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)

          2018-08-30 01:48:16,692 ERROR [stderr] (default task-26)        at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:357)

          2018-08-30 01:48:16,692 ERROR [stderr] (default task-26)        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

          2018-08-30 01:48:16,693 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

          2018-08-30 01:48:16,693 ERROR [stderr] (default task-26)        at npgw.pkb.FilterServlet.doFilter(FilterServlet.java:143)

          2018-08-30 01:48:16,693 ERROR [stderr] (default task-26)        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

          2018-08-30 01:48:16,694 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

          2018-08-30 01:48:16,694 ERROR [stderr] (default task-26)        at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:391)

          2018-08-30 01:48:16,694 ERROR [stderr] (default task-26)        at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)

          2018-08-30 01:48:16,694 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)

          2018-08-30 01:48:16,695 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)

          2018-08-30 01:48:16,695 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

          2018-08-30 01:48:16,695 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

          2018-08-30 01:48:16,695 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

          2018-08-30 01:48:16,696 ERROR [stderr] (default task-26)        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

          2018-08-30 01:48:16,696 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

          2018-08-30 01:48:16,696 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

          2018-08-30 01:48:16,696 ERROR [stderr] (default task-26)        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

          2018-08-30 01:48:16,697 ERROR [stderr] (default task-26)        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

          2018-08-30 01:48:16,697 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

          2018-08-30 01:48:16,697 ERROR [stderr] (default task-26)        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)

          2018-08-30 01:48:16,698 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)

          2018-08-30 01:48:16,698 ERROR [stderr] (default task-26)        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

          2018-08-30 01:48:16,698 ERROR [stderr] (default task-26)        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)

          2018-08-30 01:48:16,699 ERROR [stderr] (default task-26)        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

          2018-08-30 01:48:16,699 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

          2018-08-30 01:48:16,699 ERROR [stderr] (default task-26)        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

          2018-08-30 01:48:16,700 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.GlobalRequestControllerHandler.handleRequest(GlobalRequestControllerHandler.java:68)

          2018-08-30 01:48:16,700 ERROR [stderr] (default task-26)        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

          2018-08-30 01:48:16,700 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)

          2018-08-30 01:48:16,700 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)

          2018-08-30 01:48:16,701 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)

          2018-08-30 01:48:16,701 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)

          2018-08-30 01:48:16,701 ERROR [stderr] (default task-26)        at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)

          2018-08-30 01:48:16,702 ERROR [stderr] (default task-26)        at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

          2018-08-30 01:48:16,702 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAction.lambda$create$0(SecurityContextThreadSetupAction.java:105)

          2018-08-30 01:48:16,702 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)

          2018-08-30 01:48:16,702 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)

          2018-08-30 01:48:16,703 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)

          2018-08-30 01:48:16,703 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)

          2018-08-30 01:48:16,703 ERROR [stderr] (default task-26)        at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:1508)

          2018-08-30 01:48:16,704 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)

          2018-08-30 01:48:16,704 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)

          2018-08-30 01:48:16,704 ERROR [stderr] (default task-26)        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)

          2018-08-30 01:48:16,704 ERROR [stderr] (default task-26)        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)

          2018-08-30 01:48:16,705 ERROR [stderr] (default task-26)        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)

          2018-08-30 01:48:16,705 ERROR [stderr] (default task-26)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

          2018-08-30 01:48:16,705 ERROR [stderr] (default task-26)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          2018-08-30 01:48:16,706 ERROR [stderr] (default task-26)        at java.lang.Thread.run(Thread.java:745)

          2018-08-30 01:48:16,707 ERROR [stderr] (default task-26) Caused by: java.io.EOFException: Read past end of file

          2018-08-30 01:48:16,707 ERROR [stderr] (default task-26)        at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:151)

          2018-08-30 01:48:16,707 ERROR [stderr] (default task-26)        at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:294)

          2018-08-30 01:48:16,708 ERROR [stderr] (default task-26)        at org.jboss.marshalling.SimpleDataInput.readUnsignedByte(SimpleDataInput.java:249)

          2018-08-30 01:48:16,708 ERROR [stderr] (default task-26)        at org.jboss.marshalling.river.RiverUnmarshaller.start(RiverUnmarshaller.java:1346)

          2018-08-30 01:48:16,708 ERROR [stderr] (default task-26)        at org.jboss.ejb.protocol.remote.EJBClientChannel$MethodInvocation$MethodCallResultProducer.getResult(EJBClientChannel.java:1197)

          • 3. Re: JBoss deployed application getting excpetion
            jaikiran pai Master

            Sorry, I haven't been watching the forums for a while now.

             

            Coming to your issue, this could either be a bug in the marshalling implementation of the server or something to do with the objects that you are passing or returning from that EJB method. Either way, JBoss AS 7.1 is extremely outdated and even if it turned out to be a bug in the implementation of hte server, there won't be a way to fix it unless you patch the source code yourself. I recommend that you download WildFly (JBoss AS was renamed to WildFly) latest release (14.x) and give it a try there and see how it goes.