[jitsi-dev] dev Digest, Vol 39, Issue 9


#1

Hey Martin,

Sometimes while working on JVB I had the same issue but clean compile
resolve it if not once but after 2-3 tries it works. I would suggest you to
import the code in Eclipse or any other IDE and see the classes which shows
you the same error and try mvn clean build from IDE

···

On Monday 6 June 2016, <dev-request@jitsi.org> wrote:

Send dev mailing list submissions to
        dev@jitsi.org <javascript:;>

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.jitsi.org/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
        dev-request@jitsi.org <javascript:;>

You can reach the person managing the list at
        dev-owner@jitsi.org <javascript:;>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."

Today's Topics:

   1. Re: dev Digest, Vol 39, Issue 8 (Nishant Lakra)
   2. Re: dev Digest, Vol 39, Issue 8 (martin sebastian)
   3. [jitsi/jitsi-videobridge] Adds maven based exec script.
      (#257) (George Politis)
   4. Re: [Jitsi-Videobridge] JVB build issue (George Politis)

----------------------------------------------------------------------

Message: 1
Date: Mon, 6 Jun 2016 20:47:31 +0530
From: Nishant Lakra <nishant.lakra@tothenew.com <javascript:;>>
To: dev@jitsi.org <javascript:;>
Subject: Re: [jitsi-dev] dev Digest, Vol 39, Issue 8
Message-ID:
        <
CAO_BVTy2L+AtFicnL9OpfDc2ZWx-1-ddW9HPPgy57OmMSAotyQ@mail.gmail.com
<javascript:;>>
Content-Type: text/plain; charset="utf-8"

Hey Martin,

This seems to be a cause of compiled classes in JVB. The commands you are
using to exec JVB are only compiling the java files, you need to clean
compile the code and regenerate target folder. Use following command for
the same >> JVB & Jicofo -> *mvn clean compile
exec*:java -Dexec.args="--host=localhost .....

Hope this will help.

Reply me in case of further concern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.jitsi.org/pipermail/dev/attachments/20160606/a9c07612/attachment-0001.html
>

------------------------------

Message: 2
Date: Mon, 6 Jun 2016 21:10:08 +0530
From: martin sebastian <martin.sebastian1@gmail.com <javascript:;>>
To: Jitsi Developers <dev@jitsi.org <javascript:;>>
Subject: Re: [jitsi-dev] dev Digest, Vol 39, Issue 8
Message-ID:
        <CAJBGpqmnHv=_bFajkW3QA1eU0ot=vR9=yaqJn5y7=pyn1iUN=
w@mail.gmail.com <javascript:;>>
Content-Type: text/plain; charset="utf-8"

Hi Nishant,

Thanks for replying.
I tried with clean in the command. Still getting the same issue.
Funny thing is the compilation doesn't fail due to any jar missing errors.
I see the dependency jar in the list of jars, but fails during run time
with NoClassDefFound error.

Thanks,
Martin

On Mon, Jun 6, 2016 at 8:47 PM, Nishant Lakra <nishant.lakra@tothenew.com > <javascript:;>> > wrote:

> Hey Martin,
>
> This seems to be a cause of compiled classes in JVB. The commands you are
> using to exec JVB are only compiling the java files, you need to clean
> compile the code and regenerate target folder. Use following command for
> the same >> JVB & Jicofo -> *mvn clean compile
> exec*:java -Dexec.args="--host=localhost .....
>
> Hope this will help.
>
> Reply me in case of further concern
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org <javascript:;>
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev
>

--
_______________

Regards,

Martin Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.jitsi.org/pipermail/dev/attachments/20160606/3ee8f3f3/attachment-0001.html
>

------------------------------

Message: 3
Date: Mon, 06 Jun 2016 10:30:59 -0700
From: George Politis <notifications@github.com <javascript:;>>
To: jitsi/jitsi-videobridge <jitsi-videobridge@noreply.github.com
<javascript:;>>
Subject: [jitsi-dev] [jitsi/jitsi-videobridge] Adds maven based exec
        script. (#257)
Message-ID: <jitsi/jitsi-videobridge/pull/257@github.com <javascript:;>>
Content-Type: text/plain; charset="utf-8"

Adds a startup script file for the Jitsi Videobridge that uses maven.
Maven is configured to run with a JVB-specific repository path. Multiple
required and optional arguments are supported.
You can view, comment on, or merge this pull request online at:

  https://github.com/jitsi/jitsi-videobridge/pull/257

-- Commit Summary --

  * Adds maven based exec script.

-- File Changes --

    A resources/mvn-exec.sh (110)

-- Patch Links --

https://github.com/jitsi/jitsi-videobridge/pull/257.patch
https://github.com/jitsi/jitsi-videobridge/pull/257.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi-videobridge/pull/257
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.jitsi.org/pipermail/dev/attachments/20160606/08a05920/attachment-0001.html
>

------------------------------

Message: 4
Date: Mon, 6 Jun 2016 12:35:10 -0500
From: George Politis <gp@jitsi.org <javascript:;>>
To: Jitsi Developers <dev@jitsi.org <javascript:;>>
Subject: Re: [jitsi-dev] [Jitsi-Videobridge] JVB build issue
Message-ID: <EFA1752F-8C1C-44C4-82A2-9D269A088F62@jitsi.org <javascript:;>
>
Content-Type: text/plain; charset="utf-8"

Hi Martin,

As per the discussion we had this morning during The Call, here
https://github.com/jitsi/jitsi-videobridge/pull/257 <
https://github.com/jitsi/jitsi-videobridge/pull/257> you can find a
script file that you can use to launch the JVB from source. It’s purely
maven based. Make sure you pass the correct parameters for the script.

I hope this helps.

Best,
George

> On Jun 6, 2016, at 10:04 AM, martin sebastian < > martin.sebastian1@gmail.com <javascript:;>> wrote:
>
> Hi Ankit,
>
> Thanks for the tip.
> But this doesn't solve my issue. I am trying to run JVB and Jicofo using
'mvn compile exec' command, as mentioned in JVB README.
> The steps you mentioned is for creating packages to run them as service.
I am running them from my command line.
> Anyway the ant command fails too.
>
> $> ant -lib lib/maven-ant-tasks-2.1.3.jar dist.lin64
> Buildfile: /root/Martin/jitsi-videobridge/build.xml
>
> BUILD FAILED
> /root/Martin/jitsi-videobridge/build.xml:52: Problem: failed to create
task or type antlib:org.apache.maven.artifact.ant:dependencies
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
> No types or tasks have been defined in this namespace yet
>
> This appears to be an antlib declaration.
> Action: Check that the implementing library exists in one of:
> -/usr/share/ant/lib
> -/root/.ant/lib
> -a directory added on the command line with the -lib argument
>
>
> Total time: 0 seconds
>
>
> Thanks,
> Martin
>
> On Mon, Jun 6, 2016 at 5:57 PM, Ankit Arora <ankit.arora@tothenew.com > <javascript:;> <mailto:ankit.arora@tothenew.com <javascript:;>>> wrote:
> Hi Martin,
>
> You need to build Jicofo completely before starting. Please follow the
following steps:
>
> 1. cd ~
>
> 2. rm -rf .m2/
>
> 3. cd <Jicofo Source Folder>
>
> 4. mvn -U clean package -DskipTests
>
> 5. wget -O lib/maven-ant-tasks-2.1.3.jarhttp://
central.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
<
http://central.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
>
> 6. mvn dependency:resolve
>
> 7. ant -lib lib/maven-ant-tasks-2.1.3.jar dist.lin64
>
>
> Best Regards,
> Ankit Arora
> Tech Lead - Technology
> TO THE NEW Digital
> M: +91 7042461884 <tel:%2B91%207042461884>
> www.tothenew.com <http://www.tothenew.com/>
> Hi,
>
>
> I tried building the versions of JVB(744) & Jicofo(264) running on
meet.jit.si <http://meet.jit.si/> to no success.
> I am compiling and executing both JVB and Jicofo. JVB starts up fine,
but errors out once jicofo comes up and try to discover JVB. Following is
the JVB error log which I get -
> Also tried removing the maven local repository and redownloading the
dependencies, no luck there too.
>
> [WARNING]
> java.lang.NoClassDefFoundError: org/jitsi/xmpp/util/IQUtils
> at
org.jitsi.xmpp.component.ComponentBase$PingTask.run(ComponentBase.java:354)
> at java.util.TimerThread.mainLoop(Timer.java:555)
> at java.util.TimerThread.run(Timer.java:505)
> Caused by: java.lang.ClassNotFoundException: org.jitsi.xmpp.util.IQUtils
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 3 more
> Jun 06, 2016 2:42:58 PM org.jitsi.util.Logger info
> INFO: RECV: <iq type="get" to="jitsi-videobridge.localhost"
from="focus@auth1.localhost/focus357449680955844" id="FL08C-6"><query
xmlns="jabber:iq:version"/></iq>
> [WARNING]
> java.lang.NoClassDefFoundError: org/jitsi/xmpp/util/IQUtils
> at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQ(ComponentImpl.java:266)
> at
org.jitsi.videobridge.xmpp.ComponentImpl.handleIQGet(ComponentImpl.java:366)
> at
org.xmpp.component.AbstractComponent.processIQRequest(AbstractComponent.java:511)
> at
org.xmpp.component.AbstractComponent.processIQ(AbstractComponent.java:289)
> at
org.xmpp.component.AbstractComponent.processQueuedPacket(AbstractComponent.java:239)
> at
org.xmpp.component.AbstractComponent.access$100(AbstractComponent.java:81)
> at
org.xmpp.component.AbstractComponent$PacketProcessor.run(AbstractComponent.java:1051)
> at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.jitsi.xmpp.util.IQUtils
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 10 more
>
>
> Would greatly appreciate any help anyone can provide. I'm stuck on this
issue for many a days now.
>
>
> Thanks,
> Martin
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org <javascript:;> <mailto:dev@jitsi.org <javascript:;>>
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev <
http://lists.jitsi.org/mailman/listinfo/dev>
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org <javascript:;> <mailto:dev@jitsi.org <javascript:;>>
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev <
http://lists.jitsi.org/mailman/listinfo/dev>
>
>
>
> --
> _______________
>
> Regards,
>
> Martin Sebastian
> _______________________________________________
> dev mailing list
> dev@jitsi.org <javascript:;>
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.jitsi.org/pipermail/dev/attachments/20160606/da6a0cce/attachment.html
>

------------------------------

Subject: Digest Footer

_______________________________________________
dev mailing list
dev@jitsi.org <javascript:;>
http://lists.jitsi.org/mailman/listinfo/dev

------------------------------

End of dev Digest, Vol 39, Issue 9
**********************************

--

Regards,
Nishant Lakra
Engineer - Technology | To The New Digital | India
M: +91-9013523809
www.tothenew.com