Re: Eclipse/OSGi classpath issues?

2008-11-13 Thread Barrie Treloar
On Thu, Nov 13, 2008 at 6:35 PM, Johan Haleby [EMAIL PROTECTED] wrote: Are you sure you've imported and exported the correct packages in your manifest files? I've managed to use Mina 1.1.7 and 2.0.0-m3 in OSGi/Eclipse without any problems. In my case I just wrapped the Mina jar in a separate

Re: Eclipse/OSGi classpath issues?

2008-11-13 Thread Barrie Treloar
On Thu, Nov 13, 2008 at 8:24 PM, Johan Haleby [EMAIL PROTECTED] wrote: Wrapping a jar file as an osgi bundle is really quite simple in some cases. If you're using Eclispe just do File New Project... Plug-in Development Plug-in from existing JAR archive and a bundle wrapping the jar file

Re: Eclipse/OSGi classpath issues?

2008-11-13 Thread Johan Haleby
Eclipse will add the needed headers to the new bundle wrapping the Mina jar. You don't have to change the mina jar file at all. On Thu, Nov 13, 2008 at 11:07 AM, Barrie Treloar [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 8:24 PM, Johan Haleby [EMAIL PROTECTED] wrote: Wrapping a jar file

Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
Hi there, I successfully used MINA with TCP transport. Now I want to be able to use UDP too. But it seems, that messages above 2048byte size, are not read properly. Here's some logoutput showing the problem: --log-- // client sends the message 2008-11-13 12:03:29,993 [INFO ] t_id=14

unable to find ftpd_ui.bat or ftpd_ui.sh

2008-11-13 Thread Bru, Pierre
In http://mina.apache.org/ftpserver/installation.html I can read: If you want to use your own jar files, you can put those jar files in system CLASSPATH or copy those jar files in the INSTALL_DIR/common/lib directory. If you want to run it using Swing UI, go to INSTALL_DIR directory and execute

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 13:40:57 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Alexander Christian wrote: Hi there, I successfully used MINA with TCP transport. Now I want to be able to use UDP too. But it seems, that messages above 2048byte size, are not read properly. What if you set

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 14:11:23 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Well, you are experiencing UDP packet less, which is something quite usual with UDP, as it's not a reliable transport. Hmm, I know, but I thought MINA would handle this somehow ;-( The thing is to determinate

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Emmanuel Lecharny
Alexander Christian wrote: On Thu, 13 Nov 2008 11:43:56 -0200, Andres Martinez Quijano [EMAIL PROTECTED] wrote: MINA can't do anything about it, it's the underlying transport. What MINA does is let you swap transports very easily, use TCP and forget about that problem It's not an

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Alexander Christian
On Thu, 13 Nov 2008 14:56:25 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Exactly. You buy speed by having an unreliable transport. That's somehow fair, if you can accept loosing packets (for instance to transmit voice or video, as you can fill the blanks ...). Sure, but in some cases,

Re: Eclipse/OSGi classpath issues?

2008-11-13 Thread Barrie Treloar
On Thu, Nov 13, 2008 at 9:06 PM, Johan Haleby [EMAIL PROTECTED] wrote: Eclipse will add the needed headers to the new bundle wrapping the Mina jar. You don't have to change the mina jar file at all. Yes, but I seed my eclipse target directory via maven, so it would be nice if Mina came already

Re: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Emmanuel Lecharny
Alexander Christian wrote: On Thu, 13 Nov 2008 14:56:25 +0100, Emmanuel Lecharny [EMAIL PROTECTED] wrote: Exactly. You buy speed by having an unreliable transport. That's somehow fair, if you can accept loosing packets (for instance to transmit voice or video, as you can fill the blanks

Re: unable to find ftpd_ui.bat or ftpd_ui.sh

2008-11-13 Thread Steve Luebbe
distributions but was not able to find either :( Do these scripts exist? TIA, Pierre. __ Information from ESET NOD32 Antivirus, version of virus signature database 3608 (20081113) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

RE: Problem with UDP: 2406 bytes sent, but only 2048 bytes received?!

2008-11-13 Thread Bach Christian
In general, to implement reliable multicast/unicast over UDP you will need special/custom layers in the protocol stacks of both the sender and receiver(s) of your communication. To quote from the previously referenced resource http://www.29west.com/docs/THPM/udp-buffer-sizing.html, section 8.3:

Re: unable to find ftpd_ui.bat or ftpd_ui.sh

2008-11-13 Thread Niklas Gustavsson
On Thu, Nov 13, 2008 at 2:41 PM, Steve Luebbe [EMAIL PROTECTED] wrote: I looked all over for the ftpd_ui.bat as well with no luck. I'm not sure if the documentation is out of date or if that file is simply missing... The documentation is out of date (there is a JIRA issue for this), the admin

Re: Outdated/Incorrect documentation on embedding FTP Server

2008-11-13 Thread Niklas Gustavsson
On Thu, Nov 13, 2008 at 5:19 PM, Sai Pullabhotla [EMAIL PROTECTED] wrote: The URL http://mina.apache.org/ftpserver/embedding-ftpserver-in-5-minutes.html talks about embedding FTP server into Java apps, but it seems outdated or incorrect. I could not find a class named FTPServerFactory. It