hofmannma - 2005-12-07

hello
i downloaded the complete ctk (version ctk-12292003) and tried to run it. unfortunatly there is a problem. When i start the discoverer everything looks fine. These are the debuginformations:
---------------
Attempting to create a discoverer on 5555 at with storage disabled
ClientsPool constructor nb th=10
Multicast service : port 6655 group 225.4.5.6
LeasesWatcher <init> The timer (120000)has started... at Wed Dec 07 15:43:44 CET 2005
baseObject <ping independent>

BaseObject runMethod ping

The discovererMediator gets the reply from the the element

DiscovererMediator <handleIndependentReply> Reply=
[name=pingReply, pingReply-value 0=
[name=errorCode, errorCode-value 0=noError]] - exceptions []
DiscovererMediator <handleIndependentReply> add the comp
Lease nbTimeSlots = 1
Lease - start date=Wed Dec 07 15:43:44 CET 2005
- end=Wed Dec 07 15:44:44 CET 2005
userRequest=<RequestObject>: to 10.50.28.179 at 6000 for discovererRegistration with null

BaseObject runMethod discovererRegistration

------- SubscriberIndexTable table= subscriber{}

id=Discoverer_carmbel00079_6000
LeaseKeeper <removeLease>
LeasesKeeper <removeLease> new leases ={}
Lease nbTimeSlots = 10000
Lease - start date=Wed Dec 07 15:43:44 CET 2005
- end=Wed Dec 14 14:23:44 CET 2005

BaseObject <discovererRegistration> error:noError

___________________

but when i try to start the widget WPersonNamePresence2 with the parameter "discover", it is not able to find the discoverer while writing this debuginformations:

ClientsPool constructor nb th=10
Multicast service : port 6655 group 225.4.5.6
BO <findDiscoverer>
Discoverer : Id=null - Host=null - port=-1
in loop
BO <findDiscoverer> has sent a multicast message and now is waiting for = 1000
BO <findDiscoverer> has sent a multicast message and now is waiting for = 2000
BO <findDiscoverer> has sent a multicast message and now is waiting for = 4000
BO <findDiscoverer> has sent a multicast message and now is waiting for = 8000
BaseObject findDiscoverer NullPointerException java.lang.NullPointerException
Vector v=[
[name=callerId, callerId-value 0=PersonNamePresence2_carmbel00079_5000],
[name=hostname, hostname-value 0=10.50.28.179],
[name=port, port-value 0=5000]]
lookup=
[name=lookupDiscoverer, lookupDiscoverer-value 0=
[name=caller, caller-value 0=
[name=callerId, callerId-value 0=PersonNamePresence2_carmbel00079_5000], caller-value 1=
[name=hostname, hostname-value 0=10.50.28.179], caller-value 2=
[name=port, port-value 0=5000]]]

________________________

... the same with SimpleApp..

Now i installed the ctk on friends computer with a networkconnection.... it runs fine!!!
In my opinion there is a problem with the multicastsocket.
Can anyone help me? Please contact me anyway.

I think this framework has a lot of potential and i like to work with it alot. reffering to this i am looking for people who also work with it and who wants to get in contact with me to get an information exchange.

Thanks alot in advance

Martin