Hello everybody,

I am having problems with Town repository: I want the inbox in the database and have 
this uncommented in .conf:
<inboxRepository> town://inbox </inboxRepository>
as well as proper stuff in ../var/maildatabase (at least I am assuming it is OK since 
I have this in DCB_XXX.log:
-----------------------------------------------------------------------
Sun Nov 12 00:40:41 EST 2000 Starting DbConnectionBroker Version 1.1.0:
Sun Nov 12 00:40:41 EST 2000 dbDriver = org.gjt.mm.mysql.Driver
Sun Nov 12 00:40:41 EST 2000 dbServer = jdbc:mysql:///James
Sun Nov 12 00:40:41 EST 2000 dbLogin = root
Sun Nov 12 00:40:41 EST 2000 minconnections = 1
Sun Nov 12 00:40:41 EST 2000 maxconnections = 2
Sun Nov 12 00:40:41 EST 2000 Total refresh interval = 0 days
Sun Nov 12 00:40:41 EST 2000 -----------------------------------------
Sun Nov 12 00:40:41 EST 2000 We have too few connections open... let's create one
Sun Nov 12 00:40:41 EST 2000 Opening connection 1: 
org.gjt.mm.mysql.jdbc2.Connection@32e13d
----------------------------------------------------------------------
but none of the messages ends up in the database (I used the sql script to create the 
Message table).
The only error I can find is in the Avalon.log:
-----------------------------------------------------------------------
...
2000.11.12 12:40:41 458 (DEBUG) from Avalon: Block ApacheDefaultSocketServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 669 (DEBUG) from Avalon: Block JamesMailServer ask for a seskar
2000.11.12 12:40:41 669 (ERROR) from Avalon: initBlock Exception in null init: null
2000.11.12 12:40:41 679 (ERROR) from Avalon: .getBlock: Exception in block null init: 
null
2000.11.12 12:40:41 729 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 729 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.ThreadManager
2000.11.12 12:40:41 729 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.SocketServer
2000.11.12 12:40:41 729 (DEBUG) from Avalon: Block ApacheDefaultSocketServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 729 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 839 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 839 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.TimeServer
2000.11.12 12:40:41 839 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.SocketServer
2000.11.12 12:40:41 839 (DEBUG) from Avalon: Block ApacheDefaultSocketServer ask for a 
org.apache.avalon.blocks.Logger
2000.11.12 12:40:41 849 (INFO) from Avalon: block JamesMailServer initializated
2000.11.12 12:40:41 849 (INFO) from Avalon: .init end
-----------------------------------------------------------------------

and my MySql server reports:
-----------------------------------------------------------------------
001112  0:43:22  Aborted connection 18 to db: 'unconnected' user: 'root' host: 
`localhost' (Unknown error)
001112  0:40:30  Aborted connection 29 to db: 'James' user: 'root' host: `localhost' 
(Unknown error)
001112  0:33:25  Aborted connection 25 to db: 'James' user: 'root' host: `localhost' 
(Unknown error)
001112  0:28:56  Aborted connection 17 to db: 'James' user: 'root' host: `localhost' 
(Unknown error)
-----------------------------------------------------------------------

The same thing happens with sql server and ODBC driver. If I use file repository 
insead everything works fine.
Any clues?

Thanks,

Ivan.


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives:  <http://www.mail-archive.com/james%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to