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 Barry Jia <bj...@brightspark.com> on 2001/09/17 18:02:30 UTC

How to Put James log into database !

Hi, I am new for JAMES. What I am trying to do is that to put the JAMES log
into database. I run my JAMES in WinNT2000,
and I use ODBC data source to create data soure for my ODBC connectection(to
create a user DSN), and I change the maildatabase-odbc and rename it to
maildatabase,
(jdbcDriver=sun.jdbc.odbc.JdbcOdbcDriver
jdbcURL=jdbc:odbc:myDSN(just created)
) and also change the JAMES.conf.xml, but when I start the JAMES, I can not
find DCB_970616938320.log like file in my bin directory, when I stop my
JAMES with ^C, the following exceptions genereded:
Who has experience about this issue ? Thanks.
----------------
2001.09.17 11:50:31 472 Channel default opened
loading broker properties from file://../var/maildatabase
java.net.UnknownHostException: ..
        at java.net.InetAddress.getAllByName0(InetAddress.java:571)
        at java.net.InetAddress.getAllByName0(InetAddress.java:540)
        at java.net.InetAddress.getByName(InetAddress.java:449)
        at java.net.Socket.<init>(Socket.java:100)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
        at sun.net.NetworkClient.openServer(NetworkClient.java:38)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
        at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
        at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:77)
        at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.ja
va:96)
        at java.net.URL.openStream(URL.java:798)
        at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:303)
        at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRepository
.java:255)
        at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpoolReposito
ry.java:288)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:27
1)
        at java.lang.Thread.run(Thread.java:484)
java.lang.RuntimeException: Error creating conn definition:
java.net.UnknownHostException: ..
        at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:351)
        at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRepository
.java:255)
        at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpoolReposito
ry.java:288)
        at
org.apache.james.transport.mailets.RemoteDelivery.run(RemoteDelivery.java:27
1)
        at java.lang.Thread.run(Thread.java:484)
loading broker properties from file://../var/maildatabase
java.net.UnknownHostException: ..
        at java.net.InetAddress.getAllByName0(InetAddress.java:571)
        at java.net.InetAddress.getAllByName0(InetAddress.java:540)
        at java.net.InetAddress.getByName(InetAddress.java:449)
        at java.net.Socket.<init>(Socket.java:100)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
        at sun.net.NetworkClient.openServer(NetworkClient.java:38)
        at sun.net.ftp.FtpClient.openServer(FtpClient.java:267)
        at sun.net.ftp.FtpClient.<init>(FtpClient.java:381)
        at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:77)
        at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.ja
va:96)
        at java.net.URL.openStream(URL.java:798)
        at
com.workingdogs.town.ConnDefinition.getInstance(ConnDefinition.java:303)
        at
org.apache.james.mailrepository.TownSpoolRepository.list(TownSpoolRepository
.java:255)
        at
org.apache.james.mailrepository.TownSpoolRepository.accept(TownSpoolReposito
ry.java:288) 
  ... more


Barry Jia
QA Developer, Brightspark Corp.






---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org