Solved

jboss is not able to  acess shared folder in another machine

Posted on 2010-11-09
7
1,208 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows File Shares not accessible after DC Reboot 6 62
ports for SCCM 1 89
Problem to router 7 51
Microsoft SAM - Deployment Summary and Cloud Provider 5 20
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

815 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

9 Experts available now in Live!

Get 1:1 Help Now