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 JRC <po...@neonkiwi.com> on 2002/10/18 18:51:56 UTC

database for inbox repositories

My stuff:
    WinXP
    JDK1.3.1_04
    James 2.0a2 + SMTPHandler.java 2.1a1-2002-08-18
    MySQL 1.4
    MySQL Connector/J 2.0.14

Question 01:
    Do I have all of the nessecary components to set up an inbox database?

Question 02:
    Do I need to modify anything other than the portions of the config file I've listed here?

In James Block -
      <inboxRepository>
        <repository destinationURL="db://maildb/inbox/"
                    type="MAIL">
        </repository>
      </inboxRepository>

In data-sources -
        <data-source name="maildb"
                     class="org.apache.james.util.mordred.JdbcDataSource">
            <driver>org.gjt.mm.mysql.Driver</driver>
            <dburl>jdbc:mysql://127.0.0.1/mail</dburl>
            <user>username</user>
            <password>password</password>
        </data-source>

Question 03:
    What form must I create the database in, tables, columns, etc.?

Any and all help will be appreciated.

RE: database for inbox repositories

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

James has a lot of dependencies upon outside packages, most of which come
along with Phoenix.   You need the entire James 2.1a1 binary package, which
includes the updated libraries provided with Phoenix.  Those include the
correct version of xerces, etc.

An alternative is rather than use the snapshot, go to the CVS and download
the current tree.  That way if you have problems, we are working with the
current code, and can affect changes to resolve them.

You should be able to checkout the entire jakarta-james project, and build
without problem.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, October 19, 2002 19:32
To: James Users List
Subject: Re: database for inbox repositories


ok, i've got 2.1a1-2002-09-24 source and have replaced the handler .java
files but i can't build because of............

James Build System
-------------------
Buildfile: build.xml

BUILD FAILED

No JAXP compliant XML parser found. Please visit http://xml.apache.org for a
sui
table parser

Total time: 0 seconds

i'm assuming i need to download Xerces Java 1 or 2?????? what do i do with
it once i get it???????????

i'm gonna make this damn thing work even if it kills me :-)


----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Saturday, October 19, 2002 6:19 PM
Subject: RE: database for inbox repositories


> No, they weren't merged at the time because Peter was working on a
complete
> replacement for portions of the code.  Those patches are a bit of a hack,
> but if they resolve your issues pending a proper fix, great.  :-)  And if
> they don't, then we really have more investigation to do.  Alternatively,
> the current CVS (since Oct 7) has Peter's change in it.
>
> --- 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: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
ok, i've got 2.1a1-2002-09-24 source and have replaced the handler .java
files but i can't build because of............

James Build System
-------------------
Buildfile: build.xml

BUILD FAILED

No JAXP compliant XML parser found. Please visit http://xml.apache.org for a
sui
table parser

Total time: 0 seconds

i'm assuming i need to download Xerces Java 1 or 2?????? what do i do with
it once i get it???????????

i'm gonna make this damn thing work even if it kills me :-)


----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Saturday, October 19, 2002 6:19 PM
Subject: RE: database for inbox repositories


> No, they weren't merged at the time because Peter was working on a
complete
> replacement for portions of the code.  Those patches are a bit of a hack,
> but if they resolve your issues pending a proper fix, great.  :-)  And if
> they don't, then we really have more investigation to do.  Alternatively,
> the current CVS (since Oct 7) has Peter's change in it.
>
> --- Noel
>




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


RE: database for inbox repositories

Posted by "Noel J. Bergman" <no...@devtech.com>.
No, they weren't merged at the time because Peter was working on a complete
replacement for portions of the code.  Those patches are a bit of a hack,
but if they resolve your issues pending a proper fix, great.  :-)  And if
they don't, then we really have more investigation to do.  Alternatively,
the current CVS (since Oct 7) has Peter's change in it.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, October 19, 2002 18:36
To: James Users List
Subject: Re: database for inbox repositories


does 2.1a1-2002-09-24 not include the aug patches?

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Saturday, October 19, 2002 4:58 PM
Subject: RE: database for inbox repositories


