7 Replies Latest reply on Jul 16, 2007 4:48 PM by swats

    helloworld_ftp_action

    swats

      Can you please give me the format in which i should write the entries for

      jbossesb.ftp.hostname=
      jbossesb.ftp.username=
      jbossesb.ftp.password=
      jbossesb.ftp.directory=

      in the quickstarts.properties

      i am getting the following error when i try to build

      [java] 11:51:21,781 ERROR [main][XmlValidatorImpl] SAXException occurred: Element type "ftp-provider" must be followed by either attribute specifications,">" or "/>".

        • 1. Re: helloworld_ftp_action
          kurtstam

          I think you have an error in your jboss-esb.xml, where you define the ftp-provider.

          --Kurt

          • 2. Re: helloworld_ftp_action
            swats

            I didnt change the code. It was already there in the XML file and these are the entries. What could be the error here ?


            <ftp-provider name="FTPprovider" hostname="@FTP_HOSTNAME@" >
            <ftp-bus busid="helloFTPChannel" >
            <ftp-message-filter
            username="@FTP_USERNAME@"
            password="@FTP_PASSWORD@"
            passive="false"
            directory="@FTP_DIRECTORY@"
            input-suffix=".dat"
            work-suffix=".esbWorking"
            post-delete="false"
            post-suffix=".COMPLETE"
            error-delete="false"
            error-suffix=".HAS_ERROR"
            />
            </ftp-bus>
            </ftp-provider>

            • 3. Re: helloworld_ftp_action
              kurtstam

              Some script should have replaced the '@' symbols with real values.

              • 4. Re: helloworld_ftp_action
                burrsutter

                When you run the ant script it will replace the @ signs with the appropriate items from the quickstart.properties file.

                You should end up with a jboss-esb.xml that was "filtered" from the jboss-esb-unfiltered.xml source file.

                Please let us know if this wasn't clear in the readme.txt.

                Also, you can just hard code your settings as well.


                • 5. Re: helloworld_ftp_action
                  swats

                  Can you please let me know in what format should the entries be in quickstarts.properties file.

                  jbossesb.ftp.hostname=
                  jbossesb.ftp.username=
                  jbossesb.ftp.password=
                  jbossesb.ftp.directory=

                  i am sure i am making a mistake in the understanding of these entries

                  • 6. Re: helloworld_ftp_action
                    kurtstam

                    If you deploy our ftp-server.sar it would be

                    hostname=localhost
                    usename=esb
                    password=esb
                    directory=/

                    But you can also run your own ftp server.

                    --Kurt

                    • 7. Re: helloworld_ftp_action
                      swats

                      FTP Worked !
                      Thanks !