[jitsi-users] Issue while installing Jitsi Hammer


#1

Hello All,

We are trying to install "Jitsi Hammer" traffic generator for JItsi video
bridge.

We are currently using detach code: 98300d9df8d07907b5d7d666867861851966c855
on ubuntu 16.04 virtual machine (On KVM) and facing the below errors. *Could
you please guide us further ?*

è We have explicitly copied the below libraries from the master branch to
the working branch (tag : 98300d9df8d07907b5d7d666867861851966c855 ) as the
compilation was looking for the corresponding libraries.

Location : /root/git-hammer/jitsi-hammer/lib/native/linux-64/

-> libjnawtrenderer.so

-> libjnportaudio.so.1

-> libjnpulseaudio.so

*è Current Error :*

root@jitsi-hammer-volume:~/git-hammer/jitsi-hammer# ./jitsi-hammer.sh
-BOSHuri http://jitsi.example.com:5280

/root/git-hammer/jitsi-hammer/jitsi-hammer.jar:/root/git-
hammer/jitsi-hammer/lib/args4j-2.0.21.jar:/root/git-hammer/jitsi-hammer/lib/
bccontrib-1.0-SNAPSHOT.jar:/root/git-hammer/jitsi-hammer/
lib/bcpkix-jdk15on-151.jar:/root/git-hammer/jitsi-hammer/
lib/bcprov-jdk15on-151.jar:/root/git-hammer/jitsi-hammer/
lib/commons-logging-1.1.1.jar:/root/git-hammer/jitsi-hammer/
lib/commons-math3-3.3.jar:/root/git-hammer/jitsi-hammer/
lib/felix.jar:/root/git-hammer/jitsi-hammer/lib/fmj.
jar:/root/git-hammer/jitsi-hammer/lib/httpclient-4.3.3.
jar:/root/git-hammer/jitsi-hammer/lib/httpcore-4.3.2.jar:
/root/git-hammer/jitsi-hammer/lib/ice4j.jar:/root/git-
hammer/jitsi-hammer/lib/jain-sdp.jar:/root/git-hammer/
jitsi-hammer/lib/jbosh-0.8.0.jar:/root/git-hammer/jitsi-
hammer/lib/jitsi-android-osgi.jar:/root/git-hammer/jitsi-
hammer/lib/jitsi-lgpl-dependencies.jar:/root/git-
hammer/jitsi-hammer/lib/jna.jar:/root/git-hammer/jitsi-
hammer/lib/json-simple-1.1.1.jar:/root/git-hammer/jitsi-
hammer/lib/jspeex.jar:/root/git-hammer/jitsi-hammer/lib/
kxml2-2.3.0.jar:/root/git-hammer/jitsi-hammer/lib/
libjitsi.jar:/root/git-hammer/jitsi-hammer/lib/OrangeExtensions.jar:/root/
git-hammer/jitsi-hammer/lib/protocol-jabber.jar:/root/git-
hammer/jitsi-hammer/lib/protocol.jar:/root/git-hammer/
jitsi-hammer/lib/protocol-media.jar:/root/git-hammer/
jitsi-hammer/lib/sc-launcher.jar:/root/git-hammer/jitsi-
hammer/lib/sdes4j-1.1.1.jar:/root/git-hammer/jitsi-hammer/
lib/smack-bosh-4.0.7.jar:/root/git-hammer/jitsi-hammer/
lib/smack-core-4.0.7.jar:/root/git-hammer/jitsi-hammer/
lib/smack-debug-4.0.7.jar:/root/git-hammer/jitsi-hammer/
lib/smack-extensions-4.0.7.jar:/root/git-hammer/jitsi-
hammer/lib/util.jar:/root/git-hammer/jitsi-hammer/lib/
xlightweb-2.5.jar:/root/git-hammer/jitsi-hammer/lib/xpp3-
1.1.4c.jar:/root/git-hammer/jitsi-hammer/lib/zrtp4j-light.jar

/root/git-hammer/jitsi-hammer/lib/native/linux-64

14:55:30.463 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.IllegalStateException: context.state

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(
PulseAudioSystem.java:193)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.
getContext(PulseAudioSystem.java:500)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.
doInitialize(PulseAudioSystem.java:364)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)

        at org.jitsi.impl.neomedia.device.AudioSystem.<init>(
AudioSystem.java:195)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>
(PulseAudioSystem.java:119)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:151)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<

(DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused

ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Connection refused

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM default

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory

ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory

ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name

ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory

ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory

ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix

java: src/common/pa_front.c:204: InitializeHostApis: Assertion
`hostApi->info.defaultInputDevice < hostApi->info.deviceCount' failed.

./jitsi-hammer.sh: line 48: 15869 Aborted (core dumped)
LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
-Djava.util.logging.config.file=$logging_config -Dnet.java.sip.communicator.
SC_HOME_DIR_LOCATION=$SCRIPT_DIR
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer
-cp $classpath $mainClass $@

root@jitsi-hammer-volume:~/git-hammer/jitsi-hammer# pwd

/root/git-hammer/jitsi-hammer

root@jitsi-hammer-volume:~/git-hammer/jitsi-hammer# aplay -l

aplay: device_list:268: *no soundcards found...*

Compilation Command : ./jitsi-hammer.sh -BOSHuri
http://jitsi.example.com:5280

<http://jitsi.example.com:5280>

*Appreciate a quick reply* <http://jitsi.example.com:5280>

<http://jitsi.example.com:5280>

*Regards,* <http://jitsi.example.com:5280>

*Ravi C*
<http://jitsi.example.com:5280>


#2

The libraries are not needed for jitsi-hammer. Try removing them -- you will see errors printed out, but it should "fix" the coredump.

Boris

···

On 05/08/16 04:54, Ravi Chaudhary wrote:

Hello All,

We are trying to install "Jitsi Hammer" traffic generator for JItsi
video bridge.

We are currently using detach code:
98300d9df8d07907b5d7d666867861851966c855 on ubuntu 16.04 virtual machine
(On KVM) and facing the below errors. *Could you please guide us further ?*

èWe have explicitly copied the below libraries from the master branch to
the working branch (tag : 98300d9df8d07907b5d7d666867861851966c855 ) as
the compilation was looking for the corresponding libraries.


#3

Greetings Boris,
Thanks for the pointer. Could you please point to the path of the
libraries, from where these need to be removed.

The current error, which is being observed is:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.45:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
09:13:20.628 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.IllegalStateException: context.state
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:193)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix

···

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f2dcf19a0f8, pid=4347, tid=0x00007f2e155bf700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build
1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/jitsi-hammer/hs_err_pid4347.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jitsi-hammer.sh: line 48: 4347 Aborted (core dumped)
LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
-Djava.util.logging.config.file=$logging_config
-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$SCRIPT_DIR
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer -cp $classpath
$mainClass $@

On Fri, Aug 5, 2016 at 7:32 PM, Boris Grozev <boris@jitsi.org> wrote:

On 05/08/16 04:54, Ravi Chaudhary wrote:

Hello All,

We are trying to install "Jitsi Hammer" traffic generator for JItsi
video bridge.

We are currently using detach code:
98300d9df8d07907b5d7d666867861851966c855 on ubuntu 16.04 virtual machine
(On KVM) and facing the below errors. *Could you please guide us further
?*

èWe have explicitly copied the below libraries from the master branch to
the working branch (tag : 98300d9df8d07907b5d7d666867861851966c855 ) as
the compilation was looking for the corresponding libraries.

The libraries are not needed for jitsi-hammer. Try removing them -- you
will see errors printed out, but it should "fix" the coredump.

Boris

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#4

Remove those that you added:

libjnawtrenderer.so
libjnportaudio.so.1
libjnpulseaudio.so

from the logs I see that they should be in
/root/jitsi-hammer/lib/native/linux-64

···

On Fri, Aug 5, 2016 at 9:49 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

Greetings Boris,
Thanks for the pointer. Could you please point to the path of the libraries,
from where these need to be removed.

The current error, which is being observed is:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.45:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
09:13:20.628 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.IllegalStateException: context.state
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:193)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer returned
error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f2dcf19a0f8, pid=4347, tid=0x00007f2e155bf700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build
1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/jitsi-hammer/hs_err_pid4347.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jitsi-hammer.sh: line 48: 4347 Aborted (core dumped)
LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
-Djava.util.logging.config.file=$logging_config
-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$SCRIPT_DIR
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer -cp $classpath
$mainClass $@

On Fri, Aug 5, 2016 at 7:32 PM, Boris Grozev <boris@jitsi.org> wrote:

On 05/08/16 04:54, Ravi Chaudhary wrote:

Hello All,

We are trying to install "Jitsi Hammer" traffic generator for JItsi
video bridge.

We are currently using detach code:
98300d9df8d07907b5d7d666867861851966c855 on ubuntu 16.04 virtual machine
(On KVM) and facing the below errors. *Could you please guide us further
?*

èWe have explicitly copied the below libraries from the master branch to
the working branch (tag : 98300d9df8d07907b5d7d666867861851966c855 ) as
the compilation was looking for the corresponding libraries.

The libraries are not needed for jitsi-hammer. Try removing them -- you
will see errors printed out, but it should "fix" the coredump.

Boris

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#5

Greetings Boris,
Thanks for the pointer. Could you please point to the path of the
libraries, from where these need to be removed.

Any native libraries (you don't need anything not in the repo).

Boris

···

On 05/08/16 09:49, Ravi Chaudhary wrote:

The current error, which is being observed is:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.45:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
09:13:20.628 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.IllegalStateException: context.state
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:193)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access denied

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f2dcf19a0f8, pid=4347, tid=0x00007f2e155bf700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build
1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
#
# Failed to write core dump. Core dumps have been disabled. To enable
core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/jitsi-hammer/hs_err_pid4347.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jitsi-hammer.sh: line 48: 4347 Aborted (core dumped)
LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
-Djava.util.logging.config.file=$logging_config
-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$SCRIPT_DIR
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer -cp
$classpath $mainClass $@

On Fri, Aug 5, 2016 at 7:32 PM, Boris Grozev <boris@jitsi.org > <mailto:boris@jitsi.org>> wrote:

    On 05/08/16 04:54, Ravi Chaudhary wrote:

        Hello All,

        We are trying to install "Jitsi Hammer" traffic generator for JItsi
        video bridge.

        We are currently using detach code:
        98300d9df8d07907b5d7d666867861851966c855 on ubuntu 16.04 virtual
        machine
        (On KVM) and facing the below errors. *Could you please guide us
        further ?*

        èWe have explicitly copied the below libraries from the master
        branch to
        the working branch (tag :
        98300d9df8d07907b5d7d666867861851966c855 ) as
        the compilation was looking for the corresponding libraries.

    The libraries are not needed for jitsi-hammer. Try removing them --
    you will see errors printed out, but it should "fix" the coredump.

    Boris

    _______________________________________________
    users mailing list
    users@jitsi.org <mailto:users@jitsi.org>
    Unsubscribe instructions and other list options:
    http://lists.jitsi.org/mailman/listinfo/users
    <http://lists.jitsi.org/mailman/listinfo/users>

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#6

Greetings Damian,
Thanks a lot for the pointers. After removing the 3 libraries, we are
observing the following error:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.46:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
10:38:42.407 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline
X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

X11 connection rejected because of wrong authentication.
xcb_connection_has_error() returned true
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Access
denied

ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver
returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
returned error: No such file or directory
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned error: No such file or directory
ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
directory
ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix

···

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007efffd3a20f8, pid=4968, tid=0x00007f003478a700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build
1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode
linux-amd64 compressed oops)
# Problematic frame:
# C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
#
# Failed to write core dump. Core dumps have been disabled. To enable core
dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /root/jitsi-hammer/hs_err_pid4968.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
./jitsi-hammer.sh: line 48: 4968 Aborted (core dumped)
LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
-Djava.util.logging.config.file=$logging_config
-Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$SCRIPT_DIR
-Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer -cp $classpath
$mainClass $@

Please advise us on addressing the same.

Regards,
Ravi C

On Fri, Aug 5, 2016 at 8:34 PM, Damian Minkov <damencho@jitsi.org> wrote:

Remove those that you added:

libjnawtrenderer.so
libjnportaudio.so.1
libjnpulseaudio.so

from the logs I see that they should be in
/root/jitsi-hammer/lib/native/linux-64

On Fri, Aug 5, 2016 at 9:49 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> > wrote:
> Greetings Boris,
> Thanks for the pointer. Could you please point to the path of the
libraries,
> from where these need to be removed.
>
> The current error, which is being observed is:
>
> root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
> http://10.20.130.45:5280
> ./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
> /root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/
lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.
0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.
jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/
jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-
hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/
felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-
hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/
httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/
root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/
lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-
android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-
dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/
jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/
lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/
root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-
hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/
protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:
/root/jitsi-hammer/lib/protocol-media.jar:/root/
jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/
sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.
jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/
jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/
lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/
util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/
jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
> /root/jitsi-hammer/lib/native/linux-64
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
> 09:13:20.628 WARNING: [1] org.jitsi.impl.neomedia.
device.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem
>
> java.lang.IllegalStateException: context.state
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(
PulseAudioSystem.java:193)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.
getContext(PulseAudioSystem.java:500)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.
doInitialize(PulseAudioSystem.java:364)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>
(PulseAudioSystem.java:119)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
>
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver
> returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned
> error: No such file or directory
> ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
> directory
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver
> returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned
> error: No such file or directory
> ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
> directory
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM sysdefault
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.center_lfe
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround21
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround21
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround40
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround41
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround50
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround51
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.surround71
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.phoneline
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM
cards.pcm.phoneline
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access
> denied
>
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access
> denied
>
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access
> denied
>
> X11 connection rejected because of wrong authentication.
> xcb_connection_has_error() returned true
> ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect:
Access
> denied
>
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver
> returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned
> error: No such file or directory
> ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
> directory
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
> ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
> ALSA lib conf.c:4292:(_snd_config_evaluate) function
snd_func_card_driver
> returned error: No such file or directory
> ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_concat
> returned error: No such file or directory
> ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
> ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_refer
returned
> error: No such file or directory
> ALSA lib conf.c:4771:(snd_config_expand) Evaluate error: No such file or
> directory
> ALSA lib pcm.c:2266:(snd_pcm_open_noupdate) Unknown PCM dmix
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f2dcf19a0f8, pid=4347,
tid=0x00007f2e155bf700
> #
> # JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build
> 1.8.0_101-b13)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode
> linux-amd64 compressed oops)
> # Problematic frame:
> # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
> #
> # Failed to write core dump. Core dumps have been disabled. To enable
core
> dumping, try "ulimit -c unlimited" before starting Java again
> #
> # An error report file with more information is saved as:
> # /root/jitsi-hammer/hs_err_pid4347.log
> #
> # If you would like to submit a bug report, please visit:
> # http://bugreport.java.com/bugreport/crash.jsp
> # The crash happened outside the Java Virtual Machine in native code.
> # See problematic frame for where to report the bug.
> #
> ./jitsi-hammer.sh: line 48: 4347 Aborted (core dumped)
> LD_LIBRARY_PATH=$libs java -Djava.library.path=$libs
> -Djava.util.logging.config.file=$logging_config
> -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=$SCRIPT_DIR
> -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=.jitsi-hammer -cp
$classpath
> $mainClass $@
>
>
> On Fri, Aug 5, 2016 at 7:32 PM, Boris Grozev <boris@jitsi.org> wrote:
>>
>> On 05/08/16 04:54, Ravi Chaudhary wrote:
>>>
>>>
>>> Hello All,
>>>
>>> We are trying to install "Jitsi Hammer" traffic generator for JItsi
>>> video bridge.
>>>
>>> We are currently using detach code:
>>> 98300d9df8d07907b5d7d666867861851966c855 on ubuntu 16.04 virtual
machine
>>> (On KVM) and facing the below errors. *Could you please guide us
further
>>> ?*
>>>
>>> èWe have explicitly copied the below libraries from the master branch
to
>>> the working branch (tag : 98300d9df8d07907b5d7d666867861851966c855 )
as
>>> the compilation was looking for the corresponding libraries.
>>
>>
>> The libraries are not needed for jitsi-hammer. Try removing them -- you
>> will see errors printed out, but it should "fix" the coredump.
>>
>> Boris
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#7

Hum, the crash is again coming from portaudio, seems its still using it.

···

On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

# C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58


#8

Greetings Damian,

Couple of questions:
1) How do we fix the crash coming from portaudio?
2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D" is
running.

*root@hammer:~/jitsi-hammer# ps -aef | grep pulse*ubuntu 3753 1 0
08:35 ? 00:00:00 pulseaudio -Dpulse 4144 1 0 09:08 ?
00:00:00 pulseaudio -D --system*
3) Do we need to have a physical sound card installed on the system? As of
now the hardware is devoid of any sound card.
Although we have installed, "alsa-utils" & "alsa-core"?

Thanks in advance for such prompt response. Awaiting for pointers to fix
this issue.

Regards,
Ravi C

···

On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> wrote:

On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> > wrote:
> # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58

Hum, the crash is again coming from portaudio, seems its still using it.

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#9

Greetings Damian,

Couple of questions:
1) How do we fix the crash coming from portaudio?

remove portaudio so file that is used.

2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D" is
running.
root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D --system
3) Do we need to have a physical sound card installed on the system? As of
now the hardware is devoid of any sound card.
Although we have installed, "alsa-utils" & "alsa-core"?

You do not need pulseaudio or soundcard.

···

On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

Thanks in advance for such prompt response. Awaiting for pointers to fix
this issue.

Regards,
Ravi C

On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> wrote:

On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> >> wrote:
> # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58

Hum, the crash is again coming from portaudio, seems its still using it.

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#10

Greetings Damian,

Thanks. After removing the 'portaudio' the crash is definitely fixed. We
are facing the following issue now:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.45:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
12:55:18.533 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem
java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:18.540 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PortAudioSystem
java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)
        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
        at
org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)
        at
org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
12:55:19.515 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.ImgStreamingSystem
java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.Toolkit$2.run(Toolkit.java:860)
        at java.awt.Toolkit$2.run(Toolkit.java:855)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(ImgStreamingSystem.java:80)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(ImgStreamingSystem.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:19.520 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with
JMF.
java.lang.IllegalStateException: audioSystem
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:19.524 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
Exception in thread "Thread-1" java.lang.NullPointerException
        at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
org.jivesoftware.smack.SmackException$ConnectionException:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at
org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:186)
        at
org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433)
        at org.jitsi.hammer.Hammer.start(Hammer.java:359)
        at org.jitsi.hammer.Main.main(Main.java:305)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
        at java.lang.String.charAt(String.java:658)
        at
org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHConfiguration.java:113)
        at
org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:157)
        ... 5 more
Stopping Jitsi-Hammer...
Exiting the program...

-Also here is the list of libraries being used:

root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/linux-64/
total 7096
-rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so
-rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so
-rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so
-rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so
-rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so
-rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so
-rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so
-rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so
lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so
-rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so
-rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log
-rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log
root@hammer:~/jitsi-hammer#

Regards,
Ravi C

···

On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> wrote:

On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> > wrote:
> Greetings Damian,
>
> Couple of questions:
> 1) How do we fix the crash coming from portaudio?
remove portaudio so file that is used.

> 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D" is
> running.
> root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
> ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
> pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D --system
> 3) Do we need to have a physical sound card installed on the system? As
of
> now the hardware is devoid of any sound card.
> Although we have installed, "alsa-utils" & "alsa-core"?
>

You do not need pulseaudio or soundcard.

> Thanks in advance for such prompt response. Awaiting for pointers to fix
> this issue.
>
> Regards,
> Ravi C
>
>
> On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> > wrote:
>>
>> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary <rc.chaudhary@gmail.com > > > >> wrote:
>> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
>>
>> Hum, the crash is again coming from portaudio, seems its still using it.
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#11

Hi,

Check the parameters you pass to the script, its not correct and you
can see it from the logs:

StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:658)
        at org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHConfiguration.java:113)

There is a problem with bosh url.

Regards
damencho

···

On Fri, Aug 5, 2016 at 12:59 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

Greetings Damian,

Thanks. After removing the 'portaudio' the crash is definitely fixed. We are
facing the following issue now:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.45:5280
./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
/root/jitsi-hammer/lib/native/linux-64
12:55:18.533 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:18.540 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)
        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
        at
org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
        at
org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)
        at
org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
X11 connection rejected because of wrong authentication.
12:55:19.515 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem
java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at java.awt.Toolkit$2.run(Toolkit.java:860)
        at java.awt.Toolkit$2.run(Toolkit.java:855)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(ImgStreamingSystem.java:80)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)
        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(ImgStreamingSystem.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)
        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:19.520 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with
JMF.
java.lang.IllegalStateException: audioSystem
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
12:55:19.524 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.
java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)
        at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)
        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)
        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
        at
org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)
        at
org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)
        at
org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
        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:271)
Exception in thread "Thread-1" java.lang.NullPointerException
        at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
org.jivesoftware.smack.SmackException$ConnectionException:
java.lang.StringIndexOutOfBoundsException: String index out of range: 0
        at
org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:186)
        at
org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433)
        at org.jitsi.hammer.Hammer.start(Hammer.java:359)
        at org.jitsi.hammer.Main.main(Main.java:305)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of
range: 0
        at java.lang.String.charAt(String.java:658)
        at
org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHConfiguration.java:113)
        at
org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:157)
        ... 5 more
Stopping Jitsi-Hammer...
Exiting the program...

-Also here is the list of libraries being used:

root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/linux-64/
total 7096
-rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so
-rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so
-rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so
-rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so
-rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so
-rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so
-rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so
-rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so
lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so
-rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so
-rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log
-rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log
root@hammer:~/jitsi-hammer#

Regards,
Ravi C

On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> wrote:

On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> >> wrote:
> Greetings Damian,
>
> Couple of questions:
> 1) How do we fix the crash coming from portaudio?
remove portaudio so file that is used.

> 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D" is
> running.
> root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
> ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
> pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D --system
> 3) Do we need to have a physical sound card installed on the system? As
> of
> now the hardware is devoid of any sound card.
> Although we have installed, "alsa-utils" & "alsa-core"?
>

You do not need pulseaudio or soundcard.

> Thanks in advance for such prompt response. Awaiting for pointers to fix
> this issue.
>
> Regards,
> Ravi C
>
>
> On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> >> > wrote:
>>
>> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary >> >> <rc.chaudhary@gmail.com> >> >> wrote:
>> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
>>
>> Hum, the crash is again coming from portaudio, seems its still using
>> it.
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#12

Greetings Damian,

Thanks a lot for the pointers so far. We missing the "http-bind" paramater,
while passing the BOSHuri.

We are running Jitsi Hammer on a separate dedicated hardware on which we
installed Ubuntu 16.04 OS. We have successfully deployed the services
needed by Jitsi Meet i.e. a web-server (nginx), an XMPP server (prosody)
and Jitsi Videobridge on a Ubuntu 16.04 Virtual machine running on KVM.

1. Could you please guide us in performing performance test case scenario
considering the parameters such as "number of endpoints", "simultaneous
conferences", "network_in", "network_out" e.t.c. Also do we have any UI for
running the Performance test?

2.We are now able to run the traffic generator script (jitsi_hammer.sh) on
Jitsi Hammer machine but with the below warning. Hope we can ignore the
warnings

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.50:5280/http-bind

/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar

/root/jitsi-hammer/lib/native/linux-64

03:04:23.379 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)

        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

       at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:23.389 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PortAudioSystem

java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)

        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)

        at
org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

        at
org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)

        at
org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

       at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

X11 connection rejected because of wrong authentication.

03:04:24.531 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.ImgStreamingSystem

java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment

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

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

        at
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)

        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)

        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

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

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

        at java.awt.Toolkit$2.run(Toolkit.java:860)

        at java.awt.Toolkit$2.run(Toolkit.java:855)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(ImgStreamingSystem.java:80)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(ImgStreamingSystem.java:44)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.538 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with
JMF.

java.lang.IllegalStateException: audioSystem

        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)

        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.544 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.

java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)

        at
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)

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

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

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

Exception in thread "Thread-1" java.lang.NullPointerException

        at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)

Thanks & Regards,

Ravi C

···

On Sat, Aug 6, 2016 at 12:16 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Check the parameters you pass to the script, its not correct and you
can see it from the logs:

StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:658)
        at org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(
BOSHConfiguration.java:113)

There is a problem with bosh url.

Regards
damencho

On Fri, Aug 5, 2016 at 12:59 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> > wrote:
> Greetings Damian,
>
> Thanks. After removing the 'portaudio' the crash is definitely fixed. We
are
> facing the following issue now:
>
> root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
> http://10.20.130.45:5280
> ./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
> /root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/
lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.
0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.
jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/
jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-
hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/
felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-
hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/
httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/
root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/
lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-
android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-
dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/
jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/
lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/
root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-
hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/
protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:
/root/jitsi-hammer/lib/protocol-media.jar:/root/
jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/
sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.
jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/
jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/
lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/
util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/
jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
> /root/jitsi-hammer/lib/native/linux-64
> 12:55:18.533 WARNING: [1] org.jitsi.impl.neomedia.
device.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem
>
> java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
> at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(
PulseAudioSystem.java:683)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(
PulseAudioSystem.java:131)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.
getContext(PulseAudioSystem.java:500)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.
doInitialize(PulseAudioSystem.java:364)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>
(PulseAudioSystem.java:119)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> 12:55:18.540 WARNING: [1] org.jitsi.impl.neomedia.
device.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
> java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)
> at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.
doInitialize(PortAudioSystem.java:174)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
> at
> org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(
PortAudioSystem.java:154)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> X11 connection rejected because of wrong authentication.
> 12:55:19.515 WARNING: [1] org.jitsi.impl.neomedia.
device.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem
> java.lang.NoClassDefFoundError: Could not initialize class
> sun.awt.X11GraphicsEnvironment
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
GraphicsEnvironment.java:82)
> at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at java.awt.Toolkit$2.run(Toolkit.java:860)
> at java.awt.Toolkit$2.run(Toolkit.java:855)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(
ImgStreamingSystem.java:80)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.<
>(ImgStreamingSystem.java:44)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(
DeviceSystem.java:163)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> 12:55:19.520 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer
with
> JMF.
> java.lang.IllegalStateException: audioSystem
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.
PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.
PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.
registerCustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> 12:55:19.524 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with
JMF.
> java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.
JAWTRenderer.<clinit>(JAWTRenderer.java:90)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.
registerCustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:
423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(
LibJitsiOSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(
LibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> 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:271)
> Exception in thread "Thread-1" java.lang.NullPointerException
> at
> org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$
GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
> org.jivesoftware.smack.SmackException$ConnectionException:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(
XMPPBOSHConnection.java:186)
> at
> org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
> at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
> at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433)
> at org.jitsi.hammer.Hammer.start(Hammer.java:359)
> at org.jitsi.hammer.Main.main(Main.java:305)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of
> range: 0
> at java.lang.String.charAt(String.java:658)
> at
> org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(
BOSHConfiguration.java:113)
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(
XMPPBOSHConnection.java:157)
> ... 5 more
> Stopping Jitsi-Hammer...
> Exiting the program...
>
>
> -Also here is the list of libraries being used:
>
> root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/
linux-64/
> total 7096
> -rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so
> -rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so
> -rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so
> -rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so
> -rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so
> -rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so
> -rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so
> -rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so
> lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so
> -rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so
> -rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log
> -rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log
> root@hammer:~/jitsi-hammer#
>
> Regards,
> Ravi C
>
>
>
> On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> > wrote:
>>
>> On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary <rc.chaudhary@gmail.com > > > >> wrote:
>> > Greetings Damian,
>> >
>> > Couple of questions:
>> > 1) How do we fix the crash coming from portaudio?
>> remove portaudio so file that is used.
>>
>> > 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D"
is
>> > running.
>> > root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
>> > ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
>> > pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D --system
>> > 3) Do we need to have a physical sound card installed on the system?
As
>> > of
>> > now the hardware is devoid of any sound card.
>> > Although we have installed, "alsa-utils" & "alsa-core"?
>> >
>>
>> You do not need pulseaudio or soundcard.
>>
>> > Thanks in advance for such prompt response. Awaiting for pointers to
fix
>> > this issue.
>> >
>> > Regards,
>> > Ravi C
>> >
>> >
>> > On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> > >> > wrote:
>> >>
>> >> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary > >> >> <rc.chaudhary@gmail.com> > >> >> wrote:
>> >> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
>> >>
>> >> Hum, the crash is again coming from portaudio, seems its still using
>> >> it.
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> users@jitsi.org
>> >> Unsubscribe instructions and other list options:
>> >> http://lists.jitsi.org/mailman/listinfo/users
>> >
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#13

Hi,

Greetings Damian,

Thanks a lot for the pointers so far. We missing the "http-bind"
paramater, while passing the BOSHuri.

We are running Jitsi Hammer on a separate dedicated hardware on which we
installed Ubuntu 16.04 OS. We have successfully deployed the services
needed by Jitsi Meet i.e. a web-server (nginx), an XMPP server (prosody)
and Jitsi Videobridge on a Ubuntu 16.04 Virtual machine running on KVM.

1. Could you please guide us in performing performance test case scenario
considering the parameters such as "number of endpoints", "simultaneous
conferences", "network_in", "network_out" e.t.c. Also do we have any UI for
running the Performance test?

This is something you need to fidure out, what is the approach that fits
you best. For checking current number of conferences and endpoints you can
check(enable) the rest api for the bridge and query it from there.
https://github.com/jitsi/jitsi-videobridge/blob/master/doc/using_statistics.md

2.We are now able to run the traffic generator script (jitsi_hammer.sh) on
Jitsi Hammer machine but with the below warning. Hope we can ignore the
warnings

Yes you can ignore this.

Regards
damencho

···

On Mon, Aug 8, 2016 at 9:05 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.50:5280/http-bind

/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/
lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.
0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.
jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/
jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-
hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/
felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-
hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/
httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/
root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/
lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-
android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-
dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/
jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/
lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/
root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-
hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/
protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:
/root/jitsi-hammer/lib/protocol-media.jar:/root/
jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/
sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.
jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/
jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/
lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/
util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/
jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar

/root/jitsi-hammer/lib/native/linux-64

03:04:23.379 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)

        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(
PulseAudioSystem.java:683)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(
PulseAudioSystem.java:131)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.
getContext(PulseAudioSystem.java:500)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.
doInitialize(PulseAudioSystem.java:364)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)

        at org.jitsi.impl.neomedia.device.AudioSystem.<init>(
AudioSystem.java:195)

       at org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>
(PulseAudioSystem.java:119)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:151)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:23.389 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem

java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)

        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)

        at org.jitsi.impl.neomedia.device.PortAudioSystem.
doInitialize(PortAudioSystem.java:174)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)

        at org.jitsi.impl.neomedia.device.AudioSystem.<init>(
AudioSystem.java:195)

        at org.jitsi.impl.neomedia.device.AudioSystem2.<init>(
AudioSystem2.java:72)

        at org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(
PortAudioSystem.java:154)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:275)

       at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:151)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

X11 connection rejected because of wrong authentication.

03:04:24.531 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem

java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment

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

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

        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.
java:103)

        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
GraphicsEnvironment.java:82)

        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

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

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

        at java.awt.Toolkit$2.run(Toolkit.java:860)

        at java.awt.Toolkit$2.run(Toolkit.java:855)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

        at org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(
ImgStreamingSystem.java:80)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initialize(DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(
DeviceSystem.java:480)

        at org.jitsi.impl.neomedia.device.ImgStreamingSystem.<
>(ImgStreamingSystem.java:44)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.
initializeDeviceSystems(DeviceSystem.java:163)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.538 SEVERE: [1] org.jitsi.impl.neomedia.
device.DeviceConfiguration.error() Failed to register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer
with JMF.

java.lang.IllegalStateException: audioSystem

        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.
PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)

        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.
PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.
registerCustomRenderers(DeviceConfiguration.java:1036)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:355)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.544 SEVERE: [1] org.jitsi.impl.neomedia.
device.DeviceConfiguration.error() Failed to register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.

java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)

        at org.jitsi.impl.neomedia.jmfext.media.renderer.video.
JAWTRenderer.<clinit>(JAWTRenderer.java:90)

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

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

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.
registerCustomRenderers(DeviceConfiguration.java:1036)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<
>(DeviceConfiguration.java:355)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(
MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

Exception in thread "Thread-1" java.lang.NullPointerException

        at org.jitsi.impl.neomedia.transform.zrtp.
ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.
java:267)

Thanks & Regards,

Ravi C

On Sat, Aug 6, 2016 at 12:16 AM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

Check the parameters you pass to the script, its not correct and you
can see it from the logs:

StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:658)
        at org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHCon
figuration.java:113)

There is a problem with bosh url.

Regards
damencho

On Fri, Aug 5, 2016 at 12:59 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> >> wrote:
> Greetings Damian,
>
> Thanks. After removing the 'portaudio' the crash is definitely fixed.
We are
> facing the following issue now:
>
> root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
> http://10.20.130.45:5280
> ./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
> /root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/
args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-
SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/
root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-
hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/
lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.
jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/
lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore
-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-
hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.
jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/
jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-ham
mer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.
jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/
lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:
/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/
jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/
lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:
/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-
hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-
bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.
jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/
jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/
jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/
xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/
root/jitsi-hammer/lib/zrtp4j-light.jar
> /root/jitsi-hammer/lib/native/linux-64
> 12:55:18.533 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem
>
> java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
> at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloo
p(PulseAudioSystem.java:683)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.createContex
t(PulseAudioSystem.java:131)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(
PulseAudioSystem.java:500)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize
(PulseAudioSystem.java:364)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(
PulseAudioSystem.java:119)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:18.540 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
> java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)
> at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(
PortAudioSystem.java:174)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)
> at
> org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSyst
em2.java:72)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAu
dioSystem.java:154)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> X11 connection rejected because of wrong authentication.
> 12:55:19.515 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem
> java.lang.NoClassDefFoundError: Could not initialize class
> sun.awt.X11GraphicsEnvironment
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Gra
phicsEnvironment.java:82)
> at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at java.awt.Toolkit$2.run(Toolkit.java:860)
> at java.awt.Toolkit$2.run(Toolkit.java:855)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitiali
ze(ImgStreamingSystem.java:80)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(
ImgStreamingSystem.java:44)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:163)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:19.520 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer
with
> JMF.
> java.lang.IllegalStateException: audioSystem
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:146)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:126)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:19.524 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with
JMF.
> java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRend
erer.<clinit>(JAWTRenderer.java:90)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> Exception in thread "Thread-1" java.lang.NullPointerException
> at
> org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGat
herer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
> org.jivesoftware.smack.SmackException$ConnectionException:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectIntern
al(XMPPBOSHConnection.java:186)
> at
> org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
> at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
> at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433)
> at org.jitsi.hammer.Hammer.start(Hammer.java:359)
> at org.jitsi.hammer.Main.main(Main.java:305)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out
of
> range: 0
> at java.lang.String.charAt(String.java:658)
> at
> org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHCon
figuration.java:113)
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectIntern
al(XMPPBOSHConnection.java:157)
> ... 5 more
> Stopping Jitsi-Hammer...
> Exiting the program...
>
>
> -Also here is the list of libraries being used:
>
> root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/
linux-64/
> total 7096
> -rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so
> -rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so
> -rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so
> -rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so
> -rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so
> -rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so
> -rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so
> -rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so
> lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so
> -rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so
> -rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log
> -rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log
> root@hammer:~/jitsi-hammer#
>
> Regards,
> Ravi C
>
>
>
> On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> >> wrote:
>>
>> On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary < >> rc.chaudhary@gmail.com> >> >> wrote:
>> > Greetings Damian,
>> >
>> > Couple of questions:
>> > 1) How do we fix the crash coming from portaudio?
>> remove portaudio so file that is used.
>>
>> > 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D"
is
>> > running.
>> > root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
>> > ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
>> > pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D
--system
>> > 3) Do we need to have a physical sound card installed on the system?
As
>> > of
>> > now the hardware is devoid of any sound card.
>> > Although we have installed, "alsa-utils" & "alsa-core"?
>> >
>>
>> You do not need pulseaudio or soundcard.
>>
>> > Thanks in advance for such prompt response. Awaiting for pointers to
fix
>> > this issue.
>> >
>> > Regards,
>> > Ravi C
>> >
>> >
>> > On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> >> >> > wrote:
>> >>
>> >> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary >> >> >> <rc.chaudhary@gmail.com> >> >> >> wrote:
>> >> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
>> >>
>> >> Hum, the crash is again coming from portaudio, seems its still using
>> >> it.
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> users@jitsi.org
>> >> Unsubscribe instructions and other list options:
>> >> http://lists.jitsi.org/mailman/listinfo/users
>> >
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#14

Greetings Damencho,
Thanks once again for the pointers.

1) Could you be please more specific, so as to how & where can we capture
these statistics.

2) Also, couple of times, we observe that Jitsi Hammer script exits with
the following error:

*Exception in thread "Thread-1" java.lang.NullPointerException at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)org.jivesoftware.smack.SmackException:
Timeout reached for the connection to null:0. at
org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:204)
at
org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
at org.jitsi.hammer.FakeUser.start(FakeUser.java:325) at
org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433) at
org.jitsi.hammer.Hammer.start(Hammer.java:359) at
org.jitsi.hammer.Main.main(Main.java:305)Stopping Jitsi-Hammer...Exiting
the program...*

Could we have some pointers in fixing the above issue as well.

Regards,
Ravi C

···

On Mon, Aug 8, 2016 at 8:09 PM, Damian Minkov <damencho@jitsi.org> wrote:

Hi,

On Mon, Aug 8, 2016 at 9:05 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> > wrote:

Greetings Damian,

Thanks a lot for the pointers so far. We missing the "http-bind"
paramater, while passing the BOSHuri.

We are running Jitsi Hammer on a separate dedicated hardware on which we
installed Ubuntu 16.04 OS. We have successfully deployed the services
needed by Jitsi Meet i.e. a web-server (nginx), an XMPP server (prosody)
and Jitsi Videobridge on a Ubuntu 16.04 Virtual machine running on KVM.

1. Could you please guide us in performing performance test case scenario
considering the parameters such as "number of endpoints", "simultaneous
conferences", "network_in", "network_out" e.t.c. Also do we have any UI for
running the Performance test?

This is something you need to fidure out, what is the approach that fits
you best. For checking current number of conferences and endpoints you can
check(enable) the rest api for the bridge and query it from there.
https://github.com/jitsi/jitsi-videobridge/blob/master/
doc/using_statistics.md

2.We are now able to run the traffic generator script (jitsi_hammer.sh)
on Jitsi Hammer machine but with the below warning. Hope we can ignore the
warnings

Yes you can ignore this.

Regards
damencho

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
http://10.20.130.50:5280/http-bind

/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/
args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-
SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/
root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-
hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/
lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.
jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/
lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore
-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-
hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.
jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/
jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-ham
mer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.
jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/
lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:
/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/
jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/
lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:
/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-
hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-
bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.
jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/
jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/
jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/
xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/
root/jitsi-hammer/lib/zrtp4j-light.jar

/root/jitsi-hammer/lib/native/linux-64

03:04:23.379 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)

        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloo
p(PulseAudioSystem.java:683)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.createContex
t(PulseAudioSystem.java:131)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(
PulseAudioSystem.java:500)

        at org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize
(PulseAudioSystem.java:364)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)

        at org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSyste
m.java:195)

       at org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(
PulseAudioSystem.java:119)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

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

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)

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

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

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

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

03:04:23.389 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem

java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)

        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)

        at org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(
PortAudioSystem.java:174)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)

        at org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSyste
m.java:195)

        at org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSyst
em2.java:72)

        at org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAu
dioSystem.java:154)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)

       at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

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

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)

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

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

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

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

X11 connection rejected because of wrong authentication.

03:04:24.531 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()
Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem

java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment

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

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

        at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.ja
va:103)

        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Gra
phicsEnvironment.java:82)

        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

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

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

        at java.awt.Toolkit$2.run(Toolkit.java:860)

        at java.awt.Toolkit$2.run(Toolkit.java:855)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

        at org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitiali
ze(ImgStreamingSystem.java:80)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initialize(
DeviceSystem.java:629)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)

        at org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)

        at org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)

        at org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(
ImgStreamingSystem.java:44)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:163)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:337)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

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

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)

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

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

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

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

03:04:24.538 SEVERE: [1] org.jitsi.impl.neomedia.device.DeviceConfiguration.error()
Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext
.media.renderer.audio.PulseAudioRenderer with JMF.

java.lang.IllegalStateException: audioSystem

        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:146)

        at org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:126)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:355)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

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

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)

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

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

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

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

03:04:24.544 SEVERE: [1] org.jitsi.impl.neomedia.device.DeviceConfiguration.error()
Failed to register custom Renderer org.jitsi.impl.neomedia.jmfext
.media.renderer.video.JAWTRenderer with JMF.

java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)

        at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRend
erer.<clinit>(JAWTRenderer.java:90)

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

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

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)

        at org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(
DeviceConfiguration.java:355)

        at org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:4
23)

        at java.lang.Class.newInstance(Class.java:442)

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

        at org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)

        at org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)

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

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

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

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

Exception in thread "Thread-1" java.lang.NullPointerException

        at org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGat
herer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)

Thanks & Regards,

Ravi C

On Sat, Aug 6, 2016 at 12:16 AM, Damian Minkov <damencho@jitsi.org> >> wrote:

Hi,

Check the parameters you pass to the script, its not correct and you
can see it from the logs:

StringIndexOutOfBoundsException: String index out of range: 0
        at java.lang.String.charAt(String.java:658)
        at org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHCon
figuration.java:113)

There is a problem with bosh url.

Regards
damencho

On Fri, Aug 5, 2016 at 12:59 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> >>> wrote:
> Greetings Damian,
>
> Thanks. After removing the 'portaudio' the crash is definitely fixed.
We are
> facing the following issue now:
>
> root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri
> http://10.20.130.45:5280
> ./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory
> /root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/a
rgs4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSH
OT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/
jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/
lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/
commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/
root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/
httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.
2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/
lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/
root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-
hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/
lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/
root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/
kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/
jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/
lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:
/root/jitsi-hammer/lib/protocol-media.jar:/root/
jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/
sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.
jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/
jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/
lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/
util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/
jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar
> /root/jitsi-hammer/lib/native/linux-64
> 12:55:18.533 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem
>
> java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)
> at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloo
p(PulseAudioSystem.java:683)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.createContex
t(PulseAudioSystem.java:131)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(P
ulseAudioSystem.java:500)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize
(PulseAudioSystem.java:364)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(Devic
eSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSyste
m.java:195)
> at
> org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(Pulse
AudioSystem.java:119)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(De
viceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:18.540 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem
> java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)
> at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(
PortAudioSystem.java:174)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(Devic
eSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSyste
m.java:195)
> at
> org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSyst
em2.java:72)
> at
> org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAu
dioSystem.java:154)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:151)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(De
viceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> X11 connection rejected because of wrong authentication.
> 12:55:19.515 WARNING: [1] org.jitsi.impl.neomedia.device
.DeviceSystem.warn()
> Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem
> java.lang.NoClassDefFoundError: Could not initialize class
> sun.awt.X11GraphicsEnvironment
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)
> at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Gra
phicsEnvironment.java:82)
> at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at java.awt.Toolkit$2.run(Toolkit.java:860)
> at java.awt.Toolkit$2.run(Toolkit.java:855)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitiali
ze(ImgStreamingSystem.java:80)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initialize(Devic
eSystem.java:629)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:432)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSyst
emInitialize(DeviceSystem.java:335)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSys
tem.java:480)
> at
> org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(Img
StreamingSystem.java:44)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:275)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:221)
> at
> org.jitsi.impl.neomedia.device.DeviceSystem.initializeDevice
Systems(DeviceSystem.java:163)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(De
viceConfiguration.java:337)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:19.520 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer
with
> JMF.
> java.lang.IllegalStateException: audioSystem
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:146)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAud
ioRenderer.<init>(PulseAudioRenderer.java:126)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(De
viceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> 12:55:19.524 SEVERE: [1]
> org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to
> register custom Renderer
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with
JMF.
> java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)
> at
> org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRend
erer.<clinit>(JAWTRenderer.java:90)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.registerC
ustomRenderers(DeviceConfiguration.java:1036)
> at
> org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(De
viceConfiguration.java:355)
> at
> org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaService
Impl.java:150)
> at sun.reflect.NativeConstructorA
ccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native
ConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De
legatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.
newInstance(Constructor.java:423)
> at java.lang.Class.newInstance(Class.java:442)
> at
> org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)
> at
> org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsi
OSGiImpl.java:86)
> at
> org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(L
ibJitsi.java:163)
> at
> org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)
> at
> org.jitsi.hammer.utils.MediaDeviceChooser.<init>(MediaDevice
Chooser.java:84)
> at
> org.jitsi.hammer.utils.CmdLineArguments.getMediaDeviceChoose
r(CmdLineArguments.java:357)
> at org.jitsi.hammer.Main.main(Main.java:271)
> Exception in thread "Thread-1" java.lang.NullPointerException
> at
> org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGat
herer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
> org.jivesoftware.smack.SmackException$ConnectionException:
> java.lang.StringIndexOutOfBoundsException: String index out of range:
0
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectIntern
al(XMPPBOSHConnection.java:186)
> at
> org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
> at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
> at org.jitsi.hammer.Hammer.startU
sersAnonymous(Hammer.java:433)
> at org.jitsi.hammer.Hammer.start(Hammer.java:359)
> at org.jitsi.hammer.Main.main(Main.java:305)
> Caused by: java.lang.StringIndexOutOfBoundsException: String index
out of
> range: 0
> at java.lang.String.charAt(String.java:658)
> at
> org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHCon
figuration.java:113)
> at
> org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectIntern
al(XMPPBOSHConnection.java:157)
> ... 5 more
> Stopping Jitsi-Hammer...
> Exiting the program...
>
>
> -Also here is the list of libraries being used:
>
> root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/
linux-64/
> total 7096
> -rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so
> -rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so
> -rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so
> -rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so
> -rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so
> -rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so
> -rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so
> -rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so
> lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so
> -rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so
> -rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log
> -rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log
> root@hammer:~/jitsi-hammer#
>
> Regards,
> Ravi C
>
>
>
> On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> >>> wrote:
>>
>> On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary < >>> rc.chaudhary@gmail.com> >>> >> wrote:
>> > Greetings Damian,
>> >
>> > Couple of questions:
>> > 1) How do we fix the crash coming from portaudio?
>> remove portaudio so file that is used.
>>
>> > 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio
-D" is
>> > running.
>> > root@hammer:~/jitsi-hammer# ps -aef | grep pulse*
>> > ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D
>> > pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D
--system
>> > 3) Do we need to have a physical sound card installed on the
system? As
>> > of
>> > now the hardware is devoid of any sound card.
>> > Although we have installed, "alsa-utils" & "alsa-core"?
>> >
>>
>> You do not need pulseaudio or soundcard.
>>
>> > Thanks in advance for such prompt response. Awaiting for pointers
to fix
>> > this issue.
>> >
>> > Regards,
>> > Ravi C
>> >
>> >
>> > On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> >>> >> > wrote:
>> >>
>> >> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary >>> >> >> <rc.chaudhary@gmail.com> >>> >> >> wrote:
>> >> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58
>> >>
>> >> Hum, the crash is again coming from portaudio, seems its still
using
>> >> it.
>> >>
>> >> _______________________________________________
>> >> users mailing list
>> >> users@jitsi.org
>> >> Unsubscribe instructions and other list options:
>> >> http://lists.jitsi.org/mailman/listinfo/users
>> >
>> >
>> >
>> > _______________________________________________
>> > users mailing list
>> > users@jitsi.org
>> > Unsubscribe instructions and other list options:
>> > http://lists.jitsi.org/mailman/listinfo/users
>>
>> _______________________________________________
>> users mailing list
>> users@jitsi.org
>> Unsubscribe instructions and other list options:
>> http://lists.jitsi.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users


#15

Hi ,Can you check you network speed as well. If you are on 1gig Nic and if you are transmitting more that throughput or videobridge might be busy in establishing or initiating the conference. Even i have few drops while i was trying to pump too many conferences at time from hammer to JVB.
cheersSY

···

From: rc.chaudhary@gmail.com
Date: Wed, 10 Aug 2016 01:04:55 +0530
To: users@jitsi.org
CC: karthikrks@gmail.com
Subject: Re: [jitsi-users] Issue while installing Jitsi Hammer

Greetings Damencho,
Thanks once again for the pointers.

1) Could you be please more specific, so as to how & where can we capture these statistics.

2) Also, couple of times, we observe that Jitsi Hammer script exits with the following error:

Exception in thread "Thread-1" java.lang.NullPointerException
        at org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
org.jivesoftware.smack.SmackException: Timeout reached for the connection to null:0.
        at org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:204)
        at org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)
        at org.jitsi.hammer.FakeUser.start(FakeUser.java:325)
        at org.jitsi.hammer.Hammer.startUsersAnonymous(Hammer.java:433)
        at org.jitsi.hammer.Hammer.start(Hammer.java:359)
        at org.jitsi.hammer.Main.main(Main.java:305)
Stopping Jitsi-Hammer...
Exiting the program...

Could we have some pointers in fixing the above issue as well.

Regards,
Ravi C

On Mon, Aug 8, 2016 at 8:09 PM, Damian Minkov <damencho@jitsi.org> wrote:
Hi,

On Mon, Aug 8, 2016 at 9:05 AM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

Greetings Damian,
Thanks a lot for the pointers so far. We missing the "http-bind" paramater, while passing the BOSHuri.

We are running Jitsi Hammer on a separate dedicated hardware on which we installed Ubuntu
16.04 OS. We have successfully deployed the
services needed by Jitsi Meet i.e. a web-server (nginx), an XMPP server
(prosody) and Jitsi Videobridge on a Ubuntu 16.04 Virtual machine running on
KVM.

1. Could you please guide us in performing performance test
case scenario considering the parameters such as "number of
endpoints", "simultaneous conferences", "network_in",
"network_out" e.t.c. Also do we have any UI for running the Performance test?

This is something you need to fidure out, what is the approach that fits you best. For checking current number of conferences and endpoints you can check(enable) the rest api for the bridge and query it from there.https://github.com/jitsi/jitsi-videobridge/blob/master/doc/using_statistics.md

2.We are now able to run the traffic generator script
(jitsi_hammer.sh) on Jitsi Hammer machine but with the below warning.
Hope we can ignore the warnings

Yes you can ignore this.
Regardsdamencho

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri http://10.20.130.50:5280/http-bind

/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar

/root/jitsi-hammer/lib/native/linux-64

03:04:23.379 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)

        at
org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)

        at
org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

       at
org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:23.389 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem

java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)

        at
org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)

        at
org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

        at org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)

        at
org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

       at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

X11 connection rejected because of wrong authentication.

03:04:24.531 WARNING: [1]
org.jitsi.impl.neomedia.device.DeviceSystem.warn() Failed to initialize
org.jitsi.impl.neomedia.device.ImgStreamingSystem

java.lang.NoClassDefFoundError: Could not initialize class
sun.awt.X11GraphicsEnvironment

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

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

        at
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)

        at
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)

        at
sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

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

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

        at
java.awt.Toolkit$2.run(Toolkit.java:860)

        at
java.awt.Toolkit$2.run(Toolkit.java:855)

        at
java.security.AccessController.doPrivileged(Native Method)

        at
java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(ImgStreamingSystem.java:80)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at
org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(ImgStreamingSystem.java:44)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at
org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.538 SEVERE: [1]
org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to register
custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with
JMF.

java.lang.IllegalStateException: audioSystem

        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)

        at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

03:04:24.544 SEVERE: [1] org.jitsi.impl.neomedia.device.DeviceConfiguration.error()
Failed to register custom Renderer
org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.

java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)

        at org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)

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

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

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at
org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at
org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at
java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at
java.lang.Class.newInstance(Class.java:442)

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

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

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

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

        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:271)

Exception in thread "Thread-1"
java.lang.NullPointerException

        at
org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)
Thanks & Regards,Ravi C

On Sat, Aug 6, 2016 at 12:16 AM, Damian Minkov <damencho@jitsi.org> wrote:
Hi,

Check the parameters you pass to the script, its not correct and you

can see it from the logs:

StringIndexOutOfBoundsException: String index out of range: 0

        at java.lang.String.charAt(String.java:658)

        at org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHConfiguration.java:113)

There is a problem with bosh url.

Regards

damencho

On Fri, Aug 5, 2016 at 12:59 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> wrote:

Greetings Damian,

Thanks. After removing the 'portaudio' the crash is definitely fixed. We are

facing the following issue now:

root@hammer:~/jitsi-hammer# ./jitsi-hammer.sh -BOSHuri

http://10.20.130.45:5280

./jitsi-hammer.sh: line 1: g!/bin/bash: No such file or directory

/root/jitsi-hammer/jitsi-hammer.jar:/root/jitsi-hammer/lib/args4j-2.0.21.jar:/root/jitsi-hammer/lib/bccontrib-1.0-SNAPSHOT.jar:/root/jitsi-hammer/lib/bcpkix-jdk15on-151.jar:/root/jitsi-hammer/lib/bcprov-jdk15on-151.jar:/root/jitsi-hammer/lib/commons-logging-1.1.1.jar:/root/jitsi-hammer/lib/commons-math3-3.3.jar:/root/jitsi-hammer/lib/felix.jar:/root/jitsi-hammer/lib/fmj.jar:/root/jitsi-hammer/lib/httpclient-4.3.3.jar:/root/jitsi-hammer/lib/httpcore-4.3.2.jar:/root/jitsi-hammer/lib/ice4j.jar:/root/jitsi-hammer/lib/jain-sdp.jar:/root/jitsi-hammer/lib/jbosh-0.8.0.jar:/root/jitsi-hammer/lib/jitsi-android-osgi.jar:/root/jitsi-hammer/lib/jitsi-lgpl-dependencies.jar:/root/jitsi-hammer/lib/jna.jar:/root/jitsi-hammer/lib/json-simple-1.1.1.jar:/root/jitsi-hammer/lib/jspeex.jar:/root/jitsi-hammer/lib/kxml2-2.3.0.jar:/root/jitsi-hammer/lib/libjitsi.jar:/root/jitsi-hammer/lib/OrangeExtensions.jar:/root/jitsi-hammer/lib/protocol-jabber.jar:/root/jitsi-hammer/lib/protocol.jar:/root/jitsi-hammer/lib/protocol-media.jar:/root/jitsi-hammer/lib/sc-launcher.jar:/root/jitsi-hammer/lib/sdes4j-1.1.1.jar:/root/jitsi-hammer/lib/smack-bosh-4.0.7.jar:/root/jitsi-hammer/lib/smack-core-4.0.7.jar:/root/jitsi-hammer/lib/smack-debug-4.0.7.jar:/root/jitsi-hammer/lib/smack-extensions-4.0.7.jar:/root/jitsi-hammer/lib/util.jar:/root/jitsi-hammer/lib/xlightweb-2.5.jar:/root/jitsi-hammer/lib/xpp3-1.1.4c.jar:/root/jitsi-hammer/lib/zrtp4j-light.jar

/root/jitsi-hammer/lib/native/linux-64

12:55:18.533 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()

Failed to initialize org.jitsi.impl.neomedia.device.PulseAudioSystem

java.lang.UnsatisfiedLinkError: no jnpulseaudio 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:32)

        at org.jitsi.impl.neomedia.pulseaudio.PA.<clinit>(PA.java:116)

        at

org.jitsi.impl.neomedia.device.PulseAudioSystem.startMainloop(PulseAudioSystem.java:683)

        at

org.jitsi.impl.neomedia.device.PulseAudioSystem.createContext(PulseAudioSystem.java:131)

        at

org.jitsi.impl.neomedia.device.PulseAudioSystem.getContext(PulseAudioSystem.java:500)

        at

org.jitsi.impl.neomedia.device.PulseAudioSystem.doInitialize(PulseAudioSystem.java:364)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at

org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

        at

org.jitsi.impl.neomedia.device.PulseAudioSystem.<init>(PulseAudioSystem.java:119)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at

org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)

        at

org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)

        at

org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)

        at

org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)

        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:271)

12:55:18.540 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()

Failed to initialize org.jitsi.impl.neomedia.device.PortAudioSystem

java.lang.UnsatisfiedLinkError: no jnportaudio 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:32)

        at org.jitsi.impl.neomedia.portaudio.Pa.<clinit>(Pa.java:229)

        at

org.jitsi.impl.neomedia.device.PortAudioSystem.doInitialize(PortAudioSystem.java:174)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at

org.jitsi.impl.neomedia.device.AudioSystem.<init>(AudioSystem.java:195)

        at

org.jitsi.impl.neomedia.device.AudioSystem2.<init>(AudioSystem2.java:72)

        at

org.jitsi.impl.neomedia.device.PortAudioSystem.<init>(PortAudioSystem.java:154)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:151)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at

org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)

        at

org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)

        at

org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)

        at

org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)

        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:271)

X11 connection rejected because of wrong authentication.

12:55:19.515 WARNING: [1] org.jitsi.impl.neomedia.device.DeviceSystem.warn()

Failed to initialize org.jitsi.impl.neomedia.device.ImgStreamingSystem

java.lang.NoClassDefFoundError: Could not initialize class

sun.awt.X11GraphicsEnvironment

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

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

        at

java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:103)

        at

java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)

        at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:126)

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

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

        at java.awt.Toolkit$2.run(Toolkit.java:860)

        at java.awt.Toolkit$2.run(Toolkit.java:855)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)

        at

org.jitsi.impl.neomedia.device.ImgStreamingSystem.doInitialize(ImgStreamingSystem.java:80)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initialize(DeviceSystem.java:629)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:432)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.invokeDeviceSystemInitialize(DeviceSystem.java:335)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.<init>(DeviceSystem.java:480)

        at

org.jitsi.impl.neomedia.device.ImgStreamingSystem.<init>(ImgStreamingSystem.java:44)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:275)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:221)

        at

org.jitsi.impl.neomedia.device.DeviceSystem.initializeDeviceSystems(DeviceSystem.java:163)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:337)

        at

org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)

        at

org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)

        at

org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)

        at

org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)

        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:271)

12:55:19.520 SEVERE: [1]

org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to

register custom Renderer

org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer with

JMF.

java.lang.IllegalStateException: audioSystem

        at

org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:146)

        at

org.jitsi.impl.neomedia.jmfext.media.renderer.audio.PulseAudioRenderer.<init>(PulseAudioRenderer.java:126)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at

org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)

        at

org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)

        at

org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)

        at

org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)

        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:271)

12:55:19.524 SEVERE: [1]

org.jitsi.impl.neomedia.device.DeviceConfiguration.error() Failed to

register custom Renderer

org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer with JMF.

java.lang.UnsatisfiedLinkError: no jnawtrenderer 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:32)

        at

org.jitsi.impl.neomedia.jmfext.media.renderer.video.JAWTRenderer.<clinit>(JAWTRenderer.java:90)

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

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

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.registerCustomRenderers(DeviceConfiguration.java:1036)

        at

org.jitsi.impl.neomedia.device.DeviceConfiguration.<init>(DeviceConfiguration.java:355)

        at

org.jitsi.impl.neomedia.MediaServiceImpl.<init>(MediaServiceImpl.java:150)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Method)

        at

sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

        at

sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

        at java.lang.Class.newInstance(Class.java:442)

        at

org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:142)

        at

org.jitsi.impl.libjitsi.LibJitsiOSGiImpl.getService(LibJitsiOSGiImpl.java:86)

        at

org.jitsi.service.libjitsi.LibJitsi.invokeGetServiceOnImpl(LibJitsi.java:163)

        at

org.jitsi.service.libjitsi.LibJitsi.getMediaService(LibJitsi.java:115)

        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:271)

Exception in thread "Thread-1" java.lang.NullPointerException

        at

org.jitsi.impl.neomedia.transform.zrtp.ZrtpFortunaEntropyGatherer$GatherAudio.run(ZrtpFortunaEntropyGatherer.java:267)

org.jivesoftware.smack.SmackException$ConnectionException:

java.lang.StringIndexOutOfBoundsException: String index out of range: 0

        at

org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:186)

        at

org.jivesoftware.smack.XMPPConnection.connect(XMPPConnection.java:396)

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

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

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

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

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of

range: 0

        at java.lang.String.charAt(String.java:658)

        at

org.jivesoftware.smack.bosh.BOSHConfiguration.getURI(BOSHConfiguration.java:113)

        at

org.jivesoftware.smack.bosh.XMPPBOSHConnection.connectInternal(XMPPBOSHConnection.java:157)

        ... 5 more

Stopping Jitsi-Hammer...

Exiting the program...

-Also here is the list of libraries being used:

root@hammer:~/jitsi-hammer# ls -ltr /root/jitsi-hammer/lib/native/linux-64/

total 7096

-rwxrwxrwx 1 root root 300653 Aug 3 02:13 libjnopus.so

-rwxrwxrwx 1 root root 19073 Aug 3 02:13 libjnopenssl.so

-rwxrwxrwx 1 root root 14392 Aug 3 02:13 libjng722.so

-rwxrwxrwx 1 root root 5278201 Aug 3 02:13 libjnffmpeg.so

-rwxrwxrwx 1 root root 114576 Aug 3 02:13 libjnspeex.so

-rwxrwxrwx 1 root root 552016 Aug 3 02:13 libjnsctp.so

-rwxrwxrwx 1 root root 54523 Aug 3 02:13 libjnvpx.so

-rwxrwxrwx 1 root root 19632 Aug 3 02:13 libjnvideo4linux2.so

lrwxrwxrwx 1 root root 9 Aug 3 02:13 libvpx.so.1 -> libvpx.so

-rwxrwxrwx 1 root root 720537 Aug 3 02:13 libvpx.so

-rwxrwxrwx 1 root root 87058 Aug 3 06:26 hs_err_pid17486.log

-rw-r--r-- 1 root root 86965 Aug 3 06:30 hs_err_pid17558.log

root@hammer:~/jitsi-hammer#

Regards,

Ravi C

On Fri, Aug 5, 2016 at 10:43 PM, Damian Minkov <damencho@jitsi.org> wrote:

On Fri, Aug 5, 2016 at 12:02 PM, Ravi Chaudhary <rc.chaudhary@gmail.com> >> wrote:

> Greetings Damian,

>

> Couple of questions:

> 1) How do we fix the crash coming from portaudio?

remove portaudio so file that is used.

> 2) Is it anyways related to 'pulseaudio'. As of now, "pulseaudio -D" is

> running.

> root@hammer:~/jitsi-hammer# ps -aef | grep pulse*

> ubuntu 3753 1 0 08:35 ? 00:00:00 pulseaudio -D

> pulse 4144 1 0 09:08 ? 00:00:00 pulseaudio -D --system

> 3) Do we need to have a physical sound card installed on the system? As

> of

> now the hardware is devoid of any sound card.

> Although we have installed, "alsa-utils" & "alsa-core"?

>

You do not need pulseaudio or soundcard.

> Thanks in advance for such prompt response. Awaiting for pointers to fix

> this issue.

>

> Regards,

> Ravi C

>

>

> On Fri, Aug 5, 2016 at 9:47 PM, Damian Minkov <damencho@jitsi.org> >> > wrote:

>>

>> On Fri, Aug 5, 2016 at 10:43 AM, Ravi Chaudhary >> >> <rc.chaudhary@gmail.com> >> >> wrote:

>> > # C [libjnportaudio.so+0xd0f8] Pa_GetDeviceInfo+0x58

>>

>> Hum, the crash is again coming from portaudio, seems its still using

>> it.

>>

>> _______________________________________________

>> users mailing list

>> users@jitsi.org

>> Unsubscribe instructions and other list options:

>> http://lists.jitsi.org/mailman/listinfo/users

>

>

>

> _______________________________________________

> users mailing list

> users@jitsi.org

> Unsubscribe instructions and other list options:

> http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________

users mailing list

users@jitsi.org

Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________

users mailing list

users@jitsi.org

Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________

users mailing list

users@jitsi.org

Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________

users mailing list

users@jitsi.org

Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________

users mailing list

users@jitsi.org

Unsubscribe instructions and other list options:

http://lists.jitsi.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users