Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 59412 invoked from network); 24 Apr 2007 18:16:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Apr 2007 18:16:05 -0000 Received: (qmail 25156 invoked by uid 500); 24 Apr 2007 18:16:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 24588 invoked by uid 500); 24 Apr 2007 18:16:09 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 24577 invoked by uid 99); 24 Apr 2007 18:16:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Apr 2007 11:16:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [206.190.53.36] (HELO smtp111.plus.mail.re2.yahoo.com) (206.190.53.36) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 24 Apr 2007 11:16:02 -0700 Received: (qmail 83504 invoked from network); 24 Apr 2007 18:15:40 -0000 Received: from unknown (HELO ?192.168.2.100?) (drw_web@24.211.224.252 with plain) by smtp111.plus.mail.re2.yahoo.com with SMTP; 24 Apr 2007 18:15:39 -0000 Message-ID: <462E494B.8020901@apache.org> Date: Tue, 24 Apr 2007 14:15:39 -0400 From: Donald Woods Reply-To: dwoods@apache.org User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: Yoko and java.endorsed.dirs question References: <462E09B7.7000209@apache.org> <462E0BBC.3050104@gmail.com> <462E0D7C.4070402@apache.org> <462E11B9.6080307@gmail.com> In-Reply-To: <462E11B9.6080307@gmail.com> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms080701010104070005060605" X-Virus-Checked: Checked by ClamAV on apache.org This is a cryptographically signed message in MIME format. --------------ms080701010104070005060605 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Along the same train of thought - Should we always place the Geronimo server's lib/ext before the JVM's? -Donald Rick McGuire wrote: > > Donald Woods wrote: >> I'm actually seeing a failure to start the server on certain IBM >> JVM's, like the IBM SDK for Solaris (or HP-UX.) This is due to a >> unique packaging change, where they supply a jre/lib/endorsed >> directory which contains the following - >> ibmcertpathfw.jar ibmjgssfw.jar ibmpkcs.jar >> ibmcertpathprovider.jar ibmjgssprovider.jar ibmsaslfw.jar >> ibmcfw.jar ibmjmxstubsties.jar xml.jar >> ibmext.jar ibmorb.jar >> ibmjcefw.jar ibmorbapi.jar >> For Linux, Windows and AIX, there is no jre/lib/endorsed directory, >> which matches the layout of the Sun JDK for Linux, Windows and Solaris. >> >> So, due to the above JDK, don't we need the Geronimo lib/endorsed >> directory before the JDK's? > Ah, ok, I see what's happening. Ok, here's the situation. The base > JVM on the Sun platform has the org.omg.* classes used for CORBA > resident on the bootclasspath. The endorsed.dirs settings is the > JVM-defined way to override certain packages resident in the JVM and > replace them with a vendor-supplied set of packages. The org.omg.* > classes are specifically mentioned as classes for which this is supported. > For Yoko's case, the Sun-provided org.omg classes do not actually > conform to the CORBA defined signatures for a few of the classes, so it > is necessary to override the JDK-provided set by either adding them to > endorsed.dirs or prepending the jars to the bootstrap classpath. > > Well, from the list above, it's obvious that the IBM JDK is also doing > this. Note that two of the jars in the list above are "ibmorb.jar" and > "ibmorbapi.jar", which are obviously not compatible with what Yoko is > expecting to see. > So, to net it out, I'd say that for Sun JDKs, it doesn't matter which > directory comes first in the endorsed.jars list, while for the IBM JDK, > it quite clearly does matter which comes first. In order for the yoko > ORB to function correctly it must be ahead of the IBM orb implementation > in the search order. > > Rick > >> >> >> -Donald >> >> Rick McGuire wrote: >>> Donald Woods wrote: >>>> What order should the paths be for java.endorsed.dirs? >>>> Should it be - >>>> 1) JDK's lib/endorsed before Geronimo's lib/endorsed >>>> 2) Geronimo's lib/endorsed before the JDK's lib/endorsed >>>> >>>> I'm wondering due to the following warning/exception in the >>>> geronimo-corba module - >>>> "Incorrect level of org.omg.CORBA classes found. >>>> Likely cause is an incorrect java.endorsed.dirs configuration" >>>> >>>> Don't we need the Yoko implementation in the endorsed classpath >>>> before the JDK's implementation??? >>> For the yoko code, I'm not sure it matters. The classes the yoko >>> code overrides is contained in the base JVM, not in jar files >>> contained in the endorsed dirs. Not including the yoko jars in the >>> endorsed dirs is one potential cause of that error (and a frequent >>> one for 2.0 until the CORBA support was fully enabled). There are >>> other situations as well that can lead to that. Are you encountering >>> the error, or just wondering because you saw the message in the yoko >>> code? >>> >>> Rick >>> >>>> >>>> -Donald >>> >>> >>> > > > --------------ms080701010104070005060605 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJAzCC AtwwggJFoAMCAQICEGl0fFJRFoUogDNHr2j130gwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA3MDQwMzE5MDgwOFoX DTA4MDQwMjE5MDgwOFowQzEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEgMB4G CSqGSIb3DQEJARYRZHdvb2RzQGFwYWNoZS5vcmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw ggEKAoIBAQDENBaTcon2Q3/v2plog9ympNR5IWM94JDvXh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