On Feb 6, 2008 3:48 PM, Timothy Mizas <[EMAIL PROTECTED]> wrote: > My roller-custom.properties is being loaded according to roller.log "INFO > 2008-02-06 15:29:23,448 RollerConfig:<clinit> - successfully loaded custom > properties file from classpath" I tried removing the resources and > resource-ref elements, but that seemed to make things worse. If it makes a > difference I'm using roller 3.1 since it will have to be running on tomcat 5 > with java 1.4. I'm still getting > > "WARN 2008-02-06 15:29:23,468 RollerContext:upgradeDatabaseIfNeeded - Unable > to access DataSource > javax.naming.NameNotFoundException: Name rollerdb is not bound in this > Context" > > I don't know where it's getting the name rollerdb since I have changed it to > my custom database name.
Ah, an upgrade. Well why didn't you say so ;-) If you had a version of Roller working with JNDI, then the only database config you need in roller-custom.properties is: configuration.type=jndi database.jndi.name=jdbc/dbname And you'll need those resource refs in web.xml too. - Dave
