You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Martin Woolley <ma...@woolleynet.com> on 2003/01/09 14:08:35 UTC

NNTP : cannot download postings

I have James running with only the NNTP service enabled. I am able to post
messages. The client can see that there are messages in the group concerned
(ie it can indicate that there are a number of new messages) but it cannot
download the messages themselves. I have tried various clients and servers,
namely:

James on Windows 2000. Outlook Express 6.00 client.

James on Linux. Outlook Express 6.00 client and Netscape Communicator 6
client.

In both cases, the behaviour is the same and somewhat odd. If I'm
quick/lucky I do see new messages briefly. If I try to open them with
Outlook I get "Message is no longer available on the server" and the message
disappears instantly from the message list. The
\var\nntp\groups\org.apache.avalon.dev directory contains 3 files, as per
the number of test postings I have made.

Could someone help with some suggestions on this please? Happy to provide
more information if required.

Thanks in anticipation

Martin
---------------------------------------------------------------------------T
his email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Copying this email or in any way disseminating its content to any other
person is strictly prohibited. If you have received this email in error
please notify postmaster@eigroup.com
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
Copying this email or in any way disseminating its content to any other
person is strictly prohibited. If you have received this email in error
please notify postmaster@eigroup.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by Martin Woolley <ma...@woolleynet.com>.
Hi

the environment is Windows 2000 with both the client and James running on
the same box and using OE 6. JDK is Sun JDK1.3_06. I will actually be
deploying on Linux but it's convenient for me to do quick installs/tests on
my win2k box.

Despite the "oddities", I reckon the build I'm now using is good enough for
us to get started with and so I have installed on our Linux server and told
my own Dev team to go to it. I've also asked them to report any issues so
that I can give you feedback.

All the best

Martin

-----Original Message-----
From: Noel J. Bergman [mailto:noel@devtech.com]
Sent: 10 January 2003 16:59
To: James Users List
Subject: RE: NNTP: Nightly Build available for testing


Martin,

Thank you for testing.

What is your test environment?  There is an open bug report when using
James' NNTP support on NTFS.  I am running the server on linux with Sun JDK
1.4.1.  The clients are WinXP with Microsoft Outlook Express 6, Netscape
News and Opera 6.

-- Martin Woolley @ Jan 10, 2003 5:05 --
> - improved from yesterday but still problems

The NNTP code is still experimental, and needs more development work.  As
long as we're making progress, and can identify precisely remaining issues,
that's good.  Harmeet is working on an NNTP protocol test, which would help
identify protocol errors more clearly than testing with a typical news
client.

See: http://nagoya.apache.org/wiki/apachewiki.cgi?JamesNNTP for current
known status of the NNTP implementation.

> - I am running with the default newsgroups (avalon.dev/user,
james.dev/user).

OK.  I have those, plus a couple I created for testing.

> - I posted 2 messages to the avalon.dev group (first in the list). There
is no
> sign of the messages via the client (OE). I can see the corresponding
files in
> the file system but no indication at all that the group contains messages
from
> the client.

> - I can post to the other three groups, including replies and so far
everything
> works as expected.

Interesting.  I posted to all of my newsgroups, and all of them work.  And
according to a later note from you, they are now working for you, too?

-- Martin Woolley @ Jan 10, 2003 6:37 --

> Retrieving the list of NewsGroups from the server with OE results in";
> 500 Unknown command
> Configuration:
>   Account: localhost
>   Server: localhost
>   Protocol: NNTP
>   Port: 119
>   Secure(SSL): 0
>   Error Number: 500
>   Code: 800ccca2

Would you please go into SAR-INF/environment.xml and change the two NNTP
related entries from INFO to DEBUG?  :-)  I see something similar:

10/01/03 09:46:14 DEBUG nntpserver: Command received: LIST
10/01/03 09:46:15 DEBUG nntpserver: Sent: 215 list of newsgroups follows
  ...
10/01/03 09:46:15 DEBUG nntpserver: Sent: .
10/01/03 09:46:15 DEBUG nntpserver: Command received:
10/01/03 09:46:15 DEBUG nntpserver: Received unknown command  with argument
null
10/01/03 09:46:15 DEBUG nntpserver: Sent: 500 Unknown command

