Post #153,926
5/5/04 5:56:09 PM
|
Anybody know what McDonald's uses?
Not for the mush, but in their IT efforts? Netcraft says their website is running Solaris, but I was wondering about internally. Would guess Oracle for the DB, prolly *nix for OS, Winders clients. Anyone know what they use for mail, development, etc.? S.u.s.e. says McDonald's Germany uses tomcat - and that frightens me. Have only stepped my toe into tomcat and it hasn't been pleasant.
Reason I'm asking is a new manager is coming from McDonald's Chicago and was interested in finding out, if possible, what his background is.
TIA.
bcnu, Mikem
|
Post #153,927
5/5/04 5:57:39 PM
|
...
Specifics? Wasn't pleasant because you just have a bug up your ass about Java, or what?
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #153,928
5/5/04 6:18:33 PM
|
No.
Here's a piece. # # HotSpot Virtual Machine Error : 11 # Error ID : 4F530E43505002EF # Please report this error at # [link|http://java.sun.com/cgi-bin/bugreport.cgi|http://java.sun.com/...bin/bugreport.cgi] # # Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode) # # An error report file has been saved as hs_err_pid12941.log. # Please refer to the file for further information. There was a very long thread - it looks like Sun may have removed it - I quit counting when the number of "Yeah, Me too" posts hit 46 - but here's a part of one I really liked: In one comical, yet sad, case, a bug was opened in the Jakarta Tomcat project which includes the entire text of an email from a Sun engineer responding to one of these bugs, saying, "Ask the Jakarta people." That Tomcat bug was closed, "Invalid", with the note, "JVM crashes are JVM bugs, not Tomcat bugs. Take this up with Sun". A lot of finger pointing, but not a lot of help from an application developer's perspective. Never did get this outsourced app to work for longer than 30 minutes on anything but a very specific JDK/set of C Libraries/apache version/tomcat version/connector version/kernel/etc. Red Hat 7.2 Linux box (I called in an Ubergeek to help me and we worked literally weeks trying to get the app to run on our hardware. The goobers who wrote it couldn't deploy to *anything*. It simply would not run on anything but their development box. And it is a tiny app. Could've been done in PHP in about 1/3rd the time.) I'll admit being relatively ignorant about Java and tomcat, but my first experience with it makes me want to run and hide from it.
bcnu, Mikem
|
Post #153,934
5/5/04 7:10:58 PM
|
Have to agree with the Tomcat people.
VM or JIT errors are the responsibility of the maker of the JDK. If you can get that with a particular set of application code, it's not the code's fault.
Could be RedHat too. FWIW I've only had a JVM core dump once with some dodgy encryption code in 1.3.0, which was fixed with an upgrade: JVM problem. And I've been using Tomcat steadily for a few months now with only one issue (memory leak with reloading servlets; known issue and only a "problem" during heavy development).
I'd be interested in seeing the application.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #153,996
5/6/04 8:30:46 AM
|
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
|
Post #154,004
5/6/04 9:20:19 AM
|
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..."
|
Post #154,034
5/6/04 11:06:25 AM
|
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
|
Post #154,040
5/6/04 11:27:55 AM
|
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..."
|
Post #154,043
5/6/04 11:33:45 AM
|
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
|
Post #154,046
5/6/04 11:35:32 AM
|
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..."
|
Post #154,051
5/6/04 11:50:36 AM
5/6/04 11:52:05 AM
|
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
Edited by mmoffitt
May 6, 2004, 11:52:05 AM EDT
|
Post #154,056
5/6/04 12:00:28 PM
|
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..."
|
Post #154,120
5/6/04 5:16:20 PM
|
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
|
Post #154,123
5/6/04 5:26:04 PM
|
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..."
|
Post #154,452
5/10/04 9:24:58 AM
|
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.
|
Post #154,472
5/10/04 10:16:56 AM
|
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..."
|
Post #154,473
5/10/04 10:22:57 AM
|
Nope. No JNI.
bcnu, Mikem
If you can read this, you are not the President.
|
Post #154,552
5/10/04 7:47:34 PM
|
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.
|
Post #154,006
5/6/04 9:25:59 AM
5/6/04 9:28:10 AM
|
This thread?
[link|http://forum.java.sun.com/thread.jsp?forum=37&thread=307252&start=0&range=15&hilite=false&q=|http://forum.java.su...5&hilite=false&q=]
After a re-read, looks like it might be a glibc + 1.4.2 issue. The glibc mentioned most often is after 2.2.4, and I run 2.2.3. :-)
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
Edited by admin
May 6, 2004, 09:28:10 AM EDT
|
Post #154,033
5/6/04 10:56:46 AM
5/6/04 11:14:25 AM
|
Yeah, that's it ;0) [Edit: Found my post}
We struggled with the same problem for almost two months. Having tried everything suggested here (and various and sundry other things) with no success, we finally downgraded glibc to version 2.2.4. It works and keeps running for weeks.
We were able to identify that the bug is in the garbage collection of the jvm - at least that's where our jvm was crashing all the time. It looks like libjvm.so is dependent upon a bug in glibc that is not there anymore. With any later version of glibc, we saw crashes in anywhere from minutes to a couple of hours, regardless of which jdk we used. After downgrading glibc, we could use virtually any jdk just fine.
If anyone seeing this problem is running tomcat 4.1.29 on a linux distro - and you can, try moving back your glibc.
bcnu, Mikem
Edited by mmoffitt
May 6, 2004, 11:14:25 AM EDT
|
Post #154,042
5/6/04 11:33:15 AM
|
Have you since checked the release notes...
... for notations that it works with glibc > 2.2.4 now? Here's what I'm running at home: \nanderson@spork:~$ java -version\njava version "1.4.1"\nJava(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-01)\nJava HotSpot(TM) Client VM (build Blackdown-1.4.1-01, mixed mode)\nanderson@spork:~$ dpkg -l | grep libc\nii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries and Timezone\n And at work: \nsanderson@bd00402:~$ /usr/local/java/bin/java -version\njava version "1.4.1_06"\nJava(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_06-b01)\nJava HotSpot(TM) Client VM (build 1.4.1_06-b01, mixed mode)\nsanderson@bd00402:~$ dpkg -l | grep libc\nii libc6 2.3.2.ds1-10 GNU C Library: Shared libraries and Timezone\n I haven't tried 1.4.2 yet.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #154,050
5/6/04 11:46:17 AM
|
No, I haven't. Been too busy w/loads of other stuff.
I was just happy to get it running. I will, no doubt, have to re-visit this. It was a panic situation before. The product was delivered two months late, everybody's head was on fire, PHB screaming 'Get it to work! Get it to work!', etc.
I'll try to approach it with a more open mind next time. But, the PHB in question is being replaced. This app is our only JSP app and could be redone from scratch w/PHP in a month tops. Dunno if the new PHB will want to continue w/JSP or not (this might be a do-over). Even if we stick with java, I'd bet the ranch that 80% of the code will be reworked completely. I know for sure that the database will be redesigned and that sp's will be used to insert/delete/update data (not to mention all the 'select a.*, b.column1 from table1 a, table2 b where a.name = b.name and a.date = b.date and a.address = b.address and a.plant = b.plant and a.location = b.location and a.type = b.type and a.invoice = b.invoice' crap. Who knows, might even add some Views, Triggers, explicit transaction processing and DRI to the database!)
Thanks.
bcnu, Mikem
|
Post #153,932
5/5/04 6:57:31 PM
|
Well, their store systems run on . . .
. . SCO Unix - Open Server I believe.
[link|http://www.aaxnet.com|AAx]
|
Post #153,939
5/5/04 7:43:09 PM
|
Shall we boycott McDonalds until they change that? :-)
To deny the indirect purchaser, who in this case is the ultimate purchaser, the right to seek relief from unlawful conduct, would essentially remove the word consumer from the Consumer Protection Act - [link|http://www.techworld.com/opsys/news/index.cfm?NewsID=1246&Page=1&pagePos=20|Nebraska Supreme Court]
|
Post #153,940
5/5/04 7:52:09 PM
|
I already boycott McBurp, out of flavor not IT
attempting to explain profiling doesn't require one to take a position for or against it any more than attempting to explain gravity requires one to be for or against gravity. Walter Williams questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]
|
Post #153,945
5/5/04 8:03:19 PM
|
I can't do that.
The last time I ate anything from Mc Donalds was when some friends took me to try this "new thing". The sign said something like "over 2 million sold".
[link|http://www.aaxnet.com|AAx]
|
Post #153,963
5/5/04 11:26:35 PM
|
Tandem mainframe at Oak Brook, IL world HQ
lincoln "Windows XP has so many holes in its security that any reasonable user will conclude it was designed by the same German officer who created the prison compound in "Hogan's Heroes." - Andy Ihnatko, Chicago Sun-Times [link|mailto:bconnors@ev1.net|contact me]
|
Post #153,976
5/6/04 1:50:30 AM
|
Make up your mind, is it Tandem or is it mainframe? :-P
===
Implicitly condoning stupidity since 2001.
|
Post #154,005
5/6/04 9:21:49 AM
|
Come on Drew, no baiting...
You know that some people even call NT boxen "Midrange" computers...
Maybe the criteria is based on weight: If I can carry it - Personal Computer If I need a hand truck -- Midrange If I need a forklift -- Mainframe
Sounds about right to me. ;-j
|
Post #154,018
5/6/04 10:17:34 AM
|
Your criteria has to be modified
to take into account the reduction in size for hardware over the past decades. Many brands of mainframe are now small enough to be moved by hand cart. We really could get into quite a discussion just trying to define a midrange computer, if any company classifies their equipment as such nowadays.
lincoln "Windows XP has so many holes in its security that any reasonable user will conclude it was designed by the same German officer who created the prison compound in "Hogan's Heroes." - Andy Ihnatko, Chicago Sun-Times [link|mailto:bconnors@ev1.net|contact me]
|
Post #154,025
5/6/04 10:37:52 AM
|
Didja miss the ;-j
I remember the infinite thread discussion on what was a mainframe and don't want to go there again.
Call it what you want. Everyone (personal and corporate) has a definition of what is "mainframe", "midrange" and "personal".
Here, in just this data center, we have a IBM 3090 (?) mainframe with 36tb of data. And a "midrange" (over 500 Sun boxes) with 98tb of SAN data. And over 1400 NT (2003, 2000, NT) boxes with and unknown amount of storage.
How do I know what's a mainframe? The boss told me. ;-)
|
Post #154,102
5/6/04 2:53:46 PM
|
I did miss the ;-j
but you're stretching definitions to fit your own opinions.
"over 500 Sun boxes" does not equal a "midrange"; they're 500 INDIVIDUAL machines networked together to equal or beat a "midrange's" overall capabilities. And "1400 NT (2003, 2000, NT) boxes with and unknown amount of storage" are nothing more than just that - INDIVIDUAL units networked together. Cumulatively, their computing capacity easily tops one individual "midrange" computer, but that's understood.
So when you call up IBM and say, "Please send me a midrange computer" do you expect 200 units delivered to your door, or do you expect just ONE computer to be delivered?
lincoln "Windows XP has so many holes in its security that any reasonable user will conclude it was designed by the same German officer who created the prison compound in "Hogan's Heroes." - Andy Ihnatko, Chicago Sun-Times [link|mailto:bconnors@ev1.net|contact me]
|
Post #154,104
5/6/04 3:04:04 PM
|
Correction
The "over 500 Sun boxes" was not meant to imply one midrange. Each, loosely termed, application may have anywhere from 1 to 25 Sun boxes. Each Sun box cluster (even if only 1 box) is considered a midrange system.
The 1400 NT boxes are again either stand-alone or clustered to support applications. None of which are considered midrange. The USPS email system runs on NT boxes. (Special application prints out the email, puts a stamp on it and delivers in to your desktop ;-j )
If I were to call IBM for a midrange, I'd expect an iSeries (a.k.a. AS400).
|
Post #154,035
5/6/04 11:07:30 AM
|
How about basing it on the crash test?
If it doesn't crash, even if you set off a grenade in its innards; it's a mainframe.
If it does crash, but infrequently, it's midrange.
If crashes are common, it's personal.
And if crashes are routine, it's Windows.
Brian Bronson
|
Post #154,036
5/6/04 11:11:46 AM
|
Dunno about that
I've known people who've caused the mainframe to crash, requiring an IPL. It does take practice to get that "good" ;-j
|
Post #154,044
5/6/04 11:34:07 AM
|
I've only seen a midrange crash once.
Once, in 6 years, with an AS/400 - someone tried out a dodgy, seldom-used serial line debug program.
Regards,
-scott anderson
"Welcome to Rivendell, Mr. Anderson..."
|
Post #154,015
5/6/04 10:11:53 AM
|
I've already made up my mind
and so did the company 13 years ago. I won't comment any further.
lincoln "Windows XP has so many holes in its security that any reasonable user will conclude it was designed by the same German officer who created the prison compound in "Hogan's Heroes." - Andy Ihnatko, Chicago Sun-Times [link|mailto:bconnors@ev1.net|contact me]
|
Post #154,016
5/6/04 10:14:53 AM
|
I don't have a horse in this race
jbrabeck's description above makes about as much sense as any other distinction I've heard.
===
Implicitly condoning stupidity since 2001.
|
Post #153,997
5/6/04 8:31:02 AM
|
Thanks All!
bcnu, Mikem
|