X-CGP-ClamAV-Result: CLEAN X-VirusScanner: Niversoft's CGPClamav Helper v1.22.2a (ClamAV engine v0.102.2) X-Junk-Score: 0 [] X-KAS-Score: 0 [] Return-Path: Received: from [40.107.243.55] (HELO NAM12-DM6-obe.outbound.protection.outlook.com) by selbstdenker.ag (CommuniGate Pro SMTP 6.3.13d) with ESMTPS id 28237272 for webobjects-dev@wocommunity.org; Tue, 19 Jul 2022 19:57:53 +0200 Received-SPF: pass receiver=post.selbstdenker.com; client-ip=40.107.243.55; envelope-from=Paul.L.Merchant.Jr@dartmouth.edu ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eZXuKvKLSun6nDjyTGyPEU11iT+t/xnkPSj+9OGGay+8Gu04eNvJUSYVXcvILT8bzTyaw5DEG+K2GnmsNhQGx7aoDaamX52fOQJDj3p6rZGF7vBkt5x3T6gK/SqLuAB11F3St+TAZzhEfpTZntUwFei9uQpGCT04lOYROPzMDMbA3gO+0nMSOy7gjWQK8+xKHN13muppRtsZVvXHhqiBda5V334StGneC9bLhcVBXxPjKR9vCDhocch+ZlDgATXy6aarB+CY3ZX3oO7tT4+EJe6oUmppOuSKhGeoSdpOgIX8ASqJ63dJEXnxktZUXmEQq1mRi2OnHtp7niKqQu2haw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vakP+2PsQR0qY7U2WBlwGVPtoCdVKAScaiDNmbQG3EE=; b=HLHA/V80flldwQfjuQ8RNIfzCXuhuu8LRZu2IvLLAhky89hY1pQJNiLIfBjVhZ0TvMoHphixxlKJVaJ/3AX3uTNz1cZiO+fxyQd1mrgWQ8Xo3VeH0yPWi8XmdAHhVaPInr9TLpdJY4FrUguSl2g8oVNfPwFiGNwU7Ude6rmPjpuJXg+rw/YKPp12xSw0Vv2ABwo9DDIKjAieNRe/TFPsgPeV0YTVVIJH4mowVksXV3ikeSDGzU3irl0FAaBu3EPd0wj9YYeawVsOpdKy0KorVkiK6qfNmv7bgxI2gg/o8bwRSYboSRSwyDWgDqQVoiCsCaf89F/yGAyH4XaEHxzDHA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dartmouth.edu; dmarc=pass action=none header.from=dartmouth.edu; dkim=pass header.d=dartmouth.edu; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dartmouth.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vakP+2PsQR0qY7U2WBlwGVPtoCdVKAScaiDNmbQG3EE=; b=D5kLW+8Pv3efLc9toKBMxCRTu21EMCflwP+CauVuu4+CfFrRLnW8QTCT0+D0tPwAjXi6V5sPkc0+weKd5TCKGUnzRLBj/XKCHvjPwhGL6nlKQfUOd0TRG1W+7cA2S3MCux5iFHy7lNcEWhxG9/jxcew1OMEYo02jYahIIQdr9sU= Received: from MN2PR03MB4973.namprd03.prod.outlook.com (2603:10b6:208:1b2::15) by SJ0PR03MB5693.namprd03.prod.outlook.com (2603:10b6:a03:2de::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.14; Tue, 19 Jul 2022 17:57:29 +0000 Received: from MN2PR03MB4973.namprd03.prod.outlook.com ([fe80::f465:b90:f932:75f]) by MN2PR03MB4973.namprd03.prod.outlook.com ([fe80::f465:b90:f932:75f%8]) with mapi id 15.20.5438.023; Tue, 19 Jul 2022 17:57:29 +0000 From: "Paul L. Merchant Jr." To: "webobjects-dev@wocommunity.org" Subject: Problem Integrating Wonder.... Thread-Topic: Problem Integrating Wonder.... Thread-Index: AQHYm5kDnTIbvMxE5EGPfa4wnchf3w== Date: Tue, 19 Jul 2022 17:57:29 +0000 Message-ID: <4298432B-D475-442C-97D0-C64FDEFB0217@dartmouth.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=dartmouth.edu; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b1f5f187-c57b-42ca-88a5-08da69b025e9 x-ms-traffictypediagnostic: SJ0PR03MB5693:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2ZABxFtMckssm08Vji0Wpnmt0HSTiTXKhhw+F+9otzKiFPMEoWtRmdvrJoloD65sEA1O5vtnGRqjk/bmL6BAYTqSLDZ3JdnBrQGsyRrMRA9mO6J6U3KQmkTk77MY1wnrvfu4PreXiqPT/7lkA01w+nmY2vqIdjaUbIax/2Nk9seC4qwvOXmJiAkyB2yIRIZBu8Ue3SvLpoaEuZi+Rxygo4lCWXwwmqgOXiCEaRp5OhU0o1eqMEDudMcPbnB3WFK5gKOadYp8Jfkh6QMtlslN1ponF3diY1JosaUovLWWvImD3wrb+OgEXzJR9uqfs9vOQgcpUuU5vZe30gTsI6+BDdeCcGrTn9wgFkl/EIK99U7ttkAFOfM6frU0D70VGM79NHkDqRYNez08lBBvjlE6Xea/XnY8qiv5bKXGFRZExTwRDCg98wJ4jZytJPj1vjyTRax9gS2VmzRU2fKqoGmMiqscarsCbhoVfo+S5jopc4InwJdkHLSvIttSnBzEtC6scyLc+mVY2k7954vzpOsYncKHgXpup0UhKk5seeaTQ47S7NZfk3/XbbQlJo6HB76FGHWdTHSaHofZyZBwm7kaiI5BsSimEAjZapaleQPo1ryW5j6iiLEKVttgxHexSbIn84njD/iTJakOs75DOVJEtZvnauuHy1Mr8UyXZGjkoFk+N4PLa6sVmAVpW/49weVaS1qG4FHg3zBluFYZvntllQZ2cPMYIuiqZvB38/cwXSWZSA+DQ+Fg2tkMnVSfZN9zurstJ1Q/w8U+RPI/40znByQDLuRec7FGDK8vYcggahClBhwWiACsgtsbfL2+Oh48sfoOqrWTkJAqrgnPWGqToQ== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR03MB4973.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(396003)(346002)(376002)(39860400002)(136003)(2906002)(41300700001)(26005)(6506007)(38070700005)(6512007)(186003)(41320700001)(6916009)(786003)(316002)(38100700002)(36756003)(122000001)(66556008)(66946007)(5660300002)(71200400001)(66476007)(66446008)(8936002)(76116006)(75432002)(478600001)(6486002)(7116003)(64756008)(8676002)(83380400001)(33656002)(86362001)(2616005)(3480700007)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IleZl/0QO7yb9g/Jg73fTqCksUK8PhEm1XSi1gm866/zXAweaADTtQIO5TqR?= =?us-ascii?Q?4JBcSJqnepbYX+MXVm1Yh8CokOOEKEMNfbRW7gLwr/RUOSZc1AWbM//1kB8/?= =?us-ascii?Q?otG8oP0n/0dkhOtyXyYyJxGRb+GPbcCOKnOPVBRNIlnEuVfLbOpd14VbXZoe?= =?us-ascii?Q?RSnUKwmfNCbcfi1R/pSL6Mw6HgTXbOTStJCKBlBef0PqiRCwQFIy3EBMz5Pz?= =?us-ascii?Q?q3P8rsdkaEcc/5nmV3HUOBs0beq7g+oOajWI5WuJjsyPAdU/7RTG7q8GeDqr?= =?us-ascii?Q?zTOeYPrYrs63tOPdSH2Ibzm9e/HTgWBtPXyXHz0qQClIcpoAK5d32+FgxJcu?= =?us-ascii?Q?B0eZvF5MLbNYMNiefdMcUM2j7m6kFPxD/C2jib7/qb5bE4RvcmFwggF9LhFd?= =?us-ascii?Q?KYT9mnstjr4HlAUNOpjAsEtA8BSvHvyBl6p/KBP+5zJjM0XNRzdJISWbR6KG?= =?us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GoIeHUZGkXK85o39UhnMglTL?= =?us-ascii?Q?EGF91j8i2yyXlt4GdYjTww/PSufM5RWIOYr/aO1bNhKoZ4fxalsCSnPGvhQz?= =?us-ascii?Q?VKN7BFoXxodNfav59F4nfxEfjNHt+2kyT4OYSwIPAoLWc2q3lqJxSrE/4fOT?= =?us-ascii?Q?A+4R7MZNGbtN4GECITmIHfrh1kMCDvB7OWQtH66Sgnh0coU7OZutvTSuM9AX?= =?us-ascii?Q?jUKuHSv770ChD0MRKZtTwxDA/jsk3mPEmfNZQdpMLsOD/uVLKz4HYWKbQ/3m?= =?us-ascii?Q?ew=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-ID: <22F82D9EE777D44CAD40C6467170A5A7@namprd03.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: dartmouth.edu X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR03MB4973.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b1f5f187-c57b-42ca-88a5-08da69b025e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jul 2022 17:57:29.7100 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 995b0936-48d6-40e5-a31e-bf689ec9446f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o3HCC2gqPwsRd9jrRUmUIbdpDSjUUNyNS3eNeczDXouAjsgzcHWlVhc7ofp0J6V4UtOq/8p+SJmF0b4MGs8i7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR03MB5693 Hi everyone, I maintain a collection of WebObjects frameworks and applicati= ons that have been happily running for well over a decade without the benef= it of Project Wonder, but it seems my luck ran out recently after a seeming= ly minor update. I started encountering stack overflow errors apparently d= uring connection cleanup: 2022-06-08 15:07:10,234 [WorkerThread5] ERROR (LoggingOutputStream.java [fl= ush]:205) - Caused by: java.lang.StackOverflowError 2022-06-08 15:07:10,234 [WorkerThread5] ERROR (LoggingOutputStream.java [fl= ush]:205) - at com.webobjects.foundation._NSWeakMutableCollection.processQ= ueue(_NSWeakMutableCollection.java:176) 2022-06-08 15:07:10,234 [WorkerThread5] ERROR (LoggingOutputStream.java [fl= ush]:205) - at com.webobjects.foundation._NSWeakMutableArray.__removeRefer= ence(_NSWeakMutableArray.java:124) [....] From the mailing list archives I see that this is a long known issue and th= at Wonder has a fix for this problem, so I thought I'd try to integrate Won= der into my applications. This turned up a number of issues, such as Wonde= r using log4j 1.x whereas my application had already incorporated log4j2. = It wasn't a major effort to upgrade Wonder to log4j2, but I ran into a show= stopper when it came to some of the code in the ERFoundation.jar in the ER= Jars framework. It seems this installs a custom(?) NSBundleFactory and NSB= undle related classes that absolutely do not work with my WOLips/Eclipse pr= oject. The way those classes deduce the root of the application bundle (tr= aversing the directory tree upward from the Jar file until a directory cont= aining a build.xml file is found) when running under the Eclipse debugger c= ompletely breaks resource lookups, unless possibly the source directory is = very carefully organized in the same manner as assembled application. This= is significantly different than the behavior of the stock NSBundle clases,= and I'm not sure it's correct or intentional given that I don't know the p= rovenance of the ERFoundation.jar library. At any rate, I'm not willing to= give up my source organization to satisfy this behavior unless it's the on= ly solution, nor do I know that's all the challenges I face if I did. So I wondering if anyone else knows of a solution to this stack overflow pr= oblem that doesn't involve wholesale incorporation of Wonder, or if there's= some work around to the ERFoundation resource lookup issue? =20 I appreciate any advice you can give me!=