3 Replies Latest reply on Apr 17, 2018 9:49 AM by Anup Dey

    Resource Adapter Configuration for JBoss 7.x

    Akash shah Newbie

      Hello,

       

      I am migrating from Jboss 4 to Jboss 7 . I understand we would not require now ra.xml file and need to incorporate the definition in standalone.xml .

       

      This is how my it looks:-

       

      <resource-adapters>

                      <resource-adapter name="java:jboss/EnqPxyConnector" id="EnqPxyConnector">

                          <archive>

                              mass-enq-connector.rar

                          </archive>

                          <transaction-support>NoTransaction</transaction-support>

                          <connection-definitions>

                              <connection-definition class-name="com.erggroup.mass.account.enqconn.EnquiryProxyConnectionFactory"

                                                      jndi-name="java:jboss/EnqPxyDS"

                                                      use-java-context="true"

                                                      pool-name="EnqPxyDS"

                                                      enabled="true" 

                                                      use-ccm="true"    >

                                  <config-property name="ConnectorClassName">com.erggroup.mass.account.enqconn.EnquiryProxyConnection</config-property>                   

                                  </connection-definition>

                          </connection-definitions>

                          <admin-objects>

                              <admin-object class-name="com.erggroup.mass.account.enqconn.CommandLineInvoker"

                                              jndi-name="java:jboss/EnqPxyConnector"

                                              use-java-context="true"

                                              pool-name="EnqPxyConnector">

                              <config-property name="PhysicalName">java:jboss/EnqPxyConnector</config-property>

                              </admin-object>

                          </admin-objects>

                         

                      </resource-adapter>

                     

                 </resource-adapters>

       

       

      I am getting Error:

      javax.naming.NameNotFoundException: EnqPxyDS -- service jboss.naming.context.java.jboss.EnqPxyDS

       

      From my code where i am doing this:-

      Context ic = new InitialContext();

                  connectionFactory = (ConnectionFactory)ic.lookup("java:jboss/EnqPxyDS");

       

      Thanks,

      Akash Shah

        • 1. Re: Resource Adapter Configuration for JBoss 7.x
          Ranjay Gupta Newbie

          >

          I am getting Error:

          javax.naming.NameNotFoundException: EnqPxyDS -- service jboss.naming.context.java.jboss.EnqPxyDS

           

          Could you paste the complete log here?

          • 2. Re: Resource Adapter Configuration for JBoss 7.x
            Akash shah Newbie

            @rangupta full error log 

             

             

            javax.naming.NameNotFoundException: EnqPxyDS -- service jboss.naming.context.java.jboss.EnqPxyDS2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:103)2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:197)2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:174)2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:122)2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:183)2018-04-16 12:39:18,802 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at javax.naming.InitialContext.lookup(InitialContext.java:411)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.account.EnquiryEntityBean.setEntityContext(EnquiryEntityBean.java:83)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.card.account.CardAccountBMP.setEntityContext(CardAccountBMP.java:59)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.setupContext(EntityBeanComponentInstance.java:221)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.EntityBeanInterceptors$2.processInvocation(EntityBeanInterceptors.java:59)2018-04-16 12:39:18,803 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:95)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)2018-04-16 12:39:18,804 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)2018-04-16 12:39:18,805 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:89)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:86)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.EntityBeanComponent.acquireUnAssociatedInstance(EntityBeanComponent.java:146)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanHomeFinderInterceptorFactory$1.processInvocation(EntityBeanHomeFinderInterceptorFactory.java:87)2018-04-16 12:39:18,806 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:315)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)2018-04-16 12:39:18,807 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89)2018-04-16 12:39:18,808 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)2018-04-16 12:39:18,809 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)2018-04-16 12:39:18,810 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.card.account.LocalCardAccountHome$$$view45.findByPrimaryKey(Unknown Source)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.card.account.CardAccountServiceBean.getCard(CardAccountServiceBean.java:225)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.card.account.CardAccountServiceBean.getCardDetails(CardAccountServiceBean.java:142)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at java.lang.reflect.Method.invoke(Method.java:606)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)2018-04-16 12:39:18,811 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)2018-04-16 12:39:18,812 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:235)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:218)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)2018-04-16 12:39:18,813 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$1.processInvocation(EjbExceptionTransformingInterceptorFactories.java:65)2018-04-16 12:39:18,814 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:222)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:184)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBObjectInterceptor.handleInvocation(EJBObjectInterceptor.java:58)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)2018-04-16 12:39:18,815 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBHomeInterceptor.handleInvocation(EJBHomeInterceptor.java:83)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:42)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:125)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:254)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:199)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:182)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:145)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.sun.proxy.$Proxy23.getCardDetails(Unknown Source)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:176)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:167)2018-04-16 12:39:18,816 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.struts.account.card.CardSearchAction.lookupHelper(CardSearchAction.java:628)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.struts.account.card.CardSearchAction.cardSearch(CardSearchAction.java:364)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at java.lang.reflect.Method.invoke(Method.java:606)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at com.erggroup.mass.struts.RequestProcessor.process(RequestProcessor.java:38)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)2018-04-16 12:39:18,817 ERROR [stderr] (http-/127.0.0.1:8443-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:499)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)2018-04-16 12:39:18,818 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)2018-04-16 12:39:18,819 ERROR [stderr] (http-/127.0.0.1:8443-1)     at java.lang.Thread.run(Thread.java:745)2018-04-16 12:39:18,823 ERROR [org.jboss.as.ejb3.invocation] (http-/127.0.0.1:8443-1) JBAS014134: EJB Invocation failed on component CardAccount for method public abstract com.erggroup.mass.card.account.LocalCardAccount com.erggroup.mass.card.account.LocalCardAccountHome.findByPrimaryKey(com.erggroup.mass.card.account.CardId) throws javax.ejb.FinderException: javax.ejb.EJBException: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:165)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:250)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:315)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

                at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)

                at com.erggroup.mass.card.account.LocalCardAccountHome$$$view45.findByPrimaryKey(Unknown Source)

                at com.erggroup.mass.card.account.CardAccountServiceBean.getCard(CardAccountServiceBean.java:225)

                at com.erggroup.mass.card.account.CardAccountServiceBean.getCardDetails(CardAccountServiceBean.java:142)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:235)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:218)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$1.processInvocation(EjbExceptionTransformingInterceptorFactories.java:65)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

                at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:222)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:184)

                at org.jboss.ejb.client.EJBObjectInterceptor.handleInvocation(EJBObjectInterceptor.java:58)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.EJBHomeInterceptor.handleInvocation(EJBHomeInterceptor.java:83)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:42)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:125)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:254)

                at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:199)

                at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:182)

                at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:145)

                at com.sun.proxy.$Proxy23.getCardDetails(Unknown Source)

                at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:176)

                at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:167)

                at com.erggroup.mass.struts.account.card.CardSearchAction.lookupHelper(CardSearchAction.java:628)

                at com.erggroup.mass.struts.account.card.CardSearchAction.cardSearch(CardSearchAction.java:364)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)

                at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)

                at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

                at com.erggroup.mass.struts.RequestProcessor.process(RequestProcessor.java:38)

                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

                at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:499)

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)

                at java.lang.Thread.run(Thread.java:745)

            Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

                at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)

                at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:89)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:86)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent.acquireUnAssociatedInstance(EntityBeanComponent.java:146)

                at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanHomeFinderInterceptorFactory$1.processInvocation(EntityBeanHomeFinderInterceptorFactory.java:87)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248)

                ... 117 more

            Caused by: java.lang.RuntimeException: javax.ejb.EJBException: Could not acquire connection factory data source for enquiry proxy.

                at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.setupContext(EntityBeanComponentInstance.java:225)

                at org.jboss.as.ejb3.component.entity.EntityBeanInterceptors$2.processInvocation(EntityBeanInterceptors.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:95)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)

                ... 124 more

            Caused by: javax.ejb.EJBException: Could not acquire connection factory data source for enquiry proxy.

                at com.erggroup.mass.account.EnquiryEntityBean.setEntityContext(EnquiryEntityBean.java:89)

                at com.erggroup.mass.card.account.CardAccountBMP.setEntityContext(CardAccountBMP.java:59)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.setupContext(EntityBeanComponentInstance.java:221)

                ... 138 more

             

            2018-04-16 12:39:18,833 ERROR [org.jboss.as.ejb3.invocation] (http-/127.0.0.1:8443-1) JBAS014134: EJB Invocation failed on component CardAccountService for method public abstract com.erggroup.mass.card.account.ICardAccount com.erggroup.mass.card.account.CardAccountService.getCardDetails(com.erggroup.mass.card.account.CardId) throws javax.ejb.FinderException,java.rmi.RemoteException: javax.ejb.EJBException: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:165)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:250)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:315)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$2.processInvocation(EjbExceptionTransformingInterceptorFactories.java:89)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

                at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)

                at com.erggroup.mass.card.account.LocalCardAccountHome$$$view45.findByPrimaryKey(Unknown Source)

                at com.erggroup.mass.card.account.CardAccountServiceBean.getCard(CardAccountServiceBean.java:225)

                at com.erggroup.mass.card.account.CardAccountServiceBean.getCardDetails(CardAccountServiceBean.java:142)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.NonPooledEJBComponentInstanceAssociatingInterceptor.processInvocation(NonPooledEJBComponentInstanceAssociatingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:235)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:374)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:218)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.remote.EJBRemoteTransactionPropagatingInterceptor.processInvocation(EJBRemoteTransactionPropagatingInterceptor.java:79)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.EjbExceptionTransformingInterceptorFactories$1.processInvocation(EjbExceptionTransformingInterceptorFactories.java:65)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)

                at org.jboss.as.ejb3.remote.LocalEjbReceiver.processInvocation(LocalEjbReceiver.java:222)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:184)

                at org.jboss.ejb.client.EJBObjectInterceptor.handleInvocation(EJBObjectInterceptor.java:58)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.EJBHomeInterceptor.handleInvocation(EJBHomeInterceptor.java:83)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:42)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:125)

                at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)

                at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:254)

                at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:199)

                at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:182)

                at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:145)

                at com.sun.proxy.$Proxy23.getCardDetails(Unknown Source)

                at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:176)

                at com.erggroup.mass.struts.account.card.CardSearchBean.lookupCard(CardSearchBean.java:167)

                at com.erggroup.mass.struts.account.card.CardSearchAction.lookupHelper(CardSearchAction.java:628)

                at com.erggroup.mass.struts.account.card.CardSearchAction.cardSearch(CardSearchAction.java:364)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

                at java.lang.reflect.Method.invoke(Method.java:606)

                at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)

                at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)

                at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)

                at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)

                at com.erggroup.mass.struts.RequestProcessor.process(RequestProcessor.java:38)

                at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)

                at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

                at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

                at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:499)

                at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

                at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

                at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)

                at java.lang.Thread.run(Thread.java:745)

            Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

                at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)

                at org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:85)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:89)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent$1.create(EntityBeanComponent.java:86)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponent.acquireUnAssociatedInstance(EntityBeanComponent.java:146)

                at org.jboss.as.ejb3.component.entity.interceptors.EntityBeanHomeFinderInterceptorFactory$1.processInvocation(EntityBeanHomeFinderInterceptorFactory.java:87)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248)

                ... 117 more

            Caused by: java.lang.RuntimeException: javax.ejb.EJBException: Could not acquire connection factory data source for enquiry proxy.

                at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.setupContext(EntityBeanComponentInstance.java:225)

                at org.jboss.as.ejb3.component.entity.EntityBeanInterceptors$2.processInvocation(EntityBeanInterceptors.java:59)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.ManagedReferenceInterceptorFactory$ManagedReferenceInterceptor.processInvocation(ManagedReferenceInterceptorFactory.java:95)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)

                at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)

                at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)

                at org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:161)

                ... 124 more

            Caused by: javax.ejb.EJBException: Could not acquire connection factory data source for enquiry proxy.

                at com.erggroup.mass.account.EnquiryEntityBean.setEntityContext(EnquiryEntityBean.java:89)

                at com.erggroup.mass.card.account.CardAccountBMP.setEntityContext(CardAccountBMP.java:59)

                at org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.setupContext(EntityBeanComponentInstance.java:221)

                ... 138 more

             

            2018-04-16 12:39:18,842 ERROR [com.erggroup.mass.struts.account.card.CardSearchAction] (http-/127.0.0.1:8443-1) Exception in lookuphelper is Invocation failed; nested exception is:

                javax.ejb.EJBException: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance

            2018-04-16 12:39:19,282 INFO  [org.apache.struts.util.PropertyMessageResources] (http-/127.0.0.1:8443-1) Initializing, config='web-commons-resources', returnNull=true

            2018-04-16 12:39:19,285 INFO  [org.apache.struts.util.PropertyMessageResources] (http-/127.0.0.1:8443-1) Initializing, config='web-commons-resources', returnNull=true

            • 3. Re: Resource Adapter Configuration for JBoss 7.x
              Anup Dey Expert

              The problem has been occured due to incompatibility between mass-enq-connector and JBoss 7. You need to configure generic resource adapter as discussed at[1].

              You can refer the Resource Adapter document at[2]

               

              [1] Chapter 31. Resource Adapters - Red Hat Customer Portal

              [2] Resource adapters - JBoss AS 7.0 - Project Documentation Editor