Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#28 Hard-coded file URL to jdbc.conf file

open
nobody
server (14)
5
2004-01-06
2004-01-06
No

Within the
com.lyrisoft.chat.server.remote.persistence.Jdbc class,
there is a hard-coded property file URL pointing
to "conf/jdbc.conf". This is not a bug in the standard
packing, of course, but I'd like to pack the NFC client
JARs and (some) conf files into my own WAR file
containing the property files somewhere else, not in the
WEB-INF/conf folder.

Wouldn't it be possible to specify the location of the
jdbc.conf within the nfc.conf too, e.g. using an
additional (, optional) auth property named
e.g. "auth.properties"? Btw.: The same problem applies
to the
com.lyrisoft.chat.server.remote.persistence.auth.Passwd
class, but there is at least a comment in the nfc.conf
file...

Discussion