[jitsi-dev] jitsi-hammer errors/warnings


#1

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.183s
[INFO] Finished at: Fri May 13 21:26:59 UTC 2016
[INFO] Final Memory: 16M/40M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener
WARNING: Connection closed with error
org.igniterealtime.jbosh.BOSHException: Could not obtain response
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)
        at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)
        at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)
        at org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)
        at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:230)
        ... 6 more

org.jivesoftware.smack.SmackException$NotConnectedException
        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginAnonymously(XMPPBOSHConnection.java:306)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:287)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:447)
        at org.jitsi.hammer.Hammer.start(Hammer.java:373)
        at org.jitsi.hammer.Main.main(Main.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)
Stopping Jitsi-Hammer...
Exiting the program...

Thanks,
Dmitriy


#2

Ok, I've found that I have used wrong parameter name, now I am using parameter "-u". but still a problem.
Generated user appears in room, but no video no audio. The log is:

ubuntu@jitsi-client:/opt/jitsi-hammer/000$ ./jitsi-hammer.sh -u https://jitsi.mydomain.com/http-bind -room test -users 3 -length 120 -audiortpdump resources/rtp_opus.rtpdump -videortpdump resources/rtp_vp8.rtpdump -summarystats
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.773s
[INFO] Finished at: Sat May 14 00:32:28 UTC 2016
[INFO] Final Memory: 17M/184M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@43e7fc55[ net.sf.fmj.media.ProcessEngine@43e7fc55 ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@9e5c9ba[ net.sf.fmj.media.ProcessEngine@9e5c9ba ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@5ab0667e[ net.sf.fmj.media.ProcessEngine@5ab0667e ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

how to make it work?

Thanks,
Dmitriy

···

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Dmitriy Solovey
Sent: Friday, May 13, 2016 14:32
To: Jitsi Developers (dev@jitsi.org)
Subject: [jitsi-dev] jitsi-hammer errors/warnings

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.183s
[INFO] Finished at: Fri May 13 21:26:59 UTC 2016
[INFO] Final Memory: 16M/40M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener
WARNING: Connection closed with error
org.igniterealtime.jbosh.BOSHException: Could not obtain response
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)
        at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)
        at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)
        at org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)
        at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:230)
        ... 6 more

org.jivesoftware.smack.SmackException$NotConnectedException
        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginAnonymously(XMPPBOSHConnection.java:306)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:287)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:447)
        at org.jitsi.hammer.Hammer.start(Hammer.java:373)
        at org.jitsi.hammer.Main.main(Main.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)
Stopping Jitsi-Hammer...
Exiting the program...

Thanks,
Dmitriy


#3

Hi,

(more inline)

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise
a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri
https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...

[INFO]

[INFO]
------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO]
------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---

[INFO] Deleting /opt/jitsi-hammer/000/target

[INFO]

[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @
jitsi-hammer ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory
/opt/jitsi-hammer/000/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @
jitsi-hammer ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 4.183s

[INFO] Finished at: Fri May 13 21:26:59 UTC 2016

[INFO] Final Memory: 16M/40M

[INFO]
------------------------------------------------------------------------

[INFO] Scanning for projects...

[INFO]

[INFO]
------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO]
------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is
invalid, transitive dependencies (if any) will not be available, enable
debug logging for more details

[INFO]

[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT
successfully registered

java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path

         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)

         at java.lang.Runtime.loadLibrary0(Runtime.java:870)

         at java.lang.System.loadLibrary(System.java:1122)

         at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)

         at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)

         at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

         at
org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

         at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

         at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

         at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

         at
org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

         at
org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

         at org.jitsi.hammer.Main.main(Main.java:247)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:498)

         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

         at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is
NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.FFmpeg

         at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)

         at
org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

         at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

         at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

         at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

         at
org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

         at
org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

         at org.jitsi.hammer.Main.main(Main.java:247)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:498)

         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

         at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is
NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class
org.jitsi.impl.neomedia.codec.FFmpeg

         at
org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

         at
org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

         at
org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

         at java.lang.Class.forName0(Native Method)

         at java.lang.Class.forName(Class.java:264)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

         at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

         at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

         at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

         at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

         at
org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

         at
org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

         at org.jitsi.hammer.Main.main(Main.java:247)

         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

         at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

         at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

         at java.lang.reflect.Method.invoke(Method.java:498)

         at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

         at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger
(org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).

