kumar k wrote:
I am getting file not found exception for drools component. It is not able to 
find drl file. How classpath  needs to be defined and where should I place drl 
file. My drl file is located at
  src\org\apache\servicemix\drools and My xbean is like

  <beans xmlns:http="http://servicemix.apache.org/http/1.0";
xmlns:drools="http://servicemix.apache.org/drools/1.0";
xmlns:testMe="http://servicemix.apache.org/testme";>
 <drools:endpoint service="testMe:DroolFinalService"
   endpoint="DroolsEndPoint"
 ruleBaseResource="classpath:org.apache.servicemix.drools.routing.drl" />
 </beans>

  Thanks



---------------------------------
Need a vacation? Get great deals to amazing places on Yahoo! Travel.


I have not used Drools yet, but have you tried putting
 <classpath>
   <location>.</location>
 </classpath>
after your <beans... opening tag?

Regards,
Gordon

Reply via email to