> Randy,
>
> Subsequent to the build you tried, Peter replaced the default connection
> manager with code that addresses the connection timeout issue.  Also, back
> in August there was a Q&D patch submitted:
> http://www.mail-archive.com/james-dev@jakarta.apache.org/msg02962.html
> that fixed a similar problem for someone else.
>
> That patch explicitly calls Socket.setSoTimeout() to correct an improperly
> set value.
>
> My guess at the moment is that this may be related to the problem you are
> encountering.  When you have time, perhaps we can either try the latest
> code on your system, or apply that patch to your code.
>
> As for why you don't see this problem with James 2.0a2, I'm guessing that
> it might have to do with the version of Excalibur included with 2.0a2 vs
> later versions.
>
> In any event, when you've time, hopefully we can finally resolve the
> issue's you've been having.
>
> --- Noel
>
> -----Original Message-----
> From: JRC [mailto:postmaster@neonkiwi.com]
> Sent: Saturday, October 19, 2002 10:47
> To: James Users List; farsight@alum.mit.edu
> Subject: Re: database for inbox repositories
>
>
> WinXP
> 2.1a1-2002-09-24
> JDK1.3.1_04
>
> ok, i made some of the configuration changes and added a user. i used my
isp
> mail account to send an email to james and the pop3 server choked again,
> just like 2.0a3 and 2.1a1-2002-08-18. this is the same issue we were
> discussing back in august, the topic was "java.net.SocketException:
> Connection reset POP3server." the POP3Handler.java from 2.0a2 is the only
> one that works properly on my system. if you recall, i got the same errors
> during telnet sessions. the only successful retrieval of mail occured when
> the mail was sent by the netscape client.................is this ringing
any
> bells? i can't spend a lot of time going through the same telnet testing
> over again because during this one quick test one of my other users was
> trying to check mail. all i really need is a little help configuring James
> 2.0a2 + SMTPHandler.java 2.1a1-2002-08-18 to work with MySQL so my users
can
> retrieve mail after a shutdown and restart.
>
>  19/10/02 09:13:49 INFO  pop3server: Connection from 192.168.1.1
> (192.168.1.1)
> 19/10/02 09:13:49 DEBUG pop3server: Command received: USER randy
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK
> 19/10/02 09:13:49 DEBUG pop3server: Command received: PASS <password
> omitted>
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Welcome randy
> 19/10/02 09:13:49 DEBUG pop3server: Command received: STAT
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
> 19/10/02 09:13:49 DEBUG pop3server: Command received: LIST
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
> 19/10/02 09:13:49 DEBUG pop3server: Command received: RETR 1
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Message follows
> 19/10/02 09:13:49 INFO  pop3server: Hello Name is: neonkiwi.com
> 19/10/02 09:13:49 INFO  pop3server: Connection from
> host217-42-68-196.range217-42.btcentralplus.com (217.42.68.196)
> 19/10/02 09:14:11 INFO  pop3server: Connection closed
> 19/10/02 09:14:52 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:20
> 6)
>  at
>
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
> ion.java:169)
>  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)
> 19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...
> 19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...plain:110
> 19/10/02 09:15:49 ERROR pop3server: Connection timeout on socket
> 19/10/02 09:15:50 INFO  pop3server: POP3Server ...dispose end
>
>
> ----- Original Message -----
> From: "Peter M. Goldstein" <pe...@yahoo.com>
> To: "'James Users List'" <ja...@jakarta.apache.org>
> Sent: Friday, October 18, 2002 10:08 PM
> Subject: RE: database for inbox repositories
>
>
> >
> > At a quick glance it looks like a Phoenix issue.  Check your
> > PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
> > it is correct.  "/path/to" reads like a default path, and it's not one
> > that's defined in James code.
> >
> > --Peter
> >
> > > -----Original Message-----
> > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > Sent: Friday, October 18, 2002 2:54 PM
> > > To: James Users List
> > > Subject: Re: database for inbox repositories
> > >
> > > i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
> > and
> > > shut it down. edited the config file and it failed saying couldn't
> > build
> > > from D:/path/to/config.xml
> > >
> > > maybe i'll try again later when i'm not so ticked of at it.....
> > >
> > > ----- Original Message -----
> > > From: "Noel J. Bergman" <no...@devtech.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > Sent: Friday, October 18, 2002 4:38 PM
> > > Subject: RE: database for inbox repositories
> > >
> > >
> > > > JR,
> > > >
> > > > I can appreciate your frustration, but James does work, and works
> > well.
> > > So
> > > > the question is what was the error that caused it to fail to start?
> > How
> > > did
> > > > you install it?  Did you do a clean binary install, including the
> > > updated
> > > > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> > > needing
> > > to
> > > > be false?
> > > >
> > > > I'll download 2.1a1-2002-09-24 to my test server, and see what
> > happens.
> > > All
> > > > you did was install it, run it for the initial extract, and add the
> > > > servername and dns servers?
> > > >
> > > > --- Noel
> > > >
> > > > -----Original Message-----
> > > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > > Sent: Friday, October 18, 2002 17:04
> > > > To: James Users List
> > > > Subject: Re: database for inbox repositories
> > > >
> > > >
> > > > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> > > current
> > > > config file the server fails to start. please note that i did not
> > just
> > > copy
> > > > one to the other. i am aware of the changes to the config file such
> > as
> > > > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
> > simply
> > > > changed servername and added dns servers........
> > > >
> > > > version 2.0a2 serves as my only email so i don't really have the
> > time to
> > > > keep it shut down to troubleshoot, plus the other users are starting
> > to
> > > > complain.
> > > >
> > > > the reason i asked about the MySQL config is because there are
> > rumors
> > > that
> > > > the database will solve the issue where users are unable to retrieve
> > > mail
> > > > after a restart. other than this issue my FrankenJames  James 2.0a2
> > +
> > > > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> > > >
> > > > from where i sit it looks like James gets worse with every release.
> > at
> > > least
> > > > 2.1a1-2002-08-18 would run after configuration even though the pop
> > > server
> > > > was dysfunctional.................
> > > >
> > > > ----- Original Message -----
> > > > From: "JRC" <po...@neonkiwi.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > Sent: Friday, October 18, 2002 1:26 PM
> > > > Subject: Re: database for inbox repositories
> > > >
> > > >
> > > > > i'm currently in the process of setting up
> > > james-binary-2.1a1-2002-09-24.
> > > > > the initial run has been done and a MySQL database has been
> > created.
> > > it's
> > > > > config time. i'll let you know how things turn out......
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:james-user-
> > > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:james-user-
> > > help@jakarta.apache.org>
> >
> >
> >
> > --
> > 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>
>
>
> --
> 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>


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
does 2.1a1-2002-09-24 not include the aug patches?

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Saturday, October 19, 2002 4:58 PM
Subject: RE: database for inbox repositories


