[sip-comm-dev] GSoC'08 introduction


#1

Hello dear sip-communicator contributers and lucky students,

My name is Vladimir �karupelov, I am 22 years old computer science student of the University of Tartu, Estonia.

During GSoC'08 project I will deal with sip-communicator profiling and optimizations. It will be very helpful for me if you all could let me know slow unreliable behaviours of sip-communicator that you experienced. I will try monitor, profile and optimize them.
/**/
I have just setup a blog on http://developerscabin.blogspot.com
I am also interested in the project in java.net, my username there is /*vovis

*/Thanks for getting me on board and congratulations to the other students!

Cheers,
Vladimir


#2

Hi Vladmir!
As I was trying the same project as you in SoC, I was able to make some
progress with TPTP and Netbeans Profiler. I noticed in your blog you're
having the same problems I had, since we're all collaborators here, I can
show you how to run SIPComm over those 2 profilers! xD
Just give me a reply and we'll try to meet in IRC or, if you prefer, I'll
send you everything by mail.

Bye and good work!

···

On Tue, Apr 22, 2008 at 5:24 PM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Hello dear sip-communicator contributers and lucky students,

My name is Vladimir Škarupelov, I am 22 years old computer science student
of the University of Tartu, Estonia.

During GSoC'08 project I will deal with sip-communicator profiling and
optimizations. It will be very helpful for me if you all could let me know
slow unreliable behaviours of sip-communicator that you experienced. I will
try monitor, profile and optimize them.
* <voviss@gmail.com>*
I have just setup a blog on http://developerscabin.blogspot.com
I am also interested in the project in java.net, my username there is *
vovis

*Thanks for getting me on board and congratulations to the other students!

Cheers,
Vladimir

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#3

just for you to know, I'm at GMT -3:00 (Brazil), so you can calculate the
right time for our meeting.

···

On Fri, May 2, 2008 at 10:56 AM, Thiago Bolaum <bolaum@gmail.com> wrote:

Hi Vladmir!
As I was trying the same project as you in SoC, I was able to make some
progress with TPTP and Netbeans Profiler. I noticed in your blog you're
having the same problems I had, since we're all collaborators here, I can
show you how to run SIPComm over those 2 profilers! xD
Just give me a reply and we'll try to meet in IRC or, if you prefer, I'll
send you everything by mail.

Bye and good work!

On Tue, Apr 22, 2008 at 5:24 PM, Vladimir Škarupelov <voviss@gmail.com> > wrote:

> Hello dear sip-communicator contributers and lucky students,
>
> My name is Vladimir Škarupelov, I am 22 years old computer science
> student of the University of Tartu, Estonia.
>
> During GSoC'08 project I will deal with sip-communicator profiling and
> optimizations. It will be very helpful for me if you all could let me know
> slow unreliable behaviours of sip-communicator that you experienced. I will
> try monitor, profile and optimize them.
> * <voviss@gmail.com>*
> I have just setup a blog on http://developerscabin.blogspot.com
> I am also interested in the project in java.net, my username there is *
> vovis
>
> *Thanks for getting me on board and congratulations to the other
> students!
>
> Cheers,
> Vladimir
>

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#4

Hello, Thiago!

It will be really nice if you write out the steps how to profile SIP communicator with TPTP and NetBeans. Eventually I could combine your part and mine (hprof and jhat profiling) and then publish the tutorial to the contributers with special thanks to you =).

Cheers,
Vladimir

Thiago Bolaum wrote:

···

Hi Vladmir!
As I was trying the same project as you in SoC, I was able to make some progress with TPTP and Netbeans Profiler. I noticed in your blog you're having the same problems I had, since we're all collaborators here, I can show you how to run SIPComm over those 2 profilers! xD
Just give me a reply and we'll try to meet in IRC or, if you prefer, I'll send you everything by mail.

Bye and good work!

On Tue, Apr 22, 2008 at 5:24 PM, Vladimir �karupelov <voviss@gmail.com > <mailto:voviss@gmail.com>> wrote:

    Hello dear sip-communicator contributers and lucky students,

    My name is Vladimir �karupelov, I am 22 years old computer science
    student of the University of Tartu, Estonia.

    During GSoC'08 project I will deal with sip-communicator profiling
    and optimizations. It will be very helpful for me if you all could
    let me know slow unreliable behaviours of sip-communicator that
    you experienced. I will try monitor, profile and optimize them.

    I have just setup a blog on http://developerscabin.blogspot.com
    I am also interested in the project in java.net <http://java.net>,
    my username there is /*vovis

    */Thanks for getting me on board and congratulations to the other
    students!

    Cheers,
    Vladimir

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#5

Nice! We're all a team here for free software! You don't have to suffer as I
did. Nobody deserves this frustrating and annoying experience xD You need to
focus in the work it self. Those are solved issues.
I'm going to work now. But when I get home, I'll try to compile a simple
howto explaining what I learned about SIPComm's architecture and the fixes
needed to be done to run those two profilers.

Carry on,

···

On Fri, May 2, 2008 at 11:09 AM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Hello, Thiago!

It will be really nice if you write out the steps how to profile SIP
communicator with TPTP and NetBeans. Eventually I could combine your part
and mine (hprof and jhat profiling) and then publish the tutorial to the
contributers with special thanks to you =).

Cheers,
Vladimir

Thiago Bolaum wrote:

Hi Vladmir!
As I was trying the same project as you in SoC, I was able to make some
progress with TPTP and Netbeans Profiler. I noticed in your blog you're
having the same problems I had, since we're all collaborators here, I can
show you how to run SIPComm over those 2 profilers! xD
Just give me a reply and we'll try to meet in IRC or, if you prefer, I'll
send you everything by mail.

Bye and good work!

On Tue, Apr 22, 2008 at 5:24 PM, Vladimir Škarupelov <voviss@gmail.com> > wrote:

> Hello dear sip-communicator contributers and lucky students,
>
> My name is Vladimir Škarupelov, I am 22 years old computer science
> student of the University of Tartu, Estonia.
>
> During GSoC'08 project I will deal with sip-communicator profiling and
> optimizations. It will be very helpful for me if you all could let me know
> slow unreliable behaviours of sip-communicator that you experienced. I will
> try monitor, profile and optimize them.
>
> I have just setup a blog on http://developerscabin.blogspot.com
> I am also interested in the project in java.net, my username there is *
> vovis
>
> *Thanks for getting me on board and congratulations to the other
> students!
>
> Cheers,
> Vladimir
>

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#6

Actually you don't have to write anything about architecture, sip-comm is based on OSGi (apache felix) and I already have defined needed hprof classes in felix.client.run.properties when doing profiling with hprof. Then it got work.
But in case of TPTP the control agents are needed, if you could write how to handle them, I will really appriciate it, I think the other part should be similar to mine (defining profiler classes). It also seems that the TPTP control agents are not very stable, if you try to start ACServer when your EclipseTPTP profiling was once run then you will get an error - "Error starting transport layers, Agent controller exiting.
See servicelog.log for error report.".

Service log has the error description: "An error was returned from TransportLayer(1001)::startTransportLayer errNum = -1" that is not clear

Have you experienced that?

Vladimir

Thiago Bolaum wrote:

···

Nice! We're all a team here for free software! You don't have to suffer as I did. Nobody deserves this frustrating and annoying experience xD You need to focus in the work it self. Those are solved issues.
I'm going to work now. But when I get home, I'll try to compile a simple howto explaining what I learned about SIPComm's architecture and the fixes needed to be done to run those two profilers.

Carry on,

On Fri, May 2, 2008 at 11:09 AM, Vladimir �karupelov <voviss@gmail.com > <mailto:voviss@gmail.com>> wrote:

    Hello, Thiago!

    It will be really nice if you write out the steps how to profile
    SIP communicator with TPTP and NetBeans. Eventually I could
    combine your part and mine (hprof and jhat profiling) and then
    publish the tutorial to the contributers with special thanks to
    you =).

    Cheers,
    Vladimir

    Thiago Bolaum wrote:

    Hi Vladmir!
    As I was trying the same project as you in SoC, I was able to make some progress with TPTP and Netbeans Profiler. I noticed in
    your blog you're having the same problems I had, since we're all
    collaborators here, I can show you how to run SIPComm over those
    2 profilers! xD
    Just give me a reply and we'll try to meet in IRC or, if you
    prefer, I'll send you everything by mail.

    Bye and good work!

    On Tue, Apr 22, 2008 at 5:24 PM, Vladimir �karupelov >> <voviss@gmail.com <mailto:voviss@gmail.com>> wrote:

        Hello dear sip-communicator contributers and lucky students,

        My name is Vladimir �karupelov, I am 22 years old computer
        science student of the University of Tartu, Estonia.

        During GSoC'08 project I will deal with sip-communicator
        profiling and optimizations. It will be very helpful for me
        if you all could let me know slow unreliable behaviours of
        sip-communicator that you experienced. I will try monitor,
        profile and optimize them.

        I have just setup a blog on http://developerscabin.blogspot.com
        I am also interested in the project in java.net
        <http://java.net>, my username there is /*vovis

        */Thanks for getting me on board and congratulations to the
        other students!

        Cheers,
        Vladimir

    -- Thiago 'bolaum' Borges Abdnur
    ----------------------------------
    "Trust no one..."
    - Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#7

For TPTP I did this:
. Get a clean project build and create an Ant Builder for the project.
. Right click project, go to 'Builders' tab, click 'New...', choose Ant
Builder.
. . In the Main tab, Browse Workspace for 'build.xml' in 'Buildfile'
. . Go to Targets, set target 'clean' for 'After a Clean' and 'make,
-deploy-os-specific-bundles' for 'Manual Build'. The others should not be
set.
. . Mark just the Ant Builder, deselect Java Builder
. In the file lib/felix.client.run.properties add the line:
. . org.osgi.framework.bootdelegation= org.eclipse.tptp.martini.*,
. Create a run configuration: Browse for SIPComm's project. For Main class,
type in: net.java.sip.communicator.launcher.SIPCommunicator
. . Under Arguments, VM arguments should be:
. . . -Dfelix.config.properties=file:./lib/felix.client.run.properties
-Djava.util.logging.config.file=lib/logging.properties
. Now build the project and you should be able to run it and profile it

Later I'll write about Netbeans

cheers

···

On Fri, May 2, 2008 at 12:04 PM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Actually you don't have to write anything about architecture, sip-comm is
based on OSGi (apache felix) and I already have defined needed hprof classes
in felix.client.run.properties when doing profiling with hprof. Then it got
work.
But in case of TPTP the control agents are needed, if you could write how
to handle them, I will really appriciate it, I think the other part should
be similar to mine (defining profiler classes). It also seems that the TPTP
control agents are not very stable, if you try to start ACServer when your
EclipseTPTP profiling was once run then you will get an error - "Error
starting transport layers, Agent controller exiting.
See servicelog.log for error report.".

Service log has the error description: "An error was returned from
TransportLayer(1001)::startTransportLayer errNum = -1" that is not clear

Have you experienced that?

Vladimir

Thiago Bolaum wrote:

Nice! We're all a team here for free software! You don't have to suffer as
I did. Nobody deserves this frustrating and annoying experience xD You need
to focus in the work it self. Those are solved issues.
I'm going to work now. But when I get home, I'll try to compile a simple
howto explaining what I learned about SIPComm's architecture and the fixes
needed to be done to run those two profilers.

Carry on,

On Fri, May 2, 2008 at 11:09 AM, Vladimir Škarupelov <voviss@gmail.com> > wrote:

Hello, Thiago!

It will be really nice if you write out the steps how to profile SIP
communicator with TPTP and NetBeans. Eventually I could combine your part
and mine (hprof and jhat profiling) and then publish the tutorial to the
contributers with special thanks to you =).

Cheers,
Vladimir

Thiago Bolaum wrote:

Hi Vladmir!
As I was trying the same project as you in SoC, I was able to make some
progress with TPTP and Netbeans Profiler. I noticed in your blog you're
having the same problems I had, since we're all collaborators here, I can
show you how to run SIPComm over those 2 profilers! xD
Just give me a reply and we'll try to meet in IRC or, if you prefer, I'll
send you everything by mail.

Bye and good work!

On Tue, Apr 22, 2008 at 5:24 PM, Vladimir Škarupelov <voviss@gmail.com> >> wrote:

Hello dear sip-communicator contributers and lucky students,

My name is Vladimir Škarupelov, I am 22 years old computer science
student of the University of Tartu, Estonia.

During GSoC'08 project I will deal with sip-communicator profiling and
optimizations. It will be very helpful for me if you all could let me know
slow unreliable behaviours of sip-communicator that you experienced. I will
try monitor, profile and optimize them.

I have just setup a blog on http://developerscabin.blogspot.com
I am also interested in the project in java.net, my username there is *
vovis

*Thanks for getting me on board and congratulations to the other
students!

Cheers,
Vladimir

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)


#8

Hello,

Finally I got Eclipse run the TPTP profiler, my problem was in org.osgi.framework.bootdelegation property, that contained only org.eclipse.tptp.jvmti.* package, but Thiago's configuration has org.eclipse.tptp.martini.*. How did you reveal that package?

P.S. In TPTP project I don't have to start any agent controleers manually (as I did), the default one is started automagically =) once I start the profiling or testing the connection to it. The connection is held until Eclipse is up. That's why I couldn't start ACServer with Eclipse manually before.

Thanks in advance,
Vladimir

Thiago Bolaum wrote:

···

For TPTP I did this:
. Get a clean project build and create an Ant Builder for the project.
. Right click project, go to 'Builders' tab, click 'New...', choose Ant Builder.
. . In the Main tab, Browse Workspace for 'build.xml' in 'Buildfile'
. . Go to Targets, set target 'clean' for 'After a Clean' and 'make, -deploy-os-specific-bundles' for 'Manual Build'. The others should not be set.
. . Mark just the Ant Builder, deselect Java Builder
. In the file lib/felix.client.run.properties add the line:
. . org.osgi.framework.bootdelegation= org.eclipse.tptp.martini.*,
. Create a run configuration: Browse for SIPComm's project. For Main class, type in: net.java.sip.communicator.launcher.SIPCommunicator
. . Under Arguments, VM arguments should be:
. . . -Dfelix.config.properties=file:./lib/felix.client.run.properties -Djava.util.logging.config.file=lib/logging.properties
. Now build the project and you should be able to run it and profile it

Later I'll write about Netbeans

cheers

On Fri, May 2, 2008 at 12:04 PM, Vladimir �karupelov <voviss@gmail.com > <mailto:voviss@gmail.com>> wrote:

    Actually you don't have to write anything about architecture,
    sip-comm is based on OSGi (apache felix) and I already have
    defined needed hprof classes in felix.client.run.properties when
    doing profiling with hprof. Then it got work.
    But in case of TPTP the control agents are needed, if you could
    write how to handle them, I will really appriciate it, I think the
    other part should be similar to mine (defining profiler classes).
    It also seems that the TPTP control agents are not very stable, if
    you try to start ACServer when your EclipseTPTP profiling was once
    run then you will get an error - "Error starting transport layers,
    Agent controller exiting.
    See servicelog.log for error report.".

    Service log has the error description: "An error was returned from
    TransportLayer(1001)::startTransportLayer errNum = -1" that is not
    clear

    Have you experienced that?

    Vladimir

    Thiago Bolaum wrote:

    Nice! We're all a team here for free software! You don't have to
    suffer as I did. Nobody deserves this frustrating and annoying
    experience xD You need to focus in the work it self. Those are
    solved issues.
    I'm going to work now. But when I get home, I'll try to compile a
    simple howto explaining what I learned about SIPComm's
    architecture and the fixes needed to be done to run those two
    profilers.

    Carry on,

    On Fri, May 2, 2008 at 11:09 AM, Vladimir �karupelov >> <voviss@gmail.com <mailto:voviss@gmail.com>> wrote:

        Hello, Thiago!

        It will be really nice if you write out the steps how to
        profile SIP communicator with TPTP and NetBeans. Eventually I
        could combine your part and mine (hprof and jhat profiling)
        and then publish the tutorial to the contributers with
        special thanks to you =).

        Cheers,
        Vladimir

        Thiago Bolaum wrote:

        Hi Vladmir!
        As I was trying the same project as you in SoC, I was able
        to make some progress with TPTP and Netbeans Profiler. I
        noticed in your blog you're having the same problems I had,
        since we're all collaborators here, I can show you how to
        run SIPComm over those 2 profilers! xD
        Just give me a reply and we'll try to meet in IRC or, if you
        prefer, I'll send you everything by mail.

        Bye and good work!

        On Tue, Apr 22, 2008 at 5:24 PM, Vladimir �karupelov >>> <voviss@gmail.com <mailto:voviss@gmail.com>> wrote:

            Hello dear sip-communicator contributers and lucky students,

            My name is Vladimir �karupelov, I am 22 years old
            computer science student of the University of Tartu,
            Estonia.

            During GSoC'08 project I will deal with sip-communicator
            profiling and optimizations. It will be very helpful for
            me if you all could let me know slow unreliable
            behaviours of sip-communicator that you experienced. I
            will try monitor, profile and optimize them.

            I have just setup a blog on
            http://developerscabin.blogspot.com
            I am also interested in the project in java.net
            <http://java.net>, my username there is /*vovis

            */Thanks for getting me on board and congratulations to
            the other students!

            Cheers,
            Vladimir

        -- Thiago 'bolaum' Borges Abdnur
        ----------------------------------
        "Trust no one..."
        - Deep Throat (The X-Files)

    -- Thiago 'bolaum' Borges Abdnur
    ----------------------------------
    "Trust no one..."
    - Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#9

For Netbeans, basically you have to add this to
'lib/felix.client.run.properties'
org.osgi.framework.bootdelegation= org.netbeans.lib.profiler.server.*,

I think that will solve the problem as it did with Eclipse.

Bye and good work

···

On Wed, May 7, 2008 at 7:34 PM, Vladimir Škarupelov <voviss@gmail.com> wrote:

Hello,

Finally I got Eclipse run the TPTP profiler, my problem was in
org.osgi.framework.bootdelegation property, that contained only
org.eclipse.tptp.jvmti.* package, but Thiago's configuration has
org.eclipse.tptp.martini.*. How did you reveal that package?

P.S. In TPTP project I don't have to start any agent controleers manually
(as I did), the default one is started automagically =) once I start the
profiling or testing the connection to it. The connection is held until
Eclipse is up. That's why I couldn't start ACServer with Eclipse manually
before.

Thanks in advance,
Vladimir

Thiago Bolaum wrote:

For TPTP I did this:
. Get a clean project build and create an Ant Builder for the project.
. Right click project, go to 'Builders' tab, click 'New...', choose Ant
Builder.
. . In the Main tab, Browse Workspace for 'build.xml' in 'Buildfile'
. . Go to Targets, set target 'clean' for 'After a Clean' and 'make,
-deploy-os-specific-bundles' for 'Manual Build'. The others should not be
set.
. . Mark just the Ant Builder, deselect Java Builder
. In the file lib/felix.client.run.properties add the line:
. . org.osgi.framework.bootdelegation= org.eclipse.tptp.martini.*,
. Create a run configuration: Browse for SIPComm's project. For Main
class, type in: net.java.sip.communicator.launcher.SIPCommunicator
. . Under Arguments, VM arguments should be:
. . . -Dfelix.config.properties=file:./lib/felix.client.run.properties
-Djava.util.logging.config.file=lib/logging.properties
. Now build the project and you should be able to run it and profile it

Later I'll write about Netbeans

cheers

On Fri, May 2, 2008 at 12:04 PM, Vladimir Škarupelov <voviss@gmail.com<mailto: >> voviss@gmail.com>> wrote:

   Actually you don't have to write anything about architecture,
   sip-comm is based on OSGi (apache felix) and I already have
   defined needed hprof classes in felix.client.run.properties when
   doing profiling with hprof. Then it got work.
   But in case of TPTP the control agents are needed, if you could
   write how to handle them, I will really appriciate it, I think the
   other part should be similar to mine (defining profiler classes).
   It also seems that the TPTP control agents are not very stable, if
   you try to start ACServer when your EclipseTPTP profiling was once
   run then you will get an error - "Error starting transport layers,
   Agent controller exiting.
   See servicelog.log for error report.".

   Service log has the error description: "An error was returned from
   TransportLayer(1001)::startTransportLayer errNum = -1" that is not
   clear

   Have you experienced that?

   Vladimir

   Thiago Bolaum wrote:

   Nice! We're all a team here for free software! You don't have to
   suffer as I did. Nobody deserves this frustrating and annoying
   experience xD You need to focus in the work it self. Those are
   solved issues.
   I'm going to work now. But when I get home, I'll try to compile a
   simple howto explaining what I learned about SIPComm's
   architecture and the fixes needed to be done to run those two
   profilers.

   Carry on,

   On Fri, May 2, 2008 at 11:09 AM, Vladimir Škarupelov >>> <voviss@gmail.com <mailto:voviss@gmail.com>> wrote:

       Hello, Thiago!

       It will be really nice if you write out the steps how to
       profile SIP communicator with TPTP and NetBeans. Eventually I
       could combine your part and mine (hprof and jhat profiling)
       and then publish the tutorial to the contributers with
       special thanks to you =).

       Cheers,
       Vladimir

       Thiago Bolaum wrote:

       Hi Vladmir!
       As I was trying the same project as you in SoC, I was able
       to make some progress with TPTP and Netbeans Profiler. I
       noticed in your blog you're having the same problems I had,
       since we're all collaborators here, I can show you how to
       run SIPComm over those 2 profilers! xD
       Just give me a reply and we'll try to meet in IRC or, if you
       prefer, I'll send you everything by mail.

       Bye and good work!

       On Tue, Apr 22, 2008 at 5:24 PM, Vladimir Škarupelov >>>> <voviss@gmail.com <mailto:voviss@gmail.com>> wrote:

           Hello dear sip-communicator contributers and lucky students,

           My name is Vladimir Škarupelov, I am 22 years old
           computer science student of the University of Tartu,
           Estonia.

           During GSoC'08 project I will deal with sip-communicator
           profiling and optimizations. It will be very helpful for
           me if you all could let me know slow unreliable
           behaviours of sip-communicator that you experienced. I
           will try monitor, profile and optimize them.

           I have just setup a blog on
           http://developerscabin.blogspot.com
           I am also interested in the project in java.net
           <http://java.net>, my username there is /*vovis

           */Thanks for getting me on board and congratulations to
           the other students!

           Cheers,
           Vladimir

       -- Thiago 'bolaum' Borges Abdnur
       ----------------------------------
       "Trust no one..."
       - Deep Throat (The X-Files)

   -- Thiago 'bolaum' Borges Abdnur
   ----------------------------------
   "Trust no one..."
   - Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)

--
Thiago 'bolaum' Borges Abdnur
----------------------------------
"Trust no one..."
- Deep Throat (The X-Files)