Hi Corrado,

I need to discuss with Lars before communicating in this way. As 
servicemix-file and servicemix-ftp BCs are older than the servicemix-vfs one, I 
think that not all features are present.

Regards
JB

On Monday 02 March 2009 - 14:36, Corrado Campisano wrote:
> Looks great, thanks!
> 
> 
> By the way: would you suggest to always use servicemix-vsf instead of
> servicemix-file and servicemix-ftp?
> 
> 
> Regards,
> Corrado Campisano
> 
> 
> 2009/3/2 <[email protected]>
> 
> > Hi,
> >
> > Concerning the servicemix-samba, Lars has already implemented
> > servicemix-vfs BC. Using Commons VFS, we can support smb/cifs filesystems
> > without problem :
> >
> > http://commons.apache.org/vfs/filesystems.html
> >
> > Regards
> > JB
> >
> > On Monday 02 March 2009 - 13:54, Corrado Campisano wrote:
> > > Hi all,
> > >
> > > this is my first proposal and my first mesage on this list, so please
> > pardon
> > > me any errors.
> > >
> > >
> > > I would like to implement a servicemix-samba Binding Component, so that
> > > ServiceMix could access Windows network shared folders and files.
> > >
> > >
> > >
> > > Currently, if ServiceMix embedded in Tomcat running as Windows Service
> > > cannot access network shared folders.
> > >
> > > I don't know about ServiceMix standalone, but, since it is a privilege
> > > issue, I guess the same would apply.
> > >
> > > If ServiceMix is run on Linux, it couldn't access Windows network shared
> > > folders unless some haking is made with Samba.
> > >
> > >
> > >
> > >
> > > So, my proposal is to add this component, being implemented similarly to
> > the
> > > servicemix-ftp one,
> > > since the "interface" is this:
> > > smb://[[[domain;]username[:passwo...@]server[:port]/[[share/[dir/]file]]]
> > > which is very close to this:
> > > ftp://[username[:passwo...@]host[:port]/[path]
> > >
> > >
> > > I'm already tring adding a "samba" Binding Component to ServiceMix
> > sources,
> > > adding:
> > >  - package: org.apache.servicemix.components.samba
> > >  - folder: org/apache/servicemix/components/samba
> > >
> > > to
> > > apache-servicemix-3.3/src/common/servicemix-components/src/main/java
> > > and similar folders.
> > >
> > >
> > > I miss lot of knowledge about building and testing ServiceMix with maven,
> > so
> > > I'm also 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.
> > >
> > >
> > >
> > > See here (network shares):
> > > http://fusesource.com/forums/thread.jspa?messageID=1605&#1629
> > > and here (proposal):
> > > http://fusesource.com/forums/thread.jspa?threadID=675
> > > for further details.
> > >
> > >
> > >
> > > 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!!!
> > >
> > >
> > >
> > > PS: regarding refractoring servicemix-ftp BC:
> > >
> > >  - package is:
> > >    org.apache.servicemix.components.net
> > >    while it should be:
> > >    org.apache.servicemix.components.ftp
> > >
> > >  - folder is:
> > >
> > >
> > apache-servicemix-3.3/src/common/servicemix-components/src/main/java/org/apache/servicemix/components/net
> > >    while it should be:
> > >
> > >
> > apache-servicemix-3.3/src/common/servicemix-components/src/main/java/org/apache/servicemix/components/ftp
> > >
> > > This would help with the new ones:
> > >  - package: org.apache.servicemix.components.samba
> > >  - folder: org/apache/servicemix/components/samba
> > > and similar in the future:
> > >  - package: org.apache.servicemix.components.fish
> > >  - folder: org/apache/servicemix/components/fish
> > >
> > >
> > >
> > > Corrado Campisano
> > > www.servicemix.eu
> >

Reply via email to