3 Replies Latest reply on Jan 7, 2009 1:54 PM by Dave Stanley

    deploying service-assembly to 3.4.0.0 causes 100% CPU usage

    Pawel Kaczor Newbie

      I switched to 3.4.0.0 and after deploying my service-assembly, Servicemix is consuming 100% of my CPU. I don't know what to do now...

        • 1. Re: deploying service-assembly to 3.4.0.0 causes 100% CPU usage
          Dave Stanley Novice

          It would be useful to try and capture a thread dump for the process and attach it here.

           

          >kill -3 /data directory and restart the container. Also what OS are you using?

           

          Regards

          /Dave

          • 2. Re: deploying service-assembly to 3.4.0.0 causes 100% CPU usage
            Pawel Kaczor Newbie

            Before reading your post I managed to debug Servicemix in Eclipse and find affected thread.

            Take a look here:

            http://picasaweb.google.pl/Pablo.Kaczor/Fuse?authkey=CPC-ZSdTd4I#5288591846623499154

             

            You can zoom image and drag to see more detailed picture.

             

            Generally the loop can not break because the condition while(activeEndpoints > 0) is always true (activeEndpoint = 1) and channel.accept() throws OperationNotSupportedException... because it is EndpointDeliveryChannel..

            I suppose there is something wrong with my CXF SE component. But it was working with 3.3.1.6...

             

            Thanks for help.

             

            In the log I found this:

            org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName

            INFO: Could not determine bean name for instance of class org.apache.cxf.transport.jbi.JBIDestination.

            org.apache.cxf.endpoint.ServerImpl initDestination

            INFO: Setting the server's publish address to be jbi://ID-192-168-10-10-11eb57b288e-8-0

             

            Edited by: newion on Jan 8, 2009 4:07 AM

             

            While the application starts without problems on 3.3.1.6, there is an error on 3.3.1.8:

             

            Caused by: org.apache.cxf.BusException: No DestinationFactory was found for the

            namespace http://schemas.xmlsoap.org/wsdl/http/.

                    at org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestination

            Factory(DestinationFactoryManagerImpl.java:106)

                    at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi

            ntInfo(AbstractWSDLBasedEndpointFactory.java:248)

                    at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoi

            nt(AbstractWSDLBasedEndpointFactory.java:144)

                    at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.ja

            va:114)

             

            Edited by: newion on Jan 8, 2009 5:05 AM

            • 3. Re: deploying service-assembly to 3.4.0.0 causes 100% CPU usage
              Dave Stanley Novice

              Thanks for posting your analysis. I will let you know if I have any luck in reproducing it.

               

              Regards

              /Dave