Re: [ANN MINA RELATED PROJECT] MailsterSMTP 1.0.0-M1 released

2009-01-21 Thread Emmanuel Lecharny

Ashish wrote:

On Wed, Jan 21, 2009 at 6:17 AM, Edouard De Oliveira
 wrote:
  

MailsterSMTP 1.0.0-M1 is a fork of the SubEthaSMTP project whose admins decided
to drop the whole 2.x branch which used a MINA 1.1.x layer. They intend to go 
back
to blocking IO.



This means they won't be using MINA anymore :-(
  

We can point to Edouard's project instead, as it's a fork using MINA.

Also, related Project link doesn't figure in left menu, making it
difficult for people to locate.
Let me know, if you want me to fix this.
  
Yes, we need to reorganize a bit the front page. Right now, we have many 
pages we can't find without a search, which is a pity.


Let's draw a site Map, and see which page would benefit from a better 
exposition.


Thanks Ashish !

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org




Re: [ANN MINA RELATED PROJECT] MailsterSMTP 1.0.0-M1 released

2009-01-21 Thread Ashish
>>> MailsterSMTP 1.0.0-M1 is a fork of the SubEthaSMTP project whose admins
>>> decided
>>> to drop the whole 2.x branch which used a MINA 1.1.x layer. They intend
>>> to go back
>>> to blocking IO.
>> This means they won't be using MINA anymore :-(
> We can point to Edouard's project instead, as it's a fork using MINA.

Done :-)

>>
>> Also, related Project link doesn't figure in left menu, making it
>> difficult for people to locate.
>> Let me know, if you want me to fix this.
>>
>
> Yes, we need to reorganize a bit the front page. Right now, we have many
> pages we can't find without a search, which is a pity.
>
> Let's draw a site Map, and see which page would benefit from a better
> exposition.

Agree and add some colors too. Our site is very basic. I am willing to
do it, but as of now, I am struggling a bit
with my time here. Learning core stuff to meet Dev community
expectations, as well as keep my meet my team's
expectations at work.

Edouard - Please check the description on the page and update if needed.


[jira] Closed: (FTPSERVER-260) IOException under high load

2009-01-21 Thread David Latorre (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Latorre closed FTPSERVER-260.
---

Resolution: Fixed

I don't think there's much we can do to improve our handling. Maybe something 
could be done at the Mina level but I don't see that  we're suffering any 
problem now besides the log  , ERROR level, entries but since the session is 
closed  the log level  can be considered correct.




> IOException under high load
> ---
>
> Key: FTPSERVER-260
> URL: https://issues.apache.org/jira/browse/FTPSERVER-260
> Project: FtpServer
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.0.0-M3, 1.0.0-M4
> Environment: Windows XP SP3
>Reporter: John Hearn
> Attachments: FTP_LOAD_TEST.jmx
>
>
> Under high load I noticed that strange IOExceptions started appearing in the 
> server log:
> java.io.IOException: Se ha anulado una conexión establecida por el software 
> en su equipo host.
>   at sun.nio.ch.SocketDispatcher.read0(Native Method)
>   at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
>   at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
>   at sun.nio.ch.IOUtil.read(IOUtil.java:206)
>   at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:175)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:42)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:561)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857)
>   at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>   at java.lang.Thread.run(Thread.java:595)
> (The message is in spanish because I am in Spain. I believe the exception in 
> english is "Software caused connection abort" but I may be wrong).  
> I couldn't find a related bug so as a test I set up a JMeter test rig with a 
> Thread Group and a basic (passive) FTP Request (user admin, RETR README.txt). 
> Sure enough when I increase the concurrent threads this error starts 
> appearing. In fact the error can appear occacionally with a single thread 
> downloading many files consecutively.
> I have tried this with the latest versions of both JMeter and FtpServer and 
> the error is the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[FTPSERVER] Typo in documentation

2009-01-21 Thread Jiří Kuhn
Hello,