> Randy,
>
> Subsequent to the build you tried, Peter replaced the default connection
> manager with code that addresses the connection timeout issue.  Also, back
> in August there was a Q&D patch submitted:
> http://www.mail-archive.com/james-dev@jakarta.apache.org/msg02962.html
that
> fixed a similar problem for someone else.
>
> That patch explicitly calls Socket.setSoTimeout() to correct an improperly
> set value.
>
> My guess at the moment is that this may be related to the problem you are
> encountering.  When you have time, perhaps we can either try the latest
code
> on your system, or apply that patch to your code.
>
> As for why you don't see this problem with James 2.0a2, I'm guessing that
it
> might have to do with the version of Excalibur included with 2.0a2 vs
later
> versions.
>
> In any event, when you've time, hopefully we can finally resolve the
issue's
> you've been having.
>
> --- Noel
>
> -----Original Message-----
> From: JRC [mailto:postmaster@neonkiwi.com]
> Sent: Saturday, October 19, 2002 10:47
> To: James Users List; farsight@alum.mit.edu
> Subject: Re: database for inbox repositories
>
>
> WinXP
> 2.1a1-2002-09-24
> JDK1.3.1_04
>
> ok, i made some of the configuration changes and added a user. i used my
isp
> mail account to send an email to james and the pop3 server choked again,
> just like 2.0a3 and 2.1a1-2002-08-18. this is the same issue we were
> discussing back in august, the topic was "java.net.SocketException:
> Connection reset POP3server." the POP3Handler.java from 2.0a2 is the only
> one that works properly on my system. if you recall, i got the same errors
> during telnet sessions. the only successful retrieval of mail occured when
> the mail was sent by the netscape client.................is this ringing
any
> bells? i can't spend a lot of time going through the same telnet testing
> over again because during this one quick test one of my other users was
> trying to check mail. all i really need is a little help configuring James
> 2.0a2 + SMTPHandler.java 2.1a1-2002-08-18 to work with MySQL so my users
can
> retrieve mail after a shutdown and restart.
>
>  19/10/02 09:13:49 INFO  pop3server: Connection from 192.168.1.1
> (192.168.1.1)
> 19/10/02 09:13:49 DEBUG pop3server: Command received: USER randy
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK
> 19/10/02 09:13:49 DEBUG pop3server: Command received: PASS <password
> omitted>
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Welcome randy
> 19/10/02 09:13:49 DEBUG pop3server: Command received: STAT
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
> 19/10/02 09:13:49 DEBUG pop3server: Command received: LIST
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
> 19/10/02 09:13:49 DEBUG pop3server: Command received: RETR 1
> 19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Message follows
> 19/10/02 09:13:49 INFO  pop3server: Hello Name is: neonkiwi.com
> 19/10/02 09:13:49 INFO  pop3server: Connection from
> host217-42-68-196.range217-42.btcentralplus.com (217.42.68.196)
> 19/10/02 09:14:11 INFO  pop3server: Connection closed
> 19/10/02 09:14:52 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:20
> 6)
>  at
>
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
> ion.java:169)
>  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)
> 19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...
> 19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...plain:110
> 19/10/02 09:15:49 ERROR pop3server: Connection timeout on socket
> 19/10/02 09:15:50 INFO  pop3server: POP3Server ...dispose end
>
>
> ----- Original Message -----
> From: "Peter M. Goldstein" <pe...@yahoo.com>
> To: "'James Users List'" <ja...@jakarta.apache.org>
> Sent: Friday, October 18, 2002 10:08 PM
> Subject: RE: database for inbox repositories
>
>
> >
> > At a quick glance it looks like a Phoenix issue.  Check your
> > PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
> > it is correct.  "/path/to" reads like a default path, and it's not one
> > that's defined in James code.
> >
> > --Peter
> >
> > > -----Original Message-----
> > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > Sent: Friday, October 18, 2002 2:54 PM
> > > To: James Users List
> > > Subject: Re: database for inbox repositories
> > >
> > > i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
> > and
> > > shut it down. edited the config file and it failed saying couldn't
> > build
> > > from D:/path/to/config.xml
> > >
> > > maybe i'll try again later when i'm not so ticked of at it.....
> > >
> > > ----- Original Message -----
> > > From: "Noel J. Bergman" <no...@devtech.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > Sent: Friday, October 18, 2002 4:38 PM
> > > Subject: RE: database for inbox repositories
> > >
> > >
> > > > JR,
> > > >
> > > > I can appreciate your frustration, but James does work, and works
> > well.
> > > So
> > > > the question is what was the error that caused it to fail to start?
> > How
> > > did
> > > > you install it?  Did you do a clean binary install, including the
> > > updated
> > > > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> > > needing
> > > to
> > > > be false?
> > > >
> > > > I'll download 2.1a1-2002-09-24 to my test server, and see what
> > happens.
> > > All
> > > > you did was install it, run it for the initial extract, and add the
> > > > servername and dns servers?
> > > >
> > > > --- Noel
> > > >
> > > > -----Original Message-----
> > > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > > Sent: Friday, October 18, 2002 17:04
> > > > To: James Users List
> > > > Subject: Re: database for inbox repositories
> > > >
> > > >
> > > > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> > > current
> > > > config file the server fails to start. please note that i did not
> > just
> > > copy
> > > > one to the other. i am aware of the changes to the config file such
> > as
> > > > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
> > simply
> > > > changed servername and added dns servers........
> > > >
> > > > version 2.0a2 serves as my only email so i don't really have the
> > time to
> > > > keep it shut down to troubleshoot, plus the other users are starting
> > to
> > > > complain.
> > > >
> > > > the reason i asked about the MySQL config is because there are
> > rumors
> > > that
> > > > the database will solve the issue where users are unable to retrieve
> > > mail
> > > > after a restart. other than this issue my FrankenJames  James 2.0a2
> > +
> > > > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> > > >
> > > > from where i sit it looks like James gets worse with every release.
> > at
> > > least
> > > > 2.1a1-2002-08-18 would run after configuration even though the pop
> > > server
> > > > was dysfunctional.................
> > > >
> > > > ----- Original Message -----
> > > > From: "JRC" <po...@neonkiwi.com>
> > > > To: "James Users List" <ja...@jakarta.apache.org>
> > > > Sent: Friday, October 18, 2002 1:26 PM
> > > > Subject: Re: database for inbox repositories
> > > >
> > > >
> > > > > i'm currently in the process of setting up
> > > james-binary-2.1a1-2002-09-24.
> > > > > the initial run has been done and a MySQL database has been
> > created.
> > > it's
> > > > > config time. i'll let you know how things turn out......
> > > > >
> > > >
> > > >
> > > > --
> > > > To unsubscribe, e-mail:
> > > <ma...@jakarta.apache.org>
> > > > For additional commands, e-mail:
> > > <ma...@jakarta.apache.org>
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   <mailto:james-user-
> > > unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: <mailto:james-user-
> > > help@jakarta.apache.org>
> >
> >
> >
> > --
> > 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>
>
>
> --
> 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: database for inbox repositories

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

Subsequent to the build you tried, Peter replaced the default connection
manager with code that addresses the connection timeout issue.  Also, back
in August there was a Q&D patch submitted:
http://www.mail-archive.com/james-dev@jakarta.apache.org/msg02962.html that
fixed a similar problem for someone else.

That patch explicitly calls Socket.setSoTimeout() to correct an improperly
set value.

My guess at the moment is that this may be related to the problem you are
encountering.  When you have time, perhaps we can either try the latest code
on your system, or apply that patch to your code.

As for why you don't see this problem with James 2.0a2, I'm guessing that it
might have to do with the version of Excalibur included with 2.0a2 vs later
versions.

In any event, when you've time, hopefully we can finally resolve the issue's
you've been having.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Saturday, October 19, 2002 10:47
To: James Users List; farsight@alum.mit.edu
Subject: Re: database for inbox repositories


WinXP
2.1a1-2002-09-24
JDK1.3.1_04

ok, i made some of the configuration changes and added a user. i used my isp
mail account to send an email to james and the pop3 server choked again,
just like 2.0a3 and 2.1a1-2002-08-18. this is the same issue we were
discussing back in august, the topic was "java.net.SocketException:
Connection reset POP3server." the POP3Handler.java from 2.0a2 is the only
one that works properly on my system. if you recall, i got the same errors
during telnet sessions. the only successful retrieval of mail occured when
the mail was sent by the netscape client.................is this ringing any
bells? i can't spend a lot of time going through the same telnet testing
over again because during this one quick test one of my other users was
trying to check mail. all i really need is a little help configuring James
2.0a2 + SMTPHandler.java 2.1a1-2002-08-18 to work with MySQL so my users can
retrieve mail after a shutdown and restart.

 19/10/02 09:13:49 INFO  pop3server: Connection from 192.168.1.1
(192.168.1.1)
19/10/02 09:13:49 DEBUG pop3server: Command received: USER randy
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK
19/10/02 09:13:49 DEBUG pop3server: Command received: PASS <password
omitted>
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Welcome randy
19/10/02 09:13:49 DEBUG pop3server: Command received: STAT
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
19/10/02 09:13:49 DEBUG pop3server: Command received: LIST
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
19/10/02 09:13:49 DEBUG pop3server: Command received: RETR 1
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Message follows
19/10/02 09:13:49 INFO  pop3server: Hello Name is: neonkiwi.com
19/10/02 09:13:49 INFO  pop3server: Connection from
host217-42-68-196.range217-42.btcentralplus.com (217.42.68.196)
19/10/02 09:14:11 INFO  pop3server: Connection closed
19/10/02 09:14:52 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:20
6)
 at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
 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)
19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...
19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...plain:110
19/10/02 09:15:49 ERROR pop3server: Connection timeout on socket
19/10/02 09:15:50 INFO  pop3server: POP3Server ...dispose end


----- Original Message -----
From: "Peter M. Goldstein" <pe...@yahoo.com>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 10:08 PM
Subject: RE: database for inbox repositories


>
> At a quick glance it looks like a Phoenix issue.  Check your
> PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
> it is correct.  "/path/to" reads like a default path, and it's not one
> that's defined in James code.
>
> --Peter
>
> > -----Original Message-----
> > From: JRC [mailto:postmaster@neonkiwi.com]
> > Sent: Friday, October 18, 2002 2:54 PM
> > To: James Users List
> > Subject: Re: database for inbox repositories
> >
> > i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
> and
> > shut it down. edited the config file and it failed saying couldn't
> build
> > from D:/path/to/config.xml
> >
> > maybe i'll try again later when i'm not so ticked of at it.....
> >
> > ----- Original Message -----
> > From: "Noel J. Bergman" <no...@devtech.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > Sent: Friday, October 18, 2002 4:38 PM
> > Subject: RE: database for inbox repositories
> >
> >
> > > JR,
> > >
> > > I can appreciate your frustration, but James does work, and works
> well.
> > So
> > > the question is what was the error that caused it to fail to start?
> How
> > did
> > > you install it?  Did you do a clean binary install, including the
> > updated
> > > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> > needing
> > to
> > > be false?
> > >
> > > I'll download 2.1a1-2002-09-24 to my test server, and see what
> happens.
> > All
> > > you did was install it, run it for the initial extract, and add the
> > > servername and dns servers?
> > >
> > > --- Noel
> > >
> > > -----Original Message-----
> > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > Sent: Friday, October 18, 2002 17:04
> > > To: James Users List
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> > current
> > > config file the server fails to start. please note that i did not
> just
> > copy
> > > one to the other. i am aware of the changes to the config file such
> as
> > > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
> simply
> > > changed servername and added dns servers........
> > >
> > > version 2.0a2 serves as my only email so i don't really have the
> time to
> > > keep it shut down to troubleshoot, plus the other users are starting
> to
> > > complain.
> > >
> > > the reason i asked about the MySQL config is because there are
> rumors
> > that
> > > the database will solve the issue where users are unable to retrieve
> > mail
> > > after a restart. other than this issue my FrankenJames  James 2.0a2
> +
> > > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> > >
> > > from where i sit it looks like James gets worse with every release.
> at
> > least
> > > 2.1a1-2002-08-18 would run after configuration even though the pop
> > server
> > > was dysfunctional.................
> > >
> > > ----- Original Message -----
> > > From: "JRC" <po...@neonkiwi.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > Sent: Friday, October 18, 2002 1:26 PM
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > > i'm currently in the process of setting up
> > james-binary-2.1a1-2002-09-24.
> > > > the initial run has been done and a MySQL database has been
> created.
> > it's
> > > > config time. i'll let you know how things turn out......
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:james-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:james-user-
> > help@jakarta.apache.org>
>
>
>
> --
> 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>


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
WinXP
2.1a1-2002-09-24
JDK1.3.1_04