As you can see, after the LIST command was processed, Outlook Express 6
appears to send a blank command.  Neither Opera or Netscape sent that blank
command.  Outlook Express 6 appears to be the cause of the error, but
appears to ignore the error on my system.

-- Martin Woolley @ Jan 10, 2003 6:41 --

> If I start using the latest nightly build, is there any risk of message
store
> compatibility issues when I install later releases?

We're not contemplating changing any message store formats for James v2.
For James v3, I would certainly hope that the NNTP store will be entirely
replaced.  The current one is atrocious.

-- Martin Woolley @ Jan 10, 2003 6:40 --
> Added another group, which alphabetically appears before the first of the
> default groups (the one I cannot see messages in ie avalon.dev). Now new
> messages posted to avalon.dev can be seen (but not my originals). Posting
to
> the newly created group works fine by the looks of things. Most strange.

So does this mean that as of now you are getting messages posted to all of
the accounts?  Are there any files present in your var/nntp/spool directory?

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Martin,

Thank you for testing.

What is your test environment?  There is an open bug report when using
James' NNTP support on NTFS.  I am running the server on linux with Sun JDK
1.4.1.  The clients are WinXP with Microsoft Outlook Express 6, Netscape
News and Opera 6.

-- Martin Woolley @ Jan 10, 2003 5:05 --
> - improved from yesterday but still problems

The NNTP code is still experimental, and needs more development work.  As
long as we're making progress, and can identify precisely remaining issues,
that's good.  Harmeet is working on an NNTP protocol test, which would help
identify protocol errors more clearly than testing with a typical news
client.

See: http://nagoya.apache.org/wiki/apachewiki.cgi?JamesNNTP for current
known status of the NNTP implementation.

> - I am running with the default newsgroups (avalon.dev/user,
james.dev/user).

OK.  I have those, plus a couple I created for testing.

> - I posted 2 messages to the avalon.dev group (first in the list). There
is no
> sign of the messages via the client (OE). I can see the corresponding
files in
> the file system but no indication at all that the group contains messages
from
> the client.

> - I can post to the other three groups, including replies and so far
everything
> works as expected.

Interesting.  I posted to all of my newsgroups, and all of them work.  And
according to a later note from you, they are now working for you, too?

-- Martin Woolley @ Jan 10, 2003 6:37 --

> Retrieving the list of NewsGroups from the server with OE results in";
> 500 Unknown command
> Configuration:
>   Account: localhost
>   Server: localhost
>   Protocol: NNTP
>   Port: 119
>   Secure(SSL): 0
>   Error Number: 500
>   Code: 800ccca2

Would you please go into SAR-INF/environment.xml and change the two NNTP
related entries from INFO to DEBUG?  :-)  I see something similar:

10/01/03 09:46:14 DEBUG nntpserver: Command received: LIST
10/01/03 09:46:15 DEBUG nntpserver: Sent: 215 list of newsgroups follows
  ...
10/01/03 09:46:15 DEBUG nntpserver: Sent: .
10/01/03 09:46:15 DEBUG nntpserver: Command received:
10/01/03 09:46:15 DEBUG nntpserver: Received unknown command  with argument
null
10/01/03 09:46:15 DEBUG nntpserver: Sent: 500 Unknown command

As you can see, after the LIST command was processed, Outlook Express 6
appears to send a blank command.  Neither Opera or Netscape sent that blank
command.  Outlook Express 6 appears to be the cause of the error, but
appears to ignore the error on my system.

-- Martin Woolley @ Jan 10, 2003 6:41 --

> If I start using the latest nightly build, is there any risk of message
store
> compatibility issues when I install later releases?

We're not contemplating changing any message store formats for James v2.
For James v3, I would certainly hope that the NNTP store will be entirely
replaced.  The current one is atrocious.

-- Martin Woolley @ Jan 10, 2003 6:40 --
> Added another group, which alphabetically appears before the first of the
> default groups (the one I cannot see messages in ie avalon.dev). Now new
> messages posted to avalon.dev can be seen (but not my originals). Posting
to
> the newly created group works fine by the looks of things. Most strange.

So does this mean that as of now you are getting messages posted to all of
the accounts?  Are there any files present in your var/nntp/spool directory?

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by Martin Woolley <ma...@yahoo.com>.
Feedback from my initial tests:

