Gitblit Manager launch issue
See original GitHub issueIt seems the latest version of Gitblit Manager v1.9.2 is broken and doesn’t start in Windows. At least 3 java classes are missing in \com\gitblit\client subfolder of manager.jar: GitblitManagerLauncher.class, GitblitManagerLauncher$1.class, GitblitManagerLauncher$2.class.
Also the manifest file \META-INF\Manifest.mf must be corrected at line 16:
main-class: com.gitblit.client.GitblitManagerLauncher
After those changes, I could launch GM without issues by command: java -jar manager.jar (jre1.8.0_321 environment).
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
error find in gitblit (Java not start) · Issue #1108 - GitHub
at java.net.ServerSocket.(ServerSocket.java:237) at com.gitblit.transport.git.GitDaemon.start(GitDaemon.java:209) at com.gitblit.manager.
Read more >faq - Gitblit
This is a long-standing, known bug in the native Git for Windows implementation. ... ALLOW_ENCODED_SLASH=true to CATALINA_OPTS or to your JVM launch ......
Read more >Gitblit does not start - Google Groups
ich have problem to start the Gitblit Go (1.6.2) Application. I don't know why the application dosn't starts. I have add the service-ubuntu.sh...
Read more >All Releases - Gitblit
IMPORTANT BUG FIX FOR EXTERNAL AUTHENTICATION (1.4.1) !! This is a MAJOR release (1.4.0). The entire core has been refactored to be more...
Read more >Cant launch Gitblit GO - Stack Overflow
You can only start GitBlit if you are in the installation directory. In your case it should be C:\GitServerPractice\GitBlit
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks, it works. I restored an original manager.jar from distributive and updated BAT file.
Gitblit does currently not run with Java-17, due to other restrictions introduced in Java-17. For all other Java versions this is the only way to start the Manager, since the Launcher is no longer there and the JARs from the
ext
directory must be explicitly put on the class path.The
%CD%
uses the WindowsCD
environment variable which resolves to the current path. So this still only works if you are in the directory with themanager.jar
andext
directory. You can also simply use:java -cp "manager.jar;ext/*" com.gitblit.client.GitblitManager
Well, I haven’t tried it on Windows, but you should just as well be able to leave the%CD%
out.It is probably best to put this in a small BAT file.