ok, i made some of the configuration changes and added a user. i used my isp
mail account to send an email to james and the pop3 server choked again,
just like 2.0a3 and 2.1a1-2002-08-18. this is the same issue we were
discussing back in august, the topic was "java.net.SocketException:
Connection reset POP3server." the POP3Handler.java from 2.0a2 is the only
one that works properly on my system. if you recall, i got the same errors
during telnet sessions. the only successful retrieval of mail occured when
the mail was sent by the netscape client.................is this ringing any
bells? i can't spend a lot of time going through the same telnet testing
over again because during this one quick test one of my other users was
trying to check mail. all i really need is a little help configuring James
2.0a2 + SMTPHandler.java 2.1a1-2002-08-18 to work with MySQL so my users can
retrieve mail after a shutdown and restart.

 19/10/02 09:13:49 INFO  pop3server: Connection from 192.168.1.1
(192.168.1.1)
19/10/02 09:13:49 DEBUG pop3server: Command received: USER randy
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK
19/10/02 09:13:49 DEBUG pop3server: Command received: PASS <password
omitted>
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Welcome randy
19/10/02 09:13:49 DEBUG pop3server: Command received: STAT
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
19/10/02 09:13:49 DEBUG pop3server: Command received: LIST
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK 1 1647
19/10/02 09:13:49 DEBUG pop3server: Command received: RETR 1
19/10/02 09:13:49 DEBUG pop3server: Sent: +OK Message follows
19/10/02 09:13:49 INFO  pop3server: Hello Name is: neonkiwi.com
19/10/02 09:13:49 INFO  pop3server: Connection from
host217-42-68-196.range217-42.btcentralplus.com (217.42.68.196)
19/10/02 09:14:11 INFO  pop3server: Connection closed
19/10/02 09:14:52 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:20
6)
 at
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connect
ion.java:169)
 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)
19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...
19/10/02 09:15:49 INFO  pop3server: POP3Server dispose...plain:110
19/10/02 09:15:49 ERROR pop3server: Connection timeout on socket
19/10/02 09:15:50 INFO  pop3server: POP3Server ...dispose end


----- Original Message -----
From: "Peter M. Goldstein" <pe...@yahoo.com>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 10:08 PM
Subject: RE: database for inbox repositories


>
> At a quick glance it looks like a Phoenix issue.  Check your
> PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
> it is correct.  "/path/to" reads like a default path, and it's not one
> that's defined in James code.
>
> --Peter
>
> > -----Original Message-----
> > From: JRC [mailto:postmaster@neonkiwi.com]
> > Sent: Friday, October 18, 2002 2:54 PM
> > To: James Users List
> > Subject: Re: database for inbox repositories
> >
> > i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
> and
> > shut it down. edited the config file and it failed saying couldn't
> build
> > from D:/path/to/config.xml
> >
> > maybe i'll try again later when i'm not so ticked of at it.....
> >
> > ----- Original Message -----
> > From: "Noel J. Bergman" <no...@devtech.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > Sent: Friday, October 18, 2002 4:38 PM
> > Subject: RE: database for inbox repositories
> >
> >
> > > JR,
> > >
> > > I can appreciate your frustration, but James does work, and works
> well.
> > So
> > > the question is what was the error that caused it to fail to start?
> How
> > did
> > > you install it?  Did you do a clean binary install, including the
> > updated
> > > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> > needing
> > to
> > > be false?
> > >
> > > I'll download 2.1a1-2002-09-24 to my test server, and see what
> happens.
> > All
> > > you did was install it, run it for the initial extract, and add the
> > > servername and dns servers?
> > >
> > > --- Noel
> > >
> > > -----Original Message-----
> > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > Sent: Friday, October 18, 2002 17:04
> > > To: James Users List
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> > current
> > > config file the server fails to start. please note that i did not
> just
> > copy
> > > one to the other. i am aware of the changes to the config file such
> as
> > > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
> simply
> > > changed servername and added dns servers........
> > >
> > > version 2.0a2 serves as my only email so i don't really have the
> time to
> > > keep it shut down to troubleshoot, plus the other users are starting
> to
> > > complain.
> > >
> > > the reason i asked about the MySQL config is because there are
> rumors
> > that
> > > the database will solve the issue where users are unable to retrieve
> > mail
> > > after a restart. other than this issue my FrankenJames  James 2.0a2
> +
> > > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> > >
> > > from where i sit it looks like James gets worse with every release.
> at
> > least
> > > 2.1a1-2002-08-18 would run after configuration even though the pop
> > server
> > > was dysfunctional.................
> > >
> > > ----- Original Message -----
> > > From: "JRC" <po...@neonkiwi.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > Sent: Friday, October 18, 2002 1:26 PM
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > > i'm currently in the process of setting up
> > james-binary-2.1a1-2002-09-24.
> > > > the initial run has been done and a MySQL database has been
> created.
> > it's
> > > > config time. i'll let you know how things turn out......
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:james-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:james-user-
> > help@jakarta.apache.org>
>
>
>
> --
> 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: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
thanks, i'll look into the JDK upgrade. i'm hoping the db repository will
solve problems as well....

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Saturday, October 19, 2002 2:06 PM
Subject: RE: database for inbox repositories


> > better position to tinker with new versions of james without screwing up
> my
> > users mail service too bad.
>
> For testing, you can create a separate James install listening on
different
> ports, e.g., 10025 and 10110.  Install it in it's own directory structure,
> and let it use the file system (rather than setup a separate database).
>
> For what it is worth, Sun just released JDK 1.4.1_01.  Some of the fixes
> look like they will positively impact James.  [Danny, you might want to
> re-run your server hotspot tests]
>
> -- 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: database for inbox repositories

Posted by "Noel J. Bergman" <no...@devtech.com>.
> better position to tinker with new versions of james without screwing up
my
> users mail service too bad.

For testing, you can create a separate James install listening on different
ports, e.g., 10025 and 10110.  Install it in it's own directory structure,
and let it use the file system (rather than setup a separate database).

