Re: [PATCH] IMAP - Append Command
Personally, I think we should look for a way to componentize JAMES far enough to where building in IMAP is as simple as flicking a switch so that there is no need for a divergent versions of things. -Andy Danny Angus wrote: Sascha, I'm happy to work with you to get these changes in, then to assess IMAP and propose a vote if it appears to be half way stable, but 1/ please could you help me by making your patches conform to the guidelines http://jakarta.apache.org/james/contribute.html diff -u from the /proposals/imap dir, and zip new files from there too. Then I don't have to work out paths, and go looking for files to patch. and 2/ Perhaps if I add a task to the main build file that will build James with IMAP that would be a reasonable interim before we put it back into the HEAD. d. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 12120] New: - java.net.SocketException in POP3server
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120 java.net.SocketException in POP3server Summary: java.net.SocketException in POP3server Product: James Version: 2.0a3 Platform: PC OS/Version: Windows XP Status: NEW Severity: Major Priority: Other Component: POP3Server AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] this log is from james-2.1a1-2002-08-18 but is also present in v2.0a3. i am using JRE 1.3.1 or 1.3.1_02, both are installed. i am also using the same configuration as my working v2.0a2 which does not have this error. this error only occurs when there is new mail on the server. 27/08/02 09:41:28 DEBUG pop3server: Command received: RETR 1 27/08/02 09:41:28 DEBUG pop3server: Sent: +OK Message follows 27/08/02 09:42:31 ERROR pop3server: Exception during connection from 192.168.1.1 (192.168.1.1) : Connection reset by peer: JVM_recv in socket input stream read java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.io.InputStreamReader.fill(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at org.apache.james.pop3server.POP3Handler.handleConnection (POP3Handler.java:207) at org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run (Connection.java:169) at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute (ExecutableRunnable.java:47) at org.apache.avalon.excalibur.thread.impl.WorkerThread.run (WorkerThread.java:80) 27/08/02 09:43:28 ERROR pop3server: Connection timeout on socket -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: [PATCH] NNTPHandler.java does not dispatch next co
Confirmed your patch. It wasn't clear to me from the spec if the current id needed to be returned or the updated id. Did the wrong thing. Confirmed patch by $ telnet news4.euro.net 119 S: 201 news4.euro.net NNRP Service Ready - [EMAIL PROTECTED] (no posting). C: GROUP comp.lang.python S: 211 4829 208102 212930 comp.lang.python C: NEXT S: 223 208103 [EMAIL PROTECTED] Article retrieved; S: request text separately. C: NEXT S: 223 208104 [EMAIL PROTECTED] Article retrieved; reque S: st text separately. C: LAST S: 223 208103 [EMAIL PROTECTED] Article retrieved; S: request text separately. I don't think this was the cause of offset by one issue. NEXT and LAST are not used (at least at start communication time) by most nntp clients and the NEXT code wasn't evaluated at all as Christian pointed out. thanks for the good fixes. Harmeet - Original Message - From: Christian Buchegger [EMAIL PROTECTED] Sent: Thursday, August 29 2002, 7:35 AM Danny, for a detailled explanation of the expected behavior have a look at the 9.1.1.3.2 NEXT Examples in the draft-ietf-nntpext-base-13.txt. In the first example the previous behavior would have returned the article with the number 3000234 whereas with the fix, the first next command after selecting a group returns the second article in this group. This is my understanding from what I read in the examples. Additonally I doubt that this would exhibit a regresseion, as the involved code was never executed before due to the missing dispatch of the next command. Christian - Original Message - From: Danny Angus [EMAIL PROTECTED] To: James Developers List [EMAIL PROTECTED] Sent: Monday, August 26, 2002 9:48 PM Subject: RE: [PATCH] NNTPHandler.java does not dispatch next command Christian, I've commited this, but I'd appreciate you telling me what difference the pre-increment/post-increment article number change makes. I know NNTP suffered from not displaying the first post to a group until a second post had been made, and hope this isn't going to revive that bug. d. -Original Message- From: Christian Buchegger [mailto:[EMAIL PROTECTED]] Sent: 26 August 2002 20:30 To: [EMAIL PROTECTED] Subject: [PATCH] NNTPHandler.java does not dispatch next command NNTPHandler.java does not dispatch the next command to the method doNEXT. Additionally the commands next and last behave like send(header(CurrentArticleNumber++)); while they should behave like: send(header(++CurrentArticleNumber)); The attached patch corrects both problems. Christian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 12120] - java.net.SocketException in POP3server
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120 java.net.SocketException in POP3server --- Additional Comments From [EMAIL PROTECTED] 2002-08-28 17:23 --- correction: was using jre1.3.1_03. uninstalled 1.3.1_03 and installed jre1.4.1 rc then tested 2.0a2 with no errors. tested james-2.1a1-2002-08-18 with new jre and got a slightly different error while trying to retrieve mail. haven't tried 2.0a3 yet but i expect the same results. 28/08/02 11:52:43 DEBUG pop3server: Command received: STAT 28/08/02 11:52:43 DEBUG pop3server: Sent: +OK 1 5520 28/08/02 11:52:43 DEBUG pop3server: Command received: LIST 28/08/02 11:52:43 DEBUG pop3server: Sent: +OK 1 5520 28/08/02 11:52:43 DEBUG pop3server: Command received: RETR 1 28/08/02 11:52:43 DEBUG pop3server: Sent: +OK Message follows 28/08/02 11:53:40 ERROR pop3server: Exception during connection from 192.168.1.1 (192.168.1.1) : Connection reset java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder$CharsetSD.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.fill(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at java.io.BufferedReader.readLine(Unknown Source) at org.apache.james.pop3server.POP3Handler.handleConnection (POP3Handler.java:207) at org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run (Connection.java:169) at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute (ExecutableRunnable.java:47) at org.apache.avalon.excalibur.thread.impl.WorkerThread.run (WorkerThread.java:80) 28/08/02 11:54:43 ERROR pop3server: Connection timeout on socket -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 12120] - java.net.SocketException in POP3server
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12120 java.net.SocketException in POP3server --- Additional Comments From [EMAIL PROTECTED] 2002-08-28 18:48 --- Interesting, and I'm unable to reproduce this on win2k or Linux, could you give us additional details, stuff like your server and client OS's, client software, and any relevant configuration details. You may find it helpful to subscribe to the james users mailing list. (see the jakarta website) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]