[jitsi-dev] building jitsi video bridge from source


#1

It's been a while since I've built the videobridge from source. I am working on a mac running Yosimite (10.10.5) and running mvn package to build it. The build completes fine and the tests pass but when I try to run it with jvb.sh I get the following stack trace from the bridge

java.lang.NoClassDefFoundError: net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ShutdownIQ

at org.jitsi.videobridge.VideobridgeBundleActivator.start(VideobridgeBundleActivator.java:59)

at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:293)

at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:460)

at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:126)

at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:111)

at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:17)

at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:220)

Caused by: java.lang.ClassNotFoundException: net.java.sip.communicator.impl.protocol.jabber.extensions.colibri.ShutdownIQ

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

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

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 7 more

2015-12-30 12:08:39.376 SEVERE: [10] org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged() Error changing start level

org.osgi.framework.BundleException: BundleActivator.start

at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:313)

at org.jitsi.impl.osgi.framework.launch.FrameworkImpl.startLevelChanged(FrameworkImpl.java:460)

at org.jitsi.impl.osgi.framework.startlevel.FrameworkStartLevelImpl$Command.run(FrameworkStartLevelImpl.java:126)

at org.jitsi.impl.osgi.framework.AsyncExecutor.runInThread(AsyncExecutor.java:111)

at org.jitsi.impl.osgi.framework.AsyncExecutor.access$000(AsyncExecutor.java:17)

at org.jitsi.impl.osgi.framework.AsyncExecutor$1.run(AsyncExecutor.java:220)

Caused by: java.lang.NoClassDefFoundError: net/java/sip/communicator/impl/protocol/jabber/extensions/colibri/ShutdownIQ

at org.jitsi.videobridge.VideobridgeBundleActivator.start(VideobridgeBundleActivator.java:59)

at org.jitsi.impl.osgi.framework.BundleImpl.start(BundleImpl.java:293)

... 5 more

Caused by: java.lang.ClassNotFoundException: net.java.sip.communicator.impl.protocol.jabber.extensions.colibri.ShutdownIQ

at java.net.URLClassLoader$1.run(URLClassLoader.java:366)

at java.net.URLClassLoader$1.run(URLClassLoader.java:355)

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

at java.net.URLClassLoader.findClass(URLClassLoader.java:354)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

... 7 more

I've made sure jitsi-videobridge is up to HEAD revision on master and still getting this runtime error. Any suggestions would be appreciated.

David Ertel


#2

Do you unzip a .zip file produced by mvn package (recent revisions of
the jitsi-videobridge source code do not produce such .zip files by
default so I have to ask) and run the jvb.sh included in the .zip
file? I think it would be better to show the exact steps that you
execute in the shell/terminal before we can hope to help.


#3

Ditto what Lyubo said. The easiest way to build and run the
jitsi-videobridge for development purposes is to use the script that's in
the README.md file.

ยทยทยท

On Mon, Jan 4, 2016 at 1:01 PM, Lyubomir Marinov <lyubomir.marinov@jitsi.org > wrote:

Do you unzip a .zip file produced by mvn package (recent revisions of
the jitsi-videobridge source code do not produce such .zip files by
default so I have to ask) and run the jvb.sh included in the .zip
file? I think it would be better to show the exact steps that you
execute in the shell/terminal before we can hope to help.

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