[jitsi-users] Problems with video-bridge


#1

Hello,

I tried to install video-bridge with ejabberd but it doesn't work.
Videobridge seems started on the server:

Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: Failed to initialize service implementation
org.jitsi.impl.fileaccess.FileAccessServiceImpl. Will continue without it.
java.lang.IllegalStateException:
net.java.sip.communicator.SC_HOME_DIR_LOCATION
    at
org.jitsi.impl.fileaccess.FileAccessServiceImpl.<init>(FileAccessServiceImpl.java:53)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    at java.lang.Class.newInstance0(Class.java:374)
    at java.lang.Class.newInstance(Class.java:327)
    at
org.jitsi.impl.libjitsi.LibJitsiImpl.getService(LibJitsiImpl.java:133)
    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.getFileAccessService(LibJitsi.java:100)
    at
net.java.sip.communicator.impl.fileaccess.FileAccessActivator.start(FileAccessActivator.java:32)
    at
net.java.sip.communicator.impl.osgi.framework.BundleImpl.start(BundleImpl.java:288)
    at
net.java.sip.communicator.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:446)
    at
net.java.sip.communicator.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:127)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:110)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:16)
    at
net.java.sip.communicator.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:219)
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.runtime.name=OpenJDK Runtime Environment
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.boot.library.path=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/amd64
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.version=20.0-b12
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.vendor=Sun Microsystems Inc.
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vendor.url=http://java.sun.com/
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.service.media.MAX_PORT_NUMBER=20000
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: path.separator=:
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.name=OpenJDK 64-Bit Server VM
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: file.encoding.pkg=sun.io
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.java.launcher=SUN_STANDARD
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.country=US
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.os.patch.level=unknown
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT=true
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.specification.name=Java Virtual Machine Specification
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.dir=/opt/jitsi-videobridge-linux
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.runtime.version=1.6.0_27-b27
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.endorsed.dirs=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/endorsed
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: os.arch=amd64
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.io.tmpdir=/tmp
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: line.separator=

Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.specification.vendor=Sun Microsystems Inc.
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: os.name=Linux
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.jnu.encoding=UTF-8
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.CONFIGURATION_FILE_IS_READ_ONLY=true
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.library.path=/opt/jitsi-videobridge-linux/lib/native/linux-64
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.specification.name=Java Platform API Specification
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.class.version=50.0
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO:
org.jitsi.service.audionotifier.AudioNotifierService=org.jitsi.impl.neomedia.notify.AudioNotifierServiceImpl
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.management.compiler=HotSpot 64-Bit Tiered Compilers
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: os.version=3.2.0-4-amd64
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.home=/root
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.timezone=Europe/Paris
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.awt.printerjob=sun.print.PSPrinterJob
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: file.encoding=UTF-8
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.specification.version=1.6
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.service.media.DISABLE_VIDEO_SUPPORT=true
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO:
java.class.path=/opt/jitsi-videobridge-linux/jitsi-videobridge.jar:/opt/jitsi-videobridge-linux/lib/bccontrib.jar:/opt/jitsi-videobridge-linux/lib/bouncycastle.jar:/opt/jitsi-videobridge-linux/lib/concurrentlinkedhashmap-lru.jar:/opt/jitsi-videobridge-linux/lib/configuration.jar:/opt/jitsi-videobridge-linux/lib/dns.jar:/opt/jitsi-videobridge-linux/lib/dnsservice.jar:/opt/jitsi-videobridge-linux/lib/dom4j.jar:/opt/jitsi-videobridge-linux/lib/fileaccess.jar:/opt/jitsi-videobridge-linux/lib/jitsi-android-osgi.jar:/opt/jitsi-videobridge-linux/lib/jna.jar:/opt/jitsi-videobridge-linux/lib/json.jar:/opt/jitsi-videobridge-linux/lib/libidn.jar:/opt/jitsi-videobridge-linux/lib/libjitsi.jar:/opt/jitsi-videobridge-linux/lib/netaddr.jar:/opt/jitsi-videobridge-linux/lib/osgi.core.jar:/opt/jitsi-videobridge-linux/lib/packetlogging.jar:/opt/jitsi-videobridge-linux/lib/protocol-jabber.jar:/opt/jitsi-videobridge-linux/lib/protocol-media.jar:/opt/jitsi-videobridge-linux/lib/resourcemanager.jar:/opt/jitsi-videobridge-linux/lib/slf4j-api.jar:/opt/jitsi-videobridge-linux/lib/slf4j-simple.jar:/opt/jitsi-videobridge-linux/lib/smack.jar:/opt/jitsi-videobridge-linux/lib/tinder.jar:/opt/jitsi-videobridge-linux/lib/ui-service.jar:/opt/jitsi-videobridge-linux/lib/util.jar:/opt/jitsi-videobridge-linux/lib/whack.jar:/opt/jitsi-videobridge-linux/lib/xpp3.jar:/opt/jitsi-videobridge-linux/lib/zrtp4j.jar
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.name=root
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.specification.version=1.0
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.java.command=org.jitsi.videobridge.Main --secret=xxxxx
--domain=yyyyy --port=5275
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.home=/usr/lib/jvm/java-6-openjdk-amd64/jre
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.arch.data.model=64
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: user.language=en
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.specification.vendor=Sun Microsystems Inc.
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vm.info=mixed mode
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.version=1.6.0_27
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO:
java.ext.dirs=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO:
sun.boot.class.path=/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/netx.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/plugin.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-6-openjdk-amd64/jre/classes
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.awt.headless=true
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vendor=Sun Microsystems Inc.
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: file.separator=/
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.io.unicode.encoding=UnicodeLittle
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.cpu.endian=little
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: net.java.sip.communicator.service.media.MIN_PORT_NUMBER=10000
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: sun.cpu.isalist=
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: No defaults property file loaded: jitsi-defaults.properties. Not a
problem.
Sep 18, 2013 11:36:11 AM org.jitsi.util.Logger info
INFO: No defaults property file loaded:
jitsi-default-overrides.properties. Not a problem.
Sep 18, 2013 11:36:12 AM net.java.sip.communicator.util.Logger info
INFO: Resource manager ... [REGISTERED]
Sep 18, 2013 11:36:12 AM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager ...[ STARTED ]
Sep 18, 2013 11:36:12 AM net.java.sip.communicator.util.Logger info
INFO: Network Address Manager Service ...[REGISTERED]