- improved from yesterday but still problems
- I am running with the default newsgroups (avalon.dev/user, james.dev/user).
- I posted 2 messages to the avalon.dev group (first in the list). There is no
sign of the messages via the client (OE). I can see the corresponding files in
the file system but no indication at all that the group contains messages from
the client.
- I can post to the other three groups, including replies and so far everything
works as expected.

Hope this helps... and good luck!

Martin



--- "Noel J. Bergman" <no...@devtech.com> wrote:
> http://jakarta.apache.org/builds/jakarta-james/nightly/binary/james.sar
> contains fixes for NNTP.  In order to use it you must install James v2.1
> FIRST, replace james.sar, and modify config.xml to enable the NNTP service.
> 
> Your feedback is desired.
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

> i'm not seeing anything about message size

It would have been an XOVER reply, if the command were issued.

> i think this is a forte free agent thing.

OK, then we'll just keep an eye on it.  :-)

As for the NNTP connection timeout, I found one document on the web
suggesting 10 seconds, and other 10 mins.  :-)

		--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by JRC <po...@neonkiwi.com>.
> OK, that would be good.  :-)  I am noticing that with -1 reported as the
> line count, the Opera client actually does a fixup on the line count in
the
> message.

what part of the nntpserver.log do you want to look at? i'm not seeing
anything about message size.....besides, i think this is a forte free agent
thing. Lines vs. Bytes i think.....

10/01/03 10:33:57 DEBUG nntpserver: Sent: 211 list of article numbers
follow
10/01/03 10:33:57 DEBUG nntpserver: Sent: 1
10/01/03 10:33:57 DEBUG nntpserver: Sent: 10
10/01/03 10:33:57 DEBUG nntpserver: Sent: 11
10/01/03 10:33:57 DEBUG nntpserver: Sent: 12
10/01/03 10:33:57 DEBUG nntpserver: Sent: 13
10/01/03 10:33:57 DEBUG nntpserver: Sent: 14
10/01/03 10:33:57 DEBUG nntpserver: Sent: 15
.
.
.

10/01/03 10:34:10 DEBUG nntpserver: Calling reset() default Worker #43
10/01/03 10:34:10 DEBUG nntpserver: Command received: ARTICLE 20
10/01/03 10:34:10 DEBUG nntpserver: Sent: 220 20
<3e...@neonkiwi.com>
10/01/03 10:34:10 DEBUG nntpserver: Sent: .


> While on the subject, what should the idle time be for an NNTP connection?
> Right now the default (in config.xml) is 2 minutes.  Should it be longer
for
> News Readers?

i don't know.  as long as the timeout is configurable each admin can make
adjustments as needed.
>
> --- Noel
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

Rolling back the SMTPHandler buffering change appears to correct the
problem.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, January 11, 2003 10:35
To: James Users List
Subject: Re: NNTP: Nightly Build available for testing


Noel,

Yesterday I noticed that after a few hours of running, James was using 90-95
percent of my cpu resources. I decided to disable NNTP and when I got up
this morning java.exe was again using all of my resources. I just restarted
James with the original james.sar. Do you have any idea if this could be
caused by the .sar file?

Randy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

During testing, I have verified the existance of the problem in v2.1.1a2.
Next up is trying to identify the cause.

Thank you again for your report.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, January 11, 2003 10:35
To: James Users List
Subject: Re: NNTP: Nightly Build available for testing


Noel,

Yesterday I noticed that after a few hours of running, James was using 90-95
percent of my cpu resources. I decided to disable NNTP and when I got up
this morning java.exe was again using all of my resources. I just restarted
James with the original james.sar. Do you have any idea if this could be
caused by the .sar file?

Randy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

There are very few changes to James outside of the NNTP changes.  The only
ones that come to mind are a buffering change by Serge in the SMTPHandler,
and the updated JavaMail/JAF packages.

The entire list of changes so far is listed at the bottom the JamesV2Plans
Wiki page:

  http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV2Plans

Please let me know if you can reproduce this problem.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, January 11, 2003 10:35
To: James Users List
Subject: Re: NNTP: Nightly Build available for testing


Noel,

Yesterday I noticed that after a few hours of running, James was using 90-95
percent of my cpu resources. I decided to disable NNTP and when I got up
this morning java.exe was again using all of my resources. I just restarted
James with the original james.sar. Do you have any idea if this could be
caused by the .sar file?

