You can't use relative URLs for the database conn definition file.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Dongsheng Song" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 9:25 PM
Subject: Howto modify JAMES.conf.xml for use database ?


> Hi all,
>
> I'm new to james, and I want to known how to use database for store users
ant mails, but after I modified the JAMES.conf.xml, james report:
>
> 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.userrepository.UsersTownRepository.countUsers(UsersTownRepo
sitory.java:171)
>
> the file $JAMES_HOME/var/maildatabase is existed.
>
> Thanks for some help,
>
> SongDongsheng.
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to