Hi, Isn't this similar to post http://cwiki.apache.org/SM/discussion-forums.html#nabble-td25060140
Let me also know if your issue is addressed. However, with just simple configuration like file:sender and file:poller, i did not get this error in Java 1.6. For me the same error appeared on routing file poller's target service to jms queue. Does your component work in Java 1.5? Thanks, Richa. pmilitzer wrote: > > Hi, > > Trying to setup a file mover. Using tutorial example and documentation > from servicemix-file. > > Trying to move a non-xml file. When file is copied, receiving [Fatal > Error] <filename>:1:1: Content is not allowed in prolog. > > Then a zero bit file appears in the file poller location. > > I used the example in servicemix-file for the BinaryFileMarshaler and that > does not work either. > > Any ideas what is causing this error? > > Using ServiceMix 3.3.1 /Java 1.6.0_14 > > Thanks, > > Patrick > -- View this message in context: http://www.nabble.com/Servicemix-3.3.1---Using-BinaryFileMarshaler-getting-error-Content-is-not-alowed-in-prolog-tp25226381p25234537.html Sent from the ServiceMix - User mailing list archive at Nabble.com.