Randy


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by JRC <po...@neonkiwi.com>.
Noel,

Yesterday I noticed that after a few hours of running, James was using 90-95
percent of my cpu resources. I decided to disable NNTP and when I got up
this morning java.exe was again using all of my resources. I just restarted
James with the original james.sar. Do you have any idea if this could be
caused by the .sar file?

Randy




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

> > The way the handler code was written it tries to do a
> > quit after the connection would idle out.  I've just
> > added a patch for that.

> is the patch in the james.sar? same location?

Not yet.  The exception is harmless, other than the log entry.  I applied
the patch locally this morning.  Was figuring to see if there were any other
obvious things to fix.  We're already close to v2.1.1 based upon my original
list:

   http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV2Plans

I need to apply Simon's PostgreSQL changes to sqlResources, and a couple of
other things, but all in all, v2.1.1 appears to be shaping up.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by JRC <po...@neonkiwi.com>.
 is the patch in the james.sar? same location?
thanks for all of your hard work.
---randy

> Those are timeouts.  The way the handler code was written it tries to do a
> quit after the connection would idle out.  I've just added a patch for
that.
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Yes, I can turn on debug. After sending the previous message i did notice
> that the correct file size is displayed in outlook express. i think the
> issue is in forte free agent....maybe....

OK, that would be good.  :-)  I am noticing that with -1 reported as the
line count, the Opera client actually does a fixup on the line count in the
message.

> i have also noticed james is throwing errors in nntpserver.log constantly

Those are timeouts.  The way the handler code was written it tries to do a
quit after the connection would idle out.  I've just added a patch for that.

While on the subject, what should the idle time be for an NNTP connection?
Right now the default (in config.xml) is 2 minutes.  Should it be longer for
News Readers?

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by JRC <po...@neonkiwi.com>.
Noel,

Yes, I can turn on debug. After sending the previous message i did notice
that the correct file size is displayed in outlook express. i think the
issue is in forte free agent....maybe....

i have also noticed james is throwing errors in nntpserver.log constantly

10/01/03 09:17:35 ERROR nntpserver: NNTP Connection has idled out.
10/01/03 09:17:35 ERROR nntpserver: Exception during connection:socket
closed
java.net.SocketException: socket closed
 at java.net.SocketInputStream.socketRead0(Native Method)
 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.nntpserver.NNTPHandler.handleConnection(NNTPHandler.java:35
7)
 at
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run
(ServerConnection.java:404)
 at
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Executabl
eRunnable.java:47)
 at
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:8
0)

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, January 10, 2003 9:20 AM
Subject: RE: NNTP: Nightly Build available for testing


> > i just tested the new nntp james.sar. outlook express was able to see
and
> > retrieve yesterdays test post. i did another test post with a binary
> > attachment (.jpg) and that worked well. i just did a second test post
with
> a
> > multi-part binary attachment (.mp3) and it posted and decoded perfectly.
>
> Well those are good things to hear.  :-)
>
> > the only issue i see is the reported file size of 65535 for every post.
> > don't know if this is james or free agent......
>
> Randy, there is a known bug were James reports -1 for the line count.  But
> it should report the correct byte count.  Can you turn on debugging, and
see
> if we spot the source of the faulty size in the log file?
>
> --- Noel
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
> i just tested the new nntp james.sar. outlook express was able to see and
> retrieve yesterdays test post. i did another test post with a binary
> attachment (.jpg) and that worked well. i just did a second test post with
a
> multi-part binary attachment (.mp3) and it posted and decoded perfectly.

Well those are good things to hear.  :-)

> the only issue i see is the reported file size of 65535 for every post.
> don't know if this is james or free agent......

Randy, there is a known bug were James reports -1 for the line count.  But
it should report the correct byte count.  Can you turn on debugging, and see
if we spot the source of the faulty size in the log file?

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by JRC <po...@neonkiwi.com>.
i just tested the new nntp james.sar. outlook express was able to see and
retrieve yesterdays test post. i did another test post with a binary
attachment (.jpg) and that worked well. i just did a second test post with a
multi-part binary attachment (.mp3) and it posted and decoded perfectly.

the only issue i see is the reported file size of 65535 for every post.
don't know if this is james or free agent......

---randy

