Weird error in SSL negociation when using Unlimited Crypto in Java 7 :
Sample Java Test program :
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
Weird error in SSL negociation when using Unlimited Crypto in Java 7 :
Sample Java Test program :
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
ldd -v ./amd64/*.so | |
.... | |
ie: | |
libawt.so: | |
linux-vdso.so.1 => (0x00007fff1a9de000) | |
libjvm.so => not found | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c7a7e1000) |
00:32:35.270 gcc -m64 -Xlinker -O1 -Wl,--hash-style=both -Xlinker -z -Xlinker noexecstack -shared \
00:32:35.271 -Xlinker --version-script=mapfile_reorder -Xlinker -soname=libjvm.so -static-libgcc -o libjvm.so abstractCompiler.o accessFlags.o ad_x86_64.o ad_x86_64_clone.o ad_x86_64_expand.o ad_x86_64_format.o ad_x86_64_gen.o ad_x86_64_misc.o ad_x86_64_peephole.o ad_x86_64_pipeline.o adaptiveSizePolicy.o addnode.o adjoiningGenerations.o adjoiningVirtualSpaces.o advancedThresholdPolicy.o ageTable.o allocTracer.o allocation.o allocationStats.o altHashing.o aprofiler.o arguments.o array.o arrayKlass.o arrayKlassKlass.o arrayOop.o asPSOldGen.o asPSYoungGen.o asParNewGeneration.o assembler.o assembler_linux_x86.o assembler_x86.o atomic.o attachListener.o attachListener_linux.o barrierSet.o basicLock.o bcEscapeAnalyzer.o biasedLocking.o binaryTreeDictionary.o bitMap.o block.o blockOffsetTable.o buildOopMap.o bytecode.o bytecodeHistogram.o b
Script used, dacapobench.sh
jcmd 21958 JFR.start duration=60s filename=myrecording.jfr | |
21958: | |
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded | |
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106) | |
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63) | |
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213) | |
at sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:140) | |
at sun.tools.jcmd.JCmd.main(JCmd.java:129) |
java.lang.RuntimeException: Could not register the Mission Control MBean in the MBeanServer. | |
at com.jrockit.mc.flightrecorder.controlpanel.ui.FlightRecorderProvider.refresh(FlightRecorderProvider.java:109) | |
at com.jrockit.mc.browser.views.JVMBrowserView$1.run(JVMBrowserView.java:99) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) | |
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) | |
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) | |
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) | |
at java.lang.Thread.run(Thread.java:744) |
Jenkins has a very rich catalog of plugins and it's quite easy to install and update them via UI. BTW, when you want to add tons of plugin via UI, it's a fairly long and boring procedure.
Hopefully, mass installation (or update) could be easy using a simple bash script (curl/python required) :
Create a file containing plugins to be installed (or updated), ie iplugins :
Let's use Jenkins XML API and xmlstartlet to get Jenkins Plugins list :
Get script :
curl -L https://raw.githubusercontent.com/hgomez/devops-incubator/master/forge-tricks/get-jenkins-plugins.sh -o get-jenkins-plugins.sh
Make it runable :
100644 blob cc71ba5278cee9b2a2102c71c173b52ff41d7829 .gitattributes | |
100644 blob 30acab398a277ef1f842b0b06d94697fbf6548c3 .gitignore | |
100644 blob 5ded6a4afb3dd4914888945226cda6b041bdcc46 README.MD | |
040000 tree 42c6d1d57f290ee31d25e3cbae0262c1237e6241 basic-perf-webapp | |
040000 tree 2b2bab38607c5fcca88ad656768997cf082f9083 bears-tools | |
040000 tree e0c30ca12d29317ab029be52c1b6612a86561eb4 cdbootstrap | |
040000 tree e822e4df444cf9c1c322130df826c5ba984da25f cdcg | |
040000 tree a063d6ebe33eb135cbf565d0160193f449bbeb0b cdftd | |
040000 tree 2d3bf144069f6367f4fbd49ae01da45c02443cfa cdprofile-vagrant | |
040000 tree d3a646cd67a242de11dc31431b151aa011c8f261 cgjenka |
No newline at end of file | |
commit 70c293a31f8ea81c7049cac9915c6b31dc343456 | |
Author: Gomez Henri <hgomez@mycorp.com> | |
Date: Wed Jan 4 10:50:15 2012 +0000 | |
Initial import. | |
commit 8a2cadbbe8dcd33ad06c6535e88c23d69b4a4a04 | |
Author: Gomez Henri <hgomez@mycorp.com> |