libsmbclient fails after some time
Christopher R. Hertel
crh at ubiqx.mn.org
Tue Oct 22 17:09:00 GMT 2002
Just curious... If you are using Java why are you using libsmbclient
instead of jCIFS? Is there some functionality in libsmbclient that is
missing from the jCIFS client?
Chris -)-----
On Mon, Oct 21, 2002 at 10:27:10AM +0530, Abhijeet Paturkar wrote:
> Hi,
> I am using libsmbclient on Linux Red Hat 7.2
> We have developed C++ wrapper around libsmbclient 2.2.5.
> This wrapper is integrated with Java using JNI.
> And this Java class is used in Application server in JSP
> The stat for libsmbclient works properly for some time and then fails
> when the link for the JSP is tried after say 3-4 hours.
> The perror on stat prints "Success".
> We are using following compiler options for building the wrapper.
> g++3 -c -pipe -fPIC -Wall -W -O2 -DUSE_GETTIMEOFDAY -DINTEL_LINUX_70
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_GETTIMEOFDAY
> -DINTEL_LINUX_70 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX
> -D_XOPEN_SOURCE=500 -D_LARGEFILE64_SOURCE -D_XOPEN_SOURCE_EXTENDED
> -D_POSIX_PTHREAD_SEMANTICS -D_BSD_SOURCE -D__UNIX__ -DUNIX -D_REENTRANT.
>
> Does any one encountered such an error ?
>
> Regards
> Abhijeet
--
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical
mailing list