I'm a Junior Software Engineer Java and have to implement extensions to an
existing Java application.
In this application, i have to fetch files from a Windows server (2 Windows
servers to be exact). On one server i have .tif files which are scans of
documents, and an index.dat file which is a text file that has to be read. On
another server i have attachments, or the original documents of the scans.
With these files and information in a database, i have to create an e-mail
(JavaMail Message object) that will be stored in an e-mail archive and will be
accessible through a Struts web application.
Well ... it works splendid, completely functional...on my local computer.
But it has to be tested and delivered on a Linux server ...
There the problems begin ... i found out that i can't get to the windows server
as easily as from my local computer/
(not just 'File file = new File("//servername/directoroy/subdirectory");', it
worked locally, but not on the Linux machine)...
Searched the Internet and found JCIFS (which is already used for god knows what
in the application, but an older version so i downloaded the new one, didn't
have CifsDisk and stuff yet).
I implemented it, what i could understand from the tutorial, found out that the
server couldn't be found in NETBIOS on linux ... so put a DNS name
in /etc/hosts ...
Then he could find the server, but now i get this , and i can't find anything
about it on the internet, nor can i trace the cause:
(warning: large amount of info)
org.gnu.jcifs.CifsIOException: Unexpected SMB error code.( SMB=1:67)
Can anyone help me with this exception? If you have any questions regarding the
application or implementation, feel free to ask.
(This is something that should be finished by the end of the week :-s )
On Tue, 27 Dec 2005 08:22:26 +0000 (UTC)
Steve Schols <[hidden email]> wrote:
> Michael B Allen <mba2000 <at> ioplex.com> writes:
> > We are http://jcifs.samba.org/. We don't support the one you're
> > using. It's totally different.
> > Mike
> What is the difference then please?
> I got the jar from jcifs.samba.org.
The question you asked is about org.gnu.jcifs.* classes. Although
those classes serve the same purpose they are from a differnet project
that is not related at all to http://jcifs.samba.org or this mailing
list. Therefore, your question is off topic here.
If you have a question about about a package downloaded from
http://jcifs.samba.org you are welcome to ask here.