log4j:WARN Please initialize the log4j system properly.

All these are harmless and can be ignored (the hammer doesn't use any of the missing libraries).

May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection
callConnectionClosedOnErrorListener

WARNING: Connection closed with error

org.igniterealtime.jbosh.BOSHException: Could not obtain response

         at
org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)

         at
org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)

         at
org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)

         at
org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)

         at
org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)

         at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)

         at java.lang.Thread.run(Thread.java:745)

Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

This is probably a failure to verify the server's certificate. Are you using a self-signed one? I work around this by using HTTP with the hammer (you may need to remove the redirection from your web server). I think George may have an actual solution, though.

Regards,
Boris

···

On 13/05/16 16:31, Dmitriy Solovey wrote:


#4

Hi Dmitriy,

I had a similar problem. I resolved it by using jitsi-universe 1.0-20160405.235512-16 instead of the one thats currently in master. I don't think the supplied version was resolving the ice and sdp dependencies needed for media. But I'm no maven expert so I can't say for sure.

-- Justin

···

________________________________
From: dev [dev-bounces@jitsi.org] on behalf of Dmitriy Solovey [dsolovey@ringcentral.com]
Sent: Friday, May 13, 2016 6:35 PM
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings

Ok, I’ve found that I have used wrong parameter name, now I am using parameter “-u”. but still a problem.
Generated user appears in room, but no video no audio. The log is:

ubuntu@jitsi-client:/opt/jitsi-hammer/000$ ./jitsi-hammer.sh -u https://jitsi.mydomain.com/http-bind -room test -users 3 -length 120 -audiortpdump resources/rtp_opus.rtpdump -videortpdump resources/rtp_vp8.rtpdump -summarystats
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.773s
[INFO] Finished at: Sat May 14 00:32:28 UTC 2016
[INFO] Final Memory: 17M/184M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@43e7fc55[ net.sf.fmj.media.ProcessEngine@43e7fc55 ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@9e5c9ba[ net.sf.fmj.media.ProcessEngine@9e5c9ba ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@5ab0667e[ net.sf.fmj.media.ProcessEngine@5ab0667e ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

how to make it work?

Thanks,
Dmitriy

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Dmitriy Solovey
Sent: Friday, May 13, 2016 14:32
To: Jitsi Developers (dev@jitsi.org)
Subject: [jitsi-dev] jitsi-hammer errors/warnings

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.183s
[INFO] Finished at: Fri May 13 21:26:59 UTC 2016
[INFO] Final Memory: 16M/40M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener
WARNING: Connection closed with error
org.igniterealtime.jbosh.BOSHException: Could not obtain response
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)
        at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)
        at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)
        at org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)
        at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:230)
        ... 6 more

org.jivesoftware.smack.SmackException$NotConnectedException
        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginAnonymously(XMPPBOSHConnection.java:306)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:287)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:447)
        at org.jitsi.hammer.Hammer.start(Hammer.java:373)
        at org.jitsi.hammer.Main.main(Main.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)
Stopping Jitsi-Hammer...
Exiting the program...

Thanks,
Dmitriy

This email message is for the sole use of the intended recipient(s) and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, copying, disclosure or dissemination is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


#5

Unfortunately it does not work either. I feel like something is missing in installation process.
What are pre-requirements? What else has to be installed?

I have created ec2 ubuntu with opensdk, then "git clone hammer". What else?

Thanks,
Dmitriy

···

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Justin Martinez
Sent: Friday, May 13, 2016 20:22
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings

Hi Dmitriy,

I had a similar problem. I resolved it by using jitsi-universe 1.0-20160405.235512-16 instead of the one thats currently in master. I don't think the supplied version was resolving the ice and sdp dependencies needed for media. But I'm no maven expert so I can't say for sure.

-- Justin
________________________________
From: dev [dev-bounces@jitsi.org] on behalf of Dmitriy Solovey [dsolovey@ringcentral.com]
Sent: Friday, May 13, 2016 6:35 PM
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings
Ok, I've found that I have used wrong parameter name, now I am using parameter "-u". but still a problem.
Generated user appears in room, but no video no audio. The log is:

