|
Project
|
SubGit
|
|
Priority
|
Normal |
|
Type
|
Bug |
|
State
|
Fixed |
|
Assignee
|
Semyon Vadishev |
|
Subsystem
|
Translator Core |
|
Affected versions
|
Miai EAP5 (build 1096) |
|
Fix versions
|
1.0.0 (build 1696), Miai EAP6 (build 1381) |
|
Fixed in build
|
No Fixed in build
|
org.tmatesoft.translator.util.TsException: Time limit to write pid file 'L:\Repositories2\jchess\subgit\daemon.pid' exceeded; current time: 1329848875187, time limit: 1329848873000…
org.tmatesoft.translator.util.TsException: Time limit to write pid file 'L:\Repositories2\jchess\subgit\daemon.pid' exceeded; current time: 1329848875187, time limit: 1329848873000
at org.tmatesoft.translator.util.TsException.create(SourceFile:17)
at org.tmatesoft.translator.process.TsPidFile.writePidAndPort(SourceFile:99)
at org.tmatesoft.translator.daemon.TsDaemon.doRun(SourceFile:136)
at org.tmatesoft.translator.daemon.TsDaemon.run(SourceFile:128)
at java.lang.Thread.run(Thread.java:662)
org.tmatesoft.translator.util.TsException: Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemon.pid'.…
org.tmatesoft.translator.util.TsException: Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemon.pid'.
at org.tmatesoft.translator.util.TsException.create(SourceFile:17)
at org.tmatesoft.translator.process.TsPidFile.readWhenExists(SourceFile:63)
at org.tmatesoft.translator.hook.TsHook.launchDaemon(SourceFile:527)
at org.tmatesoft.translator.hook.TsHook.openConnection(SourceFile:544)
at org.tmatesoft.translator.hook.TsHook.sendPacket(SourceFile:469)
at org.tmatesoft.translator.hook.TsHook.doExecute(SourceFile:318)
at org.tmatesoft.translator.hook.TsHook.execute(SourceFile:85)
at org.tmatesoft.translator.SubGitHook.executeCommand(SourceFile:81)
at org.tmatesoft.translator.SubGitHook.run(SourceFile:52)
at org.tmatesoft.translator.SubGitHook.run(SourceFile:20)
at org.tmatesoft.translator.process.TsAbstractProcess.execute(SourceFile:106)
at org.tmatesoft.translator.process.TsAbstractProcess.run(SourceFile:78)
at org.tmatesoft.translator.SubGitHook.main(SourceFile:25)
java -classpath L:\Repositories2\jchess\subgit\lib\subgit-1.0.0-EAP_1111_fat.jar org.tmatesoft.translator.SubGitDaemon --svn L:\Repositories2\jchess --limit 2329848873000
1. A new JVM daemon thread launches
2. Daemon creates temporary file
Since we actually create temporary files before and that works pretty fast, it seems we hit a thread start issue here.
But log still said old limit.
L:\workspace\jchess-git>java -classpath L:\Repositories2\jchess\subgit\lib\subgit-1.0.0-EAP_1111_fat.jar org.tmatesoft.translator.SubGitDaemon –svn L:\Repositories2\jchess –limit 2329848873000
L:\workspace\jchess-git>git push
[1329858890.546][daemon][11] Cannot write pid file to 'L:\Repositories2\jchess\subgit\daemon.pid', exiting.
Another interesting thing is java.io.tmpdir for subgit said
java.io.tmpdir : C:\WINDOWS\
on when I run getproperty on eclipse. it show the correct setting on my windows system
java.io.tmpdir=c:\temp\
java -classpath ... org.tmatesoft.translator.SubGitDaemon ...
succeeded. This command does not set limit, --limit argument is needed for hook to make sure that daemon will not launch when hook does not expect it to do that.
After that, you have tried to run git push and it still fails. I think all we have here is that SubGit works too slow due to some reasons. I will prepare a build where launch timeout will be configurable. By default it is 5 seconds and that's not enough in your case. After that you can set it to something like 15 seconds, so everyrthing will work slow but hopefully stable.
I'm afraid this new build will be ready tomorrow, but not today.
I think the JVM process inherits environment from its parent process, i.e. Apache. I wonder what particular service set such temporary directory. I'll try to google that. Maybe it's some sort of joke from Git developers, maybe they want to say something about Windows in this regard as they are known for their Linux addiction.
I forgot to thank you for your tremendous feedback and great patience, thanks a lot from the whole our team!
Before installing it into your repository, adjust [daemon] section of subgit.conf file by adding the following line
[daemon]
launchTimeout = 60
So, hook will wait daemon launched for 60 seconds.
Even if git push passes after this modification, please send us debug log from subgit/log directory. Thanks!
I tried uninstall/install, but that does not help either.
I copied it manually,
but still no good.
L:\workspace\jchess-git>git push
Password for 'http://chiiwen@localhost':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 284 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: java.lang.NoClassDefFoundError: org/tmatesoft/translator/SubGitHook
remote: Caused by: java.lang.ClassNotFoundException: org.tmatesoft.translator.Su
remote:
remote: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
remote: at java.security.AccessController.doPrivileged(Native Method)
remote: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
remote: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
remote: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
remote:
remote: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
remote: Could not find the main class: org.tmatesoft.translator.SubGitHook. Pro
remote: l exit.
remote: Exception in thread "main" To http://chiiwen@localhost/git/jchess
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://chiiwen@localhost/git/jchess'
If I tried to install while apache is off. and started apache server, and run.
I got
L:\workspace\jchess-git>git push
Password for 'http://chiiwen@localhost':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 284 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: Exception in thread "main" java.lang.NoClassDefFoundError: a/a/a/a/b/aR
remote: at org.tmatesoft.translator.SubGitHook.main(SourceFile:27)
remote: Caused by: java.lang.ClassNotFoundException: a.a.a.a.b.aR
remote: at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
remote: at java.security.AccessController.doPrivileged(Native Method)
remote: at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
remote: at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
remote: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
remote:
remote: at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
remote: ... 1 more
To http://chiiwen@localhost/git/jchess
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://chiiwen@localhost/git/jchess'
1. subgit uninstall --purge $SVN_REPOS
2. Backup existing git repository
3. subgit install $SVN_REPOS
Since we run Linux and Windows test suite for every build and for this particular build all tests have passed, this problem seems to be environment specific. Most probably Apache process has no permissions to read files created by user who has done 'subgit install'.
You can try to run git hook script from git repository, just type '$GIT_REPOS/hooks/pre-receive'. If pre-receive hook successfully launches it means that user which runs Apache server has not sufficient file permissions.
Here is the result
L:\workspace\jchess-git>git push
Password for 'http://chiiwen@localhost':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 284 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote: ERROR:
remote: Not enough permissions; temporary directory 'C:\WINDOWS\' is not writabl
e for user 'NETWORK SERVICE'.
remote:
remote: TO RECOVER:
remote: A) Make sure user 'NETWORK SERVICE' has enough permissions to create f
iles in 'C:\WINDOWS\' directory.
remote: OR
remote: B) Specify another temporary directory by adjusting SubGit configurati
on file as follows:
remote: [hooks]
remote: javaOptions = -Djava.io.tmpdir=<tmp>
remote: [daemon]
remote: javaOptions = -Djava.io.tmpdir=<tmp>
remote:
remote: Fix this problem and then push your commits once again.
remote:
To http://chiiwen@localhost/git/jchess
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://chiiwen@localhost/git/jchess'
Even though I have
[hook]
javaOptions = -Djava.io.tmpdir=C:/tmp/
[core]
shared = false
logs = L:/Repositories2/jchess/subgit/logs
errorReport = L:/Repositories2/jchess/subgit/error
authorsFile = L:/Repositories2/jchess/conf/authors.txt
[git "default"]
translationRoot = /
repository = .git
pathEncoding = Cp1252
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
shelves = shelves/*:refs/shelves/*
tags = tags/*:refs/tags/*
[daemon]
launchTimout = 60
javaOptions = -Djava.io.tmpdir=C:/tmp/
pidFile = L:/Repositories2/jchess/subgit/daemon.pid
idleTimeout = 0
classpath = L:/Repositories2/jchess/subgit/lib
JAVA_OPTIONS="-Djava.io.tmpdir=C:/tmp/"
1. subgit configure $SVN_REPOS
2. adjust $SVN_REPOS/conf/subgit.conf, add javaOptions and launchTimeout options.
3. and only then subgit install $SVN_REPOS
$SVN_REPOS/conf/subgit.conf is used by subgit during install phase only — install reads config file and generates necessary hooks and hidden config files. Sorry I didn't mention that earlier.
or JAVA_OPTIONS="-Djava.io.tmpdir=C:/tmp/"
got
remote:
remote: SubGit ERROR REPORT (SubGit version 1.0.0-EAP ('Miai') build #1116):
remote:
remote: You see this message because SubGit (http://subgit.com) is installed in
your repository
remote: and an error that needs to be dealt with has occured in SubGit translati
on engine.
remote:
remote:
remote: UNRECOVERABLE ERROR:
remote: Failed to load Subversion configuration at 'L:\Repositories2\jchess\con
f\subgit.conf'
remote: Cannot read file L:\Repositories2\jchess\conf\subgit.conf
remote: Bad entry name: JAVA
remote:
remote: CURRENT STATE: Invalid Subversion repository configuration.
remote:
remote: TO RECOVER:
remote: Fix Subversion repository configuration,
remote: Run on the server:
remote: $ subgit install L:\Repositories2\jchess
remote:
I change apache login to my login. I have admin privelege.
log
L:\workspace\jchess-git>git push
Password for 'http://chiiwen@localhost':
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 293 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
remote:
remote: SubGit ERROR REPORT (SubGit version 1.0.0-EAP ('Miai') build #1116):
remote:
remote: You see this message because SubGit (http://subgit.com) is installed in
your repository
remote: and an error that needs to be dealt with has occured in SubGit translati
on engine.
remote:
remote:
remote: TEMPORARY ERROR:
remote: Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemo
n.pid'.
remote:
remote: CURRENT STATE: Both Git and Subversion repository are open for pushes or
commits.
remote: Your commit was not committed, but you may retry it.
remote:
remote: TO RECOVER:
remote: A) Address the problem if possible and then retry commit
remote: OR
remote: B) Run on the server
remote: $ subgit uninstall L:\Repositories2\jchess
remote:
remote: IMPORTANT: As soon as SubGit is uninstalled, both Git and Subversi
on repositories
remote: will become open, but no synchronization will take plac
e.
remote:
remote: TO REPORT:
remote: Report an issue at http://issues.tmatesoft.com/
remote: You may find logs on the server at 'L:\Repositories2\jchess\subgit
\logs'
remote:
remote: THANK YOU!
To http://chiiwen@localhost/git/jchess
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://chiiwen@localhost/git/jchess'
--------------daemon.0—-
[1330016039.250][daemon][10] Initialized memory cache logger.
[1330016039.281][daemon][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016039.281][daemon][10] Command name: null.
[1330016039.281][daemon][10] Command argument: –svn.
[1330016039.281][daemon][10] Command argument: L:\Repositories2\jchess.
[1330016039.281][daemon][10] Command argument: –limit.
[1330016039.281][daemon][10] Command argument: 1330016043546.
[1330016039.625][daemon][10] Initialized console logger.
[1330016039.625][daemon][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016039.640][daemon][10] Initialized file logger, logs directory is: 'L:\Repositories2\jchess\subgit\logs'.
[1330016039.640][daemon][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016039.656][daemon][10] System properties:
java.runtime.name : Java(TM) SE Runtime Environment
sun.boot.library.path : c:\Progra~1\Java\jdk1.6.0_31\jre\bin
java.vm.version : 20.6-b01
java.vm.vendor : Sun Microsystems Inc.
java.vendor.url : http://java.sun.com/
path.separator : ;
java.vm.name : Java HotSpot(TM) Client VM
file.encoding.pkg : sun.io
sun.java.launcher : SUN_STANDARD
user.country : US
sun.os.patch.level : Service Pack 3
java.vm.specification.name : Java Virtual Machine Specification
user.dir : L:\Repositories2\jchess
java.runtime.version : 1.6.0_31-b05
java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs : c:\Progra~1\Java\jdk1.6.0_31\jre\lib\endorsed
os.arch : x86
java.io.tmpdir : C:/tmp/
line.separator :
java.vm.specification.vendor : Sun Microsystems Inc.
user.variant :
os.name : Windows XP
sun.jnu.encoding : Cp1252
java.library.path : c:\Progra~1\Java\jdk1.6.0_31\jre\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;E:\Program Files\Git\libexec\git-core;E:\Program Files\Git\libexec\git-core;E:\Program Files\Git\libexec\git-core;E:\Program Files\Git\libexec\git-core;E:\Program Files\Git\libexec\git-core;E:\Program Files\Git\libexec\git-core;c:\Progra~1\Java\jdk1.6.0_31\bin;c:\Perl\site\bin;c:\Perl\bin;c:\Program Files\CMake 2.4\bin;c:\Program Files\PHP\;c:\Perl\bin\;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\SFU\common\;e:\PROGRA~1\MySQL\MYSQLS~1.0\bin;c:\SFU\Perl\bin\;c:\Program Files\GnuWin32\bin;c:\Program Files\Hummingbird\Connectivity\11.00\Accessories\;.;c:\Program Files\Microsoft SQL Server\80\Tools\BINN;d:\Program Files\VisualSVN Server\bin;d:\Program Files\Perforce;d:\Program Files\Graphviz 2.21\bin;d:\Program Files\svk;c:\WINDOWS\system32\WindowsPowerShell\v1.0;d:\Program Files\Microsoft SQL Server\100\Tools\Binn\;d:\Program Files\Microsoft SQL Server\100\DTS\Binn\;d:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;c:\OptimizeIt\OptimizeIt31\lib;d:\Program Files\Executive Software\Diskeeper\;c:\Program Files\Common Files\DivX Shared\;c:\Program Files\Smart Projects\IsoBuster;c:\Program Files\TortoiseGit\bin;E:\Program Files\Git\cmd;E:\Program Files\Git\bin;d:\Program Files\TortoiseSVN\bin;i:\apache-maven-3.0.4\bin;c:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Tools\Sandcastle\ProductionTools\;e:\qt-win-opensource-src-4.5.3\bin;d:\Program Files\Perforce\Server;.
java.specification.name : Java Platform API Specification
java.class.version : 50.0
sun.management.compiler : HotSpot Client Compiler
os.version : 5.1
user.home : C:\Documents and Settings\chiiwen
user.timezone :
java.awt.printerjob : sun.awt.windows.WPrinterJob
file.encoding : Cp1252
java.specification.version : 1.6
java.class.path : l:/Repositories2/jchess/subgit/lib/subgit-1.0.0-EAP_1116_fat.jar;
user.name : chiiwen
java.vm.specification.version : 1.0
sun.java.command : org.tmatesoft.translator.SubGitDaemon –svn L:\Repositories2\jchess –limit 1330016043546
java.home : c:\Progra~1\Java\jdk1.6.0_31\jre
sun.arch.data.model : 32
user.language : en
java.specification.vendor : Sun Microsystems Inc.
awt.toolkit : sun.awt.windows.WToolkit
java.vm.info : mixed mode, sharing
java.version : 1.6.0_31
java.ext.dirs : c:\Progra~1\Java\jdk1.6.0_31\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
sun.boot.class.path : c:\Progra~1\Java\jdk1.6.0_31\jre\lib\resources.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\rt.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\sunrsasign.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\jsse.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\jce.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\charsets.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\lib\modules\jdk.boot.jar;c:\Progra~1\Java\jdk1.6.0_31\jre\classes
java.vendor : Sun Microsystems Inc.
file.separator : \
java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding : UnicodeLittle
sun.cpu.endian : little
sun.desktop : windows
sun.cpu.isalist : pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
[1330016039.656][daemon][10] Launching daemon.
[1330016039.656][daemon][10] Server socket instance created.
[1330016040.046][daemon][10] List of network interfaces obtained.
[1330016040.046][daemon][10] Network interface: name:lo (MS TCP Loopback interface)
[1330016040.046][daemon][10] Processing address: /127.0.0.1
[1330016040.046][daemon][10] Processing address: /0:0:0:0:0:0:0:1
[1330016040.046][daemon][10] Processing address: /fe80:0:0:0:0:0:0:1%1
[1330016040.046][daemon][10] Network interface: name:eth0 (3Com 3C918 Integrated Fast Ethernet Controller (3C905B-TX Compatible) - McAfee NDIS Intermediate Filter Miniport)
[1330016040.046][daemon][10] Processing address: /192.168.0.18
[1330016040.046][daemon][10] Processing address: /fe80:0:0:0:2c0:4fff:fea0:b712%4
[1330016040.062][daemon][10] Network interface: name:tun0 (Teredo Tunneling Pseudo-Interface)
[1330016040.062][daemon][10] Processing address: /2001:0:4137:9e76:8000:ee72:b4ff:4c7e
[1330016040.062][daemon][10] Processing address: /fe80:0:0:0:0:ffff:ffff:fffd%5
[1330016040.062][daemon][10] Network interface: name:tun1 (6to4 Pseudo-Interface)
[1330016040.062][daemon][10] Network interface: name:tun2 (Automatic Tunneling Pseudo-Interface)
[1330016040.062][daemon][10] Processing address: /fe80:0:0:0:0:5efe:c0a8:12%2
[1330016040.062][daemon][10] Local loopback address found: /127.0.0.1.
[1330016040.078][daemon][10] Trying to use a free port for address '127.0.0.1'.
[1330016040.078][daemon][10] Daemon socket opened for port: 1114.
[1330016040.140][daemon][10] Daemon process pid obtained: 2728.
[1330016040.171][daemon][10] Daemon (pid=2728; port=1114; address=127:0:0:1) at (L:\Repositories2\jchess\subgit).
[1330016040.187][daemon][11] Daemon thread started
[1330016046.203][daemon][11] 'pid=2728; port=1114; address=127:0:0:1' was written into temporary file 'L:\Repositories2\jchess\subgit\subgit.3489827995954118311.pid'
[1330016046.281][daemon][11] Cannot write pid file to 'L:\Repositories2\jchess\subgit\daemon.pid', exiting.
org.tmatesoft.translator.i.d: Time limit to write pid file 'L:\Repositories2\jchess\subgit\daemon.pid' exceeded; current time: 1330016046265, time limit: 1330016043546
[1330016439.343][pre-receive-hook][10] Initialized memory cache logger.
[1330016439.359][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016439.359][pre-receive-hook][10] Command name: pre-receive.
[1330016439.359][pre-receive-hook][10] Command argument: l:/Repositories2/jchess/.git.
[1330016439.359][pre-receive-hook][10] Initialized console logger.
[1330016439.359][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016445.859][pre-receive-hook][10] Initialized file logger, logs directory is: 'L:\Repositories2\jchess\subgit\logs'.
[1330016445.859][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330016445.859][pre-receive-hook][10] Temporary directory 'C:\WINDOWS\' is writable.
[1330016445.890][pre-receive-hook][10] Obtaining file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330016445.890][pre-receive-hook][10] Obtained file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330016445.890][pre-receive-hook][10] L:\Repositories2\jchess\subgit\daemon.pid (The system cannot find the file specified)
[1330016445.906][pre-receive-hook][10] Launching daemon, classpath: l:/Repositories2/jchess/subgit/lib/subgit-1.0.0-EAP_1116_fat.jar
java options: [-Djava.io.tmpdir=C:/tmp/]
working directory: L:\Repositories2\jchess
launch timeout: 5000
arguments: –svn L:\Repositories2\jchess –limit 1330016450906
[1330016452.406][pre-receive-hook][10] About to release lock: org.tmatesoft.translator.process.a@121cc40
[1330016452.406][pre-receive-hook][10] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330016452.406][pre-receive-hook][10] Released file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330016452.421][pre-receive-hook][10] Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemon.pid'.
org.tmatesoft.translator.i.d: Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemon.pid'.
org.tmatesoft.translator.i.d: Timeout while waiting for pid file 'L:\Repositories2\jchess\subgit\daemon.pid'.
So, the last failure is launch timeout, you need to set daemon.launchTimeout to some greater value.
I change to
[hook]
javaoptions = -Djava.io.tmpdir=C:/tmp/
[core]
shared = false
logs = L:/Repositories2/jchess/subgit/logs
errorReport = L:/Repositories2/jchess/subgit/error
authorsFile = L:/Repositories2/jchess/conf/authors.txt
[git "default"]
translationRoot = /
repository = .git
pathEncoding = Cp1252
trunk = trunk:refs/heads/master
branches = branches/*:refs/heads/*
shelves = shelves/*:refs/shelves/*
tags = tags/*:refs/tags/*
[daemon]
launchTimout = 6000
javaoptions = -Djava.io.tmpdir=C:/tmp/
pidFile = L:/Repositories2/jchess/subgit/daemon.pid
idleTimeout = 0
classpath = L:/Repositories2/jchess/subgit/lib
____________
[1330016760.359][daemon][11] Cannot write pid file to 'L:\Repositories2\jchess\subgit\daemon.pid', exiting.
org.tmatesoft.translator.i.d: Time limit to write pid file 'L:\Repositories2\jchess\subgit\daemon.pid' exceeded; current time: 1330016760343, time limit: 1330016758312
Change that to launchTimeout = 60
Most users will have some kind of virus detection program as virus spread so badly. I did not install virus protection program sometime ago, and have to re-install the whole system. after got virus. :-(
[1330018305.515][daemon][13] Latest version is: null.
[1330018305.515][daemon][13] Async command completed, commands remains: 0.
[1330018305.515][daemon][13] Executing daemon shutdown request.
[1330018305.515][daemon][13] Trying to obtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018305.515][daemon][13] Obtained by #tryToObtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018305.531][daemon][13] Daemon will not shut down, not all synchronization queues are idle.
[1330018305.531][daemon][13] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018305.531][daemon][13] Released file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018315.375][daemon][11] Command started, commands running: 1.
[1330018315.375][daemon][11] Sent '(version (1.0.0-EAP 1116 ))'.
[1330018315.406][daemon][11] Read '(post-receive (23:L:/Repositories2/jchess 28:l:/Repositories2/jchess/.git ))'.
[1330018315.421][daemon][14] Incremented post-receive count, state: Sync queue state: preReceivesCount: 1; postReceivesCount: 1;timeSinceLastPreceive: 0; transactions: []
[1330018315.421][daemon][14] Checking for new version.
[1330018315.421][daemon][14] Current version: SubGit version 1.0.0-EAP ('Miai') build #1116.
[1330018315.421][daemon][14] Available version: null.
[1330018315.421][daemon][14] Will not suggest to upgrade.
[1330018315.421][daemon][15] Snapshot before translation: Sync queue state: preReceivesCount: 1; postReceivesCount: 1;timeSinceLastPreceive: 1330018315421; transactions: []
[1330018315.437][daemon][15] Sync started.
[1330018315.437][daemon][15] Sync started for git location 'default'
[1330018315.437][daemon][14] Sent '(ok (post-receive ))'.
[1330018315.437][daemon][14] Command completed, commands running: 0.
[1330018315.453][daemon][14] Executing daemon shutdown request.
[1330018315.453][daemon][14] Trying to obtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018315.453][daemon][14] Obtained by #tryToObtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018315.453][daemon][14] Daemon will not shut down, not all synchronization queues are idle.
[1330018315.453][daemon][14] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018315.453][daemon][14] Released file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018316.968][daemon][15] Checking remote 'file:///L:/Repositories2/jchess'.
[1330018319.031][daemon][15] Revisions are 2/2 (last fetched/last).
[1330018319.031][daemon][15] default: There are unpushed commits or new references.
[1330018319.296][daemon][15] Started commit graph traversal.
[1330018319.593][daemon][15] Completed commit graph traversal.
[1330018319.671][daemon][15] Commit task: CommitTask[info=SvnCommitInfo{commitMessage=''test'
', commitAuthor='Chiiwen Liou', commitDate=Thu Feb 23 08:40:38 PST 2012}, commands=ReferenceCommand{branch=<branch 'refs/heads/master'>, referenceModification=<from 9a918c35e308481287200cae82740c4f13f21082 to a8ac53d512a8002029bb71202305c774105c8eb6>, treeModification=<from 9a918c35e308481287200cae82740c4f13f21082 to a8ac53d512a8002029bb71202305c774105c8eb6>, branchModification=<MODIFICATION>}, ]
[1330018320.140][daemon][15] "targetRevision" -1
[1330018320.140][daemon][15] "openRoot" 2
[1330018320.687][daemon][15] "openDir" "" 2
[1330018321.406][daemon][15] "openDir" "trunk" 2
[1330018321.421][daemon][15] "openFile" "trunk/jChecs.config" 2
[1330018321.437][daemon][15] "applyTextDelta" "trunk/jChecs.config" "726cda65042fd182d072c297b5cde97e"
[1330018322.015][daemon][15] "textDeltaChunk" "trunk/jChecs.config"
[1330018322.015][daemon][15] "textDeltaEnd" "trunk/jChecs.config"
[1330018322.312][daemon][15] "closeFile" "trunk/jChecs.config" "2367b71eedfcfa1c18b03cda0b4ef163"
[1330018322.312][daemon][15] "closeDir"
[1330018322.312][daemon][15] "closeEdit"
[1330018322.968][daemon][15] Committed revision 3
[1330018323.515][daemon][15] Updating latest fetched revision for svn-remote "svn" to r3
[1330018323.609][daemon][15] Sync complete for git location default.
[1330018323.609][daemon][15] Sync complete.
[1330018323.609][daemon][15] State after translation: Sync queue state: preReceivesCount: 1; postReceivesCount: 1;timeSinceLastPreceive: 8188; transactions: []
[1330018323.609][daemon][15] State after subtraction of pre-translation snapshot: Sync queue state: preReceivesCount: 0; postReceivesCount: 0;timeSinceLastPreceive: 8188; transactions: []
[1330018323.625][daemon][15] Released git lock, state: Sync queue state: preReceivesCount: 0; postReceivesCount: 0;timeSinceLastPreceive: 8204; transactions: []
[1330018323.625][daemon][15] Queue state is idle: Sync queue state: preReceivesCount: 0; postReceivesCount: 0;timeSinceLastPreceive: 8204; transactions: []
[1330018323.625][daemon][15] Executing daemon shutdown request.
[1330018323.625][daemon][15] Trying to obtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018323.625][daemon][15] Obtained by #tryToObtain file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018323.625][daemon][15] Thread pool shutdown scheduled.
[1330018323.625][daemon][15] Daemon info pid=4672; port=3305; address=127:0:0:1 from file 'L:\Repositories2\jchess\subgit\daemon.pid'
[1330018323.640][daemon][15] Pid file 'L:\Repositories2\jchess\subgit\daemon.pid' deleted.
[1330018323.640][daemon][15] Pid file deleted, daemon will be shut down NOW.
[1330018323.640][daemon][15] Server socket closed.
[1330018323.640][daemon][15] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018323.640][daemon][11] socket closed
[1330018289.750][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018289.750][pre-receive-hook][10] Command name: pre-receive.
[1330018289.750][pre-receive-hook][10] Command argument: l:/Repositories2/jchess/.git.
[1330018289.750][pre-receive-hook][10] Initialized console logger.
[1330018289.750][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018296.218][pre-receive-hook][10] Initialized file logger, logs directory is: 'L:\Repositories2\jchess\subgit\logs'.
[1330018296.234][pre-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018296.234][pre-receive-hook][10] Temporary directory 'C:\WINDOWS\' is writable.
[1330018296.265][pre-receive-hook][10] Obtaining file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018296.265][pre-receive-hook][10] Obtained file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018296.265][pre-receive-hook][10] L:\Repositories2\jchess\subgit\daemon.pid (The system cannot find the file specified)
[1330018296.281][pre-receive-hook][10] Launching daemon, classpath: l:/Repositories2/jchess/subgit/lib/subgit-1.0.0-EAP_1116_fat.jar
java options: [-Djava.io.tmpdir=C:/tmp/]
working directory: L:\Repositories2\jchess
launch timeout: 60000
arguments: –svn L:\Repositories2\jchess –limit 1330018356265
[1330018304.375][pre-receive-hook][10] Daemon info pid=4672; port=3305; address=127:0:0:1 from file 'L:\Repositories2\jchess\subgit\daemon.pid'
[1330018304.562][pre-receive-hook][10] Read '(version (1.0.0-EAP 1116 ))'.
[1330018304.578][pre-receive-hook][10] Daemon version is '1.0.0-EAP-1116'.
[1330018304.578][pre-receive-hook][10] About to release lock: org.tmatesoft.translator.process.a@443226
[1330018304.578][pre-receive-hook][10] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018304.578][pre-receive-hook][10] Released file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018304.578][pre-receive-hook][10] Sent '(pre-receive (23:L:/Repositories2/jchess 28:l:/Repositories2/jchess/.git ))'.
[1330018305.062][pre-receive-hook][10] Read '(ok (pre-receive ))'.
[1330018308.484][post-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018308.484][post-receive-hook][10] Command name: post-receive.
[1330018308.484][post-receive-hook][10] Command argument: l:/Repositories2/jchess/.git.
[1330018308.500][post-receive-hook][10] Initialized console logger.
[1330018308.500][post-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018315.250][post-receive-hook][10] Initialized file logger, logs directory is: 'L:\Repositories2\jchess\subgit\logs'.
[1330018315.250][post-receive-hook][10] SubGit version 1.0.0-EAP ('Miai') build #1116
[1330018315.250][post-receive-hook][10] Temporary directory 'C:\WINDOWS\' is writable.
[1330018315.281][post-receive-hook][10] Obtaining file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018315.281][post-receive-hook][10] Obtained file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018315.281][post-receive-hook][10] Daemon info pid=4672; port=3305; address=127:0:0:1 from file 'L:\Repositories2\jchess\subgit\daemon.pid'
[1330018315.390][post-receive-hook][10] Read '(version (1.0.0-EAP 1116 ))'.
[1330018315.390][post-receive-hook][10] Daemon version is '1.0.0-EAP-1116'.
[1330018315.390][post-receive-hook][10] About to release lock: org.tmatesoft.translator.process.a@16cd7d5
[1330018315.406][post-receive-hook][10] Trying to release file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'.
[1330018315.406][post-receive-hook][10] Released file lock on 'L:\Repositories2\jchess\subgit\daemon.pid.lock'
[1330018315.406][post-receive-hook][10] Sent '(post-receive (23:L:/Repositories2/jchess 28:l:/Repositories2/jchess/.git ))'.
[1330018315.437][post-receive-hook][10] Read '(ok (post-receive ))'.
I've created another issue, as here we disclosed the problem of slow file creation — http://issues.tmatesoft.com/issue/SGT-428