jboss is not able to acess shared folder in another machine

we are using two jboss servers in two different machines. from the one server we need to create a file in another machine which is having shared folder.

if we write a normal java program it is able to create the file, but when we try through jboss it was failed.

is some thing i have to do with jboss configuration?



ananthkolliAsked:
Who is Participating?
 
ramazanyichCommented:
open Services window (from Control Panel or by right clicking on Computer icon/Manage and select services there). Right click on your jboss service. Click on 'Log on' tab. There you will see with which user account it is started. Usually it will be Local System Account.
Select "This Account" Click on "Browse" button and you can type user name there or click on advanced button and try to find user which has rights to the shared folder (probably your current account)
Save service definition and restart jboss service
0
 
ramazanyichCommented:
probably jboss server is started using different user account which doesn't have write permission to the shared folder. Check the owner of jboss process using ps utility on UNIX.
0
 
ananthkolliAuthor Commented:
can u please give me how to check the same in windows, because my jboss server is running in windows 2008 server
0
Managing Security Policy in a Changing Environment

The enterprise network environment is evolving rapidly as companies extend their physical data centers to embrace cloud computing and software-defined networking. This new reality means that the challenge of managing the security policy is much more dynamic and complex.

 
ramazanyichCommented:
how do you start jboss ? using windows service ? or by calling bat file?
0
 
ananthkolliAuthor Commented:
using windows service
0
 
ramazanyichCommented:
I think here is a problem. Usually then you install jboss as service.it is installed as localsystem account. I think you should modify service startup to be started as user which has access to the shared folder.
0
 
ananthkolliAuthor Commented:

Thanks for your reply,

can you please explain me how i can do that.  thanks in advance
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.