ubuntu@jitsi-client:/opt/jitsi-hammer/000$ ./jitsi-hammer.sh -u https://jitsi.mydomain.com/http-bind -room test -users 3 -length 120 -audiortpdump resources/rtp_opus.rtpdump -videortpdump resources/rtp_vp8.rtpdump -summarystats
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.773s
[INFO] Finished at: Sat May 14 00:32:28 UTC 2016
[INFO] Final Memory: 17M/184M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@43e7fc55<mailto:net.sf.fmj.media.ProcessEngine@43e7fc55>[ net.sf.fmj.media.ProcessEngine@43e7fc55<mailto:net.sf.fmj.media.ProcessEngine@43e7fc55> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@9e5c9ba<mailto:net.sf.fmj.media.ProcessEngine@9e5c9ba>[ net.sf.fmj.media.ProcessEngine@9e5c9ba<mailto:net.sf.fmj.media.ProcessEngine@9e5c9ba> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)
Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@5ab0667e<mailto:net.sf.fmj.media.ProcessEngine@5ab0667e>[ net.sf.fmj.media.ProcessEngine@5ab0667e<mailto:net.sf.fmj.media.ProcessEngine@5ab0667e> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)
        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)
        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)
        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)
        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)
        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)
        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)
        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)
        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)
        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

how to make it work?

Thanks,
Dmitriy

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Dmitriy Solovey
Sent: Friday, May 13, 2016 14:32
To: Jitsi Developers (dev@jitsi.org<mailto:dev@jitsi.org>)
Subject: [jitsi-dev] jitsi-hammer errors/warnings

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---
[INFO] Deleting /opt/jitsi-hammer/000/target
[INFO]
[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.183s
[INFO] Finished at: Fri May 13 21:26:59 UTC 2016
[INFO] Final Memory: 16M/40M
[INFO] ------------------------------------------------------------------------
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jitsi-hammer 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO]
[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---
May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered
java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
        at java.lang.Runtime.loadLibrary0(Runtime.java:870)
        at java.lang.System.loadLibrary(System.java:1122)
        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)
        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn
WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered
java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg
        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)
        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)
        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)
        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)
        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)
        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)
        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)
        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)
        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)
        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)
        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)
        at org.jitsi.hammer.Main.main(Main.java:247)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).
log4j:WARN Please initialize the log4j system properly.
May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener
WARNING: Connection closed with error
org.igniterealtime.jbosh.BOSHException: Could not obtain response
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)
        at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)
        at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)
        at org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)
        at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)
        at java.lang.Thread.run(Thread.java:745)
Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431)
        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)
        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)
        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:230)
        ... 6 more

org.jivesoftware.smack.SmackException$NotConnectedException
        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginAnonymously(XMPPBOSHConnection.java:306)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:287)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:447)
        at org.jitsi.hammer.Hammer.start(Hammer.java:373)
        at org.jitsi.hammer.Main.main(Main.java:281)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)
        at java.lang.Thread.run(Thread.java:745)
Stopping Jitsi-Hammer...
Exiting the program...

Thanks,
Dmitriy

This email message is for the sole use of the intended recipient(s) and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, copying, disclosure or dissemination is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.


#6

Hi Dmitriy,

the native ffmpeg library is missing, probably due to the mavenization of the hammer.

I'm using libjnffmpeg.so taken from libjitsi repo and I don't have this warning anymore.

I remember I tried to modify jitsi-hammer.sh script but I cannot make it work so finally I copied libjnffmpeg.so under my /lib directory.

Hope this helps.

Cheers,

Matteo

···

________________________________
From: dev <dev-bounces@jitsi.org> on behalf of Dmitriy Solovey <dsolovey@ringcentral.com>
Sent: Monday, May 16, 2016 8:33 PM
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings

Unfortunately it does not work either. I feel like something is missing in installation process.

What are pre-requirements? What else has to be installed?

I have created ec2 ubuntu with opensdk, then “git clone hammer”. What else?

Thanks,

Dmitriy

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Justin Martinez
Sent: Friday, May 13, 2016 20:22
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings

Hi Dmitriy,

I had a similar problem. I resolved it by using jitsi-universe 1.0-20160405.235512-16 instead of the one thats currently in master. I don't think the supplied version was resolving the ice and sdp dependencies needed for media. But I'm no maven expert so I can't say for sure.

-- Justin

________________________________

From: dev [dev-bounces@jitsi.org] on behalf of Dmitriy Solovey [dsolovey@ringcentral.com]
Sent: Friday, May 13, 2016 6:35 PM
To: Jitsi Developers
Subject: Re: [jitsi-dev] jitsi-hammer errors/warnings