For what it is worth, Sun just released JDK 1.4.1_01.  Some of the fixes
look like they will positively impact James.  [Danny, you might want to
re-run your server hotspot tests]

	-- Noel


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
it looks like i've got James 2.0a2 + SMTPHandler.java 2.1a1-2002-08-18
properly configured to use a mysql database for inboxes.....i think....

i'll let this configuration run for a while then convert the user repository
over to db. with inbox and users stored in a database i should be in a
better position to tinker with new versions of james without screwing up my
users mail service too bad..............

----- Original Message -----
From: "Peter M. Goldstein" <pe...@yahoo.com>
To: "'James Users List'" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 10:08 PM
Subject: RE: database for inbox repositories


>
> At a quick glance it looks like a Phoenix issue.  Check your
> PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
> it is correct.  "/path/to" reads like a default path, and it's not one
> that's defined in James code.
>
> --Peter
>
> > -----Original Message-----
> > From: JRC [mailto:postmaster@neonkiwi.com]
> > Sent: Friday, October 18, 2002 2:54 PM
> > To: James Users List
> > Subject: Re: database for inbox repositories
> >
> > i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
> and
> > shut it down. edited the config file and it failed saying couldn't
> build
> > from D:/path/to/config.xml
> >
> > maybe i'll try again later when i'm not so ticked of at it.....
> >
> > ----- Original Message -----
> > From: "Noel J. Bergman" <no...@devtech.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > Sent: Friday, October 18, 2002 4:38 PM
> > Subject: RE: database for inbox repositories
> >
> >
> > > JR,
> > >
> > > I can appreciate your frustration, but James does work, and works
> well.
> > So
> > > the question is what was the error that caused it to fail to start?
> How
> > did
> > > you install it?  Did you do a clean binary install, including the
> > updated
> > > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> > needing
> > to
> > > be false?
> > >
> > > I'll download 2.1a1-2002-09-24 to my test server, and see what
> happens.
> > All
> > > you did was install it, run it for the initial extract, and add the
> > > servername and dns servers?
> > >
> > > --- Noel
> > >
> > > -----Original Message-----
> > > From: JRC [mailto:postmaster@neonkiwi.com]
> > > Sent: Friday, October 18, 2002 17:04
> > > To: James Users List
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> > current
> > > config file the server fails to start. please note that i did not
> just
> > copy
> > > one to the other. i am aware of the changes to the config file such
> as
> > > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
> simply
> > > changed servername and added dns servers........
> > >
> > > version 2.0a2 serves as my only email so i don't really have the
> time to
> > > keep it shut down to troubleshoot, plus the other users are starting
> to
> > > complain.
> > >
> > > the reason i asked about the MySQL config is because there are
> rumors
> > that
> > > the database will solve the issue where users are unable to retrieve
> > mail
> > > after a restart. other than this issue my FrankenJames  James 2.0a2
> +
> > > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> > >
> > > from where i sit it looks like James gets worse with every release.
> at
> > least
> > > 2.1a1-2002-08-18 would run after configuration even though the pop
> > server
> > > was dysfunctional.................
> > >
> > > ----- Original Message -----
> > > From: "JRC" <po...@neonkiwi.com>
> > > To: "James Users List" <ja...@jakarta.apache.org>
> > > Sent: Friday, October 18, 2002 1:26 PM
> > > Subject: Re: database for inbox repositories
> > >
> > >
> > > > i'm currently in the process of setting up
> > james-binary-2.1a1-2002-09-24.
> > > > the initial run has been done and a MySQL database has been
> created.
> > it's
> > > > config time. i'll let you know how things turn out......
> > > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:james-user-
> > unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:james-user-
> > help@jakarta.apache.org>
>
>
>
> --
> 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: database for inbox repositories

Posted by "Peter M. Goldstein" <pe...@yahoo.com>.
At a quick glance it looks like a Phoenix issue.  Check your
PHOENIX_HOME (printed out by run.bat when the server starts).  Make sure
it is correct.  "/path/to" reads like a default path, and it's not one
that's defined in James code.

--Peter

> -----Original Message-----
> From: JRC [mailto:postmaster@neonkiwi.com]
> Sent: Friday, October 18, 2002 2:54 PM
> To: James Users List
> Subject: Re: database for inbox repositories
> 
> i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once
and
> shut it down. edited the config file and it failed saying couldn't
build
> from D:/path/to/config.xml
> 
> maybe i'll try again later when i'm not so ticked of at it.....
> 
> ----- Original Message -----
> From: "Noel J. Bergman" <no...@devtech.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Friday, October 18, 2002 4:38 PM
> Subject: RE: database for inbox repositories
> 
> 
> > JR,
> >
> > I can appreciate your frustration, but James does work, and works
well.
> So
> > the question is what was the error that caused it to fail to start?
How
> did
> > you install it?  Did you do a clean binary install, including the
> updated
> > Phoenix, or what?  Did you get an error related to PHOENIX_SECURE
> needing
> to
> > be false?
> >
> > I'll download 2.1a1-2002-09-24 to my test server, and see what
happens.
> All
> > you did was install it, run it for the initial extract, and add the
> > servername and dns servers?
> >
> > --- Noel
> >
> > -----Original Message-----
> > From: JRC [mailto:postmaster@neonkiwi.com]
> > Sent: Friday, October 18, 2002 17:04
> > To: James Users List
> > Subject: Re: database for inbox repositories
> >
> >
> > i quit! after modifying the 2.1a1-2002-09-24 config file to match my
> current
> > config file the server fails to start. please note that i did not
just
> copy
> > one to the other. i am aware of the changes to the config file such
as
> > fetchpop and pop3server enabled="true", etc. in version 2.1a1. i
simply
> > changed servername and added dns servers........
> >
> > version 2.0a2 serves as my only email so i don't really have the
time to
> > keep it shut down to troubleshoot, plus the other users are starting
to
> > complain.
> >
> > the reason i asked about the MySQL config is because there are
rumors
> that
> > the database will solve the issue where users are unable to retrieve
> mail
> > after a restart. other than this issue my FrankenJames  James 2.0a2
+
> > SMTPHandler.java 2.1a1-2002-08-18 works just fine.
> >
> > from where i sit it looks like James gets worse with every release.
at
> least
> > 2.1a1-2002-08-18 would run after configuration even though the pop
> server
> > was dysfunctional.................
> >
> > ----- Original Message -----
> > From: "JRC" <po...@neonkiwi.com>
> > To: "James Users List" <ja...@jakarta.apache.org>
> > Sent: Friday, October 18, 2002 1:26 PM
> > Subject: Re: database for inbox repositories
> >
> >
> > > i'm currently in the process of setting up
> james-binary-2.1a1-2002-09-24.
> > > the initial run has been done and a MySQL database has been
created.
> it's
> > > config time. i'll let you know how things turn out......
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:james-user-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:james-user-
> help@jakarta.apache.org>



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


