-
1. Re: Error using cxfse:proxy
davestanley Sep 21, 2009 11:09 AM (in response to eruiz_eruiz)Hi,
Can you paste your cxf-se configuration. Maybe we will be able to spot something. Also did you make any changes to your /conf/activemq.xml?
Thanks
/Dave
-
2. Re: Error using cxfse:proxy
eruiz_eruiz Sep 21, 2009 1:49 PM (in response to davestanley)Hi Dave,
Below our changes in activemq.xml:
Line 50 changed to
<amq:transportConnector uri="tcp://localhost:61616" />
Line 54 commented auto discover the other brokers:
<!--
<amq:networkConnector uri="multicast://default"/>
<amq:networkConnector uri="static://(tcp://host1:61616,tcp://host2:61616)"/>
-->
Below our CXF-SE xbean.xml
<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0"
xmlns="http://www.springframework.org/schema/beans"
xmlns:grt="http://ws.cit.gva.es/Greeter">
<cxfse:proxy id="greeterProxy" service="grt:GreeterService"
context="#context" type="ws.greeter.GreeterPortType" />
<cxfse:endpoint>
<cxfse:pojo>
<bean class="helloconsumer.HelloConsumerPortTypeImpl" autowire="false">
<property name="greeter" ref="greeterProxy" />
</bean>
</cxfse:pojo>
</cxfse:endpoint>
Thank you very much.
-
3. Re: Error using cxfse:proxy
davestanley Sep 24, 2009 11:07 AM (in response to eruiz_eruiz)Hi,
It looks ok. If possible can you capture a thread dump of when the esb is spinning @100% and attach it... Maybe also try and remove the #context and see if that helps.
Regards
/Dave
-
-
5. Re: Error using cxfse:proxy
eruiz_eruiz Sep 25, 2009 5:11 AM (in response to davestanley)Thank you very much Dave,
Yes we followed the doc at ESB
Attached is a little Maven project containing one CXF SE SU and one SA, when I deploy this SA the CPU spins to 100%.
Please test the attached SU / SA. To deploy it:
unzip cpu-overload.zip
cd cpu-overload
mvn install
cd cpu-overload-sa
mvn jbi:projectDeploy
King regards.
-
cpu-overload.zip 12.0 KB
-
-
6. Re: Error using cxfse:proxy
eruiz_eruiz Oct 8, 2009 3:44 AM (in response to davestanley)Hi Dave,
Did you test the attached code?
Let me know if you need something else or if there was any error in attached code.
Thanks
-
7. Re: Error using cxfse:proxy
marsanm2 Oct 20, 2009 11:27 AM (in response to eruiz_eruiz)Hi all !
I am a DiSiD company worker like eruiz user.
We can not find the problem to the 100% CPU spin.
Did you test the attached code ?
We are interested in to buy the HQ tool, but first need to resolve this problem.
Thanks !
-
8. Re: Error using cxfse:proxy
marsanm2 Oct 30, 2009 8:15 AM (in response to eruiz_eruiz)Hi all !
We have found a solution to this error, but we cannot fix the source problem.
The error is placed on the xbean.xml file of components that use the cxfse:proxy tag. In this tag, the attribute context="#context" causes an overload and finally the system crash.
Another related problem can be found when the JAVA_OPTS environment variable is setted on servicemix startup because some servicemix default memory configurations are not established.
Bye !