• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE app accessing ShareDrive file  RSS feed

 
godhs gop
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a j2ee application running on a cluster. The input for a functionality is a excel file. Can you tell me if it will be possible to access the file placed in a shared drive from the app?
Thanks in advance.
 
Tracy Nelson
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by godhs gop:
Hi,
I have a j2ee application running on a cluster. The input for a functionality is a excel file. Can you tell me if it will be possible to access the file placed in a shared drive from the app?
Thanks in advance.

Depends on if it's accessible from the server. If your server can't (or doesn't) mount the share, then you won't be able to get access to it (modulo intricate schemes involving P2P or other ad-hoc file sharing techniques). If the share is available from the server, then you'll have to do the necessary vis a vis permissions.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It also depends on the host OS and how the application runs.

For example, if it runs as a service under Windows it will not be able to 'see' mapped drives and will need to use the full network path. You may also need to change the user running the service so that the application has the correct permissions.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!