Ok, I’ve found that I have used wrong parameter name, now I am using parameter “-u”. but still a problem.

Generated user appears in room, but no video no audio. The log is:

ubuntu@jitsi-client:/opt/jitsi-hammer/000$ ./jitsi-hammer.sh -u https://jitsi.mydomain.com/http-bind -room test -users 3 -length 120 -audiortpdump resources/rtp_opus.rtpdump -videortpdump resources/rtp_vp8.rtpdump -summarystats

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---

[INFO] Deleting /opt/jitsi-hammer/000/target

[INFO]

[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 2.773s

[INFO] Finished at: Sat May 14 00:32:28 UTC 2016

[INFO] Final Memory: 17M/184M

[INFO] ------------------------------------------------------------------------

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered

java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)

        at java.lang.Runtime.loadLibrary0(Runtime.java:870)

        at java.lang.System.loadLibrary(System.java:1122)

        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)

        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)

        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

May 14, 2016 12:32:30 AM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).

log4j:WARN Please initialize the log4j system properly.

Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@43e7fc55<mailto:net.sf.fmj.media.ProcessEngine@43e7fc55>[ net.sf.fmj.media.ProcessEngine@43e7fc55<mailto:net.sf.fmj.media.ProcessEngine@43e7fc55> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)

        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)

        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)

        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)

        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)

        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)

        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)

        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)

        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@9e5c9ba<mailto:net.sf.fmj.media.ProcessEngine@9e5c9ba>[ net.sf.fmj.media.ProcessEngine@9e5c9ba<mailto:net.sf.fmj.media.ProcessEngine@9e5c9ba> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)

        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)

        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)

        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)

        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)

        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)

        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)

        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)

        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

Exception in thread "FMJ Thread: net.sf.fmj.media.ProcessEngine@5ab0667e<mailto:net.sf.fmj.media.ProcessEngine@5ab0667e>[ net.sf.fmj.media.ProcessEngine@5ab0667e<mailto:net.sf.fmj.media.ProcessEngine@5ab0667e> ] ( realizeThread)" java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.video.HFlip.doOpen(HFlip.java:156)

        at org.jitsi.impl.neomedia.codec.AbstractCodec2.open(AbstractCodec2.java:412)

        at net.sf.fmj.media.BasicFilterModule.doRealize(BasicFilterModule.java:83)

        at net.sf.fmj.media.PlaybackEngine.buildTrackFromGraph(PlaybackEngine.java:579)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildTrackFromGraph(ProcessEngine.java:262)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildCustomGraph(ProcessEngine.java:239)

        at net.sf.fmj.media.ProcessEngine$ProcGraphBuilder.buildGraph(ProcessEngine.java:252)

        at net.sf.fmj.media.ProcessEngine$ProcTControl.buildTrack(ProcessEngine.java:688)

        at net.sf.fmj.media.PlaybackEngine.doRealize1(PlaybackEngine.java:1135)

        at net.sf.fmj.media.ProcessEngine.doRealize(ProcessEngine.java:1197)

        at net.sf.fmj.media.RealizeWorkThread.process(BasicController.java:1145)

        at net.sf.fmj.media.StateTransitionWorkThread.run(BasicController.java:1224)

how to make it work?

Thanks,

Dmitriy

From: dev [mailto:dev-bounces@jitsi.org] On Behalf Of Dmitriy Solovey
Sent: Friday, May 13, 2016 14:32
To: Jitsi Developers (dev@jitsi.org<mailto:dev@jitsi.org>)
Subject: [jitsi-dev] jitsi-hammer errors/warnings

Hi All,

Ubuntu 14.04 LTS, java version "1.8.0_91"

Below are warnings/errors when executing jitsi-hammer.sh , please advise a fix.

ubuntu@jitsi-client:/opt/jitsi-hammer$ ./jitsi-hammer.sh -BOSHuri https://jitsi.mydomain.com/http-bind

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jitsi-hammer ---

[INFO] Deleting /opt/jitsi-hammer/000/target

[INFO]

[INFO] --- maven-resources-plugin:2.3:resources (default-resources) @ jitsi-hammer ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory /opt/jitsi-hammer/000/src/main/resources

[INFO]