there is an example of how to configure DbUserManager (see
http://mina.apache.org/ftpserver/database-user-manager.html). There is
encrypt-password="salted" but have to be encrypt-passwords="salted" (plural
form). Users may be confused if they cut&paste and there is an error.

Jiri Kuhn.


IntelliJ IDEA for development

2009-01-21 Thread Ashish
JetBrains supports open source community, including ASF, by providing
individual licenses.
I was thinking for applying for Open Source License for MINA project

Should I go ahead and apply for it? Do we have any guidelines for the same?

I have used IntelliJ for a quite sometime and abandoned it couple of
months ago, as the new version was creating more trouble
than helping me. Lately I have been using MyEclipse for all my development.

The reason why I want to try it again is, IDEA is little lighter than
Eclipse (while running).

Any suggestions?


Re: IntelliJ IDEA for development

2009-01-21 Thread Emmanuel Lecharny
Hi Ashish,

On Wed, Jan 21, 2009 at 12:58 PM, Ashish  wrote:
> JetBrains supports open source community, including ASF, by providing
> individual licenses.
> I was thinking for applying for Open Source License for MINA project

We already have open licences. It's available somwhere in the
committers directory on people.apache.org.

Gimme a few hours until I come back home, I will then point you to the
correct location.



-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: IntelliJ IDEA for development

2009-01-21 Thread Jeff Genender
They already offer open source licenses to Apache (and many other open  
source projects) as opposed to per-project.  Committers with  
apache.org addresses just need to apply.


Here is the info:

http://www.jetbrains.com/idea/buy/buy.jsp#openSource

Thanks,

Jeff


On Jan 21, 2009, at 3:58 AM, Ashish wrote:


JetBrains supports open source community, including ASF, by providing
individual licenses.
I was thinking for applying for Open Source License for MINA project

Should I go ahead and apply for it? Do we have any guidelines for  
the same?


I have used IntelliJ for a quite sometime and abandoned it couple of
months ago, as the new version was creating more trouble
than helping me. Lately I have been using MyEclipse for all my  
development.


The reason why I want to try it again is, IDEA is little lighter than
Eclipse (while running).

Any suggestions?




Re: IntelliJ IDEA for development

2009-01-21 Thread Maarten Bosteels
In my experience it's enough to send a mail to sa...@jetbrains.com and

a) tell them you are an Apache Committer.
b) include a reference to http://mina.apache.org/contributors.html

Maarten

On Wed, Jan 21, 2009 at 3:57 PM, Emmanuel Lecharny wrote:

> Hi Ashish,
>
> On Wed, Jan 21, 2009 at 12:58 PM, Ashish  wrote:
> > JetBrains supports open source community, including ASF, by providing
> > individual licenses.
> > I was thinking for applying for Open Source License for MINA project
>
> We already have open licences. It's available somwhere in the
> committers directory on people.apache.org.
>
> Gimme a few hours until I come back home, I will then point you to the
> correct location.
>
>
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>


Re: IntelliJ IDEA for development

2009-01-21 Thread Ashish
Yeah, I did checked their site and read that.

Just wanted to check if its Okay to apply for that, as per our
community rules :-)

Thanks

On Wed, Jan 21, 2009 at 8:37 PM, Maarten Bosteels
 wrote:
> In my experience it's enough to send a mail to sa...@jetbrains.com and
>
> a) tell them you are an Apache Committer.
> b) include a reference to http://mina.apache.org/contributors.html
>
> Maarten
>
> On Wed, Jan 21, 2009 at 3:57 PM, Emmanuel Lecharny wrote:
>
>> Hi Ashish,
>>
>> On Wed, Jan 21, 2009 at 12:58 PM, Ashish  wrote:
>> > JetBrains supports open source community, including ASF, by providing
>> > individual licenses.
>> > I was thinking for applying for Open Source License for MINA project
>>
>> We already have open licences. It's available somwhere in the
>> committers directory on people.apache.org.
>>
>> Gimme a few hours until I come back home, I will then point you to the
>> correct location.
>>
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog

My Photo Galleries: http://www.pbase.com/ashishpaliwal


Re: IntelliJ IDEA for development

2009-01-21 Thread Emmanuel Lecharny
> Just wanted to check if its Okay to apply for that, as per our
> community rules :-)

It is, 100% :)
-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


[jira] Reopened: (FTPSERVER-260) IOException under high load

2009-01-21 Thread David Latorre (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Latorre reopened FTPSERVER-260:
-

  Assignee: David Latorre

> IOException under high load
> ---
>
> Key: FTPSERVER-260
> URL: https://issues.apache.org/jira/browse/FTPSERVER-260
> Project: FtpServer
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.0.0-M3, 1.0.0-M4
> Environment: Windows XP SP3
>Reporter: John Hearn
>Assignee: David Latorre
> Attachments: FTP_LOAD_TEST.jmx
>
>
> Under high load I noticed that strange IOExceptions started appearing in the 
> server log:
> java.io.IOException: Se ha anulado una conexión establecida por el software 
> en su equipo host.
>   at sun.nio.ch.SocketDispatcher.read0(Native Method)
>   at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
>   at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
>   at sun.nio.ch.IOUtil.read(IOUtil.java:206)
>   at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:175)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:42)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:561)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857)
>   at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>   at java.lang.Thread.run(Thread.java:595)
> (The message is in spanish because I am in Spain. I believe the exception in 
> english is "Software caused connection abort" but I may be wrong).  
> I couldn't find a related bug so as a test I set up a JMeter test rig with a 
> Thread Group and a basic (passive) FTP Request (user admin, RETR README.txt). 
> Sure enough when I increase the concurrent threads this error starts 
> appearing. In fact the error can appear occacionally with a single thread 
> downloading many files consecutively.
> I have tried this with the latest versions of both JMeter and FtpServer and 
> the error is the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Closed: (FTPSERVER-260) IOException under high load