RE: database for inbox repositories

Posted by "Noel J. Bergman" <no...@devtech.com>.
When you do, the actually log info would be helpful.  Not every exception,
but just the initial one that causes the cascade of failures.  Sounds like
you are saying that Phoenix dies trying to initialize James.

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Friday, October 18, 2002 17:54
To: James Users List
Subject: Re: database for inbox repositories


i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once and
shut it down. edited the config file and it failed saying couldn't build
from D:/path/to/config.xml

maybe i'll try again later when i'm not so ticked of at it.....

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 4:38 PM
Subject: RE: database for inbox repositories


> JR,
>
> I can appreciate your frustration, but James does work, and works well.
So
> the question is what was the error that caused it to fail to start?  How
did
> you install it?  Did you do a clean binary install, including the updated
> Phoenix, or what?  Did you get an error related to PHOENIX_SECURE needing
to
> be false?
>
> I'll download 2.1a1-2002-09-24 to my test server, and see what happens.
All
> you did was install it, run it for the initial extract, and add the
> servername and dns servers?
>
> --- Noel
>
> -----Original Message-----
> From: JRC [mailto:postmaster@neonkiwi.com]
> Sent: Friday, October 18, 2002 17:04
> To: James Users List
> Subject: Re: database for inbox repositories
>
>
> i quit! after modifying the 2.1a1-2002-09-24 config file to match my
current
> config file the server fails to start. please note that i did not just
copy
> one to the other. i am aware of the changes to the config file such as
> fetchpop and pop3server enabled="true", etc. in version 2.1a1. i simply
> changed servername and added dns servers........
>
> version 2.0a2 serves as my only email so i don't really have the time to
> keep it shut down to troubleshoot, plus the other users are starting to
> complain.
>
> the reason i asked about the MySQL config is because there are rumors that
> the database will solve the issue where users are unable to retrieve mail
> after a restart. other than this issue my FrankenJames  James 2.0a2 +
> SMTPHandler.java 2.1a1-2002-08-18 works just fine.
>
> from where i sit it looks like James gets worse with every release. at
least
> 2.1a1-2002-08-18 would run after configuration even though the pop server
> was dysfunctional.................
>
> ----- Original Message -----
> From: "JRC" <po...@neonkiwi.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Friday, October 18, 2002 1:26 PM
> Subject: Re: database for inbox repositories
>
>
> > i'm currently in the process of setting up
james-binary-2.1a1-2002-09-24.
> > the initial run has been done and a MySQL database has been created.
it's
> > config time. i'll let you know how things turn out......
> >
>
>
> --
> 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>


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
i downloaded james-2.1a1-2002-09-19-src.zip and extracted. ran it once and
shut it down. edited the config file and it failed saying couldn't build
from D:/path/to/config.xml

maybe i'll try again later when i'm not so ticked of at it.....

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 4:38 PM
Subject: RE: database for inbox repositories


> JR,
>
> I can appreciate your frustration, but James does work, and works well.
So
> the question is what was the error that caused it to fail to start?  How
did
> you install it?  Did you do a clean binary install, including the updated
> Phoenix, or what?  Did you get an error related to PHOENIX_SECURE needing
to
> be false?
>
> I'll download 2.1a1-2002-09-24 to my test server, and see what happens.
All
> you did was install it, run it for the initial extract, and add the
> servername and dns servers?
>
> --- Noel
>
> -----Original Message-----
> From: JRC [mailto:postmaster@neonkiwi.com]
> Sent: Friday, October 18, 2002 17:04
> To: James Users List
> Subject: Re: database for inbox repositories
>
>
> i quit! after modifying the 2.1a1-2002-09-24 config file to match my
current
> config file the server fails to start. please note that i did not just
copy
> one to the other. i am aware of the changes to the config file such as
> fetchpop and pop3server enabled="true", etc. in version 2.1a1. i simply
> changed servername and added dns servers........
>
> version 2.0a2 serves as my only email so i don't really have the time to
> keep it shut down to troubleshoot, plus the other users are starting to
> complain.
>
> the reason i asked about the MySQL config is because there are rumors that
> the database will solve the issue where users are unable to retrieve mail
> after a restart. other than this issue my FrankenJames  James 2.0a2 +
> SMTPHandler.java 2.1a1-2002-08-18 works just fine.
>
> from where i sit it looks like James gets worse with every release. at
least
> 2.1a1-2002-08-18 would run after configuration even though the pop server
> was dysfunctional.................
>
> ----- Original Message -----
> From: "JRC" <po...@neonkiwi.com>
> To: "James Users List" <ja...@jakarta.apache.org>
> Sent: Friday, October 18, 2002 1:26 PM
> Subject: Re: database for inbox repositories
>
>
> > i'm currently in the process of setting up
james-binary-2.1a1-2002-09-24.
> > the initial run has been done and a MySQL database has been created.
it's
> > config time. i'll let you know how things turn out......
> >
>
>
> --
> 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: database for inbox repositories

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

