New to BEEP

Grant Wood <[email protected]> Mon, 24 Mar 2003 18:22:37 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <[email protected]>
Hi,

First, let me say that this is an excellent project that will 
ultimately save me a lot of time and energy.  Great work, keep it up. 
Having said that, I'm a bit frustrated getting my first profile going.  
I've looked through the mailing list archive, but have been unable to 
find any comments related to my problem.  It seems like such a 
no-brainer that its driving me nuts.

running a listener on a win2000 machine running java1.4.1_02
starting a "client" session on a macOSX machine running java 1.4.1
using beepcore version 0.9.07

Here's my problem:
Channel channel = session.startChannel(MySpecificURI);
but it never returns the channel?  Why not?

When I do this, the listener on my "server" calls startChannel() so I 
assume the session is getting established fine.  Everything hangs at 
this point without any errors.  receiveMSG never gets called on the 
server because I never get a channel back on the client to send a 
message with using channel.sendMSG().  None of the examples I've seen 
use a separate thread to establish a channel, but it seems to be 
waiting for something... Is this assessment right?

Other considerations:
If I try and change the Profile URI to a bogus URI it fails the way 
you'd expect.
I can telnet to the server and receive a <greeting></greeting>  just 
fine.

There must be something obvious I'm missing here, because my client 
code looks very similar to that of the example(except for the tons of 
debugging code), but I can't see where I'm forgetting anything. I 
realize this isn't much information to go on, but any help or 
suggestions would be greatly appreciated.

Grant Wood
[email protected]



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en