Access File on Windows URN from Open SUSE Java Process

Hi All,

This question is not strictly restricted to SUSE, I’m sure its general Linux type question, but I’m trying to do it on SUSE so here goes.

I would like to open a file for IO using a windows type URN ie \<server>&lt;share>\filename.ext from a java process running in an app server on SUSE (Enterprise as it happens).

I was rather hoping that a correctly configured samba client would allow it to happen, but that is either not the case or, I haven’t found the correct configuration yet.

Has anyone any experience of doing this themselves?

I know I can just mount the windows disk and access that way, but I was hoping to not need that.

oh the process works perfectly well on a windows app server - the same appserver as it happens just running on a windows machine instead of SUSE. I can open the file and read it into memory etc.

Cheers

Stewart

Fundamentals for accessing a remote resource…

  • Select a transport. Can be CIFS (ie SAMBA), FTP, HTTP, NFS, etc. Unless your app has specific requirements, you can choose any.
  • Configure server-side.
  • Configure client-side. Depending on the transport, various paths (URN) can be configured. Often, *NIX paths are configured with forward slashes and are case sensitive, whereas MSWindows paths are typically backslashes and case insensitive.

I don’t know what your client app is, so can’t speculate what would be best.

TSU