2009-01-21 Thread David Latorre (JIRA)

 [ 
https://issues.apache.org/jira/browse/FTPSERVER-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Latorre closed FTPSERVER-260.
---

Resolution: Invalid

Resolution was Invalid not Fixed.

> IOException under high load
> ---
>
> Key: FTPSERVER-260
> URL: https://issues.apache.org/jira/browse/FTPSERVER-260
> Project: FtpServer
>  Issue Type: Bug
>  Components: Core
>Affects Versions: 1.0.0-M3, 1.0.0-M4
> Environment: Windows XP SP3
>Reporter: John Hearn
>Assignee: David Latorre
> Attachments: FTP_LOAD_TEST.jmx
>
>
> Under high load I noticed that strange IOExceptions started appearing in the 
> server log:
> java.io.IOException: Se ha anulado una conexión establecida por el software 
> en su equipo host.
>   at sun.nio.ch.SocketDispatcher.read0(Native Method)
>   at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25)
>   at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
>   at sun.nio.ch.IOUtil.read(IOUtil.java:206)
>   at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:175)
>   at 
> org.apache.mina.transport.socket.nio.NioProcessor.read(NioProcessor.java:42)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:561)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58)
>   at 
> org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857)
>   at 
> org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>   at java.lang.Thread.run(Thread.java:595)
> (The message is in spanish because I am in Spain. I believe the exception in 
> english is "Software caused connection abort" but I may be wrong).  
> I couldn't find a related bug so as a test I set up a JMeter test rig with a 
> Thread Group and a basic (passive) FTP Request (user admin, RETR README.txt). 
> Sure enough when I increase the concurrent threads this error starts 
> appearing. In fact the error can appear occacionally with a single thread 
> downloading many files consecutively.
> I have tried this with the latest versions of both JMeter and FtpServer and 
> the error is the same.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: Automatically reestablish connection - two nio processors problem

2009-01-21 Thread Markus Feindler

Here it is:
import org.apache.mina.core.service.IoHandlerAdapter;
import org.apache.mina.core.session.IoSession;

public class SSHClientHandler extends IoHandlerAdapter{
   @Override
   public void sessionOpened(IoSession session){
  
   }
  
   @Override

   public void sessionClosed(IoSession session){
  
   }
  
   @Override

   public void messageReceived(IoSession session, Object message){
   System.out.println("Message received: " + message.toString());
   }
}




Markus Feindler wrote:

Hello,

hi,

sorry for the delay...

I have looked at the code, but I can't run it without the 
SSHClientHandler.java class ...


Could you paste it ?

Thanks !





Re: [FTPSERVER] Typo in documentation

2009-01-21 Thread Niklas Gustavsson
On Wed, Jan 21, 2009 at 12:33 PM, Jiří Kuhn  wrote:
> there is an example of how to configure DbUserManager (see
> http://mina.apache.org/ftpserver/database-user-manager.html). There is
> encrypt-password="salted" but have to be encrypt-passwords="salted" (plural
> form). Users may be confused if they cut&paste and there is an error.

Thanks a bunch for reporting. I've fixed it, might take a few hours to
replicate.

/niklas


Re: IntelliJ IDEA for development

2009-01-21 Thread Emmanuel Lecharny

Ashish wrote:

JetBrains supports open source community, including ASF, by providing
individual licenses.
I was thinking for applying for Open Source License for MINA project

Should I go ahead and apply for it? Do we have any guidelines for the same?

I have used IntelliJ for a quite sometime and abandoned it couple of
months ago, as the new version was creating more trouble
than helping me. Lately I have been using MyEclipse for all my development.

The reason why I want to try it again is, IDEA is little lighter than
Eclipse (while running).

Any suggestions?

  

See: http://www.jetbrains.com/idea/buy/buy.html#openSource_howToApply
And fill out this form: 
http://www.jetbrains.com/eforms/ideaApachOpenSource.action?token=ideaOSLPRAN



--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org