----- Original Message -----
From: "Martin Woolley" <ma...@yahoo.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, January 10, 2003 5:39 AM
Subject: Re: NNTP: Nightly Build available for testing


> Added another group, which alphabetically appears before the first of the
> default groups (the one I cannot see messages in ie avalon.dev). Now new
> messages posted to avalon.dev can be seen (but not my originals). Posting
to
> the newly created group works fine by the looks of things. Most strange.
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by Martin Woolley <ma...@yahoo.com>.
Added another group, which alphabetically appears before the first of the
default groups (the one I cannot see messages in ie avalon.dev). Now new
messages posted to avalon.dev can be seen (but not my originals). Posting to
the newly created group works fine by the looks of things. Most strange.

--- "Noel J. Bergman" <no...@devtech.com> wrote:
> http://jakarta.apache.org/builds/jakarta-james/nightly/binary/james.sar
> contains fixes for NNTP.  In order to use it you must install James v2.1
> FIRST, replace james.sar, and modify config.xml to enable the NNTP service.
> 
> Your feedback is desired.
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by Martin Woolley <ma...@yahoo.com>.
Retrieving the list of NewsGroups from the server with OE results in";

500 Unknown command

Configuration:
   Account: localhost
   Server: localhost
   Protocol: NNTP
   Port: 119
   Secure(SSL): 0
   Error Number: 500
   Code: 800ccca2



--- "Noel J. Bergman" <no...@devtech.com> wrote:
> http://jakarta.apache.org/builds/jakarta-james/nightly/binary/james.sar
> contains fixes for NNTP.  In order to use it you must install James v2.1
> FIRST, replace james.sar, and modify config.xml to enable the NNTP service.
> 
> Your feedback is desired.
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP: Nightly Build available for testing

Posted by Martin Woolley <ma...@yahoo.com>.
Question:

If I start using the latest nightly build, is there any risk of message store
compatibility issues when I install later releases? Presumably not but I
thought I should ask!

--- "Noel J. Bergman" <no...@devtech.com> wrote:
> http://jakarta.apache.org/builds/jakarta-james/nightly/binary/james.sar
> contains fixes for NNTP.  In order to use it you must install James v2.1
> FIRST, replace james.sar, and modify config.xml to enable the NNTP service.
> 
> Your feedback is desired.
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


NNTP: Nightly Build available for testing

Posted by "Noel J. Bergman" <no...@devtech.com>.
http://jakarta.apache.org/builds/jakarta-james/nightly/binary/james.sar
contains fixes for NNTP.  In order to use it you must install James v2.1
FIRST, replace james.sar, and modify config.xml to enable the NNTP service.

Your feedback is desired.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
> So far so good on my end with OE, but not with
> Netscape 7.0.1.

Actually, I was wrong.  As soon as I turned on debug I saw the problem.  We
had a corrupt copy of mail.jar in the CVS.  Verified the problem with
jarsigner, and replaced with a clean (and verified) copy.

Working fine with OE and Netscape.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
Randy,

NNTP is disabled in v2.1 for reasons.  The protocol, which is still
experimental, was broken in a number of places.  I just did a new build with
a whole bunch of fixes (see james-dev@).  I'll post a nightly build after I
do some more testing.  So far so good on my end with OE, but not with
Netscape 7.0.1.

Next up: turning on protocol debug.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP : cannot download postings

Posted by JRC <po...@neonkiwi.com>.
Hey Guys,

I just turned on nntp on james 2.1a1-cvs and experienced similar oddness. i
added a made up news group to the config file and restarted james. i then
configed outlook express and posted a test to the group, it posted just
fine. it's in the folder and can be viewed in notepad. when i try to
download in outlook express i get 'an unknown error has occured'

since i'm a huge fan of forte i decided to configure free agent to see what
would happen. free agent could read the basic info, size and subject....

message size: 65535
i posted 2 messages and both are less than 1000, and sender info was
displayed where the subject info should have been.....

when i tried to download the message free agent did not error but nothing
really happened either except a never ending conversation between the two
computers...........packet sniffer captured this.....

client: ARTICLE 0
server: no such article number in this group

client: ARTICLE
server: no such article number in this group

once the client droped the zero and just asked for ARTICLE the conversation
just went on and on, back and forth until i told free agent to quit

---randy


