Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Getting svn error : U...RL access forbidden for unknown reason...svn: Commit failed.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Getting svn error : U...RL access forbidden for unknown reason...svn: Commit failed...." Watch "Getting svn error : U...RL access forbidden for unknown reason...svn: Commit failed...." New topic
Author

Getting svn error : U...RL access forbidden for unknown reason...svn: Commit failed....

shyam shridhar
Ranch Hand

Joined: Sep 15, 2006
Posts: 31
Hi,

I'm getting following error while committing the code back to server. If getting below error from eclipse as well as command line. I did google search to find the solution/cause there are many similar issues but not work for me.

I can checkout project there is not such problem at the time of checkout, problem is having only for checkin process.

My project is multi-module maven project:

boa
-webclient
-mobileclient
etc.


commit -m "Task completed" D:/mukesh_admin/workspace/boa/webclient/src/test/resources/hibernate.cfg.xml
Sending D:/mukesh_admin/workspace/boa/webclient/src/test/resources/hibernate.cfg.xml
URL access forbidden for unknown reason
svn: Commit failed (details follow):
svn: access to '/svn/repos/!svn/ver/537/boa/webclient/src/test/resources/hibernate.cfg.xml' forbidden



Option i tried are
1) Removed below file(By doing eclipse again asked for username and password). Still not working.

%APPDATA%\Subversion\auth
At above path four folder exists svn.simple, svn.ssl.client-passphrase, svn.ssl.server, svn.username.
All folder are empty except svn.simple which have only one file name '398......' content of this file is as follow :-
-------------------------------------------------------------------------------------------------------------------------------------
K 8
passtype
V 8
wincrypt
K 8
password
V 260
SDFSDFSF@#@#@##@#$@#@#$@#@$#@#$@#$@#@#$@#$@#$@#$@# [encypted password: this code was added by me]
K 15
svn:realmstring
V 60
<https://SvnServerName> Subversion repository
K 8
username
V 5
test1234
END
-------------------------------------------------------------------------------------------------------------------------------------------------

2) By comparing server path and local path for case sensitiveness

My Svn Server complete file path upto hibernate.cfg.xml is as follow

https://SvnServerName/svn/repos1/boa/webclient/src/test/resources/hibernate.cfg.xml

3) I asked my senior to see if I have proper access to project on the svn server(though it is not required as I can update project), He said I have required access.


System Details
Window 7(64 bit)
Eclipse Helios Service Release 1
SilkSvn version : 1.6.16 (x64)
Subeclipse Details : image attached


Can you guys please suggest something about above problem, may be anybody of you recently faced it. Is there any otherwise site/forum where I can get help about it.

Sorry if anything unclear because of my english.. still learning...

Thanks guys
-Shyam


[Thumbnail for subeclipse-details.png]

shyam shridhar
Ranch Hand

Joined: Sep 15, 2006
Posts: 31
Hi,

The problem has been solved by my colleague who manage svn server.

Instead of [repository:path] format , he listed the relative filesystem path. I.e., instead of [repos:/] he had [/repos/].
Problem fixed by modifying Apache config.
 
wood burning stoves
 
subject: Getting svn error : U...RL access forbidden for unknown reason...svn: Commit failed....
 
Similar Threads
how to lauch a pom.xml with maven in eclipse
org/tigris/subversion/svnant/SvnTask (Unsupported major.minor version 49.0)
Subversion Eclipse plugin - specify repo username password.
error in SVN
ant script error