[jitsi-dev] Videobridge not running from the batch file


#1

Hi,Came across jitsi videobridge when looking for some thing to do multi-party video at work (we already use openfire and Spark) and it looks pretty good but I'm have issues getting it to run. The problem I have is that the videobridge will not run using the batch file included, I get the following in the command window.
C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin
java -Djava.library.path=lib/native/windows-64 -cp jitsi-videobridge.jar;lib/bcc
ontrib.jar;lib/bouncycastle.jar;lib/concurrentlinkedhashmap-lru.jar;lib/configur
ation.jar;lib/dns.jar;lib/dnsservice.jar;lib/dom4j.jar;lib/fileaccess.jar;lib/ji
tsi-android-osgi.jar;lib/json.jar;lib/libidn.jar;lib/libjitsi.jar;lib/netaddr.ja
r;lib/osgi.core.jar;lib/packetlogging.jar;lib/protocol-jabber.jar;lib/protocol-m
edia.jar;lib/resourcemanager.jar;lib/slf4j-api.jar;lib/smack.jar;lib/tinder.jar;
lib/ui-service.jar;lib/util.jar;lib/whack.jar;lib/xpp3.jar;lib/zrtp4j.jar org.ji
tsi.videobridge.Main --secret adminC:\Applications\jitsi-videobridge-windows-x64-24> I checked the batch file but not being a java developer I was not sure if or what the error was. I tried the batch file in the windows-x64-21 download but it was the same. Decided to look at some of the earlier files and tried the one in the windows-x64-14 download and this time it ran fine and shows up in openfire. Is it possible for someone with more experance than me have a look at the batch file to see if there is an issue in the batch or if it is a problem with my setup. Intel Core 2 Duo (T7300) 2GHz2Gb RAMWindows 7 64bitSqlExpress 2008R2openfire 3.8.1jitsi-videobridge-windows-x64-24 (the download I used)jitsi client 2.0.4506.10553Spark client 2.6.3 Thanks Graham


#2

Hi,

···

On Sun, Apr 21, 2013 at 5:16 PM, Graham Nicholson <gnicholson123@live.com>wrote:

Hi,
Came across jitsi videobridge when looking for some thing to do
multi-party video at work (we already use openfire and Spark) and it looks
pretty good but I'm have issues getting it to run.

The problem I have is that the videobridge will not run using the batch
file included, I get the following in the command window.

C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin
java -Djava.library.path=lib/native/windows-64 -cp
jitsi-videobridge.jar;lib/bcc

ontrib.jar;lib/bouncycastle.jar;lib/concurrentlinkedhashmap-lru.jar;lib/configur

ation.jar;lib/dns.jar;lib/dnsservice.jar;lib/dom4j.jar;lib/fileaccess.jar;lib/ji

tsi-android-osgi.jar;lib/json.jar;lib/libidn.jar;lib/libjitsi.jar;lib/netaddr.ja

r;lib/osgi.core.jar;lib/packetlogging.jar;lib/protocol-jabber.jar;lib/protocol-m

edia.jar;lib/resourcemanager.jar;lib/slf4j-api.jar;lib/smack.jar;lib/tinder.jar;
lib/ui-service.jar;lib/util.jar;lib/whack.jar;lib/xpp3.jar;lib/zrtp4j.jar
org.ji
tsi.videobridge.Main --secret admin
C:\Applications\jitsi-videobridge-windows-x64-24>

I checked the batch file but not being a java developer I was not sure if
or what the error was. I tried the batch file in the windows-x64-21
download but it was the same. Decided to look at some of the earlier files
and tried the one in the windows-x64-14 download and this time it ran fine
and shows up in openfire.

Is it possible for someone with more experance than me have a look at the
batch file to see if there is an issue in the batch or if it is a problem
with my setup.

Intel Core 2 Duo (T7300) 2GHz
2Gb RAM
Windows 7 64bit
SqlExpress 2008R2
openfire 3.8.1
jitsi-videobridge-windows-x64-24 (the download I used)
jitsi client 2.0.4506.10553
Spark client 2.6.3

