[tcnative, MINA multicast, SLP]: jSLP dependencies

2009-04-07 Thread Lorenz Breu
Hi guys Sorry for the cross-post two 3 lists, but this whole jSLP issue depends on work from all three areas... As mentioned in the ApacheDS devlist, jSLP will be ready for release really soon. However, jSLP relies on: --- MINA multicasting I implemen

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2009-04-07 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696439#action_12696439 ] Lorenz Breu commented on DIRMINA-438: - Yeah, sorry about that. That's just

[jira] Updated: (DIRMINA-438) Multicast support for MINA API

2009-04-06 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lorenz Breu updated DIRMINA-438: Attachment: AprDatagramConnector.java AprDatagramAcceptor.java

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2009-04-06 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12696110#action_12696110 ] Lorenz Breu commented on DIRMINA-438: - probably not. i think i "hacked

[jira] Issue Comment Edited: (DIRMINA-438) Multicast support for MINA API

2009-02-19 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675006#action_12675006 ] breul edited comment on DIRMINA-438 at 2/19/09 6:52 AM: -- - cu

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2009-02-19 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675006#action_12675006 ] Lorenz Breu commented on DIRMINA-438: - - currently only unicast is being used by

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2009-02-19 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675002#action_12675002 ] Lorenz Breu commented on DIRMINA-438: - During extensive load tests against a se

Re: [We want to hear from you] Problem/Pain area in implementing MINA based application??

2008-12-15 Thread Lorenz Breu
I also missed multicast support, however I quickly cobbled together DatagramAcceptor and DatagramConnector using the APR transport functionalities. It seems to work so far, as I have implemented an SLP service on top of my APR classes, however i am sure there are still heaps of bugs in there. The m

Re: What do you use Apache MINA for?

2008-11-25 Thread Lorenz Breu
currently working on the following: - implement SLP support for ApacheDS in order to turn it into a Directory Agent for SLP which requires - porting jSLP to the MINA framework (almost done) which requires - multicast capabilities in MINA based on the transport-apr package of MINA (first version co

[APR] behaviour of Socket.connect(remote,local)

2008-11-11 Thread Lorenz Breu
Has anyone done any work with the APR stuff? (I am asking the same question on the tomcat dev list...) Thanks to the input I got from this list I managed to fix some issues with my AprDatagramAcceptor and Connector. Now I experience the following problem when using them. I am trying to send a mess

UDP request/response, second attempt

2008-11-06 Thread Lorenz Breu
Hi again OK, these questions may seem dumb to you, so sorry for the inconvenience. Anyway, has anybody ever implemented a request/response mechanism using the Datagram classes in MINA (e.g. NIODatagramConnector)? My question is if it was intended to be used in this way, i.e. if is possible for an

UDP request/response

2008-11-05 Thread Lorenz Breu
hi guys how do you currently implement request/response sessions over UDP in MINA? can a connector do a session.write(), upon which the acceptor's handler processes the received datagram and does a session.write() to the session it received when called, upon which the original connector can d

accessing existing sockets once created

2008-10-27 Thread Lorenz Breu
Hi OK, so I have now implemented crude (Multicast) AprDatagramAcceptor and -Connector that seem to work on linux (no documentation, no error handling). My question now: I would like to have joinGroup and leaveGroup have an effect on any sockets the acceptor is "managing". Is there a way to access

[MINA/Tomcat native]: Problems with building on win32, port not retrieved, ttl not set

2008-10-23 Thread Lorenz Breu
Hi I just managed to build tomcat native on my kubuntu gutsy box, but still no progress on win32, still getting that problem with not finding UuidCreate while linking... The tomcat.jni call to recvfrom() under linux correctly fills in the port into the apr_sockaddr_t, but under win32 it doesn't,

[APR transport] recvfrom() vs recvFrom()

2008-10-21 Thread Lorenz Breu
I think I found the problem. The Socket class in tomcat.jni specifies recvFrom() whereas the native network.c implements recvfrom() (all lowercase). Changing the java method name and rebuilding tomcat removed the UnsatisfiedLink error (I mentioned this on the tomcat dev list...), and I now also get

Problems using Socket.recvFrom()

2008-10-20 Thread Lorenz Breu
Hi I tried to write an AprDatagramAcceptor and test it using the example.udp (MemoryMonitor) example by replacing the NioAcceptor with my AprAcceptor. In a fist step it seems to work when I use Socket.recv(), except that I need the sender's IP address which I don't get with a simple recv(). S

[Multicast]: Polling a necessity??

2008-10-15 Thread Lorenz Breu
Hi Julien, hi list OK, so polling won't work with java.io streams... So I was thinking about just implementing a non-polling basic set of IoProcessor, IoAcceptor and IoSession using java.io. My first set of questions concern the threading issues: A MINA application creates an acceptor, configu

Re: [Multicast] using APR transport

2008-10-15 Thread Lorenz Breu
OK, I am slowly finding my way around here... I now see how the APR polling and the NIO selector functionalities are required for the asynchronous aspect of MINA. So that leaves me with APR. long ra = Address.get(Socket.APR_REMOTE, handle) should give me a "pointer" to the remote address if i

[Multicast] using APR transport

2008-10-14 Thread Lorenz Breu
Hi guys I am trying to implement some form of multicast capability in the MINA framework. I see that you have started to implement the classes for APR support. My first attempt therefor is to create a multicast AprDatagramAcceptor. However the documentation of the APR stuff seems a bit on the

[jira] Issue Comment Edited: (DIRMINA-438) Multicast support for MINA API

2008-10-13 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639048#action_12639048 ] breul edited comment on DIRMINA-438 at 10/13/08 6:51 AM: --- He

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2008-10-13 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639048#action_12639048 ] Lorenz Breu commented on DIRMINA-438: - Hey thanks! I didn't see the tran

[jira] Commented: (DIRMINA-438) Multicast support for MINA API

2008-10-13 Thread Lorenz Breu (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639019#action_12639019 ] Lorenz Breu commented on DIRMINA-438: - It seems as though this issue has not