----- Original Message -----
From: "Martin Woolley" <ma...@woolleynet.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Thursday, January 09, 2003 7:08 AM
Subject: NNTP : cannot download postings


> I have James running with only the NNTP service enabled. I am able to post
> messages. The client can see that there are messages in the group
concerned
> (ie it can indicate that there are a number of new messages) but it cannot
> download the messages themselves. I have tried various clients and
servers,
> namely:
>
> James on Windows 2000. Outlook Express 6.00 client.
>
> James on Linux. Outlook Express 6.00 client and Netscape Communicator 6
> client.
>
> In both cases, the behaviour is the same and somewhat odd. If I'm
> quick/lucky I do see new messages briefly. If I try to open them with
> Outlook I get "Message is no longer available on the server" and the
message
> disappears instantly from the message list. The
> \var\nntp\groups\org.apache.avalon.dev directory contains 3 files, as per
> the number of test postings I have made.
>
> Could someone help with some suggestions on this please? Happy to provide
> more information if required.
>
> Thanks in anticipation
>
> Martin
> --------------------------------------------------------------------------
-T
> his email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> Copying this email or in any way disseminating its content to any other
> person is strictly prohibited. If you have received this email in error
> please notify postmaster@eigroup.com
> --------------------------------------------------------------------------
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> Copying this email or in any way disseminating its content to any other
> person is strictly prohibited. If you have received this email in error
> please notify postmaster@eigroup.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP : cannot download postings

Posted by Harmeet Bedi <ha...@kodemuse.com>.
Noel, if you have the patches and feel I am blocking you, go ahead I can
work on top of the patches if there is any need to. Test it and checkin if
you can't wait.

Hope that sounds ok.
Harmeet


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
> Thanks for the update Harmeet.  I agree it's good to get testing setup
> first before getting into fixing the NNTP server code.

I'm very much looking forward to Harmeet's tests.

> And like you said, Noel if you want to get something patched sooner
> rather than wait for Harmeet's work, go ahead.

Patches are posted for review, and I just posted a Nightly build to get user
feedback.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP : cannot download postings

Posted by Serge Knystautas <se...@lokitech.com>.
Harmeet Bedi wrote:
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> 
>>I am *still* waiting to see these patches you keep talking about.
> 
> 
> I have told that I want regression tests first and then patch.
 >
> [...]
> 
> If this is too much for you to accept and you want a more aggressive
> schedule please go ahead and do what makes sense.

Thanks for the update Harmeet.  I agree it's good to get testing setup 
first before getting into fixing the NNTP server code.

And like you said, Noel if you want to get something patched sooner 
rather than wait for Harmeet's work, go ahead.

-- 
Serge Knystautas
Loki Technologies
http://www.lokitech.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I have told that I want regression tests first and then patch.

Fine.  Then if you don't have any patches to conflict with the ones that I
have, we might as well start with them.  At least I won't be stepping on any
code you haven't already written.  If you had written some there would be no
reason not to allow people to review thme so far.

> why can't you wait rather than badger away ?

I'm not badgering you.  You had previously said that you already had some
patches, but wanted to test first.  If what you really have so far are just
the tests, that's great.  Please run them against the new patches I've
submitted.  I am sure that there are yet more bugs to fix, since I've just
documented several.

> I am obviously unhappy that the quality of NNTP has degraded.

As far as I can see from the CVS, the defects that I just patched have been
there since before.  Regardless, I've checked them against the RFC, as can
you from the descriptions I've posted.

> How do you expect to have the collection of entire set of patches that
> address various clients without sufficient tests.

I don't.  But I know that what I just did corrects real verifiable defects,
and that I can now work with OE and Netscape news against my test server.
So there is no reason not to fix what we can easily see as being wrong,
while still waiting for the test suite that we agree is vital.

I appreciate your time constraints.  We all have them.  But what I've just
posted should not in any way negatively impact either the code or future
changes.  No restructuring.  Just some very simple in-line patches.

If no one objects to them specifically, I'd like to commit them tomorrow as
a starting point.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP : cannot download postings

Posted by Harmeet Bedi <ha...@kodemuse.com>.
----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
> I am *still* waiting to see these patches you keep talking about.

I have told that I want regression tests first and then patch.
I have committed to the time frame of this weekend a few times, why can't
you wait rather than badger away ?

