beepcore-java-users Mailing List for Java BEEP Core (Page 2)
Status: Beta
Brought to you by:
huston
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(24) |
Feb
(3) |
Mar
(18) |
Apr
(2) |
May
(11) |
Jun
(6) |
Jul
(11) |
Aug
(37) |
Sep
(22) |
Oct
(11) |
Nov
(11) |
Dec
(29) |
2003 |
Jan
(8) |
Feb
(4) |
Mar
(19) |
Apr
(13) |
May
(16) |
Jun
(15) |
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
(7) |
Nov
(13) |
Dec
|
2004 |
Jan
(1) |
Feb
(4) |
Mar
(2) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(8) |
Aug
|
Sep
(7) |
Oct
(15) |
Nov
(8) |
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
(6) |
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
(5) |
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(4) |
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Pete S. <si...@uc...> - 2005-04-11 08:20:30
|
I'm a BEEP newbie. I'm trying to understand what the demo client and server are doing by turning on logging. I have logging working to some extent, but it seems that some log messages are not output that should be. My commons-logging is using log4j, and when I change my log4j.properties file I see more or fewer messages, but I don't see log messages from code that should log. Like, some code in beepcore that does if (log.isDebugEnabled()) { log.debug("xyz"); } ...doesn't cause output. Does anyone have a log4j.properties file that controls beepcore correctly? Or do I need to do something other than change log4j.properties to get the above code to generate output? -- Pete |
From: Huston <hu...@us...> - 2004-11-16 07:36:10
|
Dave, Unfortunately this project is not something I get paid to do, so I only work on it as I have spare time (and I haven't had much spare time lately). I hope to have some time during the holidays to check-in several things I have been working on the last few months and make a new release. --Huston dave harris wrote: > Folks.. > Do this a favor to the open source development community. > I see majority of the messages here unanswered. This > definitely discourages the Open source community. > If you don't have time for support, why not just declare > EndOfLife and move on? > It's time cleanup the dead projects.... > > ------------------------------------------------------------------------ > Do you Yahoo!? > Check out the new Yahoo! Front Page. www.yahoo.com <http://www.yahoo.com> |
From: Huston <hu...@us...> - 2004-11-16 06:49:31
|
Dave, Unfortunately this project is not something I get paid to do, so I only work on it as I have spare time (and I haven't had much spare time lately). I hope to have some time during the holidays to check-in several things I have been working on the last few months and make a new release. --Huston dave harris wrote: > Folks.. > Do this a favor to the open source development community. > I see majority of the messages here unanswered. This > definitely discourages the Open source community. > If you don't have time for support, why not just declare > EndOfLife and move on? > It's time cleanup the dead projects.... > > ------------------------------------------------------------------------ > Do you Yahoo!? > Check out the new Yahoo! Front Page. www.yahoo.com <http://www.yahoo.com> |
From: dave h. <ce...@ya...> - 2004-11-13 04:53:59
|
Folks.. Do this a favor to the open source development community. I see majority of the messages here unanswered. This definitely discourages the Open source community. If you don't have time for support, why not just declare EndOfLife and move on? It's time cleanup the dead projects.... --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |
From: dave h. <ce...@ya...> - 2004-11-11 21:54:13
|
By looking at the postings here, am sure majority may not be happy with the kind of Least support we can reasonably expect out here. Can you recommend better open source BEEP java package? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: dave h. <ce...@ya...> - 2004-11-10 01:30:23
|
For some reason I can't post the reply to your posting from the website.So am sending an email to this mailing list. This website is definitely not user-friendly. When you Secure the Session with TLS profile, it applies to all the current and subsequent channels on that Session. The startTLS() call in the client code does this job for you. __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |
From: David B. <da...@ve...> - 2004-11-09 13:37:03
|
On Nov 8, 2004, at 10:26 PM, dave harris wrote: > Am looking for the sample code for the above. > Also, I've these questions: > 1. After going thro' the RFC for TLS, it supports both authentication=20= > and transport > =A0=A0 level security. Can I just use the TLS profile to support both = in=20 > my Beep implementation? Sure. Of course, to use TLS for authentication (at least, two way=20 authentication) you will need clients to have certificates. > 2. I also read in SASL that it's not a good idea to use SASL=20 > authentication on top > =A0=A0 of TLS security? Huh? SASL/PLAIN *requires* TLS. There is no problem using SASL=20 authentication on top of TLS. > BAsically, am in confused state now as to how I can use the security=20= > profiles in > BEEP. Right now, beepcore-java only ships with two SASL profiles: ANONYMOUS=20 and OTP, neither of which are particularly enhanced by TLS, but you=20 should be able to use both over TLS if you wished. There are pending patches on sourceforge for adding more SASL support. =20= So far, no one has had time to integrate them. -- David Blacka <da...@ve...> Sr. Engineer Verisign Applied Research |
From: Prashant H. <pra...@gm...> - 2004-11-09 10:30:54
|
I am trying to implement RFC 3195 based reliable syslog mechansim. In this communication, my listener is sending a close channel. For example: // once the listener figures out that he has received "NUL" message, he tries to close the //channel public void receiveNUL(Message msg){ Channel channel = msg.getChannel(); try { channel.close(); }catch(Exception e){ e.printStackTrace(); } } This results in the initiator getting the "close" message..and it responds with its close message. However, the listener is not able to process this message as he is blocked in "channel.close()" Is this the right way to use Channel.close or am I missing something? Prashant |
From: dave h. <ce...@ya...> - 2004-11-09 03:27:07
|
Am looking for the sample code for the above. Also, I've these questions: 1. After going thro' the RFC for TLS, it supports both authentication and transport level security. Can I just use the TLS profile to support both in my Beep implementation? 2. I also read in SASL that it's not a good idea to use SASL authentication on top of TLS security? BAsically, am in confused state now as to how I can use the security profiles in BEEP. thx ceek --------------------------------- Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |
From: noe <nej...@in...> - 2004-10-26 12:18:54
|
Is this a valid piece of code? Can I have a session secured with TLSProfile and then have a channel again with TLSProfile as in below? Or it is not meaningfull to do both? If I only choose to secure the session but not a channel everything is ok but when i try to do both(for session and channel) it gives me errors, plus if i choose to establish a channel with TLS like without a session TLS i again get errors! I am confused about this problem . I am using java version "1.4.2_06" and I have put the path for all the necessary jar files. Looks like not problem on installation and classpathing. Thanks for reading! sample code is taken from BeepCore Java example: try { session = TLSProfile.getDefaultInstance().startTLS((TCPSession) session); } catch (BEEPException e) { System.err.println("bing: Error unable to start TLS.\n\t" + e.getMessage()); if (privacy == PRIVACY_REQUIRED) return; } } // Start a channel for the echo profile Channel channel; try { //channel = session.startChannel(EchoProfile.ECHO_URI); channel = session.startChannel(TLSProfile.URI); //I added this line and it never works } catch (BEEPError e) { if (e.getCode() == 550) { System.err.println("bing: Error host does not support " + "echo profile"); // or TLS profile } |
From: noe <nej...@in...> - 2004-10-26 10:22:25
|
Actually, I get the below error. May be I forget to put some jar files to somewhere, any ideas? > java.util.NoSuchElementException > at java.util.LinkedList.remove(LinkedList.java:579) > at java.util.LinkedList.removeFirst(LinkedList.java:131) > at > org.beepcore.beep.core.ChannelImpl.sendFrames(ChannelImpl.java:864) > at > org.beepcore.beep.core.ChannelImpl.sendQueuedMessages(ChannelImpl.java:773) > at > org.beepcore.beep.core.ChannelImpl.sendToPeer(ChannelImpl.java:754) > at > org.beepcore.beep.core.ChannelImpl.sendMessage(ChannelImpl.java:745) > at > org.beepcore.beep.core.MessageMSGImpl.sendRPY(MessageMSGImpl.java:176) > at > org.beepcore.beep.profile.tls.jsse.TLSProfileJSSE.receiveMSG(TLSProfileJSSE.java:575) > at org.beepcore.beep.core.ChannelImpl.run(ChannelImpl.java:363) > at > edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:655) > at java.lang.Thread.run(Thread.java:534) |
From: noe <nej...@in...> - 2004-10-26 10:13:48
|
Hello David, No I didn't try it yet and actually i just downloded it so it will take me sometime to figure it out. Thanks |
From: David B. <da...@ve...> - 2004-10-26 02:34:09
|
noe wrote: > Hi Again, > I still have the below problem ,anybody has the solution ? > > > --------------------------------------------------------------------------------------------------------------------- > > P.S=Thank you very much David. I really helped me! > > Hello friends, > > When I run Beep example (Beepd,Bing) i can only use Echo Profile but > not the TLS one, it doesn't allow me to do that.Indeed, each time i try > to use TLS, i get a message indicating that it is not supported by the > host,but you know that it parses the xml doc and registers the profiles. > > Lastly, i didn't change anything in the example files, except the > "bing.java" is ,now, asking for a TLS profile instead of an Echo. > Has anybody got the same problem or a solution? This works out of the box for me. Are you certain that you didn't change anything? Can you use ethereal to see what beepd is advertising? -- David Blacka <da...@ve...> Sr. Engineer Verisign Applied Research |
From: noe <nej...@in...> - 2004-10-25 22:11:45
|
Hi Again, I still have the below problem ,anybody has the solution ? --------------------------------------------------------------------------------------------------------------------- P.S=Thank you very much David. I really helped me! Hello friends, When I run Beep example (Beepd,Bing) i can only use Echo Profile but not the TLS one, it doesn't allow me to do that.Indeed, each time i try to use TLS, i get a message indicating that it is not supported by the host,but you know that it parses the xml doc and registers the profiles. Lastly, i didn't change anything in the example files, except the "bing.java" is ,now, asking for a TLS profile instead of an Echo. Has anybody got the same problem or a solution? Cheers |
From: William J. M. <wm...@es...> - 2004-10-25 17:41:09
|
Both peers are advertizing the profile? That would be the first thing I'd check. This sounds to me like perhaps the A peer is not advertizing, so the B perr returns the unsupported. -bill On Sun, Oct 24, 2004 at 11:51:33PM -0700, dave harris wrote: > > > > I've 2 peers trying to start their own channel on > > the each other's Profile on a shared > > Session. > > Peer A to Peer B communication is fine. When Peer B > > tries to reuse the > > received Session object to start the Channel using > > session.startChannel(ProfileA), > > I get this exception of Unsupported profile. I did > > dig thro' the archive and > > found similar issue from others but no concrete > > solution yet. > > thanks for the help. > > > > Is there any good reference for BEEP with some > > sequence diagrams? > > > > regds > > Ram > > > Do you Yahoo!? > > vote.yahoo.com - Register online to vote today! |
From: Andrew N. <an...@hx...> - 2004-10-25 14:02:42
|
On Oct 22, 2004, at 4:40 PM, dave harris wrote: > Is there any good reference for BEEP with some sequence diagrams? There's always Marshall's book: http://search.barnesandnoble.com/booksearch/isbnInquiry.asp? userid=lL56UfGA7M&isbn=0596002440&itm=4 -andy |
From: dave h. <ce...@ya...> - 2004-10-25 06:51:40
|
> I've 2 peers trying to start their own channel on > the each other's Profile on a shared > Session. > Peer A to Peer B communication is fine. When Peer B > tries to reuse the > received Session object to start the Channel using > session.startChannel(ProfileA), > I get this exception of Unsupported profile. I did > dig thro' the archive and > found similar issue from others but no concrete > solution yet. > thanks for the help. > > Is there any good reference for BEEP with some > sequence diagrams? > > regds > Ram > Do you Yahoo!? > vote.yahoo.com - Register online to vote today! _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |
From: dave h. <ce...@ya...> - 2004-10-22 20:40:32
|
I've 2 peers trying to start their own channel on the each other's Profile on a shared Session. Peer A to Peer B communication is fine. When Peer B tries to reuse the received Session object to start the Channel using session.startChannel(ProfileA), I get this exception of Unsupported profile. I did dig thro' the archive and found similar issue from others but no concrete solution yet. thanks for the help. Is there any good reference for BEEP with some sequence diagrams? regds Ram --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! |
From: noe <nej...@in...> - 2004-10-13 16:27:49
|
P.S=Thank you very much David. I really helped me! Hello friends, When I run Beep example (Beepd,Bing) i can only use Echo Profile but not the TLS one, it doesn't allow me to do that.Indeed, each time i try to use TLS, i get a message indicating that it is not supported by the host,but you know that it parses the xml doc and registers the profiles. Lastly, i didn't change anything in the example files, except the "bing.java" is ,now, asking for a TLS profile instead of an Echo. Has anybody got the same problem or a solution? Cheers |
From: David B. <da...@ve...> - 2004-10-12 14:33:44
|
noe wrote: > Hi People, > Anybody can help me with the below problem it is been days that i > couldn't solve it.I really need some help! Thanks... > > > org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558) > at > org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355) > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409) > at mankana.<init>(mankana.java:39) > at mankana.main(mankana.java:98) > Caused by: java.lang.NullPointerException > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543) See <http://jakarta.apache.org/commons/logging/guide.html> Commons logging is a wrapper around a number of possible different logging systems, the most popular two are Log4J and the java.util.logging.* classes in Java 1.4. Beepcore-Java uses commons-logging so that folks using it can get beepcore-j to log using their application's logging system, rather than forcing you to use beepcore-j's logging system. In your specific case, I cannot tell exactly why you are getting NullPointerExceptions. But, I suggest you put the log4j (<http://logging.apache.org/log4j/docs/>) package in your classpath, as that is the most natural fit for commons-logging. I will admit that figuring out how to configure commons-logging to do exactly what you want can be confusing. The technique that has worked best for me is to configure log4j before any of the commons-logging code gets called. (Actually, when using log4j, I don't think you need to configure it before the commons-logging stuff is called, but if you are going to use a different logging system, you need to set that up first, I believe). For example: public static void main(String[] args) { ... BasicConfigurator.configure(); // manually set the logging level to debug. Logger rootLogger = Logger.getRootLogger(); rootLogger.setLevel(Level.DEBUG); Log log = LogFactory.getLog(YourClass.class); log.debug("debug logging turned on"); } -- David Blacka <da...@ve...> Sr. Engineer VeriSign Applied Research |
From: David B. <dav...@ve...> - 2004-10-12 14:28:30
|
noe wrote: > Hi People, > Anybody can help me with the below problem it is been days that i > couldn't solve it.I really need some help! Thanks... > > > org.apache.commons.logging.LogConfigurationException: > java.lang.NullPointerException > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558) > at > org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355) > at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409) > at mankana.<init>(mankana.java:39) > at mankana.main(mankana.java:98) > Caused by: java.lang.NullPointerException > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543) See <http://jakarta.apache.org/commons/logging/guide.html> Commons logging is a wrapper around a number of possible different logging systems, the most popular two are Log4J and the java.util.logging.* classes in Java 1.4. Beepcore-Java uses commons-logging so that folks using it can get beepcore-j to log using their application's logging system, rather than forcing you to use beepcore-j's logging system. In your specific case, I cannot tell exactly why you are getting NullPointerExceptions. But, I suggest you put the log4j (<http://logging.apache.org/log4j/docs/>) package in your classpath, as that is the most natural fit for commons-logging. I will admit that figuring out how to configure commons-logging to do exactly what you want can be confusing. The technique that has worked best for me is to configure log4j before any of the commons-logging code gets called. (Actually, when using log4j, I don't think you need to configure it before the commons-logging stuff is called, but if you are going to use a different logging system, you need to set that up first, I believe). For example: public static void main(String[] args) { ... BasicConfigurator.configure(); // manually set the logging level to debug. Logger rootLogger = Logger.getRootLogger(); rootLogger.setLevel(Level.DEBUG); Log log = LogFactory.getLog(YourClass.class); log.debug("debug logging turned on"); } -- David Blacka <da...@ve...> Sr. Engineer VeriSign Applied Research |
From: noe <nej...@in...> - 2004-10-12 09:06:59
|
Hi People, Anybody can help me with the below problem it is been days that i couldn't solve it.I really need some help! Thanks... org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:558) at org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:355) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:409) at mankana.<init>(mankana.java:39) at mankana.main(mankana.java:98) Caused by: java.lang.NullPointerException at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:543) |
From: Greg W. <gr...@mo...> - 2004-10-12 01:10:56
|
Hi, I've been given permission from Cisco to donate some code to the beepcore project, for SASL/md5digest SASL/anonymous and SASL/SOAP profiles. While not definitive solutions, these profiles are good steps in the right direction to a better SASL solution. They are written against the 1.1 RI SASL API and provide a wrapper to access the providers in the com.sun.security.sasl.preview package included with JRE 1.4 The code sits side by side with the other sasl code, but it would probably be best to align all the implementations and to work towards a single SASL API (with configuration determining the actual provider used). The cisco code will be able to be release later this week. Is there anybody that I can chat to about this contribution and the intended future direction of the beepcore sasl code? cheers |
From: noe <nej...@in...> - 2004-10-07 14:46:35
|
Hi Everyone, I am new in BeepCore and I didn't understand the idea about the loggers why do we need to use loggers and what is the relationship between commons ans Log4J? In addition to that, whenever i try to run the program it returns me a null pointer exception: > java Beepd > java.lang.NullPointerException When i run it with -verbose option, at the end i get this: > [Loaded java.net.URLClassLoader$2 from > /usr/java/j2sdk1.4.2_05/jre/lib/rt.jar] > [Loaded org.apache.commons.logging.LogConfigurationException from > /usr/java/j2sdk1.4.2_05/jre/lib/endorsed/commons-logging.jar] > java.lang.NullPointerException > [Loaded java.lang.Shutdown from /usr/java/j2sdk1.4.2_05/jre/lib/rt.jar] > [Loaded java.lang.Shutdown$Lock from > /usr/java/j2sdk1.4.2_05/jre/lib/rt.jar] which is related to commons.logging. I don't know how to configure commons and log4j. Could you please help if you know about hat the problem is? Thank you very much. |
From: Harrie H. <ha...@in...> - 2004-09-13 14:41:32
|
Hi David, There is also a 'java.util.logging.Level' and 'java.util.logging.Logger' class in the since 1.4. So it would maybe better to use those. Harrie Harrie Hazewinkel wrote: > David Blacka wrote: > >> Harrie Hazewinkel wrote: >> >>> HI, >>> >>> While checking out the functionality of beepcore-java >>> I run into a problem of the API with log4j. Attached is a >>> patch that fixes the code for a recent 1.3 version of log4j. >>> Hope it will be applied. >> >> >> >> What was the actual problem? >> >> I will note that the commons-logging package will absolutely use log4j >> if log4j is present in the classpath. You should be able to >> configure log4j first, and control the behavior of the commons-logging >> package. At that point, it is just a basic wrapper around log4j. >> > > While compiling the code I got a lot of errors, like package not found > (due to classpatch indeed), but also some method API problems. > While investigating I saw you seemed to have a different API > for it (the common-logging), so I changed it directly into a recent > version of the log4j. > > I did not follow log4j that close, but if I understand it well > it as become a more 'stand-alone' package with the name log4j. > The logging-common is still there, but would you really keep that > layer in between? You may decide that. > > > cheers, > Harrie > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Beepcore-java-users mailing list > Bee...@li... > https://lists.sourceforge.net/lists/listinfo/beepcore-java-users |