3 Replies Latest reply on Mar 2, 2009 8:33 AM by Corrado Campisano

    developing samba BC to solve file BC limitation on network folders

    Corrado Campisano Newbie

      Hi all,

       

      this is a follow-up on a previous post:

      "Re: file-sender: how to specify a network folder?"

      http://fusesource.com/forums/thread.jspa?messageID=1605&#1629

       

       

      The fact is existing servicemix-file can't access windows network folders.

       

      This impacts deployments on windows when tomcat is run as a service

      and linux systems needing to access windows shares (samba-client allows mapping?)

       

       

      So, I'm tring adding a "samba" Binding Component to ServiceMix sources, adding

      org.apache.servicemix.components.samba

      to

      apache-servicemix-3.3/src/common/servicemix-components/src/main/java

      and related folders.

       

      I miss lot of knowledge about building and testing ServiceMix with maven, so I'm looking for help.

       

      I found using jcifs.smb.SmbFile

      http://jcifs.samba.org/src/docs/api/jcifs/smb/SmbFile.html

      can replace org.apache.commons.net.ftp.FTPFile

       

       

      I still have to investigate about jcifs.smb.SmbSession

      http://jcifs.samba.org/src/docs/api/jcifs/smb/SmbSession.html

      replacing org.apache.commons.net.ftp.FTPClient

      but it seems a good guess.

       

       

       

      Shall I become a committer?

      http://servicemix.apache.org/becoming-a-committer.html

       

      Or it would be ok to provide the installer?

      ~/repository/org/apache/servicemix/servicemix-samba/2008.01/servicemix-samba-2008.01-installer.zip/

       

       

      Any comments welcome

       

      Corrado Campisano