Announcement Announcement Module
Collapse
No announcement yet.
PLEASE, help as I am really stuck getting SLSB to work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • PLEASE, help as I am really stuck getting SLSB to work

    PLEASE, Please help as I am really stuck getting a SLSB to work...

    OK, I thought I have tried just about every possible solution, and only now I am resorting to posting this message here, hence, I feel TRUE desperation right now.

    So, 1st I will show you all my code, then I will show you the full stack trace of the javax.naming.NameNotFoundException I am getting.

    applicationContext.xml entry:
    ==============================
    Code:
        <bean id="consumerManager" class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean">
          <property name="jndiName" value="local/ConsumerManager"/>
          <property name="resourceRef" value="true"/>
          <property name="businessInterface" value="com.blackhawk.ff.service.ConsumerManager"/>
        </bean>

    ConsumerManager.java:
    ======================
    Code:
    public interface ConsumerManager &#123;
        public IConsumer getConsumer&#40;IQueryKey pIQueryKey&#41; throws ConsumerQueryException;
        public Collection getConsumers&#40;ISearchKey pISearchKey&#41; throws ConsumerSearchException;
        public IConsumer updateConsumer&#40;IConsumer pIConsumer&#41; throws ConsumerUpdateException;
        public Collection getConsumerTransactions&#40;String pCommonEnrollmentID&#41; throws ConsumerTrxException;
        public IRating getVelocityRating&#40;String pMicr&#41; throws Exception;
    &#125;
    ConsumerManagerImpl.java (Partial):
    =====================================
    Code:
    public class ConsumerManagerImpl implements ConsumerManager &#123;
        private ConsumerDAO consumerDAO;
    
        public ConsumerDAO getConsumerDAO&#40;&#41; &#123;
            return consumerDAO;
        &#125;
        public void setConsumerDAO&#40;ConsumerDAO consumerDAO&#41; &#123;
            ConsumerDAO target = consumerDAO;
    
            // create the proxy
            ProxyFactory pf = new ProxyFactory&#40;&#41;;
    
            pf.addAdvice&#40;new SecurityAdvice&#40;&#41;&#41;;
            pf.setTarget&#40;target&#41;;
    
            this.consumerDAO = &#40;ConsumerDAO&#41; pf.getProxy&#40;&#41;;
        &#125;
    
        public ConsumerManagerImpl&#40;&#41; &#123;&#125;
    
        public Collection getConsumers&#40;ISearchKey pISearchKey&#41;
                throws ConsumerSearchException &#123;
            Collection consumers = consumerDAO.getConsumers&#40;pISearchKey&#41;;
            return consumers;
        &#125;
    ConsumerManagerBean.java (Partial):
    ====================================
    Code:
    public class ConsumerManagerBean extends AbstractStatelessSessionBean
            implements ConsumerManager &#123;
        private static final String BEAN_NAME = "consumerManager";
        private static final String DAO_NAME = "consumerWSDAO";
        private ConsumerDAO consumerDAO;
        private com.blackhawk.ff.service.ConsumerManager consumerManager;
    
        public void onEjbCreate&#40;&#41;
                throws javax.ejb.CreateException &#123;
            consumerManager = &#40;com.blackhawk.ff.service.ConsumerManager&#41;getBeanFactory&#40;&#41;.getBean&#40;BEAN_NAME&#41;;
            consumerDAO = &#40;com.blackhawk.ff.consumer.ConsumerDAO&#41;getBeanFactory&#40;&#41;.getBean&#40;DAO_NAME&#41;;
        &#125;

    ConsumerManagerLocal.java (partial):
    ================================
    ConsumerActions (Struts, Partial):
    ==================================
    Code:
            IConsumer consumer = &#40;&#40;ConsumerManager&#41; getWebApplicationContext&#40;&#41;.getBean&#40;"consumerManager"&#41;&#41;.getConsumer&#40;&#40;IQueryKey&#41; form&#41;;
    Full Stack Trace from the JBoss Startup:
    =========================================
    [code:1:afd7af1a78]
    09&#58;38&#58;43,229 DEBUG &#91;BeanWrapperImpl&#93; About to invoke write method &#91;public void com.blackhawk.ff.consumer.webservice.ConsumerWebse r
    viceDAO.setSearchRequestCode&#40;java.lang.Short&# 41;&#93; on object of class &#91;com.blackhawk.ff.consumer.webservice.Consumer WebserviceDAO&#93;
    09&#58;38&#58;43,229 DEBUG &#91;BeanWrapperImpl&#93; Invoked write method &#91;public void com.blackhawk.ff.consumer.webservice.ConsumerWebse rviceDAO.
    setSearchRequestCode&#40;java.lang.Short&#41;&#93; with value of type &#91;java.lang.Short&#93;
    09&#58;38&#58;43,229 DEBUG &#91;BeanWrapperImpl&#93; Converting String to &#91;class java.lang.Short&#93; using property editor &#91;org.springframework.beans
    .propertyeditors.CustomNumberEditor@c02d83&#93;
    09&#58;38&#58;43,229 DEBUG &#91;BeanWrapperImpl&#93; About to invoke write method &#91;public void com.blackhawk.ff.consumer.webservice.ConsumerWebse r
    viceDAO.setTrxRequestCode&#40;java.lang.Short&#41; &#93; on object of class &#91;com.blackhawk.ff.consumer.webservice.Consumer WebserviceDAO&#93;
    09&#58;38&#58;43,229 DEBUG &#91;BeanWrapperImpl&#93; Invoked write method &#91;public void com.blackhawk.ff.consumer.webservice.ConsumerWebse rviceDAO.
    setTrxRequestCode&#40;java.lang.Short&#41;&#93; with value of type &#91;java.lang.Short&#93;
    09&#58;38&#58;43,229 DEBUG &#91;DefaultListableBeanFactory&#93; Invoking BeanPostProcessors before initialization of bean 'consumerWSDAO'
    09&#58;38&#58;43,229 DEBUG &#91;DefaultListableBeanFactory&#93; Invoking BeanPostProcessors after initialization of bean 'consumerWSDAO'
    09&#58;38&#58;43,229 INFO &#91;DefaultListableBeanFactory&#93; Creating shared instance of singleton bean 'consumerManager'
    09&#58;38&#58;43,229 DEBUG &#91;DefaultListableBeanFactory&#93; Creating instance of bean 'consumerManager' with merged definition &#91;Root bean with
    class &#91;org.springframework.ejb.access.LocalStateless SessionProxyFactoryBean&#93; defined in ServletContext resource &#91;/WEB-INF/applica
    tionContext.xml&#93;&#93;
    09&#58;38&#58;43,229 DEBUG &#91;DefaultListableBeanFactory&#93; Invoking BeanPostProcessors before instantiation of bean 'consumerManager'
    09&#58;38&#58;43,229 DEBUG &#91;CachedIntrospectionResults&#93; Getting BeanInfo for class &#91;org.springframework.ejb.access.LocalStateless SessionPr
    oxyFactoryBean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Caching PropertyDescriptors for class &#91;org.springframework.ejb.access.LocalStatel e
    ssSessionProxyFactoryBean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'businessInterface' of type &#91;java.lang.Class&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'cacheHome' of type &#91;boolean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'class' of type &#91;java.lang.Class&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'jndiEnvironment' of type &#91;java.util.Properties&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'jndiName' of type &#91;java.lang.String&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'jndiTemplate' of type &#91;org.springframework.jndi.JndiTemplate&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'lookupHomeOnStartup' of type &#91;boolean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'object' of type &#91;java.lang.Object&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'objectType' of type &#91;java.lang.Class&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'resourceRef' of type &#91;boolean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Found property 'singleton' of type &#91;boolean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;CachedIntrospectionResults&#93; Class &#91;org.springframework.ejb.access.LocalStateless SessionProxyFactoryBean&#93; is ca
    che-safe
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; About to invoke write method &#91;public void org.springframework.jndi.JndiObjectLocator.setJndi N
    ame&#40;java.lang.String&#41;&#93; on object of class &#91;org.springframework.ejb.access.LocalStateless SessionProxyFactoryBean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; Invoked write method &#91;public void org.springframework.jndi.JndiObjectLocator.setJndi Name&#40;java
    .lang.String&#41;&#93; with value of type &#91;java.lang.String&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; Converting String to &#91;boolean&#93; using property editor &#91;org.springframework.beans.propertyedito
    rs.CustomBooleanEditor@e2fa0e&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; About to invoke write method &#91;public void org.springframework.jndi.JndiLocatorSupport.setRes o
    urceRef&#40;boolean&#41;&#93; on object of class &#91;org.springframework.ejb.access.LocalStateless SessionProxyFactoryBean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; Invoked write method &#91;public void org.springframework.jndi.JndiLocatorSupport.setRes ourceRef&#40;
    boolean&#41;&#93; with value of type &#91;boolean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; Converting String to &#91;class java.lang.Class&#93; using property editor &#91;org.springframework.beans
    .propertyeditors.ClassEditor@18ed284&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; About to invoke write method &#91;public void org.springframework.ejb.access.LocalStatelessSessi o
    nProxyFactoryBean.setBusinessInterface&#40;java.la ng.Class&#41;&#93; on object of class &#91;org.springframework.ejb.access.LocalStateless SessionP
    roxyFactoryBean&#93;
    09&#58;38&#58;43,245 DEBUG &#91;BeanWrapperImpl&#93; Invoked write method &#91;public void org.springframework.ejb.access.LocalStatelessSessi onProxyFa
    ctoryBean.setBusinessInterface&#40;java.lang.Class &#41;&#93; with value of type &#91;java.lang.Class&#93;
    09&#58;38&#58;43,245 DEBUG &#91;DefaultListableBeanFactory&#93; Invoking BeanPostProcessors before initialization of bean 'consumerManager'
    09&#58;38&#58;43,261 DEBUG &#91;DefaultListableBeanFactory&#93; Invoking afterPropertiesSet&#40;&#41; on bean with name 'consumerManager'
    09&#58;38&#58;43,261 DEBUG &#91;JndiTemplate&#93; Looking up JNDI object with name &#91;java&#58;comp/env/local/ConsumerManager&#93;
    09&#58;38&#58;43,276 INFO &#91;DefaultListableBeanFactory&#93; Destroying singletons in factory &#123;org.springframework.beans.factory.support.De faul
    tListableBeanFactory defining beans &#91;consumerWSDAO,consumerManager,queryKey,search Key,securityAdvice,securityAdvisor,jdbcPropertyC
    onfigurer,dataSource,sessionFactory,transactionMan ager,consumerDAO,consumerTrxDAO,consumerUdbManager ,consumer&#93;; root of BeanFactor
    y hierarchy&#125;
    09&#58;38&#58;43,276 ERROR &#91;ContextLoader&#93; Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption&#58; Error creating bean with name 'consumerManager' defined in ServletContext
    resource &#91;/WEB-INF/applicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is javax.naming.NamingException&#58; Coul
    d not dereference object
    javax.naming.NamingException&#58; Could not dereference object &#91;Root exception is javax.naming.NameNotFoundException&#58; ConsumerManager
    not bound&#93;
    at org.jnp.interfaces.NamingContext.resolveLink&#40;N amingContext.java&#58;1052&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;685&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;701&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;572&#41;
    at javax.naming.InitialContext.lookup&#40;InitialCont ext.java&#58;347&#41;
    at org.springframework.jndi.JndiTemplate$1.doInContex t&#40;JndiTemplate.java&#58;123&#41;
    at org.springframework.jndi.JndiTemplate.execute&#40; JndiTemplate.java&#58;85&#41;
    at org.springframework.jndi.JndiTemplate.lookup&#40;J ndiTemplate.java&#58;121&#41;
    at org.springframework.jndi.JndiLocatorSupport.lookup &#40;JndiLocatorSupport.java&#58;71&#41;
    at org.springframework.jndi.JndiObjectLocator.lookup& #40;JndiObjectLocator.java&#58;85&#41;
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.refreshHome&#40;AbstractSlsbInvokerInt erceptor.java&#58;102&#41;
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.afterPropertiesSet&#40;AbstractSlsbInv okerInterceptor.java&#58;90
    &#41;
    at org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.afterPropertiesSet&#40;LocalSta telessSessionProxyFacto
    ryBean.java&#58;83&#41;
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods&#40;A bstractAutowireCapableB
    eanFactory.java&#58;962&#41;
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean&#40;Abstract AutowireCapableBeanFact
    ory.java&#58;354&#41;
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&# 58;223&#41;
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&# 58;147&#41;
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons&#40;De faultListableBeanFactor
    y.java&#58;271&#41;
    at org.springframework.context.support.AbstractApplic ationContext.refresh&#40;AbstractApplicationContex t.java&#58;312&#41;
    at org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh&#40;Abstrac tRefreshableWebApplicat
    ionContext.java&#58;134&#41;
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext&#40;ContextLoader.java&#58 ;230&#41;
    at org.springframework.web.context.ContextLoader.init WebApplicationContext&#40;ContextLoader.java&#58;1 56&#41;
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized&#40;ContextLoaderListener.j ava&#58;48&#41;
    at org.apache.catalina.core.StandardContext.listenerS tart&#40;StandardContext.java&#58;3669&#41;
    at org.apache.catalina.core.StandardContext.start&#40 ;StandardContext.java&#58;4104&#41;
    at org.apache.catalina.core.ContainerBase.addChildInt ernal&#40;ContainerBase.java&#58;759&#41;
    at org.apache.catalina.core.ContainerBase.addChild&#4 0;ContainerBase.java&#58;739&#41;
    at org.apache.catalina.core.StandardHost.addChild&#40 ;StandardHost.java&#58;524&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.apache.commons.modeler.BaseModelMBean.invoke&# 40;BaseModelMBean.java&#58;503&#41;
    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;R awDynamicInvoker.java&#58;150&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.apache.catalina.core.StandardContext.init&#40; StandardContext.java&#58;5005&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.apache.commons.modeler.BaseModelMBean.invoke&# 40;BaseModelMBean.java&#58;503&#41;
    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;R awDynamicInvoker.java&#58;150&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal&#40;TomcatDeployer.java&#58;274&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy&#40;TomcatDeployer.java&#58;91&#41;
    at org.jboss.web.AbstractWebDeployer.start&#40;Abstra ctWebDeployer.java&#58;357&#41;
    at org.jboss.web.WebModule.startModule&#40;WebModule. java&#58;68&#41;
    at org.jboss.web.WebModule.startService&#40;WebModule .java&#58;46&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy28.start&#40;Unknown Source&#41;
    at org.jboss.web.AbstractWebContainer.start&#40;Abstr actWebContainer.java&#58;394&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;956&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy8.deploy&#40;Unknown Source&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy&#40;URLDeploymentScanner.java&#58;325&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan&#40;URLDeploymentScanner.java&#58;501&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan&#40;AbstractDeploymentSc anner.java&#58;204&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner.startService&#40;AbstractDeploymentScanner.ja va&#58;277&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy4.start&#40;Unknown Source&#41;
    at org.jboss.deployment.SARDeployer.start&#40;SARDepl oyer.java&#58;273&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;722&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy5.deploy&#40;Unknown Source&#41;
    at org.jboss.system.server.ServerImpl.doStart&#40;Ser verImpl.java&#58;434&#41;
    at org.jboss.system.server.ServerImpl.start&#40;Serve rImpl.java&#58;315&#41;
    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    Caused by&#58; javax.naming.NameNotFoundException&#58; ConsumerManager not bound
    at org.jnp.server.NamingServer.getBinding&#40;NamingS erver.java&#58;491&#41;
    at org.jnp.server.NamingServer.getBinding&#40;NamingS erver.java&#58;499&#41;
    at org.jnp.server.NamingServer.getObject&#40;NamingSe rver.java&#58;505&#41;
    at org.jnp.server.NamingServer.lookup&#40;NamingServe r.java&#58;278&#41;
    at org.jnp.server.NamingServer.lookup&#40;NamingServe r.java&#58;252&#41;
    at sun.reflect.GeneratedMethodAccessor70.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at sun.rmi.server.UnicastServerRef.dispatch&#40;Unica stServerRef.java&#58;261&#41;
    at sun.rmi.transport.Transport$1.run&#40;Transport.ja va&#58;148&#41;
    at java.security.AccessController.doPrivileged&#40;Na tive Method&#41;
    at sun.rmi.transport.Transport.serviceCall&#40;Transp ort.java&#58;144&#41;
    at sun.rmi.transport.tcp.TCPTransport.handleMessages& #40;TCPTransport.java&#58;460&#41;
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run&#40;TCPTransport.java&#58;701&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer&#40;StreamRemoteCall.java&#58;247&#41 ;
    at sun.rmi.transport.StreamRemoteCall.executeCall&#40 ;StreamRemoteCall.java&#58;223&#41;
    at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.ja va&#58;133&#41;
    at org.jnp.server.NamingServer_Stub.lookup&#40;Unknow n Source&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;610&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;572&#41;
    at javax.naming.InitialContext.lookup&#40;InitialCont ext.java&#58;347&#41;
    at org.jnp.interfaces.NamingContext.resolveLink&#40;N amingContext.java&#58;1046&#41;
    ... 139 more
    09&#58;38&#58;43,276 ERROR &#91;&#91;/fastforward&#93;&#93; Exception sending context initialized event to listener instance of class org.springframework.
    web.context.ContextLoaderListener
    org.springframework.beans.factory.BeanCreationExce ption&#58; Error creating bean with name 'consumerManager' defined in ServletContext
    resource &#91;/WEB-INF/applicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is javax.naming.NamingException&#58; Coul
    d not dereference object
    javax.naming.NamingException&#58; Could not dereference object &#91;Root exception is javax.naming.NameNotFoundException&#58; ConsumerManager
    not bound&#93;
    at org.jnp.interfaces.NamingContext.resolveLink&#40;N amingContext.java&#58;1052&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;685&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;701&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;572&#41;
    at javax.naming.InitialContext.lookup&#40;InitialCont ext.java&#58;347&#41;
    at org.springframework.jndi.JndiTemplate$1.doInContex t&#40;JndiTemplate.java&#58;123&#41;
    at org.springframework.jndi.JndiTemplate.execute&#40; JndiTemplate.java&#58;85&#41;
    at org.springframework.jndi.JndiTemplate.lookup&#40;J ndiTemplate.java&#58;121&#41;
    at org.springframework.jndi.JndiLocatorSupport.lookup &#40;JndiLocatorSupport.java&#58;71&#41;
    at org.springframework.jndi.JndiObjectLocator.lookup& #40;JndiObjectLocator.java&#58;85&#41;
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.refreshHome&#40;AbstractSlsbInvokerInt erceptor.java&#58;102&#41;
    at org.springframework.ejb.access.AbstractSlsbInvoker Interceptor.afterPropertiesSet&#40;AbstractSlsbInv okerInterceptor.java&#58;90
    &#41;
    at org.springframework.ejb.access.LocalStatelessSessi onProxyFactoryBean.afterPropertiesSet&#40;LocalSta telessSessionProxyFacto
    ryBean.java&#58;83&#41;
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods&#40;A bstractAutowireCapableB
    eanFactory.java&#58;962&#41;
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean&#40;Abstract AutowireCapableBeanFact
    ory.java&#58;354&#41;
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&# 58;223&#41;
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean&#40;AbstractBeanFactory.java&# 58;147&#41;
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons&#40;De faultListableBeanFactor
    y.java&#58;271&#41;
    at org.springframework.context.support.AbstractApplic ationContext.refresh&#40;AbstractApplicationContex t.java&#58;312&#41;
    at org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh&#40;Abstrac tRefreshableWebApplicat
    ionContext.java&#58;134&#41;
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext&#40;ContextLoader.java&#58 ;230&#41;
    at org.springframework.web.context.ContextLoader.init WebApplicationContext&#40;ContextLoader.java&#58;1 56&#41;
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized&#40;ContextLoaderListener.j ava&#58;48&#41;
    at org.apache.catalina.core.StandardContext.listenerS tart&#40;StandardContext.java&#58;3669&#41;
    at org.apache.catalina.core.StandardContext.start&#40 ;StandardContext.java&#58;4104&#41;
    at org.apache.catalina.core.ContainerBase.addChildInt ernal&#40;ContainerBase.java&#58;759&#41;
    at org.apache.catalina.core.ContainerBase.addChild&#4 0;ContainerBase.java&#58;739&#41;
    at org.apache.catalina.core.StandardHost.addChild&#40 ;StandardHost.java&#58;524&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.apache.commons.modeler.BaseModelMBean.invoke&# 40;BaseModelMBean.java&#58;503&#41;
    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;R awDynamicInvoker.java&#58;150&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.apache.catalina.core.StandardContext.init&#40; StandardContext.java&#58;5005&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.apache.commons.modeler.BaseModelMBean.invoke&# 40;BaseModelMBean.java&#58;503&#41;
    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;R awDynamicInvoker.java&#58;150&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal&#40;TomcatDeployer.java&#58;274&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy&#40;TomcatDeployer.java&#58;91&#41;
    at org.jboss.web.AbstractWebDeployer.start&#40;Abstra ctWebDeployer.java&#58;357&#41;
    at org.jboss.web.WebModule.startModule&#40;WebModule. java&#58;68&#41;
    at org.jboss.web.WebModule.startService&#40;WebModule .java&#58;46&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy28.start&#40;Unknown Source&#41;
    at org.jboss.web.AbstractWebContainer.start&#40;Abstr actWebContainer.java&#58;394&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;956&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy8.deploy&#40;Unknown Source&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy&#40;URLDeploymentScanner.java&#58;325&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan&#40;URLDeploymentScanner.java&#58;501&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan&#40;AbstractDeploymentSc anner.java&#58;204&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner.startService&#40;AbstractDeploymentScanner.ja va&#58;277&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy4.start&#40;Unknown Source&#41;
    at org.jboss.deployment.SARDeployer.start&#40;SARDepl oyer.java&#58;273&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;722&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy5.deploy&#40;Unknown Source&#41;
    at org.jboss.system.server.ServerImpl.doStart&#40;Ser verImpl.java&#58;434&#41;
    at org.jboss.system.server.ServerImpl.start&#40;Serve rImpl.java&#58;315&#41;
    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    Caused by&#58; javax.naming.NameNotFoundException&#58; ConsumerManager not bound
    at org.jnp.server.NamingServer.getBinding&#40;NamingS erver.java&#58;491&#41;
    at org.jnp.server.NamingServer.getBinding&#40;NamingS erver.java&#58;499&#41;
    at org.jnp.server.NamingServer.getObject&#40;NamingSe rver.java&#58;505&#41;
    at org.jnp.server.NamingServer.lookup&#40;NamingServe r.java&#58;278&#41;
    at org.jnp.server.NamingServer.lookup&#40;NamingServe r.java&#58;252&#41;
    at sun.reflect.GeneratedMethodAccessor70.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at sun.rmi.server.UnicastServerRef.dispatch&#40;Unica stServerRef.java&#58;261&#41;
    at sun.rmi.transport.Transport$1.run&#40;Transport.ja va&#58;148&#41;
    at java.security.AccessController.doPrivileged&#40;Na tive Method&#41;
    at sun.rmi.transport.Transport.serviceCall&#40;Transp ort.java&#58;144&#41;
    at sun.rmi.transport.tcp.TCPTransport.handleMessages& #40;TCPTransport.java&#58;460&#41;
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandl er.run&#40;TCPTransport.java&#58;701&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    at sun.rmi.transport.StreamRemoteCall.exceptionReceiv edFromServer&#40;StreamRemoteCall.java&#58;247&#41 ;
    at sun.rmi.transport.StreamRemoteCall.executeCall&#40 ;StreamRemoteCall.java&#58;223&#41;
    at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.ja va&#58;133&#41;
    at org.jnp.server.NamingServer_Stub.lookup&#40;Unknow n Source&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;610&#41;
    at org.jnp.interfaces.NamingContext.lookup&#40;Naming Context.java&#58;572&#41;
    at javax.naming.InitialContext.lookup&#40;InitialCont ext.java&#58;347&#41;
    at org.jnp.interfaces.NamingContext.resolveLink&#40;N amingContext.java&#58;1046&#41;
    ... 139 more
    09&#58;38&#58;43,292 ERROR &#91;StandardContext&#93; Error listenerStart
    09&#58;38&#58;43,292 ERROR &#91;StandardContext&#93; Context &#91;/fastforward&#93; startup failed due to previous errors
    09&#58;38&#58;43,292 INFO &#91;&#91;/fastforward&#93;&#93; Closing Spring root WebApplicationContext
    09&#58;38&#58;43,292 ERROR &#91;WebModule&#93; Starting failed jboss.web.deployment&#58;id=-1655974370,war=fastforwardWeb-1.1.0.war
    org.jboss.deployment.DeploymentException&#58; URL file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp36547fastforward.ear-contents/
    fastforwardWeb-1.1.0-exp.war/ deployment failed
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal&#40;TomcatDeployer.java&#58;356&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy&#40;TomcatDeployer.java&#58;91&#41;
    at org.jboss.web.AbstractWebDeployer.start&#40;Abstra ctWebDeployer.java&#58;357&#41;
    at org.jboss.web.WebModule.startModule&#40;WebModule. java&#58;68&#41;
    at org.jboss.web.WebModule.startService&#40;WebModule .java&#58;46&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy28.start&#40;Unknown Source&#41;
    at org.jboss.web.AbstractWebContainer.start&#40;Abstr actWebContainer.java&#58;394&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;956&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy8.deploy&#40;Unknown Source&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy&#40;URLDeploymentScanner.java&#58;325&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan&#40;URLDeploymentScanner.java&#58;501&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan&#40;AbstractDeploymentSc anner.java&#58;204&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner.startService&#40;AbstractDeploymentScanner.ja va&#58;277&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy4.start&#40;Unknown Source&#41;
    at org.jboss.deployment.SARDeployer.start&#40;SARDepl oyer.java&#58;273&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;722&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy5.deploy&#40;Unknown Source&#41;
    at org.jboss.system.server.ServerImpl.doStart&#40;Ser verImpl.java&#58;434&#41;
    at org.jboss.system.server.ServerImpl.start&#40;Serve rImpl.java&#58;315&#41;
    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    09&#58;38&#58;43,292 WARN &#91;ServiceController&#93; Problem starting service jboss.web.deployment&#58;id=-1655974370,war=fastforwardWeb-1.1.0.war
    org.jboss.deployment.DeploymentException&#58; URL file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp36547fastforward.ear-contents/
    fastforwardWeb-1.1.0-exp.war/ deployment failed
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal&#40;TomcatDeployer.java&#58;356&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy&#40;TomcatDeployer.java&#58;91&#41;
    at org.jboss.web.AbstractWebDeployer.start&#40;Abstra ctWebDeployer.java&#58;357&#41;
    at org.jboss.web.WebModule.startModule&#40;WebModule. java&#58;68&#41;
    at org.jboss.web.WebModule.startService&#40;WebModule .java&#58;46&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy28.start&#40;Unknown Source&#41;
    at org.jboss.web.AbstractWebContainer.start&#40;Abstr actWebContainer.java&#58;394&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;956&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy8.deploy&#40;Unknown Source&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. deploy&#40;URLDeploymentScanner.java&#58;325&#41;
    at org.jboss.deployment.scanner.URLDeploymentScanner. scan&#40;URLDeploymentScanner.java&#58;501&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner$ScannerThread.doScan&#40;AbstractDeploymentSc anner.java&#58;204&#41;
    at org.jboss.deployment.scanner.AbstractDeploymentSca nner.startService&#40;AbstractDeploymentScanner.ja va&#58;277&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy4.start&#40;Unknown Source&#41;
    at org.jboss.deployment.SARDeployer.start&#40;SARDepl oyer.java&#58;273&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;738&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;722&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;N ative Method&#41;
    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;Na tiveMethodAccessorImpl.java&#58;39&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.interceptor.AbstractInterceptor.invok e&#40;AbstractInterceptor.java&#58;121&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.interceptor.ModelMBeanOperationInterc eptor.invoke&#40;ModelMBeanOperationInterceptor.ja va&#58;127&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;74&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy5.deploy&#40;Unknown Source&#41;
    at org.jboss.system.server.ServerImpl.doStart&#40;Ser verImpl.java&#58;434&#41;
    at org.jboss.system.server.ServerImpl.start&#40;Serve rImpl.java&#58;315&#41;
    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
    09&#58;38&#58;43,292 ERROR &#91;MainDeployer&#93; could not start deployment&#58; file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp36547fastforwa
    rd.ear-contents/fastforwardWeb-1.1.0.war
    org.jboss.deployment.DeploymentException&#58; URL file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp36547fastforward.ear-contents/
    fastforwardWeb-1.1.0-exp.war/ deployment failed
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loyInternal&#40;TomcatDeployer.java&#58;356&#41;
    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDep loy&#40;TomcatDeployer.java&#58;91&#41;
    at org.jboss.web.AbstractWebDeployer.start&#40;Abstra ctWebDeployer.java&#58;357&#41;
    at org.jboss.web.WebModule.startModule&#40;WebModule. java&#58;68&#41;
    at org.jboss.web.WebModule.startService&#40;WebModule .java&#58;46&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Start&#40;ServiceMBeanSupport.java&#58;272&#41;
    at org.jboss.system.ServiceMBeanSupport.jbossInternal Lifecycle&#40;ServiceMBeanSupport.java&#58;222&#41 ;
    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Un known Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.system.ServiceController$ServiceProxy.in voke&#40;ServiceController.java&#58;897&#41;
    at $Proxy0.start&#40;Unknown Source&#41;
    at org.jboss.system.ServiceController.start&#40;Servi ceController.java&#58;418&#41;
    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;U nknown Source&#41;
    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#4 0;DelegatingMethodAccessorImpl.java&#58;25&#41;
    at java.lang.reflect.Method.invoke&#40;Method.java&#5 8;324&#41;
    at org.jboss.mx.interceptor.ReflectedDispatcher.invok e&#40;ReflectedDispatcher.java&#58;141&#41;
    at org.jboss.mx.server.Invocation.dispatch&#40;Invoca tion.java&#58;80&#41;
    at org.jboss.mx.server.Invocation.invoke&#40;Invocati on.java&#58;72&#41;
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#4 0;AbstractMBeanInvoker.java&#58;249&#41;
    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBe anServerImpl.java&#58;644&#41;
    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanPr oxyExt.java&#58;177&#41;
    at $Proxy28.start&#40;Unknown Source&#41;
    at org.jboss.web.AbstractWebContainer.start&#40;Abstr actWebContainer.java&#58;394&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;964&#41;
    at org.jboss.deployment.MainDeployer.start&#40;MainDe ployer.java&#58;956&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58;775&#41;
    at org.jboss.deployment.MainDeployer.deploy&#40;MainD eployer.java&#58

  • #2
    Maybe it would help to specify the "lookupHomeOnStartup" property with false. Possibly the EJB is not bound yet on access.

    Another idea would be to set resourceRef to "false".

    Hope that helps,
    Andreas

    Comment


    • #3
      I changed my declaration to be this:
      Code:
          <bean id="consumerManager" class="org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean">
              <property name="jndiName"><value>local/ConsumerManager</value></property>
              <property name="resourceRef"><value>false</value></property>
              <property name="businessInterface"><value>com.blackhawk.ff.service.ConsumerManager</value></property>
              <property name="lookupHomeOnStartup"><value>false</value></property>
          </bean>
      and still got this, but only when I tried to access it:
      Code:
      12&#58;51&#58;23,721 DEBUG &#91;DefaultListableBeanFactory&#93; Returning cached instance of singleton bean 'consumerManager'
      12&#58;51&#58;23,721 DEBUG &#91;DefaultListableBeanFactory&#93; Bean with name 'consumerManager' is a factory bean
      12&#58;51&#58;23,721 DEBUG &#91;LocalStatelessSessionProxyFactoryBean&#93; Trying to create reference to local EJB
      12&#58;51&#58;23,721 DEBUG &#91;JndiTemplate&#93; Looking up JNDI object with name &#91;local/ConsumerManager&#93;
      12&#58;51&#58;23,737 ERROR &#91;ConsumerActions&#93; Exception query method for ConsumerActions; null
      javax.naming.NameNotFoundException&#58; ConsumerManager not bound
              at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;491&#41;
              at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;499&#41;
              at org.jnp.server.NamingServer.getObject&#40;NamingServer.java&#58;505&#41;
              at org.jnp.server.NamingServer.lookup&#40;NamingServer.java&#58;278&#41;
              at org.jnp.server.NamingServer.lookup&#40;NamingServer.java&#58;252&#41;
              at sun.reflect.GeneratedMethodAccessor70.invoke&#40;Unknown Source&#41;
              at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
              at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
              at sun.rmi.server.UnicastServerRef.dispatch&#40;UnicastServerRef.java&#58;261&#41;
              at sun.rmi.transport.Transport$1.run&#40;Transport.java&#58;148&#41;
              at java.security.AccessController.doPrivileged&#40;Native Method&#41;
              at sun.rmi.transport.Transport.serviceCall&#40;Transport.java&#58;144&#41;
              at sun.rmi.transport.tcp.TCPTransport.handleMessages&#40;TCPTransport.java&#58;460&#41;
              at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run&#40;TCPTransport.java&#58;701&#41;
              at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer&#40;StreamRemoteCall.java&#58;247&#41;
              at sun.rmi.transport.StreamRemoteCall.executeCall&#40;StreamRemoteCall.java&#58;223&#41;
              at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.java&#58;133&#41;
              at org.jnp.server.NamingServer_Stub.lookup&#40;Unknown Source&#41;
              at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;610&#41;
              at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;572&#41;
              at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;347&#41;
              at org.springframework.jndi.JndiTemplate$1.doInContext&#40;JndiTemplate.java&#58;123&#41;
              at org.springframework.jndi.JndiTemplate.execute&#40;JndiTemplate.java&#58;85&#41;
              at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;121&#41;
              at org.springframework.jndi.JndiLocatorSupport.lookup&#40;JndiLocatorSupport.java&#58;71&#41;
              at org.springframework.jndi.JndiObjectLocator.lookup&#40;JndiObjectLocator.java&#58;85&#41;
              at org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.getHome&#40;AbstractSlsbInvokerInterceptor.java&#58;144&#41;
              at org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.create&#40;AbstractSlsbInvokerInterceptor.java&#58;168&#41;
              at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.newSessionBeanInstance&#40;LocalSlsbInvokerInterceptor.java&#58;132&#41;
      
              at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getSessionBeanInstance&#40;LocalSlsbInvokerInterceptor.java&#58;106&#41;
      
              at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invoke&#40;LocalSlsbInvokerInterceptor.java&#58;62&#41;
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed&#40;ReflectiveMethodInvocation.java&#58;144&#41;
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke&#40;JdkDynamicAopProxy.java&#58;174&#41;
              at $Proxy53.getConsumer&#40;Unknown Source&#41;
              at com.blackhawk.ff.consumer.ConsumerActions.getConsumer&#40;ConsumerActions.java&#58;249&#41;
              at com.blackhawk.ff.consumer.ConsumerActions.query&#40;ConsumerActions.java&#58;97&#41;
              at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
              at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
              at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
              at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
              at org.apache.struts.actions.DispatchAction.dispatchMethod&#40;DispatchAction.java&#58;276&#41;
              at org.apache.struts.actions.LookupDispatchAction.execute&#40;LookupDispatchAction.java&#58;162&#41;
              at com.baselogic.struts.BaseLookupDispatchAction.execute&#40;BaseLookupDispatchAction.java&#58;283&#41;
              at org.apache.struts.action.RequestProcessor.processActionPerform&#40;RequestProcessor.java&#58;421&#41;
              at org.apache.struts.action.RequestProcessor.process&#40;RequestProcessor.java&#58;226&#41;
              at org.apache.struts.action.ActionServlet.process&#40;ActionServlet.java&#58;1164&#41;
              at com.baselogic.struts.ExtendedActionServlet.process&#40;ExtendedActionServlet.java&#58;61&#41;
              at org.apache.struts.action.ActionServlet.doPost&#40;ActionServlet.java&#58;415&#41;
              at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;717&#41;
              at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;810&#41;
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
              at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
              at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter&#40;ReplyHeaderFilter.java&#58;81&#41;
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
              at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
              at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
              at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
              at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke&#40;CustomPrincipalValve.java&#58;39&#41;
              at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke&#40;SecurityAssociationValve.java&#58;153&#41;
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke&#40;AuthenticatorBase.java&#58;482&#41;
              at org.jboss.web.tomcat.security.JaccContextValve.invoke&#40;JaccContextValve.java&#58;59&#41;
              at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
              at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
              at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
              at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
              at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
              at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
              at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run&#40;MasterSlaveWorkerThread.java&#58;112&#41;
              at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
      Any other advise?
      Thanks in advance for your help...


      Originally posted by Andreas Senft
      Maybe it would help to specify the "lookupHomeOnStartup" property with false. Possibly the EJB is not bound yet on access.

      Another idea would be to set resourceRef to "false".

      Hope that helps,
      Andreas

      Comment


      • #4
        I still can't figure this out... I have the jndi setup correctly, but it seems that Spring wants to modify my jndi name???
        I have it stated at "local/ConsumerManagerLocal", but Spring JndiTemplate seems to want to bind to just "local" instead of "local/ConsumerManagerLocal".

        Why????

        Code:
        14&#58;51&#58;50,515 DEBUG &#91;DefaultListableBeanFactory&#93; Returning cached instance of singleton bean 'consumerManager'
        14&#58;51&#58;50,515 DEBUG &#91;DefaultListableBeanFactory&#93; Bean with name 'consumerManager' is a factory bean
        14&#58;51&#58;50,515 DEBUG &#91;LocalStatelessSessionProxyFactoryBean&#93; Trying to create reference to local EJB
        14&#58;51&#58;50,515 DEBUG &#91;JndiTemplate&#93; Looking up JNDI object with name &#91;local/ConsumerManagerLocal&#93;
        14&#58;51&#58;50,578 ERROR &#91;ConsumerActions&#93; Exception in search method for ConsumerActions; null
        javax.naming.NameNotFoundException&#58; local not bound
                at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;491&#41;
                at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;499&#41;
                at org.jnp.server.NamingServer.getObject&#40;NamingServer.java&#58;505&#41;
                at org.jnp.server.NamingServer.lookup&#40;NamingServer.java&#58;249&#41;
                at sun.reflect.GeneratedMethodAccessor70.invoke&#40;Unknown Source&#41;
                at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                at sun.rmi.server.UnicastServerRef.dispatch&#40;UnicastServerRef.java&#58;261&#41;
                at sun.rmi.transport.Transport$1.run&#40;Transport.java&#58;148&#41;
                at java.security.AccessController.doPrivileged&#40;Native Method&#41;
                at sun.rmi.transport.Transport.serviceCall&#40;Transport.java&#58;144&#41;
                at sun.rmi.transport.tcp.TCPTransport.handleMessages&#40;TCPTransport.java&#58;460&#41;
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run&#40;TCPTransport.java&#58;701&#41;
                at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer&#40;StreamRemoteCall.java&#58;247&#41;
                at sun.rmi.transport.StreamRemoteCall.executeCall&#40;StreamRemoteCall.java&#58;223&#41;
                at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.java&#58;133&#41;
                at org.jnp.server.NamingServer_Stub.lookup&#40;Unknown Source&#41;
                at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;610&#41;
                at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;572&#41;
                at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;347&#41;
                at org.springframework.jndi.JndiTemplate$1.doInContext&#40;JndiTemplate.java&#58;123&#41;
                at org.springframework.jndi.JndiTemplate.execute&#40;JndiTemplate.java&#58;85&#41;
                at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;121&#41;
                at org.springframework.jndi.JndiLocatorSupport.lookup&#40;JndiLocatorSupport.java&#58;71&#41;
                at org.springframework.jndi.JndiObjectLocator.lookup&#40;JndiObjectLocator.java&#58;85&#41;
                at org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.getHome&#40;AbstractSlsbInvokerInterceptor.java&#58;144&#41;
                at org.springframework.ejb.access.AbstractSlsbInvokerInterceptor.create&#40;AbstractSlsbInvokerInterceptor.java&#58;168&#41;
                at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.newSessionBeanInstance&#40;LocalSlsbInvokerInterceptor.java&#58;132&#41;
        
                at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.getSessionBeanInstance&#40;LocalSlsbInvokerInterceptor.java&#58;106&#41;
        
                at org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invoke&#40;LocalSlsbInvokerInterceptor.java&#58;62&#41;
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed&#40;ReflectiveMethodInvocation.java&#58;144&#41;
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke&#40;JdkDynamicAopProxy.java&#58;174&#41;
                at $Proxy48.getConsumers&#40;Unknown Source&#41;
                at com.blackhawk.ff.consumer.ConsumerActions.search&#40;ConsumerActions.java&#58;166&#41;
                at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                at org.apache.struts.actions.DispatchAction.dispatchMethod&#40;DispatchAction.java&#58;276&#41;
                at org.apache.struts.actions.LookupDispatchAction.execute&#40;LookupDispatchAction.java&#58;162&#41;
                at com.baselogic.struts.BaseLookupDispatchAction.execute&#40;BaseLookupDispatchAction.java&#58;285&#41;
                at org.apache.struts.action.RequestProcessor.processActionPerform&#40;RequestProcessor.java&#58;421&#41;
                at org.apache.struts.action.RequestProcessor.process&#40;RequestProcessor.java&#58;226&#41;
                at org.apache.struts.action.ActionServlet.process&#40;ActionServlet.java&#58;1164&#41;
                at com.baselogic.struts.ExtendedActionServlet.process&#40;ExtendedActionServlet.java&#58;75&#41;
                at org.apache.struts.action.ActionServlet.doPost&#40;ActionServlet.java&#58;415&#41;
                at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;717&#41;
                at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;810&#41;
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
                at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
                at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter&#40;ReplyHeaderFilter.java&#58;81&#41;
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
                at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
                at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
                at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
                at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke&#40;CustomPrincipalValve.java&#58;39&#41;
                at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke&#40;SecurityAssociationValve.java&#58;153&#41;
                at org.apache.catalina.authenticator.AuthenticatorBase.invoke&#40;AuthenticatorBase.java&#58;482&#41;
                at org.jboss.web.tomcat.security.JaccContextValve.invoke&#40;JaccContextValve.java&#58;59&#41;
                at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
                at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
                at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
                at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
                at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
                at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
                at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
                at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run&#40;MasterSlaveWorkerThread.java&#58;112&#41;
                at java.lang.Thread.run&#40;Thread.java&#58;534&#41;

        Comment


        • #5
          Looking at the Spring code in JndiTemplate, plus your debug output, it is clear that Spring is not modifying the name. Rather, the JNDI implementation is throwing the exception here (NameNotFoundException) and only including that one part of the name in the message ("local not bound"). I don't have the source to "org.jnp.server..." available, so can't dig into it, but I'll bet that it parsed the name, tried to find "local", and not being able to find "local" gave up right there. Either Spring isn't getting the right "Context" object, your EJB deployment isn't properly exposing the EJBs in JNDI, or the code trying to access the EJB is residing in some J2EE component that hasn't told the J2EE container that it needs to reference that EJB. It's been too long since I've done any EJB development (yay!) to remember off the top of my head enough to help you out more.

          - Andy

          Comment


          • #6
            What does the relevant section of your ejb-jar.xml file look like, and the jboss.xml file look like if you're got one?

            Comment


            • #7
              Originally posted by gmatthews
              What does the relevant section of your ejb-jar.xml file look like, and the jboss.xml file look like if you're got one?
              jboss.xml:
              Code:
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.0//EN" "http&#58;//www.jboss.org/j2ee/dtd/jboss_4_0.dtd">
              <jboss>
                  <security-domain>java&#58;/jaas/ldap-security</security-domain>
              
                  <enterprise-beans>
                      <session>
                          <ejb-name>ConsumerManager</ejb-name>
                          <local-jndi-name>local/ConsumerManagerLocal</local-jndi-name>
                      </session>
                  </enterprise-beans>
              
                  <resource-managers/>
              </jboss>
              ejb-jar.xml:
              Code:
              <?xml version="1.0" encoding="UTF-8"?>
              
              <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http&#58;//java.sun.com/dtd/ejb-jar_2_0.dtd">
              
              <ejb-jar >
              
                 <description><!&#91;CDATA&#91;No Description.&#93;&#93;></description>
                 <display-name>Generated by XDoclet</display-name>
              
                 <enterprise-beans>
              
                    <!-- Session Beans -->
                    <session >
                       <description><!&#91;CDATA&#91;Bean implementation class for Enterprise Bean&#58; ConsumerManagerBean&#93;&#93;></description>
                       <display-name>Consumer Manager Session Bean</display-name>
              
                       <ejb-name>ConsumerManager</ejb-name>
              
                       <local-home>com.blackhawk.ff.service.ConsumerManagerLocalHome</local-home>
                       <local>com.blackhawk.ff.service.ConsumerManagerLocal</local>
                       <ejb-class>com.blackhawk.ff.service.ConsumerManagerBean</ejb-class>
                       <session-type>Stateless</session-type>
                       <transaction-type>Container</transaction-type>
              
                       <env-entry>
                          <env-entry-name>ejb/BeanFactoryPath</env-entry-name>
                          <env-entry-type>java.lang.String</env-entry-type>
                          <env-entry-value><!&#91;CDATA&#91;applicationContext.xml&#93;&#93;></env-entry-value>
                       </env-entry>
              
                    </session>
              
                   <!--
                     To add session beans that you have deployment descriptor info for, add
                     a file to your XDoclet merge directory called session-beans.xml that contains
                     the <session></session> markup for those beans.
                   -->
              
                    <!-- Entity Beans -->
                   <!--
                     To add entity beans that you have deployment descriptor info for, add
                     a file to your XDoclet merge directory called entity-beans.xml that contains
                     the <entity></entity> markup for those beans.
                   -->
              
                    <!-- Message Driven Beans -->
                   <!--
                     To add message driven beans that you have deployment descriptor info for, add
                     a file to your XDoclet merge directory called message-driven-beans.xml that contains
                     the <message-driven></message-driven> markup for those beans.
                   -->
              
                 </enterprise-beans>
              
                 <!-- Relationships -->
              
                 <!-- Assembly Descriptor -->
                   <!--
                     To specify your own assembly descriptor info here, add a file to your
                     XDoclet merge directory called assembly-descriptor.xml that contains
                     the <assembly-descriptor></assembly-descriptor> markup.
                   -->
              
                 <assembly-descriptor >
                   <!--
                     To specify additional security-role elements, add a file in the merge
                     directory called ejb-security-roles.xml that contains them.
                   -->
              
                 <!-- method permissions -->
                   <!--
                     To specify additional method-permission elements, add a file in the merge
                     directory called ejb-method-permissions.ent that contains them.
                   -->
                 <method-permission >
                    <description><!&#91;CDATA&#91;description not supported yet by ejbdoclet&#93;&#93;></description>
                    <unchecked/>
                    <method >
                       <description><!&#91;CDATA&#91;description not supported yet by ejbdoclet&#93;&#93;></description>
                       <ejb-name>ConsumerManager</ejb-name>
                       <method-name>*</method-name>
                    </method>
                 </method-permission>
              
                 <!-- transactions -->
                   <!--
                     To specify additional container-transaction elements, add a file in the merge
                     directory called ejb-container-transactions.ent that contains them.
                   -->
                 <container-transaction >
                    <method >
                       <ejb-name>ConsumerManager</ejb-name>
                        <method-name>*</method-name>
                     </method>
                     <trans-attribute>Required</trans-attribute>
                  </container-transaction>
              
                 <!-- finder transactions -->
              
                 <!-- message destinations -->
                   <!--
                     To specify additional message-destination elements, add a file in the merge
                     directory called ejb-message-destinations.ent that contains them.
                   -->
              
                 <!-- exclude list -->
                   <!--
                     To specify an exclude-list element, add a file in the merge directory
                     called ejb-exclude-list.xml that contains it.
                   -->
                 </assembly-descriptor>
              
              </ejb-jar>
              [/quote]

              Comment


              • #8
                What is more confusing is also what JBoss is telling me during deployment:

                Code:
                16&#58;11&#58;36,771 DEBUG &#91;MainDeployer&#93; Begin deployment start file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp15199fastforward.ea
                r-contents/consumerManagerEJB-1.1.0.jar
                16&#58;11&#58;36,771 DEBUG &#91;EJBDeployer&#93; start application, deploymentInfo&#58; org.jboss.deployment.DeploymentInfo@828fe434 &#123; url=file&#58;/C&#58;/op
                t/jboss-4.0.2/server/default/tmp/deploy/tmp15199fastforward.ear-contents/consumerManagerEJB-1.1.0.jar &#125;
                  deployer&#58; org.jboss.ejb.EJBDeployer@1bfa3d3
                  status&#58; Starting
                  state&#58; START_DEPLOYER
                  watch&#58; file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp15199fastforward.ear-contents/consumerManagerEJB-1.1.0.jar
                  altDD&#58; null
                  lastDeployed&#58; 1121901095162
                  lastModified&#58; 1121901090867
                  mbeans&#58;
                    jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,service=EJB state&#58; Created
                , short name&#58; consumerManagerEJB-1.1.0.jar, parent short name&#58; fastforward.ear
                16&#58;11&#58;36,771 DEBUG &#91;ServiceController&#93; starting service jboss.j2ee&#58;module=consumerManagerEJB-1.1.0.jar,service=EjbModule
                16&#58;11&#58;36,771 DEBUG &#91;EjbModule&#93; Starting jboss.j2ee&#58;module=consumerManagerEJB-1.1.0.jar,service=EjbModule
                16&#58;11&#58;36,771 DEBUG &#91;EjbModule&#93; startService, starting container&#58; ConsumerManager
                16&#58;11&#58;36,771 DEBUG &#91;ServiceController&#93; starting service jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,service=EJB
                16&#58;11&#58;36,771 DEBUG &#91;StatelessSessionContainer&#93; Starting jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,service=EJB
                16&#58;11&#58;36,771 DEBUG &#91;StatelessSessionContainer&#93; Begin java&#58;comp/env for EJB&#58; ConsumerManager
                16&#58;11&#58;36,771 DEBUG &#91;StatelessSessionContainer&#93; TCL&#58; org.jboss.util.loading.DelegatingClassLoader@14cbf3f
                16&#58;11&#58;36,771 DEBUG &#91;StatelessSessionContainer&#93; Unable to retrieve orbjavax.management.InstanceNotFoundException&#58; jboss&#58;service=Cor
                baORB is not registered.
                16&#58;11&#58;37,177 DEBUG &#91;StatelessSessionContainer&#93; Binding env-entry&#58; ejb/BeanFactoryPath of type&#58; java.lang.String to value&#58;applicati
                onContext.xml
                16&#58;11&#58;37,177 DEBUG &#91;StatelessSessionContainer&#93; End java&#58;comp/env for EJB&#58; ConsumerManager
                16&#58;11&#58;37,208 DEBUG &#91;BaseLocalProxyFactory&#93; Bound EJBLocalHome of ConsumerManager to local/ConsumerManager@2775646
                16&#58;11&#58;37,208 DEBUG &#91;ServiceController&#93; starting service jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,plugin=pool,service=EJB
                16&#58;11&#58;37,208 DEBUG &#91;StatelessSessionInstancePool&#93; Starting jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,plugin=pool,service=E
                JB
                16&#58;11&#58;37,208 DEBUG &#91;StatelessSessionInstancePool&#93; Started jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,plugin=pool,service=EJ
                B
                16&#58;11&#58;37,208 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,plugin
                =pool,service=EJB dependent components&#58; &#91;&#93;
                16&#58;11&#58;37,208 DEBUG &#91;CachedConnectionInterceptor&#93; start called in CachedConnectionInterceptor
                16&#58;11&#58;37,208 DEBUG &#91;StatelessSessionContainer&#93; Started jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,service=EJB
                16&#58;11&#58;37,208 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.j2ee&#58;jndiName=local/ConsumerManager@2775646,servic
                e=EJB dependent components&#58; &#91;&#93;
                16&#58;11&#58;37,208 DEBUG &#91;EjbModule&#93; Started jboss.j2ee&#58;module=consumerManagerEJB-1.1.0.jar,service=EjbModule
                16&#58;11&#58;37,208 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.j2ee&#58;module=consumerManagerEJB-1.1.0.jar,service=E
                jbModule dependent components&#58; &#91;&#93;
                16&#58;11&#58;37,208 INFO  &#91;EJBDeployer&#93; Deployed&#58; file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp15199fastforward.ear-contents/con
                sumerManagerEJB-1.1.0.jar
                16&#58;11&#58;37,286 DEBUG &#91;ServiceDeployer&#93; handleNotification&#58; org.jboss.deployment.SubDeployer.start,consumerManagerEJB-1.1.0.jar
                16&#58;11&#58;37,286 DEBUG &#91;MainDeployer&#93; End deployment start on package&#58; consumerManagerEJB-1.1.0.jar

                Comment


                • #9
                  I have tried local/ConsumerManager and /local/ConsumerManagerLocal and nothing works.

                  Comment


                  • #10
                    I am getting closer, but still so far...

                    I have printed out the methods from the class I get from teh following call:
                    Code:
                    IConsumer consumer = &#40;&#40;ConsumerManager&#41; getWebApplicationContext&#40;&#41;.getBean&#40;"consumerManager"&#41;&#41;.getConsumer&#40;&#40;IQueryKey&#41; form&#41;;
                    Code:
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; local/ConsumerManagerLocal&#58;Stateless
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; $Proxy80
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; hashCode
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final int $Proxy80.hashCode&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; equals
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.equals&#40;java.lang.Object&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; toString
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final java.lang.String $Proxy80.toString&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; indexOf
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final int $Proxy80.indexOf&#40;org.springframework.aop.Advisor&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getAdvisors
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final org.springframework.aop.Advisor&#91;&#93; $Proxy80.getAdvisors&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; addAdvisor
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.addAdvisor&#40;org.springframework.aop.Advisor&#41; throws org.springframe
                    work.aop.framework.AopConfigException
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; addAdvisor
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.addAdvisor&#40;int,org.springframework.aop.Advisor&#41; throws org.springf
                    ramework.aop.framework.AopConfigException
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; isFrozen
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.isFrozen&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getConsumers
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final java.util.Collection $Proxy80.getConsumers&#40;com.blackhawk.ff.consumer.ISearchKey&#41;
                     throws com.blackhawk.ff.exception.ConsumerSearchException
                    
                    
                    
                    
                    ************************************************************
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getConsumer
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final com.blackhawk.ff.consumer.IConsumer $Proxy80.getConsumer&#40;com.blackhawk.ff.consum
                    er.IQueryKey&#41; throws com.blackhawk.ff.exception.ConsumerQueryException
                    ************************************************************
                    
                    
                    
                    
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; updateConsumer
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final com.blackhawk.ff.consumer.IConsumer $Proxy80.updateConsumer&#40;com.blackhawk.ff.con
                    sumer.IConsumer&#41; throws com.blackhawk.ff.exception.ConsumerUpdateException
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getConsumerTransactions
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final java.util.Collection $Proxy80.getConsumerTransactions&#40;com.blackhawk.ff.trx.ICons
                    umerTrxRequest&#41; throws com.blackhawk.ff.exception.ConsumerTrxException
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getVelocity
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final java.util.Collection $Proxy80.getVelocity&#40;com.blackhawk.ff.velocity.IVelocityReq
                    uest&#41; throws com.blackhawk.ff.exception.ConsumerVelocityException
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; getTargetSource
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final org.springframework.aop.TargetSource $Proxy80.getTargetSource&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; isProxyTargetClass
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.isProxyTargetClass&#40;&#41;
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; setTargetSource
                    12&#58;40&#58;32,794 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.setTargetSource&#40;org.springframework.aop.TargetSource&#41;
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; setExposeProxy
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.setExposeProxy&#40;boolean&#41;
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; isExposeProxy
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.isExposeProxy&#40;&#41;
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; getProxiedInterfaces
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; public final java.lang.Class&#91;&#93; $Proxy80.getProxiedInterfaces&#40;&#41;
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; addAdvice
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.addAdvice&#40;org.aopalliance.aop.Advice&#41; throws org.springframework.a
                    op.framework.AopConfigException
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; addAdvice
                    12&#58;40&#58;32,857 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.addAdvice&#40;int,org.aopalliance.aop.Advice&#41; throws org.springframewo
                    rk.aop.framework.AopConfigException
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; isInterfaceProxied
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.isInterfaceProxied&#40;java.lang.Class&#41;
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; removeAdvice
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.removeAdvice&#40;org.aopalliance.aop.Advice&#41; throws org.springframe
                    work.aop.framework.AopConfigException
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; removeAdvisor
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; public final void $Proxy80.removeAdvisor&#40;int&#41; throws org.springframework.aop.framework.AopCon
                    figException
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; removeAdvisor
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.removeAdvisor&#40;org.springframework.aop.Advisor&#41; throws org.sprin
                    gframework.aop.framework.AopConfigException
                    12&#58;40&#58;32,872 INFO  &#91;ConsumerActions&#93; replaceAdvisor
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final boolean $Proxy80.replaceAdvisor&#40;org.springframework.aop.Advisor,org.springframew
                    ork.aop.Advisor&#41; throws org.springframework.aop.framework.AopConfigException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; toProxyConfigString
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final java.lang.String $Proxy80.toProxyConfigString&#40;&#41;
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; isProxyClass
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public static boolean java.lang.reflect.Proxy.isProxyClass&#40;java.lang.Class&#41;
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; getProxyClass
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public static java.lang.Class java.lang.reflect.Proxy.getProxyClass&#40;java.lang.ClassLoader,jav
                    a.lang.Class&#91;&#93;&#41; throws java.lang.IllegalArgumentException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; newProxyInstance
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public static java.lang.Object java.lang.reflect.Proxy.newProxyInstance&#40;java.lang.ClassLoader
                    ,java.lang.Class&#91;&#93;,java.lang.reflect.InvocationHandler&#41; throws java.lang.IllegalArgumentException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; getInvocationHandler
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public static java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.getInvocationHandle
                    r&#40;java.lang.Object&#41; throws java.lang.IllegalArgumentException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; getClass
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final native java.lang.Class java.lang.Object.getClass&#40;&#41;
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; wait
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final void java.lang.Object.wait&#40;long,int&#41; throws java.lang.InterruptedException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; wait
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final void java.lang.Object.wait&#40;&#41; throws java.lang.InterruptedException
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; wait
                    12&#58;40&#58;32,935 INFO  &#91;ConsumerActions&#93; public final native void java.lang.Object.wait&#40;long&#41; throws java.lang.InterruptedException
                    12&#58;40&#58;32,997 INFO  &#91;ConsumerActions&#93; notify
                    12&#58;40&#58;32,997 INFO  &#91;ConsumerActions&#93; public final native void java.lang.Object.notify&#40;&#41;
                    12&#58;40&#58;32,997 INFO  &#91;ConsumerActions&#93; notifyAll
                    12&#58;40&#58;32,997 INFO  &#91;ConsumerActions&#93; public final native void java.lang.Object.notifyAll&#40;&#41;
                    And this is the error I keep getting when just trying to call the getConsumer(IQueryKey) methid:

                    Code:
                    12&#58;40&#58;32,997 DEBUG &#91;DefaultListableBeanFactory&#93; Returning cached instance of singleton bean 'consumerManager'
                    12&#58;40&#58;32,997 DEBUG &#91;DefaultListableBeanFactory&#93; Bean with name 'consumerManager' is a factory bean
                    12&#58;40&#58;32,997 DEBUG &#91;LocalStatelessSessionProxyFactoryBean&#93; Trying to create reference to local EJB
                    12&#58;40&#58;32,997 DEBUG &#91;LocalStatelessSessionProxyFactoryBean&#93; Obtained reference to local EJB&#58; local/ConsumerManagerLocal&#58;Stateless
                    12&#58;40&#58;32,997 DEBUG &#91;StatelessSessionContainer&#93; Useless invocation of remove&#40;&#41; for stateless session bean
                    12&#58;40&#58;32,997 ERROR &#91;ConsumerActions&#93; Exception query method for ConsumerActions; null
                    java.lang.reflect.UndeclaredThrowableException
                            at $Proxy80.getConsumer&#40;Unknown Source&#41;
                            at com.blackhawk.ff.consumer.ConsumerActions.getConsumer&#40;ConsumerActions.java&#58;263&#41;
                            at com.blackhawk.ff.consumer.ConsumerActions.query&#40;ConsumerActions.java&#58;95&#41;
                            at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                            at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                            at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                            at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                            at org.apache.struts.actions.DispatchAction.dispatchMethod&#40;DispatchAction.java&#58;276&#41;
                            at org.apache.struts.actions.LookupDispatchAction.execute&#40;LookupDispatchAction.java&#58;162&#41;
                            at com.baselogic.struts.BaseLookupDispatchAction.execute&#40;BaseLookupDispatchAction.java&#58;285&#41;
                            at org.apache.struts.action.RequestProcessor.processActionPerform&#40;RequestProcessor.java&#58;421&#41;
                            at org.apache.struts.action.RequestProcessor.process&#40;RequestProcessor.java&#58;226&#41;
                            at org.apache.struts.action.ActionServlet.process&#40;ActionServlet.java&#58;1164&#41;
                            at com.baselogic.struts.ExtendedActionServlet.process&#40;ExtendedActionServlet.java&#58;75&#41;
                            at org.apache.struts.action.ActionServlet.doPost&#40;ActionServlet.java&#58;415&#41;
                            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;717&#41;
                            at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;810&#41;
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;252&#41;
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
                            at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter&#40;ReplyHeaderFilter.java&#58;81&#41;
                            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter&#40;ApplicationFilterChain.java&#58;202&#41;
                            at org.apache.catalina.core.ApplicationFilterChain.doFilter&#40;ApplicationFilterChain.java&#58;173&#41;
                            at org.apache.catalina.core.StandardWrapperValve.invoke&#40;StandardWrapperValve.java&#58;213&#41;
                            at org.apache.catalina.core.StandardContextValve.invoke&#40;StandardContextValve.java&#58;178&#41;
                            at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke&#40;CustomPrincipalValve.java&#58;39&#41;
                            at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke&#40;SecurityAssociationValve.java&#58;153&#41;
                            at org.apache.catalina.authenticator.AuthenticatorBase.invoke&#40;AuthenticatorBase.java&#58;482&#41;
                            at org.jboss.web.tomcat.security.JaccContextValve.invoke&#40;JaccContextValve.java&#58;59&#41;
                            at org.apache.catalina.core.StandardHostValve.invoke&#40;StandardHostValve.java&#58;126&#41;
                            at org.apache.catalina.valves.ErrorReportValve.invoke&#40;ErrorReportValve.java&#58;105&#41;
                            at org.apache.catalina.core.StandardEngineValve.invoke&#40;StandardEngineValve.java&#58;107&#41;
                            at org.apache.catalina.connector.CoyoteAdapter.service&#40;CoyoteAdapter.java&#58;148&#41;
                            at org.apache.coyote.http11.Http11Processor.process&#40;Http11Processor.java&#58;856&#41;
                            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection&#40;Http11Protocol.java&#58;744&#41;
                            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket&#40;PoolTcpEndpoint.java&#58;527&#41;
                            at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run&#40;MasterSlaveWorkerThread.java&#58;112&#41;
                            at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
                    
                    
                    
                    ************************************************************
                    Caused by&#58; java.lang.NoSuchMethodException&#58; $Proxy78.getConsumer&#40;com.blackhawk.ff.consumer.IQueryKey&#41;        at java.lang.Class.getMethod&#40;Class.java&#58;986&#41;
                            at 
                    ************************************************************
                    
                    
                    
                    
                    org.springframework.ejb.access.LocalSlsbInvokerInterceptor.invoke&#40;LocalSlsbInvokerInterceptor.java&#58;70&#41;
                            at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed&#40;ReflectiveMethodInvocation.java&#58;144&#41;
                            at org.springframework.aop.framework.JdkDynamicAopProxy.invoke&#40;JdkDynamicAopProxy.java&#58;174&#41;
                            ... 37 more
                    [/code]

                    Comment


                    • #11
                      The method that you invoke on your interface is intercepted by the proxy. However, on delegating the method call to the real instance (i.e. the session bean stub) you receive a NoSuchMethodException.
                      This indicates, that the stub does not implement that method.

                      So I would conclude that either your business interface is not in sync with your local interface, or your local interface is not in sync with your bean implementation class.

                      Regards,
                      Andreas

                      Comment


                      • #12
                        Originally posted by Andreas Senft
                        The method that you invoke on your interface is intercepted by the proxy. However, on delegating the method call to the real instance (i.e. the session bean stub) you receive a NoSuchMethodException.
                        This indicates, that the stub does not implement that method.

                        So I would conclude that either your business interface is not in sync with your local interface, or your local interface is not in sync with your bean implementation class.

                        Regards,
                        Andreas
                        Code:
                        /*
                         * Generated by XDoclet - Do not edit!
                         */
                        package com.blackhawk.ff.service;
                        
                        /**
                         * Local interface for ConsumerManager.
                         * @xdoclet-generated at 
                         * @copyright Safeway
                         *  Inc.; HP
                         * @version xxx
                         */
                        public interface ConsumerManagerLocal
                           extends javax.ejb.EJBLocalObject, com.blackhawk.ff.service.ConsumerManager
                        &#123;
                        
                        &#125;
                        Code:
                        package com.blackhawk.ff.service;
                        
                        import com.blackhawk.ff.consumer.IConsumer;
                        import com.blackhawk.ff.consumer.ISearchKey;
                        import com.blackhawk.ff.consumer.IQueryKey;
                        import com.blackhawk.ff.exception.*;
                        import com.blackhawk.ff.trx.IConsumerTrxRequest;
                        import com.blackhawk.ff.velocity.IVelocityRequest;
                        
                        import java.util.Collection;
                        
                        /**
                         * Created by IntelliJ IDEA.
                         * User&#58; mknut01
                         * Date&#58; Jun 14, 2005
                         * Time&#58; 10&#58;44&#58;13 AM
                         * To change this template use File | Settings | File Templates.
                         */
                        public interface ConsumerManager &#123;
                        
                            /**
                             * DOCUMENT ME!
                             *
                             * @param pIQueryKey DOCUMENT ME!
                             * @return DOCUMENT ME!
                             * @throws ConsumerQueryException DOCUMENT ME!
                             */
                            public IConsumer getConsumer&#40;IQueryKey pIQueryKey&#41; throws ConsumerQueryException;
                            public Collection getConsumers&#40;ISearchKey pISearchKey&#41; throws ConsumerSearchException;
                            //public Collection getConsumers&#40;IQueryKey pIQueryKey&#41; throws ConsumerQueryException;
                            public IConsumer updateConsumer&#40;IConsumer pIConsumer&#41; throws ConsumerUpdateException;
                        
                            public Collection getConsumerTransactions&#40;IConsumerTrxRequest consumerTrxRequest&#41; throws ConsumerTrxException;
                        
                            public Collection getVelocity&#40;IVelocityRequest velocityRequest&#41; throws ConsumerVelocityException;
                        &#125;

                        Comment


                        • #13
                          Ok, it seems not to be the interfaces. What about the implementing class?

                          Regards,
                          Andreas

                          Comment


                          • #14
                            Wait. I just realized that the UndeclaredThrowableException came from $proxy80, while the nested NoSuchMethodException referred to $proxy78. As I see, you are using a proxy for your DAO (btw. why don't you declare that as well but use it programmatically?).

                            Maybe the problem lies in the DAO (i.e. the invoked method is a not existing DAO method)?

                            Regards,
                            Andreas

                            Comment


                            • #15
                              having the same problem...

                              You wouldn't happen to remember how you solved this?

                              Comment

                              Working...
                              X