But, on the client, I have the following:

11:46:18.898 GRAVE: [15]
plugin.desktoputil.SwingWorker.catchException().121 unhandled exception
caught
java.lang.IllegalStateException: The service registration is no longer
valid.
    at
org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:93)
    at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.getProviderForAccount(ProtocolProviderFactory.java:623)
    at
net.java.sip.communicator.util.account.AccountUtils.getRegisteredProviders(AccountUtils.java:86)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.getVideoBridgeProviders(ToolsMenu.java:431)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.access$400(ToolsMenu.java:49)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu$InitVideoBridgeMenuWorkerMacOSX.construct(ToolsMenu.java:537)
    at
net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
11:46:27.198 GRAVE: [15]
plugin.desktoputil.SwingWorker.catchException().121 unhandled exception
caught
java.lang.IllegalStateException: The service registration is no longer
valid.
    at
org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:93)
    at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.getProviderForAccount(ProtocolProviderFactory.java:623)
    at
net.java.sip.communicator.util.account.AccountUtils.getRegisteredProviders(AccountUtils.java:86)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.getVideoBridgeProviders(ToolsMenu.java:431)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.access$400(ToolsMenu.java:49)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu$InitVideoBridgeMenuWorkerMacOSX.construct(ToolsMenu.java:537)
    at
net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
11:47:02.848 GRAVE: [15]
plugin.desktoputil.SwingWorker.catchException().121 unhandled exception
caught
java.lang.IllegalStateException: The service registration is no longer
valid.
    at
org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:93)
    at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.getProviderForAccount(ProtocolProviderFactory.java:623)
    at
net.java.sip.communicator.util.account.AccountUtils.getRegisteredProviders(AccountUtils.java:86)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.getVideoBridgeProviders(ToolsMenu.java:431)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.access$400(ToolsMenu.java:49)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu$InitVideoBridgeMenuWorkerMacOSX.construct(ToolsMenu.java:537)
    at
net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
11:47:20.979 INFO: [20] impl.dns.ParallelResolverImpl.send().225 Primary
DNS seems laggy as we got no response for 1500ms. Enabling redundant mode.
11:47:20.980 INFO: [20]
impl.dns.ParallelResolverImpl.sendBackupQueries().540 Send DNS queries
to backup resolvers
11:47:32.127 GRAVE: [15]
plugin.desktoputil.SwingWorker.catchException().121 unhandled exception
caught
java.lang.IllegalStateException: The service registration is no longer
valid.
    at
org.apache.felix.framework.ServiceRegistrationImpl.getReference(ServiceRegistrationImpl.java:93)
    at
net.java.sip.communicator.service.protocol.ProtocolProviderFactory.getProviderForAccount(ProtocolProviderFactory.java:623)
    at
net.java.sip.communicator.util.account.AccountUtils.getRegisteredProviders(AccountUtils.java:86)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.getVideoBridgeProviders(ToolsMenu.java:431)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu.access$400(ToolsMenu.java:49)
    at
net.java.sip.communicator.impl.gui.main.menus.ToolsMenu$InitVideoBridgeMenuWorkerMacOSX.construct(ToolsMenu.java:537)
    at
net.java.sip.communicator.plugin.desktoputil.SwingWorker$1.call(SwingWorker.java:75)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:680)
11:47:41.630 INFO: [20]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().115
Jingle : ON
11:47:42.087 INFO: [21]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().95 Start Jingle
Nodes discovery!
11:47:42.615 GRAVE: [22]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectUsingSRVRecords().886
No SRV addresses found for _xmpp-client._tcp.yyyyy
11:47:42.624 INFO: [22]
impl.dns.ParallelResolverImpl.sendBackupQueries().540 Send DNS queries
to backup resolvers
11:47:42.650 INFO: [21]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().128 Jingle Nodes
discovery terminated!
11:47:42.650 INFO: [21]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().129 Found 0
Jingle Nodes relay for account: enorniel@yyyyy in 563 ms.
11:47:42.709 GRAVE: [22]
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin().1106
Connection is not null and isConnected:true
java.lang.Exception: Trace possible duplicate connections: enorniel@yyyyy
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:1106)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:928)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:744)
    at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:465)
    at
net.java.sip.communicator.util.account.LoginManager$RegisterProvider.run(LoginManager.java:432)
11:47:43.366 INFO: [22]
impl.protocol.jabber.OperationSetBasicTelephonyJabberImpl.registrationStateChanged().115
Jingle : ON
11:47:43.797 INFO: [23]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().95 Start Jingle
Nodes discovery!
11:47:44.025 INFO: [23]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().128 Jingle Nodes
discovery terminated!
11:47:44.026 INFO: [23]
impl.protocol.jabber.JingleNodesServiceDiscovery.run().129 Found 0
Jingle Nodes relay for account: enorniel@yyyyy in 229 ms.

Can you help me ?

Thanks.