IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Re: seeing the application.
No, you wouldn't like to see it. Perhaps I'm being overly critical, I don't know. As you know, I'm not a java hack, but judging from the things I saw that I do know about (the db stuff) the app is probably a horror show. In that thread I referred to, some folks posted that a bug in their code was causing JVM crashes. That would have been my guess as to what our problems were initially. But then, it did run on their machine. We've had it running on our box almost without incident for about 3 months now under very light load. No way of guessing what a heavy load would do to it - and I shudder at the thought.

The "bug up my butt" about Java was actually a result of my experiences with this app. Going in, I was actually looking forward to learning about it. Then, after too many all-nighters to count (and I'm far too old for that) I was bitter. I mean, I didn't write it, the consultants who wrote it couldn't deploy it and my PHB was hammering me to "make it work".

The experience left me with the sense that this tomcat/apache/JSP stuff is very, very sensitive (fragile?). The whole thing just seems like a mish-mash of fragile stuff that just barely works together - breathe on it too hard and BOOM! See you here at 2am.

bcnu,
Mikem
New Bad code in any language is like that.
And I'd like to see it just from a forensics standpoint of figuring out what they did to make it so unstable. I've had JServ apps (precursor to Tomcat) running for over a year at a time under reasonably heavy load.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I'll try for permission to show you.
I'm not trying to start a flame war on this, but isn't it one of Java's touted strengths that because of its architecture (especially its lack of pointers, automagic memory management, etc.) you aren't supposed to be able to crash a JVM with bad code? Or have I just read too much of the hype?

In production, what is the difference between bad code causing an os/machine hang and bad java code causing a jvm crash?

From the 10,000 foot view, if a product isn't capable of doing the thing that is supposed to be among its greatest strengths, what does that say about the product overall?
bcnu,
Mikem
New Bad code...
As I said, I agree with the Tomcat people's assertion that this is a Sun problem.

Given that there are no bugs in the VM, you can't crash the JVM. A crashing JVM is a bad JVM, period. Sun has an issue there and needs to fix it.

That said, JVM crashes in my experience, and in the absence of JNI, are very very rare. I've seen one in my career, caused by some rather tense byte manipulation code.

IMO that says nothing about the product overall, and everything about that particular JVM release. I've seen more bugs in C compilers and the like than I have in JVMs. Condemning an entire product because of one bad experience is rather Rossish, don't you think? :-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Rossish? :0)
Maybe so. There's more baggage associated with this fiasco that I won't bore you with. Suffice it to say that the damned app should have been done w/PHP and the only reason tomcat/JSP was selected was that a PHB confused Java w/JSP while reading marketing foo from IBM. ;0)
bcnu,
Mikem
New I've used PHP.
I prefer JSP, believe it or not. PHP is a giant hack IMO (references... *shudder*).
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New To each his own. But,
here we have two people who know PHP. None that know Java/JSP.

I'm always in favor of whatever works and sufficiently floats your boat. I'm not married to PHP, but my view is that everything you use has its warts. It's just that I know (some/most?) of PHP's warts, which makes it easier for me to fix. And I am constantly in search of "easy". :-)


[Edit]: BTW, you still classify me as one of those whining weenies who slam Java out of ignorance?
bcnu,
Mikem
Expand Edited by mmoffitt May 6, 2004, 11:52:05 AM EDT
New If you have the inhouse experience
Then the PHB was truly an idiot for bringing in something else. But that has nothing to do with Java. ;-)

As far as being a whining weenie, as long as you confine yourself to whining about Sun's 1.4.2 JDK, I don't have an issue. ;-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Heh.
...as long as you confine yourself to whining about Sun's 1.4.2 JDK,

Except that it did it with Blackdown's and IBM's as well. So, Java's open game then, yes? :-D
bcnu,
Mikem
New WTF?
You got the same signal 11 in 3 different JDKs??

Does this thing use JNI by any chance? Or some libraries (like Oracle's OCI drivers) that use JNI?
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Yes, sig 11 w/different JDK's.
And different versions. I honestly cannot tell you which ones we tried, but we tried everything we could get our hands on. The last thing we did (rollback of libC) seems to have worked.

I'm told that JNI is not used. In the absence of source code, is there a quick way to tell?
bcnu,
Mikem

If you can read this, you are not the President.
New Re: Yes, sig 11 w/different JDK's.
There would be .so or .dll files that came with it.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Nope. No JNI.
bcnu,
Mikem

If you can read this, you are not the President.
New Dude,
Got the code. If you're interested, send a message to me: mikem@moffitt-tech.com
bcnu,
Mikem

If you can read this, you are not the President.
     Anybody know what McDonald's uses? - (mmoffitt) - (38)
         ... - (admin) - (20)
             No. - (mmoffitt) - (19)
                 Have to agree with the Tomcat people. - (admin) - (14)
                     Re: seeing the application. - (mmoffitt) - (13)
                         Bad code in any language is like that. - (admin) - (12)
                             I'll try for permission to show you. - (mmoffitt) - (11)
                                 Bad code... - (admin) - (10)
                                     Rossish? :0) - (mmoffitt) - (9)
                                         I've used PHP. - (admin) - (8)
                                             To each his own. But, - (mmoffitt) - (7)
                                                 If you have the inhouse experience - (admin) - (6)
                                                     Heh. - (mmoffitt) - (5)
                                                         WTF? - (admin) - (4)
                                                             Yes, sig 11 w/different JDK's. - (mmoffitt) - (3)
                                                                 Re: Yes, sig 11 w/different JDK's. - (admin) - (2)
                                                                     Nope. No JNI. -NT - (mmoffitt)
                                                                     Dude, - (mmoffitt)
                 This thread? - (admin) - (3)
                     Yeah, that's it ;0) [Edit: Found my post} - (mmoffitt) - (2)
                         Have you since checked the release notes... - (admin) - (1)
                             No, I haven't. Been too busy w/loads of other stuff. - (mmoffitt)
         Well, their store systems run on . . . - (Andrew Grygus) - (3)
             Shall we boycott McDonalds until they change that? :-) -NT - (ben_tilly) - (2)
                 I already boycott McBurp, out of flavor not IT -NT - (boxley)
                 I can't do that. - (Andrew Grygus)
         Tandem mainframe at Oak Brook, IL world HQ -NT - (lincoln) - (11)
             Make up your mind, is it Tandem or is it mainframe? :-P -NT - (drewk) - (10)
                 Come on Drew, no baiting... - (jbrabeck) - (7)
                     Your criteria has to be modified - (lincoln) - (3)
                         Didja miss the ;-j - (jbrabeck) - (2)
                             I did miss the ;-j - (lincoln) - (1)
                                 Correction - (jbrabeck)
                     How about basing it on the crash test? - (bbronson) - (2)
                         Dunno about that - (jbrabeck)
                         I've only seen a midrange crash once. - (admin)
                 I've already made up my mind - (lincoln) - (1)
                     I don't have a horse in this race - (drewk)
         Thanks All! -NT - (mmoffitt)

55 orders of magnitude bigger than it should be.
92 ms