The "(null: 4, 49): cvc-elt.1: Cannot find the declaration of element 'rule-set'." message is an output from Drools. I guess this is about validating the xml, but this is not a problem as our unit tests log that also.
The example given on the drools component wiki will forward the exchange to the "http://servicemix.org/cheese/", "receiver" service if the input message has a property named 'idText' with the value '2'. Do you have such a property on your message ? else the message will be lost. Cheers, Guillaume Nodet On 4/5/06, Sandra Schweighart <[EMAIL PROTECTED]> wrote: > Hello! > > I've set everything in log4j.xml to DEBUG level but still the lines > around "Cann not find ..." are with "INFO". This is what is happening > around: > > DEBUG - ManagementContext.registerSystemService(567) | Registering > system service: > org.apache.servicemix:ContainerName=ServiceMix,Type=SystemService,Name=AdminCommandsService > INFO - JBIContainer.init(508) | ServiceMix JBI Container > (http://servicemix.org/) name: ServiceMix running version: 3.0-SNAPSHOT > INFO - JBIContainer.activateComponent(978) | Activating component for: > [container=ServiceMix,name=droolsRouter] with service: > {http://servicemix.apache.org/services/drools}droolsRouter component: > [EMAIL PROTECTED] > INFO - ComponentMBeanImpl.init(184) | Initializing component: droolsRouter > (null: 4, 49): cvc-elt.1: Cannot find the declaration of element 'rule-set'. > DEBUG - ComponentContextImpl.activateEndpoint(133) | Component: > droolsRouter activated endpoint: > {http://servicemix.apache.org/services/drools}droolsRouter : droolsRouter > DEBUG - EndpointRegistry.retrieveInterfacesFromDescription(229) | > Endpoint > ServiceEndpoint[service={http://servicemix.apache.org/services/drools}droolsRouter,endpoint=droolsRouter] > has no service description > > I'm working with Windows 2000, ServiceMix 3.0SNAPSHOT of last night and > I'm trying to get the Example on http://www.servicemix.org/Drools > working. I've copied the rulebase.xml from > http://www.servicemix.org/Drools and customized the servicemix.xml to > find my rulebase.xml in conf-directory. > > My component finds the service endpoint "droolsRouter" but the service > doesn't do anything. > > Has anyone succeeded in using Drools? > > Greetings > Sandra > > Guillaume Nodet wrote: > > >Please try to change the log level to DEBUG in the ./conf/log4j.xml > >log configuration file and post any log / stack trace . > >I guess there will be more informations ... > > > >Cheers, > >Guillaume Nodet > > > >On 4/5/06, Sandra Schweighart <[EMAIL PROTECTED]> wrote: > > > > > >>Thanks a lot Guillaume! > >>I succeeded in using file:xxx and now also with classpath:xxx > >> > >>Now I have still the following problem: > >>Whrere does the "Cannot find.." message come from? An why can't it be found? > >>My rulebase.xml doesn't contain anything else than the element > >>'rule-set' with its content. I even deleted the xml version element. > >> > >>INFO - ComponentMBeanImpl.init(184) | Initializing component: droolsRouter > >>(null: 4, 49): cvc-elt.1: Cannot find the declaration of element 'rule-set'. > >> > >>I get this message even with the latest 3.0-SNAPSHOT build. > >> > >>Sandra > >> > >> > >>Guillaume Nodet wrote: > >> > >> > >> > >
