0 Replies Latest reply on Nov 9, 2010 12:26 AM by lily zheng

    Exception happened when deploying Spring 2.0.5 to JBoss 5.0.1

    lily zheng Newbie

      Hi Expert,

       

      When deploying my Spring application to JBoss, the attached exception happened. Could you please help take a look?

       

      Env Stack:

      Jboss 5.0.1

      Spring 2.0.5

      Flex 3.5

       

      FYI: it worked in WAS environment.

       

      [BlazeDS]Exception when invoking service 'remoting-service': flex.messaging.services.ServiceException: Spring service named 'calenderService' does not exist. Spring service named 'calenderService' does not exist.
        incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
          operation = queryAll
          clientId = DE17CF33-9B0F-B41F-5F07-46245D96841B
          destination = calenderService
          messageId = A96FD3A0-91FB-31F9-BA7D-2EBB831C3EBC
          timestamp = 1289274229963
          timeToLive = 0
          body = null
          hdr(DSEndpoint) = my-amf
          hdr(DSId) = DE17CE57-E10D-AE9E-4EA5-7E2FE01A8545
        Exception: flex.messaging.services.ServiceException: Spring service named 'calenderService' does not exist. Spring service named 'calenderService' does not exist.
      at com.fil.operation.factory.SpringFactoryInstance.lookup(SpringFactoryInstance.java:34)
      at flex.messaging.services.remoting.adapters.JavaAdapter.createInstance(JavaAdapter.java:490)
      at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:410)
      at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
      at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
      at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
      at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
      at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
      at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
      at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
      at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
      at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
      at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:322)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:77)
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at com.fil.operation.filter.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:105)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:735)
      Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'calenderService' is defined
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:350)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:920)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:683)
      at com.fil.operation.factory.SpringFactoryInstance.lookup(SpringFactoryInstance.java:31)
      ... 40 more

       

      Many Thanks.