Hi, I have not tried to put the message into a JMS queue yet. Just want to make sure the File to File would work but that does not seem to be working, so have not pressed on to the JMS yet.
Java version 1.6.0_14 is what we have installed. I don't have 1.5 installed on the box. Was hoping not to have to put 1.5 on the box. If there is no other option, I can test it. I'm not getting any errors when I hotdeploy the module, this is the only thing that comes up on the console: INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed: processing YXTest-sa-1.0-SNAPSHOT.zip ... WARN - AutoDeploymentService - Components servicemix-file are not installed yet: the service assembly YXTest-sa deployment is susp ended and will be resumed once the listed components are installed INFO - AutoDeploymentService - Directory: hotdeploy: Finished installation of archive: YXTest-sa-1.0-SNAPSHOT.zip When I run the mvn install on the SA directory I get the following output: [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Building YX Test:: SA [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] snapshot com.midwestairlines.oa:YXTest-file-su:1.0-SNAPSHOT: checking for updates from apache.snapshots 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-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] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 15 seconds [INFO] Finished at: Fri Sep 04 15:17:43 CDT 2009 [INFO] Final Memory: 18M/33M [INFO] ------------------------------------------------------------------------ Not sure if any of the warnings would cause the BinaryFileMarshaler to fail. Thanks, Patrick Richa Khurana wrote: > > 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-tp25226381p25301382.html Sent from the ServiceMix - User mailing list archive at Nabble.com.