- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Anyone who's ever had to upgrade a library version would know that relying on the jar the happens to currently be in the lib/ext folder is a recipe for disaster, but it should be apparent that it might be worth forgiving and educating people who think it's "best practice" to "install" JDBC drivers as extensions.
CAPTCHA: tego... because lots of technology websites that should know better think that JDBC drivers are meant tego there...
Admin
Admin
Including the JDBC JARs in jre/lib/ext may or may not be a WTF, but the way I read the story, someone put the application JAR in there - a big WTF.
Admin
Yeah, now the CEO can't bother people by email continuously productivity's gone through the roof! >;->
Admin
I think it's a customised version of the JDBC drivers, or possibly a data access wrapper. I can kind of understand how you could consider that a "platform extension"; why you'd stick it in /lib/ext without documenting the fact OTOH is beyond me.
Also, for those ragging on Andrew's troubleshooting abilities, the story doesn't say Andrew was a programmer. He "supported" genCore. When he struggled to fix it he contacted one of the engineers. And frankly, a support tech who's willing to ask the appropriate colleagues for assistance when they can't fix an issue is someone I'd want working with me.
Admin
You really think jvm is bad, try deploying a RESTful architecture over WCF.
Admin
Java has a lot of similar solutions, but I wouldn't exactly call all of them good. Hence the WTF from the article.
Admin
Even better!
Admin
Man... All the Java hate over a simple and minor classpath issue! You've never had an issue with an app using an older version which is in the GAC rather than the local one? This issue isn't much different.
Admin
I did, and it took me two seconds to look at the version specificed in the web.config to figure it out. Not having to know that another directory takes precedence over the local version without raising any issue about ambiguity.
Admin
Could it be.....
Satan?
Admin
I don't know if it will fix the jre/lib/ext issue, but I think it is possible to write your own class loader
Admin
From the first sign of trouble, I was thinking: "Why not just remove the JVM, reinstall the latest supported version, and redeploy instead of all of this nonsense?"
Obviously TRWTF is a bunch of TESTING ENGINEERS who let a machine sit around wasting space and time because they don't know how to troubleshoot issues.
Admin
Except that class loading order is a basic feature of the JVM (and of application servers) which experienced developers should know about.
Instead, these dudes just gave up when their application didn't work on some fucked-up machine.
Admin
You can't compile a Java application with an "ambiguous reference" either.
You're just bound to prove how superior .NET is to Java, without actually understanding Java, aren't you?
Admin
You're right, the article is a complete lie. :facepalm:
Admin
"That's just the way it's always worked."
Things like Java are a complete POS when they don't work as you would expect them to without reading the documentation. Having to read every part of Java's documentation to find something that works so counter to intuition is a huge WTF, and part of why I'm glad that I've never had to touch Java, other than working with applications that take up a hundred times more memory than necessary.
Admin
Admin
'The principal oddity is the behaviour of #include "file.h". This loads from the current directory'
That's correct.
'The answer is, "the directory that contains the file doing the include,"'
That's incorrect. It's relative to the current working directory which invariably is the same as the file doing the include. eg:
cd foo cc c.c ^^^oki
cd .. cc foo/c.c ^^^fails to find foo/file.h
Admin
Thank you. I'm glad that someone gets it.
Admin
Admin
chloroquine side effects https://chloroquineorigin.com/# hcqs pill
Admin
https://cialiswithdapoxetine.com/ generic cialis