Thanks

Graham

Thanks for the report. It should be fixed in the latest revision (check it
out via svn, wait for build 25 to appear, or just remote the 'echo' from
the last line in jvb.bat). Let us know if it works, please.

Regards,
Boris


#3

Hi Boris, I've removed the echo but still no go, now I get the following,
C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail
s.
Exception in thread "main" org.xmpp.component.ComponentException: not-authorized at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.ja
va:219)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(External
ComponentManager.java:221)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(External
ComponentManager.java:201)
        at org.jitsi.videobridge.Main.main(Main.java:159) C:\Applications\jitsi-videobridge-windows-x64-24>
I've also tried opening the command window with the raised admin rights, same result though. Just for comparison I've attached the output to the command window when it runns. RegardsGrahamDate: Sun, 21 Apr 2013 17:26:13 +0300

From: boris@jitsi.org

Hi,

running.txt (8.85 KB)

···

To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Videobridge not running from the batch file
On Sun, Apr 21, 2013 at 5:16 PM, Graham Nicholson <gnicholson123@live.com> wrote:

Hi,
Came across jitsi videobridge when looking for some thing to do multi-party video at work (we already use openfire and Spark) and it looks pretty good but I'm have issues getting it to run.

The problem I have is that the videobridge will not run using the batch file included, I get the following in the command window.

C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin

java -Djava.library.path=lib/native/windows-64 -cp jitsi-videobridge.jar;lib/bcc
ontrib.jar;lib/bouncycastle.jar;lib/concurrentlinkedhashmap-lru.jar;lib/configur
ation.jar;lib/dns.jar;lib/dnsservice.jar;lib/dom4j.jar;lib/fileaccess.jar;lib/ji

tsi-android-osgi.jar;lib/json.jar;lib/libidn.jar;lib/libjitsi.jar;lib/netaddr.ja
r;lib/osgi.core.jar;lib/packetlogging.jar;lib/protocol-jabber.jar;lib/protocol-m
edia.jar;lib/resourcemanager.jar;lib/slf4j-api.jar;lib/smack.jar;lib/tinder.jar;

lib/ui-service.jar;lib/util.jar;lib/whack.jar;lib/xpp3.jar;lib/zrtp4j.jar org.ji
tsi.videobridge.Main --secret admin
C:\Applications\jitsi-videobridge-windows-x64-24>

I checked the batch file but not being a java developer I was not sure if or what the error was. I tried the batch file in the windows-x64-21 download but it was the same. Decided to look at some of the earlier files and tried the one in the windows-x64-14 download and this time it ran fine and shows up in openfire.

Is it possible for someone with more experance than me have a look at the batch file to see if there is an issue in the batch or if it is a problem with my setup.

Intel Core 2 Duo (T7300) 2GHz
2Gb RAM
Windows 7 64bit

SqlExpress 2008R2
openfire 3.8.1
jitsi-videobridge-windows-x64-24 (the download I used)
jitsi client 2.0.4506.10553
Spark client 2.6.3

Thanks

Graham

Thanks for the report. It should be fixed in the latest revision (check it out via svn, wait for build 25 to appear, or just remote the 'echo' from the last line in jvb.bat). Let us know if it works, please.

Regards,Boris


#4

Hi,

Hi Boris,

I've removed the echo but still no go, now I get the following,

C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
detail
s.
Exception in thread "main" org.xmpp.component.ComponentException:
not-authorized
        at
org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.ja
va:219)
        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(External
ComponentManager.java:221)
        at
org.jivesoftware.whack.ExternalComponentManager.addComponent(External
ComponentManager.java:201)
        at org.jitsi.videobridge.Main.main(Main.java:159)

C:\Applications\jitsi-videobridge-windows-x64-24>

OK, at least it's running now. Have you set up openfire as described
here[1]? The 'default shared secret' has to match the value passed to
jvb.bat with --secret=, 'admin' in your case (unless you edited that part
of the output).

