Tuesday, October 04, 2005
Archaeology and contracting
Fighting with a jboss installation today. There are two jars with the same name: one in action, one in deploy. In this jar is supposed to be a class with a static method which takes three parameters. Now in the oldest jar, the class is not there, in the newest jar the class is there but the method only takes 2 parameters (I decompiled to check). So it must be somewhere else. A bruteforce search doesn't find it, and getting the jsp to tell me where the class is: URL whereItIs = getClass().getClassLoader().getResource(
Now an archaeologist might start first by "field walking", i.e. just wandering around on the site to see if there is anything just laying on the surface, and then go on to a geophysical survey.
Hmm, geophysical survey: I think I need to write a tool that acts like a radar to find where this class might be hiding.
Subscribe to Posts [Atom]