aspose file tools*
The moose likes JBoss/WildFly and the fly likes Jboss When run as service not able to access local system path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss When run as service not able to access local system path" Watch "Jboss When run as service not able to access local system path" New topic
Author

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

krishnaMohank Reddy
Greenhorn

Joined: Aug 20, 2010
Posts: 1
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

Joined: May 14, 2008
Posts: 5823
    
    7

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.


JBoss In Action
Stijn de Witt
Greenhorn

Joined: Jul 29, 2010
Posts: 3
Link to the 'other forum' would help Googlers like me to find the rest of the discussion...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10036
    
163

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

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss When run as service not able to access local system path