strange WO4.5.1/Solaris9 problem
strange WO4.5.1/Solaris9 problem
- Subject: strange WO4.5.1/Solaris9 problem
- From: Patrick Robinson <email@hidden>
- Date: Thu, 29 Jul 2004 11:41:18 -0400
Here's one for the archives, in case anyone else should run into the
same situation.
We still have a few WO4.5.1 apps that were written in WebScript and/or
Objective-C. They've been deployed on our Sun 280R running Solaris 9,
right alongside our WO5.2.3 environment, for years.
A couple of nights ago, I installed the Solaris 9 Recommended Patch
Cluster, dated 7/26/04. After I rebooted the machine, three of these
old WO4.5.1 apps would not start up. They'd get as far as "Spawning 8
worker threads" and then hang.
Oddly, another couple of WO4.5.1 WebScript apps started up just fine.
I started comparing (with diff) various files between the working and
non-working apps, and discovered that in Makefile.preamble of the
non-working apps, there was a line that read:
#JAVA_NEEDED = YES
but the working apps didn't have that; instead, they had:
JAVA_AWARE = YES
On a whim, I tried adding JAVA_AWARE = YES to Makefile.preamble of the
nonworking apps. Bingo! That fixed it. Then I tried using
JAVA_NEEDED = YES instead, and that works, too.
The comment text above the variable (in both incarnations) reads:
#
# Uncomment this if you want to force the loading of the Java VM
# even if your project does not contain Java classes.
# NOTE: Add class paths for external Java packages in the
# CustomInfo.plist file
#
But that doesn't help much. These are WebScript and Objective-C apps,
and they don't use java at all.
I have no idea what this variable *really* does, or how it does it, or
what Solaris patch could have possibly made this necessary, but ...
there y'go!
--
Patrick Robinson
AHNR Info Technology, Virginia Tech
email@hidden
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.