[Samba] samba file locking
jra at samba.org
Mon Oct 5 11:53:18 MDT 2009
On Mon, Oct 05, 2009 at 11:43:52AM +0200, Janez Kosmrlj wrote:
> I encountered an interesting problem. We have a Java application on a samba
> server. The folder is then shared to the clients via a samba share. So far
> it works OK. Until now we had windows clients and everything worked OK. But
> now we are trying to migrate to Linux clients and this is where the fun
> starts. When a developer copies a new jar to the folder which is shared via
> samba. And if this copying is done by scp strange things start happening.
> After a few clicks the application stops working returning NoClassDeffFound,
> even if the file is there and readable. After that it is not enough to just
> stop the application, you have to unmount an then mount the share. I tried
> turning off oplocks and then turning on kernel oplocks in the samba
> configuration as suggested in the samba how-to, but it doesn't fix the
> Has anyone an idea how to fix this situation?
Need more data - log files as to what is going on etc.
Please log a bugzilla bug.
> We are using centos 5.3 on client and server side.
What Samba version is that ?
More information about the samba