Monthly Archives: June 2007

General

java:comp exception in Tomcat 6

I don’t know if this will do anyone any good (please leave a comment if it helps you!), but I want to get myself into the habit of blogging these sort of things for the potential good of other web searchers out there.

We were having the following problem: when starting an web app in Tomcat 6 that uses JNDI to locate a database connection, we got the exception:
javax.naming.NameNotFoundException: Name java:comp is not bound in this Context
Lots of people point out that this could be a problem with there being a JNDI implementation in the web app’s lib/, so that the app doesn’t get the global one defined by Tomcat, and they recommend removing all naming* JARs from lib/. But, in our case, it was catalina.jar that was causing the problem; it also includes a JNDI implementation.

General

Bobbing and weaving, technologically speaking

Just read a pretty good overview of some of the nits of de-interlacing: The basics of de-interlacing from good to great. This is a sort of fascinating topic to me.

I guess the first thing I think of, when I think of interlacing on either an aesthetic or technical level, is ugh. Aesthetically, I’d be quite happy to never see another interlaced video or monitor again. Technically, I’m thinking that the resources, both of engineers and of computers, that have been used to de-interlace could really have gone to something much cooler.

And it’s so persistent, too. Interlaced videos are still being produced, I’m sure interlaced monitors are, and at the same time, de-interlacers are still being developed, and all that will continue for years from today.

But this is all just one of those things that happen so often in technology, where something that was a great idea at the time becomes a self-reproducing monster. I wonder if the people who started us down the road to the interlaced world we’re in today (and I don’t mean to deride them; I can only snipe at them with the advantage of hindsight and from the vantage point of _today’s_ technology) are all like “I am become tearing” or if they’re all “I wish people would love everybody else the way they love me”?

In any case, at least we can say that interlacing stimulates the economy.