On Jan 15, 2008 9:43 AM, Abdeslam El Abbassi <[EMAIL PROTECTED]> wrote: > > Thanks, but still not working. > We use Red Hat OS.
What exactly do you mean by not working. Do you have any errors or exceptions that you can post? If not, I encourage you to enable debug level logging in ServiceMix to see if it will provide more insight: http://servicemix.apache.org/how-do-i-change-the-logging.html > 1/ > i try this > <file:poller service="ws_eai:fileservice" > endpoint="poller" > > file="file:/opt/eai/apache-tomcat-6.0.9/webapps/servicemix/data/INBOX/" > targetService="ws_eai:jmsselect" > period="1000" > recursive="true" > autoCreateDirectory="true"> > > and this > file="file:///opt/eai/apache-tomcat-6.0.9/webapps/servicemix/data/INBOX/" I'm very surprised that the above URI (file://) wouldn't point at the directory because it is well-formed whereas the URI used in the file:poller (file:) is not well-formed. > But nothing work. > > 2/ > if the file is in the root, it will we consumed by the polling. > So i think it's a problem of directory right. This sounds like a permissions problem on the filesystem. Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*" );' Apache ActiveMQ - http://activemq.org/ Apache Camel - http://activemq.org/camel/ Apache ServiceMix - http://servicemix.org/ Apache Geronimo - http://geronimo.apache.org/ Blog: http://bruceblog.org/
