/    Sign up×
Community /Pin to ProfileBookmark

Unable to Edit File

I’m EXTREMELY new to JSP and have what is probably a VERY basic question.

I’m attempting to edit a JSP file in Notepad++ on our Tomcat server (6.0).

Anytime I try to hit save, it says this:

“Save File Failed – Please check whether if this file is opened in another program”

I have tried stopping the Tomcat server process, it doesn’t seem to work still.

Anyone have ANY ideas on what I’m doing wrong? I can’t say I’ve had this problem before…that I remember.

to post a comment
Java

1 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliMar 12.2010 — if file is on the server, then there are 2 things at least (could be more)

1. Most of the web servers keep a lock on files

So make sure you have web server shut down. And more importantly you should not work on those files directly under server, rather they should be worked on in some other development location

2. Some web servers make files readonly,

Solution: Once you have shut the server down, then make sure you change the files attribute from readonly to editable.

Start with these and let us know what happens
×

Success!

Help @tgrk35 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...