Unable to create index using "file:///" url, while with 'http://' it is working correctly.

Added by sachin patil 622 days ago

Hi,

I am executing supose scan command, and able to create index using 'http'url but NOT with 'file' url.

Additional information -
1. OS - windows server 2003
2. NOT set JAVA_OPTS=-Dsvnkit.http.methods=Basic,Digest,NTLM
3. Java verison jdk1.6.0_18

Same supose file, with and without 'JAVA_OPTS=-Dsvnkit.http.methods=Basic,Digest,NTLM' is working correctly on Windows XP.
- 'file' & 'http' url in scan command are working on XP machine.
- java - same as on 'Win server 2003 machine' -i.e.jdk1.6.0_18

Please let me know is there anything missing from my side.

Thanks in advance
-sachin


Replies

RE: Unable to create index using "file:///" url, while with 'http://' it is working correctly. - Added by Redmine Admin 616 days ago

Hi Sachin,

usually you need the -Dsvnkit.http only if you are working with http/https protocol. If you are working with file protocol you don't need that, cause there is no authentication needed for file-based protocol.

Kind regards
Karl Heinz Marbaise

RE: Unable to create index using "file:///" url, while with 'http://' it is working correctly. - Added by sachin patil 608 days ago

Hi Karl,

Thanks for your reply.

I have tried both options i.e. with -Dsvnkit.http and without it.

With the -Dsvnkit.http option, I can create index of the repository over "http://"
But, I am unable to create index with "file:///" url. (wihout -Dsvnkit.http method)

While creating index with "file:///" url it is giving error as -

Unable to open an ra_local session to URL
svn: Unable to open repository 'file:///<repository/path>/repo'
svn: Expected FS format between '1' and '3'; found format '4'

Please let me know is there anything missing from my side.

Thanks in advance.
Sachin

RE: Unable to create index using "file:///" url, while with 'http://' it is working correctly. - Added by Karl Heinz Marbaise 608 days ago

Hi Sachin,

first which exact version of SupoSE are you using? And with which version did you create your repository? (You are using FSFS Backend ?)

EDIT: I assume you used SVN 1.6.X to create that repository...
EDIT2: Based on the error message i assume you are using SupoSE 0.6.1

EDIT2: What you can do:
EDIT2: Upgrade to 0.6.2RC1
EDIT2: The problem is the internal used SVNKit Release. In 0.6.1 it's 1.2.3 which is not able to scan 1.6.X repositories, in 0.6.2RC1 i upgraded to SVNKit 1.3.X...

Kind regards
Karl Heinz Marbaise