Solved

jboss is not able to  acess shared folder in another machine

Posted on 2010-11-09
7
1,193 Views
Last Modified: 2012-05-10
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?



0
Comment
Question by:ananthkolli
  • 4
  • 3
7 Comments
 
LVL 19

Expert Comment

by:ramazanyich
ID: 34102837
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
 

Author Comment

by:ananthkolli
ID: 34108244
can u please give me how to check the same in windows, because my jboss server is running in windows 2008 server
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 34115825
how do you start jboss ? using windows service ? or by calling bat file?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:ananthkolli
ID: 34117518
using windows service
0
 
LVL 19

Expert Comment

by:ramazanyich
ID: 34120196
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
 

Author Comment

by:ananthkolli
ID: 34120989

Thanks for your reply,

can you please explain me how i can do that.  thanks in advance
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 250 total points
ID: 34124370
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

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Samba is the de-facto standard program (or, more correctly: suite of programs) that UNIX and Linux systems use to share files with Microsoft Windows (and more recently, Mac OS-X) systems. Currently, there are 2 common versions of Samba available,…
Hello, As I have seen there a lot of requests regarding monitoring and reporting for exchange 2007 / 2010 / 2013 I have decided to post some thoughts together and link to articles that have helped me. Of course a lot of information you can get…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now