Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jboss When run as service not able to access local system path

 
krishnaMohank Reddy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running Jboss as service using local user account, from my bussiness logic I am trying to access(read) file on local system on C drive. I am getting " java.io.IOException: The system cannot find the path specified".

But when configure JBoss service to logon with an administrator account did work in that case. So i guess the problem is with Jboss Service using local user account, it is not having enough rights to access file.

So if the files are on the local machine on C drive, the local system account should work, what configuaration shall I change to make it work.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
krishnaMohank, welcome to Java Ranch!

Did my suggestions in the other forum help? If not, let's continue the discussion there and just post the final solution here - I don't want to have two duplicate conversations going on at the same time.
 
Stijn de Witt
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Link to the 'other forum' would help Googlers like me to find the rest of the discussion...
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stijn de Witt wrote:Link to the 'other forum' would help Googlers like me to find the rest of the discussion...


Here https://community.jboss.org/thread/155601
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic