communication errors

2 views
Skip to first unread message

Andres

unread,
Sep 22, 2007, 7:05:53 AM9/22/07
to spontaneous-desktop-grid
Me and Jaan are unable to connect to eachother's PCs - either no
advertisement or connection timeout. Has anyone had any luck using F2F
across the net if all participants are port-blocked (for incoming
connections) by ISP? We had no problem running two instances at one
PC though.

Ulrich Norbisrath

unread,
Sep 22, 2007, 7:16:41 AM9/22/07
to spontaneous-...@googlegroups.com
Hi guys,
do not dwell to deep in this matter, as you will face some
JXTA-problems, which will be extremely hard to tackle.
I would suggest, that you set up a private network between the testing
computers (they are various free things for Windows and also one
cross-platform solution out there, look at
http://vde.sourceforge.net/).
Keio, would you be so kind and also release one source code-version?

I have to do some shopping now - will look at the source code matter,
when i am back.

Cheers,
Ulrich


--
title+name: Dr. Ulrich Norbisrath
web: http://ulno.net; address+phone+fax: http://ulno.net/contact
google:unorb...@gmail.com; icq:46786247
mailto:u...@ulno.net

Keio Kraaner

unread,
Sep 25, 2007, 2:54:43 AM9/25/07
to spontaneous-...@googlegroups.com
Hi,

Framework files are updated.
F2FComputing.jar includes now also source files.

Keio

VoviS

unread,
Oct 6, 2007, 10:05:25 AM10/6/07
to spontaneous-...@googlegroups.com
Hello,
 
Keio, could you be so kind as to give us building scripts and some logging configuration, we just put the f2f code from F2FComputings.jar into SVN and the our's work testing is really a nightmare now, we must create a F2FComputing.jar, then copy it into f2fcomputings.jar (where old F2FComputings.jar resides) in sip+f2f project. And wy the log4j objects are hidden in sources, how do you debug the code ?
 
Vladimir Å karupelov

 

Keio Kraaner

unread,
Oct 8, 2007, 3:58:37 AM10/8/07
to spontaneous-...@googlegroups.com
Hi,
 
I attached build script that I use to build F2FComputing.jar.
I use F2FDebug class for debugging.
Why are you building framework yourself? I would prefer that you let me
know (and provide patches) if you find any bugs or need additional functionality.
I'm working on the framework and its code is in SVN. I don't think its the best
solution if you start to develop the framework in another repository.
We should discuss this and If it is reasonable that you develop the framework also,
then you should get access to the SVN repository I'm using and use this.
 
Keio
build.xml

Ulrich Norbisrath

unread,
Oct 8, 2007, 4:54:18 AM10/8/07
to spontaneous-...@googlegroups.com
To lift the confusion in this matter a bit, it was me that ask them to
do a branch as I didn't want to bother your (Keio's) work to much with
the experiments undertaken in my lab-course.
But if you think, letting them work directly in the repository would
not cause too much confusion and work, we can also grant access for
them to the repository.

Regards
Ulrich

Keio Kraaner

unread,
Oct 8, 2007, 5:02:19 AM10/8/07
to spontaneous-...@googlegroups.com
OK, it seams reasonable that experiments are done in a separate branch.

VoviS

unread,
Oct 18, 2007, 7:45:35 AM10/18/07
to spontaneous-...@googlegroups.com
Hello!
 
Keio, how can we painless integrate SIP communicator  and F2F framework. The question is I can't find a building script that makes something very similar to http://math.ut.ee/~keio/F2F/SIP+F2FComputing.zip . The F2F, plugin and SIP are separated and we are working now on the message sending implimentation in F2F via SIP so we need something that quickly recompiles F2F then puts it in Sip plugins and starts the sip. So is there any existing solution for the agile integration ?
 
Best,
Vladimir

Keio Kraaner

unread,
Oct 19, 2007, 9:56:09 AM10/19/07
to spontaneous-...@googlegroups.com
Hi!

Ulrich and I have good news now.
We (mainly Ulrich) changed F2F project so that it can be exported in
Eclipse as an OSGi bundle and plugged to SIP-Communicator (SC) with very
few effort.
Here are the steps to get things working:
1. Set up SC with Eclipse
a) probably you already have done this, but still I will mention that
get and compile SC like described at
http://www.sip-communicator.org/index.php/Documentation/ConfigureEclipseNew
b) convert SC project into Plug-in project
right click on SC -> PDE Tools -> Convert Projects to Plug-in
Projects...
c) with previous step META-INF folder with file MANIFEST.MF should have
been created under SC project.
double-click on MANIFEST.MF, select Runtime view and add all
possible packages under Exported Packages button "Add"
(make sure that packages
net.java.sip.communicator.service.contactlist,
net.java.sip.communicator.service.contactlist.event,
net.java.sip.communicator.service.protocol,
net.java.sip.communicator.service.protocol.event are exported)
Now SC project should be ready!
2. Set up and run F2F project.
a) get F2F sources from SVN, url is
https://spontaneous-desktop-grid.googlecode.com/svn/java/F2F/
b) export F2F as OSGi bundle
right click on SC -> Export... -> select export format (look at
export-Select.jpg) -> select export destination so that it would point
to folder SC/sc-bundles/ (look at export-Destination.jpg) -> Finish
c) to run F2F with SC create a run configuration which main
configuration looks like on run-Main.jpg and arguments configuration
should look like on run-Arguments.jpg
Now you should be able to run it successfully.

Cheers,
Keio


VoviS wrote:
> Hello!
>
> Keio, how can we painless integrate SIP communicator and F2F
> framework. The question is I can't find a building script that
> makes something very similar to
> http://math.ut.ee/~keio/F2F/SIP+F2FComputing.zip

> <http://math.ut.ee/%7Ekeio/F2F/SIP+F2FComputing.zip> . The F2F, plugin

export-Destination.JPG
export-Select.JPG
run-Arguments.JPG
run-Main.JPG

Ulrich Norbisrath

unread,
Oct 19, 2007, 11:22:49 AM10/19/07
to spontaneous-...@googlegroups.com
Some additions:
There is now a create-plugin.xml ant-script, which also deletes the
osgi-cache.
So, just use this script for building in the future instead of the
execution of eclipse.
Furthermore, I created a test-stup (F2Ftest), which can be called from
the F2F-Gui.
Here is your sandbox. Go for it and test it!

Cheers,
Ulrich

> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------


>
--
title+name: Dr. Ulrich Norbisrath

web: http://ulno.net; addr.+phone+fax+gpgkey: http://contact.ulno.net
googletalk/jabber:unorb...@googlemail.com; icq:46786247
mailto:u...@ulno.net

Ulrich Norbisrath

unread,
Oct 22, 2007, 1:40:30 PM10/22/07
to spontaneous-...@googlegroups.com
Hi Again, there was still a big bug, concerning eclipse, in our
create-plugin script, which is fixed.
Furthermore, you have also to add -Djava.library.path=lib/native/linux
or -Djava.library.path=lib/native/windows to your arguments in the
run-task and remove the not os-specific jdic_stub.jar-files from your
library-path of the sip-communicator-project.

Ulrich

> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------


>
--
title+name: Dr. Ulrich Norbisrath

Keio Kraaner

unread,
Nov 16, 2007, 2:56:44 AM11/16/07
to spontaneous-...@googlegroups.com
Hi,

now that I have added a F2F button to SC contact's context menu (when this
button is pushed a test is made that checks if the contact has our framework
installed, previously this test was done automatically) SC project has to
export two additional packages:
net.java.sip.communicator.service.gui
net.java.sip.communicator.service.gui.event
Add theme to SC project's MANIFEST.MF Exported Packages part.

Keio

----- Original Message -----
From: "Ulrich Norbisrath" <unorb...@googlemail.com>
To: <spontaneous-...@googlegroups.com>
Sent: Monday, October 22, 2007 7:40 PM
Subject: Re: communication errors


>

Keio Kraaner

unread,
Nov 21, 2007, 9:11:09 AM11/21/07
to spontaneous-...@googlegroups.com
Hi,

I would like to mention that F2FDebug.println() method outputs data to
the window that is opened when the "Open Debug window" button is pushed.

Best,
Keio

Ulrich Norbisrath

unread,
Nov 21, 2007, 9:49:39 AM11/21/07
to spontaneous-...@googlegroups.com
This means furthermore, that the Pi-example, we tested yesterday was
already working. So please take a look at it, if you develop new
f2f-applications.

Cheers,
Ulrich

--
title+name: Dr. Ulrich Norbisrath

Keio Kraaner

unread,
Dec 5, 2007, 3:08:59 AM12/5/07
to spontaneous-...@googlegroups.com
Hi,

I renamed our F2F project's build file from create-plugin.xml to
build.xml, because Eclipse didn't want to open old file with Ant Editor
in Windows.

Keio

Ulrich Norbisrath

unread,
Dec 5, 2007, 4:22:18 AM12/5/07
to spontaneous-...@googlegroups.com
I removed the dependency from eclipse in the build file - so now you can
compile without all this eclipse dependency-hassle (but still it's nice
to have set up right as it helps developing).

Cheers,
Ulrich

Keio Kraaner

unread,
Dec 5, 2007, 8:23:47 AM12/5/07
to spontaneous-...@googlegroups.com
Hi,

I changed a bit our F2F project and SIP Communicator project so, that
F2F-messages would not be shown in SC chat windows in a better way.
To get it working you need to do following:
- get updates from SVN repositories;
- apply the patch file "Sip Communicator patch.txt" (it is located in
F2F project folder) as a patch to SC project in Eclipse (project context
menu -> Team -> Apply patch);
- build SC and F2F.

I also updated the Development Setup wiki page
(http://code.google.com/p/spontaneous-desktop-grid/wiki/DevelopmentSetup).

Best,
Keio

Reply all
Reply to author
Forward
0 new messages