We're trying to integrate a "legacy system" into magnolia where we
have get DB data via JDBC. So far things work fine, but each time a DB
connection is opened, I'm getting an exception in the log which tells
me that I must have missed something in the configuration. The
connection is still opened and I can fetch the data... but it's not
pretty ;-)
I'm sure there are people on this list who have _a lot_ more
experience than me with Tomcat and JDBC. Would you giving me a pointer
where to look?
Thanks!
The first few lines of the exception:
javax.naming.NameNotFoundException: Name jdbc is not bound in this
Context
at org.apache.naming.NamingContext.list(NamingContext.java:345)
at org.apache.naming.NamingContext.list(NamingContext.java:353)
at org.apache.naming.NamingContext.list(NamingContext.java:353)
at org.apache.naming.NamingContext.list(NamingContext.java:368)
at
org.apache.naming.SelectorContext.list(SelectorContext.java:307)
at javax.naming.InitialContext.list(InitialContext.java:395)
at
com
.webobjects
.jdbcadaptor.JDBCContext.setupJndiConfiguration(JDBCContext.java:310)
at
com.webobjects.jdbcadaptor.JDBCContext.connect(JDBCContext.java:197)
at
com.webobjects.jdbcadaptor.JDBCContext._tryConnect(JDBCContext.java:362)
at
com
.webobjects.jdbcadaptor.JDBCContext._channelWillOpen(JDBCContext.java:
505)
at
com.webobjects.jdbcadaptor.JDBCChannel.openChannel(JDBCChannel.java:111)
...
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------