I have a unit test that is able to clone a 200MB repository using jgit, ssh and keys that works perfectly fine.
I have tried to get this exact same code to run on wildfly in both a Batchlet and a jsf backing bean. The clone hangs everytime. The amount of data transferred varies before the hang - .git/objects/incoming_2508535973296812358.pack will be between 10 MB and 20 MB.
I see no evidence of a stacktrace. netstat will show ESTABLISHED. I even let it sit during my lunch break - no change.