Hi, That config did not work either.
Here is the output when I did the mvn install: [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] YXTest [INFO] YXTest :: File-SU [INFO] YX Test:: SA [INFO] ------------------------------------------------------------------------ [INFO] Building YXTest [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [install:install {execution: default-install}] [INFO] Installing C:\ESB\tutorial\pom.xml to C:\Documents and Settings\macom\.m2\repository\com\midwestairlines\oa\parent\1.0\parent-1.0.pom [INFO] ------------------------------------------------------------------------ [INFO] Building YXTest :: File-SU [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 3 resources Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository) Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo) Downloading: http://people.apache.org/repo/m2-incubating-repository/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository) Downloading: http://repository.codehaus.org/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository codehaus (http://repository.codehaus.org) Downloading: http://download.java.net/maven/1/org.apache.santuario/poms/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository java.net (http://download.java.net/maven/1) Downloading: http://ws.zones.apache.org/repository2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) Downloading: http://repo1.maven.org/maven2//org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository maven2 (http://repo1.maven.org/maven2/) Downloading: http://repo1.maven.org/maven2/org/apache/santuario/xmlsec/1.4.0/xmlsec-1.4.0.pom [INFO] Unable to find resource 'org.apache.santuario:xmlsec:pom:1.4.0' in repository central (http://repo1.maven.org/maven2) Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository) Downloading: http://svn.apache.org/repos/asf/servicemix/m2-repo/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository servicemix-m2-repo (http://svn.apache.org/repos/asf/servicemix/m2-repo) Downloading: http://people.apache.org/repo/m2-incubating-repository/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-incubating (http://people.apache.org/repo/m2-incubating-repository) Downloading: http://repository.codehaus.org/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository codehaus (http://repository.codehaus.org) Downloading: http://download.java.net/maven/1/bouncycastle/poms/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository java.net (http://download.java.net/maven/1) Downloading: http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository apache-ws-snapshots2 (http://ws.zones.apache.org/repository2/) Downloading: http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository maven2 (http://repo1.maven.org/maven2/) Downloading: http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk13/132/bcprov-jdk13-132.pom [INFO] Unable to find resource 'bouncycastle:bcprov-jdk13:pom:132' in repository central (http://repo1.maven.org/maven2) [WARNING] POM for 'org.springframework:spring-beans:pom:2.0.6:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.springframework:spring-core:pom:2.0.6:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.springframework:spring-context:pom:2.0.6:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.springframework:spring-dao:pom:2.0.6:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'org.springframework:spring-support:pom:2.0.6:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [WARNING] POM for 'xerces:xerces:pom:2.0.2:runtime' is invalid. Its dependencies (if any) will NOT be available to the current build. [INFO] [jbi:generate-depends-file {execution: default-generate-depends-file}] [INFO] Created: C:\ESB\tutorial\YXTest-file-su\target\classes\META-INF\maven\dependencies.properties [INFO] [compiler:compile {execution: default-compile}] [INFO] No sources to compile [INFO] [jbi:generate-jbi-service-unit-descriptor {execution: default-generate-jbi-service-unit-descriptor}] [INFO] Generating jbi.xml [INFO] generated : consumes [] provides [] [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\ESB\tutorial\YXTest-file-su\src\test\resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: C:\ESB\tutorial\YXTest-file-su\target\YXTest-file-su-1.0-SNAPSHOT.jar [INFO] [jbi:jbi-service-unit {execution: default-jbi-service-unit}] [INFO] Resolving org.apache.servicemix:servicemix-file:jar:3.2.3:compile [INFO] Resolving org.apache.servicemix:servicemix-shared:jar:3.2.3:compile [INFO] Resolving org.apache.servicemix:servicemix-common:jar:3.2.3:compile [INFO] Resolving wsdl4j:wsdl4j:jar:1.6.2:compile [INFO] Resolving org.apache.servicemix:servicemix-soap:jar:3.2.3:compile [INFO] Resolving bouncycastle:bcprov-jdk14:jar:136:compile [INFO] Resolving org.opensaml:opensaml:jar:1.1:compile [INFO] Resolving xml-security:xmlsec:jar:1.3.0:compile [INFO] Resolving org.apache.servicemix:servicemix-soap2:jar:3.2.3:compile [INFO] Resolving org.apache.ws.security:wss4j:jar:1.5.4:compile [INFO] Resolving commons-logging:commons-logging:jar:1.1:compile [INFO] Resolving log4j:log4j:jar:1.2.12:compile [INFO] Resolving org.apache.santuario:xmlsec:jar:1.4.0:compile [INFO] Resolving opensaml:opensaml:jar:1.1:compile [INFO] Resolving org.apache.axis:axis-ant:jar:1.4:compile [INFO] Resolving xalan:xalan:jar:2.7.0:compile [INFO] Resolving xml-apis:xml-apis:jar:1.3.03:compile [INFO] Resolving xerces:xercesImpl:jar:2.8.1:compile [INFO] Resolving junit:junit:jar:3.8.1:compile [INFO] Resolving bouncycastle:bcprov-jdk13:jar:132:compile [INFO] Resolving org.apache.ws.commons.schema:XmlSchema:jar:1.3.2:compile [INFO] Resolving org.apache.woden:woden:jar:1.0.0M6:compile [INFO] Generating service unit C:\ESB\tutorial\YXTest-file-su\target\YXTest-file-su-1.0-SNAPSHOT.zip [INFO] Building jar: C:\ESB\tutorial\YXTest-file-su\target\YXTest-file-su-1.0-SNAPSHOT.zip [INFO] [install:install {execution: default-install}] [INFO] Installing C:\ESB\tutorial\YXTest-file-su\target\YXTest-file-su-1.0-SNAPSHOT.jar to C:\Documents and Settings\macom\.m2\repository\com\midwestairlines\oa\YXTest-file-su\1.0-SNAPSHOT\YXTest-file-su-1.0-SNAPSHOT.jar [INFO] Installing C:\ESB\tutorial\YXTest-file-su\target\YXTest-file-su-1.0-SNAPSHOT.zip to C:\Documents and Settings\macom\.m2\repository\com\midwestairlines\oa\YXTest-file-su\1.0-SNAPSHOT\YXTest-file-su-1.0-SNAPSHOT.zip [INFO] ------------------------------------------------------------------------ [INFO] Building YX Test:: SA [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [jbi:generate-jbi-service-assembly-descriptor {execution: default-generate-jbi-service-assembly-descriptor}] [INFO] Generating jbi.xml [INFO] Determining component name for service unit YXTest-file-su [INFO] Project MavenProject: org.apache.servicemix:servicemix-file:3.2.3 @ packaged jbi-component [INFO] [jbi:generate-depends-file {execution: default-generate-depends-file}] [INFO] Created: C:\ESB\tutorial\YXTest-sa\target\classes\META-INF\maven\dependencies.properties [INFO] [resources:resources {execution: default-resources}] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\ESB\tutorial\YXTest-sa\src\main\resources [INFO] [compiler:compile {execution: default-compile}] [INFO] No sources to compile [INFO] [resources:testResources {execution: default-testResources}] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory C:\ESB\tutorial\YXTest-sa\src\test\resources [INFO] [compiler:testCompile {execution: default-testCompile}] [INFO] No sources to compile [INFO] [surefire:test {execution: default-test}] [INFO] No tests to run. [INFO] [jbi:jbi-service-assembly {execution: default-jbi-service-assembly}] [INFO] [jar:jar {execution: default-jar}] [INFO] Building jar: C:\ESB\tutorial\YXTest-sa\target\YXTest-sa-1.0-SNAPSHOT.jar [INFO] [install:install {execution: default-install}] [INFO] Installing C:\ESB\tutorial\YXTest-sa\target\YXTest-sa-1.0-SNAPSHOT.jar to C:\Documents and Settings\macom\.m2\repository\com\midwestairlines\oa\YXTest-sa\1.0-SNAPSHOT\YXTest-sa-1.0-SNAPSHOT.zip [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] YXTest ................................................ SUCCESS [3.609s] [INFO] YXTest :: File-SU ..................................... SUCCESS [15.313s] [INFO] YX Test:: SA .......................................... SUCCESS [0.328s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 19 seconds [INFO] Finished at: Mon Aug 31 15:00:22 CDT 2009 [INFO] Final Memory: 21M/41M [INFO] ------------------------------------------------------------------------ Hope this helps, let me know if you need more. Thanks Pat Jean-Baptiste Onofré wrote: > > Hi again, > > It seems that the binary marshaler is not used. > > Could you try the following configuration: > > <f:sender service="proj:file" endpoint="send" > directory="file:C:/Outbox" autoCreateDirectory="true"/> > <f:poller service="proj:file" endpoint="poll" > file="file:C:/Inbox" targetService="proj:file" > targetEndpoint="send" period="60000" recursive="true" > autoCreateDirectory="true"> > <f:marshaler> > <bean > class="org.apache.servicemix.components.util.BinaryFileMarshaler"/> > </f:marshaler> > </f:poller> > > Could you provide the whole stack trace too ? > > Thanks > Regards > JB > > pmilitzer wrote: >> Hi, >> >> Here is the xbean.xml that I tried: >> >> <?xml version="1.0" ?> >> <beans xmlns:f="http://servicemix.apache.org/file/1.0" >> xmlns:proj="http://servicemix.apache.org/samples/filemover" >> xmlns:sm="http://servicemix.apache.org/config/1.0"> >> <f:sender service="proj:fileSender" endpoint="endpoint" >> directory="file:///C:/Outbox" autoCreateDirectory="true"> >> <property name="marshaler"> >> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" >> /> >> </property> >> </f:sender> >> <f:poller service="proj:filePoller" endpoint="poller" >> file="file:///C:/Inbox" targetService="proj:fileSender" >> targetEndpoint="endpoint" period="60000" recursive="true" >> autoCreateDirectory="true"> >> <property name="marshaler"> >> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" >> /> >> </property> >> </f:poller> >> </beans> >> >> >> >> Jean-Baptiste Onofré wrote: >>> Hi Patrick, >>> >>> could you paste the xbean.xml using the BinaryFileMarshaler ? >>> >>> Regards >>> JB >>> >>> >> > > -- > Jean-Baptiste Onofré (Nanthrax) > BuildProcess/AutoDeploy Project Leader > http://buildprocess.sourceforge.net > j...@nanthrax.net > PGP : 17D4F086 > > -- View this message in context: http://www.nabble.com/Servicemix-3.3.1---Using-BinaryFileMarshaler-getting-error-Content-is-not-alowed-in-prolog-tp25226381p25229676.html Sent from the ServiceMix - User mailing list archive at Nabble.com.