The xml validation rules are a bit more strict.  You need to define
the xml schemas in the root xsi:schemaLocation tags as shown in the
examples from the distribution.


2009/3/27 Glenn Macgregor <[email protected]>:
> Thanks for all the input.
>
> I have created a config file and tried to deploy in, with no luck.
>
> I copied the groovy.xml to test.xml and added:
>
> Xmlns:file="http://servicemix.apache.org/file/1.0";
>
> In the beans tag.
>
> Removed everything in between the <beans> and </beans> and put in:
>
> <file:poller service="tmpFilePoller" endpoint="tmpFilePoller" 
> targetService="tmpFileSender" file="/tmp/test"/>
>
> I copy test.xml into the deploy directory and look at the log using 'log d'
>
> Pre refresh error
> Org.springframework.beans.factory.xml.xmlBeanDefinitionStoreException: Line 
> 18 in XML dpcument from URL [bundle://92.0:0/META-INF/spring/test.xml] is 
> invalid; nested exception is org.xml.sax.SAXParseException: 
> cvc-complex-type.2.4.c: The matching wildcards is strict, but no declaration 
> can be found for element 'file:poller'.
>
> Line 18 the open beans (<beans...) line.
>
> Thanks
>
>  Glenn
>
> -----Original Message-----
> From: Guillaume Nodet [mailto:[email protected]]
> Sent: 26 March 2009 23:30
> To: users
> Subject: Re: Example problem
>
> There are a few simple examples you can look at in the distribution.
> Some of them are available in the examples/simple folder.
> They're not really using the file component, but you should be able to
> adapt those easily.
>
> 2009/3/26 Glenn Macgregor <[email protected]>:
>> Ok, sorry for jumping the gun on the post. It seems like it takes a few mvn 
>> runs before all the dependencies get resolved...
>>
>> So now I have SMX4 built, installed and running and I want to create a 
>> simple example.
>>
>> How would I configure the servicemix-file component to watch a directory and 
>> put all files that appear in that dir on an activemq queue? Is this possible 
>> without java code?
>>
>> Thanks
>>
>>  Glenn
>>
>> From: Glenn Macgregor
>> Sent: 26 March 2009 14:26
>> To: '[email protected]'
>> Subject: Example problem
>>
>> Hi all,
>>
>> Just getting started with servicemix...and maven, I am having a problem 
>> building the cxf-wsdl-first example. I run maven install and it goes off and 
>> downloads many packages but for many of them I get:
>>
>> Unable to find resource
>>
>> Downloading: 
>> http://download.java.net/maven/2/org/codehaus/plexus/plexus-interpolation/1.6/plexus-interpolation-1.6.pom
>> [INFO] Unable to find resource 
>> 'org.codehaus.plexus:plexus-interpolation:pom:1.6' in repository java.net.2 
>> (http://download.java.net/maven/2)
>>
>> I am really looking forward to getting servicemix going, so any help on this 
>> issue would be great.
>>
>> Thanks
>>
>>  Glenn
>>
>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Blog: http://gnodet.blogspot.com/
> ------------------------
> Open Source SOA
> http://fusesource.com
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to