HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > XP Networking

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-10-2004, 08:21 PM
ACR
 
Posts: n/a
Default Java POP3 Server

I have written a POP server in Java, and when I connect to it with Windows Server 2000, everything is great. When I use XP, the command "RETR 1" causes it to just print one line and then unexpectedly terminate the connection. Is there some configuration that I need to change to keep Windows XP from dropping the connection?

Thanks
Reply With Quote
Sponsored Links
Fix your Windows Problems - FAST.
FREE Safe Scan Registry Check. Locate & Fix Errors in Minutes!
  #2  
Old 05-10-2004, 08:34 PM
Ron Lowe
 
Posts: n/a
Default Re: Java POP3 Server

"ACR" <anonymous@discussions.microsoft.com> wrote in message
news:843BCFDE-DE02-4177-BC7B-FC60F840E046@microsoft.com...
> I have written a POP server in Java, and when I connect to it with Windows

Server 2000, everything is great. When I use XP, the command "RETR 1"
causes it to just print one line and then unexpectedly terminate the
connection. Is there some configuration that I need to change to keep
Windows XP from dropping the connection?
>
> Thanks



XP is an operating system, not a mail client.
XP doesn't connect to POP3 servers.

There are several mail clients which run _on_ XP which
connect to POP3 servers, like Outlook Express 6.

Which mail client are you using?

You'd need to capture the traffic and see what the problem is.

Also, turn on logging on the client app, and impliment some form
of logging in your app to determine what's happening.

--
Best Regards,
Ron Lowe
MS-MVP Windows Networking


Reply With Quote
  #3  
Old 05-10-2004, 08:56 PM
ACR
 
Posts: n/a
Default Re: Java POP3 Server

It doesn't work with any mail client running on Windows XP (or 98). Here is what happens when I try to telnet into it:

c:/>

S: +OK ACR POP Server ready
C: USER nobody
S: +OK
C: PASS *****
S: +OK
C: LIST
S: +OK 1 3
C: RETR 1
S: +OK 3 octets

Connection to host lost.

c:\>

After that, when the Java server tries to read in a line from the socket, it gets null. If I telnet into it with Windows 2000 Server and run the same commands, it prints out the message and lets me enter more commands.
Reply With Quote
  #4  
Old 05-10-2004, 09:15 PM
Ron Lowe
 
Posts: n/a
Default Re: Java POP3 Server

"ACR" <anonymous@discussions.microsoft.com> wrote in message
news89011A3-2551-41BF-B78F-D36B938064D7@microsoft.com...
> It doesn't work with any mail client running on Windows XP (or 98). Here

is what happens when I try to telnet into it:
>
> c:/>
>
> S: +OK ACR POP Server ready
> C: USER nobody
> S: +OK
> C: PASS *****
> S: +OK
> C: LIST
> S: +OK 1 3
> C: RETR 1
> S: +OK 3 octets
>
> Connection to host lost.
>
> c:\>
>
> After that, when the Java server tries to read in a line from the socket,

it gets null. If I telnet into it with Windows 2000 Server and run the same
commands, it prints out the message and lets me enter more commands.



It's not an XP problem as such.

I can connect to POP3 servers using any mail client I want.
Or using telnet as you tried.

You need to impliment logging on your app to see what's going on.
Also, try sniffing the wire using Ethereal or similar, to determine what's
actually going on.
Otherwise you are just guessing.

But given that all other POP3 servers work, I'd have to say it's
something in your app that's dropping the connection...

--
Best Regards,
Ron Lowe
MS-MVP Windows Networking


Reply With Quote
  #5  
Old 05-17-2004, 07:51 PM
ACR
 
Posts: n/a
Default Re: Java POP3 Server

I still think it's a Windows problem. When I run the server on port 1100 instead of 110, there is no problem at all. Is there something in XP that won't let me run a server on port 110 or something?
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
email slow retrieving if using Pop3 or Imap server with Vista kickoff07 Windows Vista 1 11-20-2007 09:19 PM
Problem with Tomcat server on windows Vista when used with c++ and java gamiravi.d@gmail.com Windows Vista 2 10-05-2007 11:39 PM
POP3 vs Exchange in Outlook sihfmis Microsoft Office 1 09-14-2007 04:14 AM
Microsoft Java? Is it available in Vista? (not sun java!) Jacob2000 Windows Vista 13 04-29-2007 07:44 PM
pop3 magie XP Networking 1 04-05-2004 11:06 PM


All times are GMT. The time now is 04:36 PM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger