question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gitblit Manager launch issue

See original GitHub issue

It 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:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aimi617commented, Feb 13, 2022

Thanks, it works. I restored an original manager.jar from distributive and updated BAT file.

0reactions
flaixcommented, Feb 13, 2022

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 Windows CD environment variable which resolves to the current path. So this still only works if you are in the directory with the manager.jarand ext 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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found