It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

cannot modify config/server.xml

Yilei Zhong Mar 22, 2014

Hi i am new to jira.

I want to modify the file conf/server.xml under the jira installation directory.

But when i want to save the file, it shows the file already opened in another program.

I already closed the jira service and also run the shutdown script.

And also tried restart the windows system. (I know the jira service will automaticly start, so i already turn if off).

after restarting, still cannot modify the file

I don't know why.. any thoughts?

thanks a lot

5 answers

1 vote
Norman Abramovitz Mar 23, 2014

Use an open file utility to determine which process has the file open. Since you mentioned windows, look on the sysinternals website. There are a few programs listed that will do this task nicely.

http://technet.microsoft.com/en-us/sysinternals/bb545027.aspx

0 votes
Yilei Zhong Mar 22, 2014

upupup

Nic Brough [Adaptavist] Community Leader Mar 22, 2014

down down down

0 votes
Nic Brough [Adaptavist] Community Leader Mar 22, 2014

If your editor is showing this problem then it's exactly what it says in the message - you've still got the file open elsewhere.

Check that Jira really is shut down first, but it's unlikely to be that because it only reads the file at startup and doesn't hold it open.

You'll need to find out what you've opened the file with elsewhere and fix that.

Zulfadli Noor Sazali Atlassian Team Mar 23, 2014

Probably config.bat/sh is running?

0 votes
rtan Mar 23, 2014

Hi,

First, check the file permission and make sure you have the permission.

If you are sure that you can modify the file,then make sure you shutdown JIRA. Killall java process if possible, then try it again.

0 votes
Jonathan Jan 05, 2015

Hi,

It was file permissions for me.  I had to open my text editor as Administrator and then edit the file as a quick fix.  Best of luck!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Off-topic

Disney Live Action Reboots: Are you for or against?

Happy Friday Everyone! Today marks the international release of Disney's live action version of the animated classic Aladdin. I know that this movie was met with some controversy of over cast...

158 views 21 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you