[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ jitsi-hammer ---

[INFO] Changes detected - recompiling the module!

[INFO] Compiling 26 source files to /opt/jitsi-hammer/000/target/classes

[INFO] ------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 4.183s

[INFO] Finished at: Fri May 13 21:26:59 UTC 2016

[INFO] Final Memory: 16M/40M

[INFO] ------------------------------------------------------------------------

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building jitsi-hammer 1.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[WARNING] The POM for org.jitsi:ice4j:jar:1.0-20151202.233708-16 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[WARNING] The POM for org.jitsi:libjitsi:jar:1.0-20160202.152655-85 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- exec-maven-plugin:1.4.0:java (default-cli) @ jitsi-hammer ---

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder is NOT successfully registered

java.lang.UnsatisfiedLinkError: no jnffmpeg in java.library.path

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)

        at java.lang.Runtime.loadLibrary0(Runtime.java:870)

        at java.lang.System.loadLibrary(System.java:1122)

        at org.jitsi.util.JNIUtils.loadLibrary(JNIUtils.java:41)

        at org.jitsi.impl.neomedia.codec.FFmpeg.<clinit>(FFmpeg.java:228)

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

        at org.jitsi.impl.neomedia.codec.audio.mp3.JNIEncoder.<clinit>(JNIEncoder.java:64)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder is NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioDecoder.assertFindAVCodec(FFmpegAudioDecoder.java:42)

        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIDecoder.<clinit>(JNIDecoder.java:34)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

May 13, 2016 9:27:04 PM org.jitsi.util.Logger warn

WARNING: Codec org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder is NOT successfully registered

java.lang.NoClassDefFoundError: Could not initialize class org.jitsi.impl.neomedia.codec.FFmpeg

        at org.jitsi.impl.neomedia.codec.audio.FFmpegAudioEncoder.assertFindAVCodec(FFmpegAudioEncoder.java:49)

        at org.jitsi.impl.neomedia.codec.audio.amrwb.JNIEncoder.<clinit>(JNIEncoder.java:35)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.neomedia.codec.FMJPlugInConfiguration.registerCustomCodecs(FMJPlugInConfiguration.java:234)

        at org.jitsi.impl.neomedia.MediaServiceImpl.setupFMJ(MediaServiceImpl.java:1618)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<clinit>(MediaServiceImpl.java:250)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.initializeService(LibJitsiImpl.java:173)

        at org.jitsi.impl.libjitsi.LibJitsiImpl$ServiceLock.getService(LibJitsiImpl.java:131)

        at org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:91)

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:95)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:172)

        at org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:124)

        at org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDeviceChooser.java:84)

        at org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChooser(CmdLineArguments.java:357)

        at org.jitsi.hammer.Main.main(Main.java:247)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

log4j:WARN No appenders could be found for logger (org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager).

log4j:WARN Please initialize the log4j system properly.

May 13, 2016 9:27:05 PM org.jivesoftware.smack.XMPPConnection callConnectionClosedOnErrorListener

WARNING: Connection closed with error

org.igniterealtime.jbosh.BOSHException: Could not obtain response

        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:246)

        at org.igniterealtime.jbosh.ApacheHTTPResponse.getBody(ApacheHTTPResponse.java:187)

        at org.igniterealtime.jbosh.BOSHClient.processExchange(BOSHClient.java:1032)

        at org.igniterealtime.jbosh.BOSHClient.processMessages(BOSHClient.java:977)

        at org.igniterealtime.jbosh.BOSHClient.access$000(BOSHClient.java:98)

        at org.igniterealtime.jbosh.BOSHClient$1.run(BOSHClient.java:216)

        at java.lang.Thread.run(Thread.java:745)

Caused by: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

        at sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:431)

        at org.apache.http.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)

        at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:339)

        at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:123)

        at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)

        at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)

        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)

        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)

        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)

        at org.igniterealtime.jbosh.ApacheHTTPResponse.awaitResponse(ApacheHTTPResponse.java:230)

        ... 6 more

org.jivesoftware.smack.SmackException$NotConnectedException

        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.loginAnonymously(XMPPBOSHConnection.java:306)

        at org.jitsi.hammer.FakeUser.start(FakeUser.java:287)

        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:447)

        at org.jitsi.hammer.Hammer.start(Hammer.java:373)

        at org.jitsi.hammer.Main.main(Main.java:281)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:293)

        at java.lang.Thread.run(Thread.java:745)

Stopping Jitsi-Hammer...

Exiting the program...

Thanks,

Dmitriy

This email message is for the sole use of the intended recipient(s) and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. Any unauthorized review, use, copying, disclosure or dissemination is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.