I can appreciate your frustration, but James does work, and works well.  So
the question is what was the error that caused it to fail to start?  How did
you install it?  Did you do a clean binary install, including the updated
Phoenix, or what?  Did you get an error related to PHOENIX_SECURE needing to
be false?

I'll download 2.1a1-2002-09-24 to my test server, and see what happens.  All
you did was install it, run it for the initial extract, and add the
servername and dns servers?

	--- Noel

-----Original Message-----
From: JRC [mailto:postmaster@neonkiwi.com]
Sent: Friday, October 18, 2002 17:04
To: James Users List
Subject: Re: database for inbox repositories


i quit! after modifying the 2.1a1-2002-09-24 config file to match my current
config file the server fails to start. please note that i did not just copy
one to the other. i am aware of the changes to the config file such as
fetchpop and pop3server enabled="true", etc. in version 2.1a1. i simply
changed servername and added dns servers........

version 2.0a2 serves as my only email so i don't really have the time to
keep it shut down to troubleshoot, plus the other users are starting to
complain.

the reason i asked about the MySQL config is because there are rumors that
the database will solve the issue where users are unable to retrieve mail
after a restart. other than this issue my FrankenJames  James 2.0a2 +
SMTPHandler.java 2.1a1-2002-08-18 works just fine.

from where i sit it looks like James gets worse with every release. at least
2.1a1-2002-08-18 would run after configuration even though the pop server
was dysfunctional.................

----- Original Message -----
From: "JRC" <po...@neonkiwi.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 1:26 PM
Subject: Re: database for inbox repositories


> i'm currently in the process of setting up james-binary-2.1a1-2002-09-24.
> the initial run has been done and a MySQL database has been created. it's
> config time. i'll let you know how things turn out......
>


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
i quit! after modifying the 2.1a1-2002-09-24 config file to match my current
config file the server fails to start. please note that i did not just copy
one to the other. i am aware of the changes to the config file such as
fetchpop and pop3server enabled="true", etc. in version 2.1a1. i simply
changed servername and added dns servers........

version 2.0a2 serves as my only email so i don't really have the time to
keep it shut down to troubleshoot, plus the other users are starting to
complain.

the reason i asked about the MySQL config is because there are rumors that
the database will solve the issue where users are unable to retrieve mail
after a restart. other than this issue my FrankenJames  James 2.0a2 +
SMTPHandler.java 2.1a1-2002-08-18 works just fine.

from where i sit it looks like James gets worse with every release. at least
2.1a1-2002-08-18 would run after configuration even though the pop server
was dysfunctional.................

----- Original Message -----
From: "JRC" <po...@neonkiwi.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 1:26 PM
Subject: Re: database for inbox repositories


> i'm currently in the process of setting up james-binary-2.1a1-2002-09-24.
> the initial run has been done and a MySQL database has been created. it's
> config time. i'll let you know how things turn out......
>




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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
i'm currently in the process of setting up james-binary-2.1a1-2002-09-24.
the initial run has been done and a MySQL database has been created. it's
config time. i'll let you know how things turn out......

----- Original Message -----
From: "Noel J. Bergman" <no...@devtech.com>
To: "James Users List" <ja...@jakarta.apache.org>
Sent: Friday, October 18, 2002 1:15 PM
Subject: RE: database for inbox repositories


> JR,
>
> I'm sorry if something "just got dropped."  Of course it is important
> (vital) that you be able to use later versions.
>
> > java.net.SocketException: Connection reset POP3server
>
> Was this the error where it was closing the socket immediately as if it
had
> timed out?  I thought I had made a suggestion about what might be causing
> the problem, and a fix (actually, IIRC the real bug is in that version of
> the JVM).  In any event, we definitely want to make sure that James 2.1
> works for you.  Have you confirmed that the current milestone code fails?
I
> may have a test build for you, if you'd have some time to check it.
>
> --- 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: database for inbox repositories

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

I'm sorry if something "just got dropped."  Of course it is important
(vital) that you be able to use later versions.

> java.net.SocketException: Connection reset POP3server

Was this the error where it was closing the socket immediately as if it had
timed out?  I thought I had made a suggestion about what might be causing
the problem, and a fix (actually, IIRC the real bug is in that version of
the JVM).  In any event, we definitely want to make sure that James 2.1
works for you.  Have you confirmed that the current milestone code fails?  I
may have a test build for you, if you'd have some time to check it.

	--- Noel


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


Re: database for inbox repositories

Posted by JRC <po...@neonkiwi.com>.
>Why are you mixing and matching, instead of picking up the 2.1a1 code?

we were discussing a problem i was having back in august and it just got
dropped so i figured there was no point in continuing with attempts to use
later versions.....java.net.SocketException: Connection reset POP3server.
you kept asking me to do telnet checks, i kept getting errors, subject
dropped.

i finally built a FrankenJames to get the proper SMTP AUTH for netscape
clients, etc.......while still having a POP3 server that functioned.......

> I presume you mean 4.1?

err...i mean 3.23.52......1.4 is version of mysqladmin

> 2.1a1 includes the latest (last?) version of the LGPL'd driver.

java.net.SocketException: Connection reset POP3server
old topic, same problem





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


RE: database for inbox repositories

Posted by "Noel J. Bergman" <no...@devtech.com>.
> James 2.0a2 + SMTPHandler.java 2.1a1-2002-08-18

Why are you mixing and matching, instead of picking up the 2.1a1 code?

> MySQL 1.4

I presume you mean 4.1?

> MySQL Connector/J 2.0.14

2.1a1 includes the latest (last?) version of the LGPL'd driver.

> Do I have all of the nessecary components to set up an inbox database?

Yes.

> Do I need to modify anything other than the portions
  of the config file I've listed here?

Not that I'm spotting off-hand.

> What form must I create the database in, tables, columns, etc.?

Create the database, GRANT permissions to it for the user/password, run
James.  James will create the tables it needs.

	--- Noel


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