[JDEV] About HashMap in jabber server code

2003-06-18 Thread Ru-Shan Cheng
hi all, I had traced the jabber server code, but it's difficult to understand for me. I can't understand the hashmap when to use, and what kind of information to store in it. Does anyone can give me clues? Thanks a lot!†‰žþïÖÿÿÿþÿÿ/ÆÿÿÓÿÿÁ

[JDEV] The flow when a jabber:iq:register packet coming

2003-06-18 Thread Ru-Shan Cheng
hi all, I use GDB to trace jabber server code. When client sends a jabber:iq:register set packet to jabber server, the frame stack will be : 1. _mio_main : socket read data 2. _mio_xml_parser : call when socket read data 3. XML_Parser : call processor = contentProcessor 4.

[JDEV] Re: Trouble compiling Jabberd v1.4.2 under recent versions of Cygwin

2003-06-18 Thread Frank Seesink
QUICK NOTE: NOT a repost. Simply expanding on information again. I have discovered that this error is occurring when I use the -D debug switch when firing up Jabberd. If I run Jabberd using the basic command: ./jabberd/jabberd.exe and use the vanilla jabber.xml file, I can connect with a

[JDEV] Re: Trouble compiling Jabberd v1.4.2 under recent versions of Cygwin

2003-06-18 Thread Frank Seesink
More testing revealed the following: ./jabberd/jabberd.exe == works ./jabberd/jabberd.exe -B == works ./jabberd/jabberd.exe -v == works ./jabberd/jabberd.exe -Z == works ./jabberd/jabberd.exe -D == BOOM! I can even use -Z with a whole list of

[JDEV] Re: Webpresence revisited [Was: JabberCentral]

2003-06-18 Thread GuruJ
Rodrigo Bernardo Pimentel wrote: On Tue, Jun 17 2003 at 06:32:00PM BRT, Dougal Campbell [EMAIL PROTECTED] wrote: On Tue, 17 Jun 2003, Joe Hildebrand wrote: How did Alice find Bob's e-mail address when she got an e-mail account for the first time? Who says that she did? Maybe she hasn't found

Re: [JDEV] Re: Webpresence revisited [Was: JabberCentral]

2003-06-18 Thread Remmelt Koenes
Rodrigo Bernardo Pimentel wrote: On Tue, Jun 17 2003 at 06:32:00PM BRT, Dougal Campbell [EMAIL PROTECTED] wrote: On Tue, 17 Jun 2003, Joe Hildebrand wrote: How did Alice find Bob's e-mail address when she got an e-mail account for the first time? Who says that she did? Maybe she hasn't

Re: [JDEV] Webpresence revisited [Was: JabberCentral]

2003-06-18 Thread David 'TheRaven' Chisnall
While not an actual solution, the work-around for this I use is to set my server up to use a local JUD and also to point at users.jabber.org. I encourage users who wish to have their details made public to register with users.jabber.org. It would, perhaps, be nice if an entry in the JUD could

[JDEV] Expiry date

2003-06-18 Thread Colin Bell
Hi all I'm trying to create a time limited trial version of my java web app. All I need to do is figure out a way to keep track of the date. ie store the date and then check it, add a day until x number of days has passed. I could just create text file, but that would be too easy to find and

Re: [JDEV] Expiry date

2003-06-18 Thread Matt Tucker
Colin, This is pretty off-topic for the jdev list. You should take the question to a Java community site such as: * forum.java.sun.com * www.javaranch.com * java.net The only really secure way to have a time-limited demo is to have a license file with a specific end date (so, the license

Re: [JDEV] Expiry date

2003-06-18 Thread Ulrich B. Staudinger
Hi Colin, storing such a date depends on your type of application. If you tell somewhat more about your application, we have it easier to advise properly. An entry on one specific server i.e. can be used to track the status, but only user dependent. best regards, ulrich Colin Bell wrote: Hi

Re: [JDEV] Expiry date

2003-06-18 Thread Colin Bell
Problem solved. Thanks to those who helped out. I believe I'm off topic here so I wont drag this out. For those interested I found an excellent way to do it using the new preferences API from Java 1.4.1. Code example: Preferences prefs = Preferences.systemNodeForPackage(library.class); String

[JDEV] message formatting (XHTML IM)

2003-06-18 Thread Peter Saint-Andre
I'd like to move forward soon on XHTML IM (JEP-0071). Have any client developers started implementing this, even as a proof of concept? If so, what are your conclusions? If not, why not? I'm going to tweak the JEP over the next week or so and publish a new version, which I trust will be ready for

[JDEV] Re: Trouble compiling Jabberd v1.4.2 under recent versions of Cygwin

2003-06-18 Thread Frank Seesink
Yet more testing done. Quick background: 4-5 months ago I went through this same procedure, and I was able to build Jabberd with JUD, MU-Conference, and SSL support. I ZIPped all the appropriate files together, with the intention of building a Windows installer at some point. But I had

[JDEV] Jabberd compiling with JUD, MU-Conference, xdb_sql, AND SSL supportunder Cygwin

2003-06-18 Thread Frank Seesink
Well, my last few posts trying to get some tech feedback have been fruitless, so maybe this will be appealing to someone. In short, I have modified ./configure, ./cygwin/setup.sh, and several of the 1.4.2 distro's Makefiles. End result: You can now build Jabberd under Cygwin as you do under

Re: [JDEV] message formatting (XHTML IM)

2003-06-18 Thread Justin Georgeson
At UnBound Technologies, we had put some simple XHTML support in (bold, italic, font size). It was my experience that the feature was not widely used, and actually had some akward side-effects with MSN (extra newlines before and after messages, stuff like that). It was nice to have, and

[JDEV] Re: [standards-jig] message formatting (XHTML IM)

2003-06-18 Thread Nathan Walp
On Wed, Jun 18, 2003 at 10:49:38AM -0500, Peter Saint-Andre wrote: I'd like to move forward soon on XHTML IM (JEP-0071). Have any client developers started implementing this, even as a proof of concept? If so, what are your conclusions? If not, why not? I'm going to tweak the JEP over the next

Re: [JDEV] The flow when a jabber:iq:register packet coming

2003-06-18 Thread Robert Norris
At step 5, it will context switch to pthsock_client_read () at eval.c:41. But I cannot find eval.c file, and pthsock_client_read was found in /pthsock/client.c. My question listed as following: 1. Where is the eval.c resided in? I can't set breakpoint at this. I have no idea.