Hello,

We've been developing a series of Java applications to work with a
major coldfusion ecommerce application to import and export data to
various services. For the time being, the applications all use JDBC to
connect to the database. This fine except that if the database moves to
another server and the admin is unaware that he needs to change the
properties file for each of the applications, they fail. Granted I have
log4j email me any fatal errors that occur but if the admin slacks and
leaves the old database running, no error will happen.
My question is this, I've used JNDI to get a datasource from within
CFMX, but how would I do it with a standalone application. I tried to
do it by using the jndi.properties and jrun.jar files from the server
with the application but I get a undefinedexception thrown. I connected
to the server with jdb to see if my app was talking to the cf jndi
service and it was.

Thank you,

Eric