Don't put to much into this suggestion - It's really a shot in the dark.
But I had similar problems hooking up James to a DB2 database. The reason
was because my JDBC drive did not support meta-data and this makes Town
sputter and fail. If I remember it was because it needed some meta data to
develop it's pool of connections - something like that, I don't remember
clearly. If someone else doesn't give you a better suggestions, you might
dive into the Town source to see if that is indeed the problem. (I modified
the Town source as a work around for me - I didn't want to pay for another
driver ; ) hope this helps.
david@beaumont
.as To: [EMAIL PROTECTED]
cc:
07/20/2001 Subject: using a database
10:51 AM
Please respond
to james-user
Ok, with my earlier problem solved (I have changed the DNS address by
mistake)
I have decided to use a database. I followed all the commands in the doc
file
but it will not connect. I am using a jdbc driver that I use regularly with
Tomcat and it doesn't recognise the maildatabase file even though it is
clearly
there, here is the error message, can anyone help?
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.ja
va:139)
at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
loading broker properties from file:/dev/james/dist/var/maildatabase
java.io.FileNotFoundException: \dev\james\dist\var\maildatabase (The system
cann
ot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
urce)
at java.net.URL.openStream(Unknown Source)
at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:3
03)
at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRep
ository.java:255)
at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpoolR
epository.java:271)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.ja
va:139)
at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
java.lang.RuntimeException: Error creating conn definition:
java.io.FileNotFound
Exception: \dev\james\dist\var\maildatabase (The system cannot find the
path spe
cified)
at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:
03)
at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRe
ository.java:255)
at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpool
epository.java:271)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.j
va:139)
at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
java.lang.RuntimeException: Error creating conn definition:
java.io.FileNotFoun
Exception: \dev\james\dist\var\maildatabase (The system cannot find the
path sp
cified)
at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:
51)
at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRe
ository.java:255)
at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpool
epository.java:271)
at
org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.j
va:139)
at org.apache.avalon.utils.recycle.pool.Worker.run(Worker.java:113)
java.lang.RuntimeException: Exception while listing mail: Error creating
conn d
finition: java.io.FileNotFoundException: \dev\james\dist\var\maildatabase
(The
ystem cannot find the path specified)
at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRe
--
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]