Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

jboss is not able to  acess shared folder in another machine

Posted on 2010-11-09
7
Medium Priority
?
1,261 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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 1000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
Determining the an SCCM package name from the Package ID
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

661 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