[jcifs] smb problem- Linux to Linux

Michael B Allen ioplex at gmail.com
Tue Sep 28 17:56:29 MDT 2010


Hi Feri,

If you are trying to use JCIFS as an smb:// URL handler you will need
to supply the smb:// URL to the program that accepts URLs and not to
JCIFS.

Otherwise, I do not understand the question.

Mike

On Thu, Sep 23, 2010 at 11:58 PM, ferilauw <ferilauw at gmail.com> wrote:
>
> Dear Sir / Mam,
>
> Is there anybody can help my problem :
> I have Server A using linux mandriva, let's say the name of server is :
> ServA
>  and in ServA i have database Postgres
>  and in ServA i have apache tomcat
>
> and I have DBF file in Server B using linux mandriva, let's say the name of
> server is : ServB.
>
> then when i deploy *.war into ServA and
> i run from client(windows /Linux) via browser it can not proses and error
> like :
> SEVERE: null
> org.xBaseJ.xBaseJException: Unknown database file
> \\ServB\de\la\inv\dbf\cofil01.dbf
>  at org.xBaseJ.DBF.openDBF(DBF.java:321)
>  at org.xBaseJ.DBF.<init>(DBF.java:206)
>  .....
>
> This is the part of smb coding in java :
>  String path = "smb://userid:password@ServB/de/la/inv/dbf/cofil01.dbf
>            SmbFile sFile = new SmbFile(path);
>
>
> Can anybody help me?
>
> Thank you so much for that kind.
>
> Best Regards,
>
> Feri Lauw
> --
> View this message in context: http://samba.2283325.n4.nabble.com/smb-problem-Linux-to-Linux-tp2553015p2553015.html
> Sent from the Samba - jcifs mailing list archive at Nabble.com.
>



-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list