Regards,
Boris

[1]https://jitsi.org/Projects/JitsiVideobridgeWithOpenfire

···

On Sun, Apr 21, 2013 at 6:11 PM, Graham Nicholson <gnicholson123@live.com>wrote:


#5

Hi,Yes openfire is set up and connected, admin has been used as the password as this is my first test install. Once I set up the test system for users to try it will be different. GrahamDate: Sun, 21 Apr 2013 19:12:47 +0300

From: boris@jitsi.org

Hi,

···

To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Videobridge not running from the batch file

On Sun, Apr 21, 2013 at 6:11 PM, Graham Nicholson <gnicholson123@live.com> wrote:

Hi Boris,

I've removed the echo but still no go, now I get the following,

C:\Applications\jitsi-videobridge-windows-x64-24>jvb.bat --secret=admin

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further detail

s.
Exception in thread "main" org.xmpp.component.ComponentException: not-authorized
        at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.ja
va:219)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(External

ComponentManager.java:221)
        at org.jivesoftware.whack.ExternalComponentManager.addComponent(External
ComponentManager.java:201)
        at org.jitsi.videobridge.Main.main(Main.java:159)

C:\Applications\jitsi-videobridge-windows-x64-24>

OK, at least it's running now. Have you set up openfire as described here[1]? The 'default shared secret' has to match the value passed to jvb.bat with --secret=, 'admin' in your case (unless you edited that part of the output).

Regards,Boris
[1]https://jitsi.org/Projects/JitsiVideobridgeWithOpenfire


#6

Hi,

···

On Sun, Apr 21, 2013 at 8:36 PM, Graham Nicholson <gnicholson123@live.com> wrote:

Hi,
Yes openfire is set up and connected, admin has been used as the password as
this is my first test install. Once I set up the test system for users to
try it will be different.

OK, thanks for the patience. We can reproduce the problem and a fix
should be coming. Meanwhile, you can try to use something like
jvb.bat a "secret=mysecret"
to start it (note the 'a' and the quotes)

Thanks,
Boris


#7

Hi,

Hi,
Yes openfire is set up and connected, admin has been used as the password as
this is my first test install. Once I set up the test system for users to
try it will be different.

OK, thanks for the patience. We can reproduce the problem and a fix
should be coming. Meanwhile, you can try to use something like
jvb.bat a "secret=mysecret"

D'oh!
jvb.bat a "--secret=mysecret"

···

On Mon, Apr 22, 2013 at 11:54 AM, Boris Grozev <boris@jitsi.org> wrote:

On Sun, Apr 21, 2013 at 8:36 PM, Graham Nicholson > <gnicholson123@live.com> wrote:

to start it (note the 'a' and the quotes)

Thanks,
Boris


#8

Hi all, Now fixed, thanks. Search forFixing the problem with the command line arguments to the Windows bat script that launches Jitsi Videobridge‏to see the other posts on the fix. Thanks againGraham> Date: Mon, 22 Apr 2013 12:00:39 +0300

···

From: boris@jitsi.org
To: dev@jitsi.java.net
Subject: [jitsi-dev] Re: Videobridge not running from the batch file

On Mon, Apr 22, 2013 at 11:54 AM, Boris Grozev <boris@jitsi.org> wrote:
> Hi,
>
> On Sun, Apr 21, 2013 at 8:36 PM, Graham Nicholson > > <gnicholson123@live.com> wrote:
>> Hi,
>> Yes openfire is set up and connected, admin has been used as the password as
>> this is my first test install. Once I set up the test system for users to
>> try it will be different.
>
> OK, thanks for the patience. We can reproduce the problem and a fix
> should be coming. Meanwhile, you can try to use something like
> jvb.bat a "secret=mysecret"

D'oh!
jvb.bat a "--secret=mysecret"

> to start it (note the 'a' and the quotes)
>
>
> Thanks,
> Boris