Most of the problems are not due to lack of ability to patch code, but due
to absense of repeatable tests. I am hoping to fix the problem rather than
patch. This would only help the patches you want to put in. I am obviously
unhappy that the quality of NNTP has degraded. Rather than rush to
patch(which I can easily do having written this module) I would like a
system in place so that this never happens again and everybody can more
easily contribute.

How do you expect to have the collection of entire set of patches that
address various clients without sufficient tests. I have personal reasons
why I can't get to this sooner than the weekend and even then I am doing
this work at significant personal hit only because I care about James.

If this is too much for you to accept and you want a more aggressive
schedule please go ahead and do what makes sense.

cheers,
Harmeet


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
Harmeet,

I am *still* waiting to see these patches you keep talking about.  I have
patches that were submitted last year, and they were posted to the group for
review.  You asked me to postpone committing them, without indicating what
issue, if any, you have with them.  Where are yours, if they are different?

Why are you proposing to have the patches in the CVS by the weekend when you
haven't posted them for review?

	--- Noel

-----Original Message-----
From: Harmeet Bedi [mailto:harmeet@kodemuse.com]
Sent: Thursday, January 09, 2003 14:07
To: James Users List; martin@woolleynet.com
Subject: Re: NNTP : cannot download postings

----- Original Message -----
From: "Martin Woolley" <ma...@yahoo.com>

> Thanks Noel.
>
> Does "almost immediately" mean it will hit one of the nightly releases or
> milestone builds?

I will be in nightly builds latest by this this weekend. Would suggest you
check the 3.0 or  2.1 branch on Monday.
What news reader are you using ? I was hoping to test with at least a subset
of Outlook, Opera, Netscape 4.7, Mozilla and KNode.
Other interesting newsreaders for me are Gnus in Emacs and Pine.

Harmeet


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: NNTP : cannot download postings

Posted by Harmeet Bedi <ha...@kodemuse.com>.
----- Original Message -----
From: "Martin Woolley" <ma...@yahoo.com>


> Thanks Noel.
>
> Does "almost immediately" mean it will hit one of the nightly releases or
> milestone builds?

I will be in nightly builds latest by this this weekend. Would suggest you
check the 3.0 or  2.1 branch on Monday.
What news reader are you using ? I was hoping to test with at least a subset
of Outlook, Opera, Netscape 4.7, Mozilla and KNode.
Other interesting newsreaders for me are Gnus in Emacs and Pine.

Harmeet


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
I have patches that would be in already, except that one of the other
developers asked me to postpone them until we see the patches he's made.
I'm re-raising that issue on the developer list now.

	--- Noel

-----Original Message-----
From: Martin Woolley [mailto:martin_woolley@yahoo.com]
Sent: Thursday, January 09, 2003 10:49
To: James Users List
Subject: RE: NNTP : cannot download postings


Thanks Noel.

Does "almost immediately" mean it will hit one of the nightly releases or
milestone builds? I have some "keen" people looking for me to set this up
asap
and it would help me decide whether to stick with James or find a different
NNTP server. I like James from what I have done with it on the email side of
things and we like Java here a lot too so James is first choice. What would
you
advise?

Regards

Martin


--- "Noel J. Bergman" <no...@devtech.com> wrote:
> Martin,
>
> There are patches for NNTP going in almost immediately.  I expect a v2.1.1
> update with JavaMail 1.3 and fixes for NNTP this month.
>
> 	--- Noel
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by Martin Woolley <ma...@yahoo.com>.
Thanks Noel.

Does "almost immediately" mean it will hit one of the nightly releases or
milestone builds? I have some "keen" people looking for me to set this up asap
and it would help me decide whether to stick with James or find a different
NNTP server. I like James from what I have done with it on the email side of
things and we like Java here a lot too so James is first choice. What would you
advise?

Regards

Martin


--- "Noel J. Bergman" <no...@devtech.com> wrote:
> Martin,
> 
> There are patches for NNTP going in almost immediately.  I expect a v2.1.1
> update with JavaMail 1.3 and fixes for NNTP this month.
> 
> 	--- Noel
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: NNTP : cannot download postings

Posted by "Noel J. Bergman" <no...@devtech.com>.
Martin,

There are patches for NNTP going in almost immediately.  I expect a v2.1.1
update with JavaMail 1.3 and fixes for NNTP this month.

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>