Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 62794 invoked from network); 16 Jun 2009 03:52:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Jun 2009 03:52:31 -0000 Received: (qmail 36676 invoked by uid 500); 16 Jun 2009 03:52:42 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 36605 invoked by uid 500); 16 Jun 2009 03:52:42 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 36579 invoked by uid 99); 16 Jun 2009 03:52:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 03:52:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbeyer@gmail.com designates 74.125.92.147 as permitted sender) Received: from [74.125.92.147] (HELO qw-out-1920.google.com) (74.125.92.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jun 2009 03:52:34 +0000 Received: by qw-out-1920.google.com with SMTP id 9so2277326qwj.24 for ; Mon, 15 Jun 2009 20:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Olu6S2RLEclTo89hUgn5U9mIH4Ls0IHlzYNxyYA2zbQ=; b=tW3t1j2DSqTPkRWTu+9N9c5KGKB4yyNinERUOVcQiEzvcYeXIgfr/0BG2QpeIwdUgY uTz+1WTKteYNKspYgkc5XAZR630zGYbhZpvL+bFWHj89UOigY03JMv0oPApP5urAaBpk fEBmWPr+U7+kz1u/AQT6anh2qCLeC+rTNgA7U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=s4GZDloukLeXG0uN17ztL9G4UFBniXiy82l+jR4wZVRj4hJgR7SlcNE5DmRbb2l4v2 JVY7YAQUmSiCFtttkgF4ODZHhYsLYpALKszuG7ZqeaNSFVXH2tiwCC21bvmT49wsoFvo rk/0WeZbW3atWC9VJwFRUyuboM+27Vx1gjkIU= MIME-Version: 1.0 Received: by 10.229.100.4 with SMTP id w4mr1565102qcn.53.1245124332961; Mon, 15 Jun 2009 20:52:12 -0700 (PDT) In-Reply-To: <487a994c0906150142r6044e67fl97ca22f67c91fc6a@mail.gmail.com> References: <3b3f27c60906081923g3dde65fey11fc4c683183afd8@mail.gmail.com> <3b3f27c60906082030m30fef9dciecdaf6665c8ad4a5@mail.gmail.com> <487a994c0906141342mf8e9b0ak51c0a72584d61b5a@mail.gmail.com> <3b3f27c60906141524p14733deu364fe076e8711dd0@mail.gmail.com> <487a994c0906150142r6044e67fl97ca22f67c91fc6a@mail.gmail.com> Date: Mon, 15 Jun 2009 22:52:12 -0500 Message-ID: <3b3f27c60906152052w32d60647h6a55dedd15fe059d@mail.gmail.com> Subject: Re: About harmony running felix From: Nathan Beyer To: dev@harmony.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Jun 15, 2009 at 3:42 AM, Karl Pauls wrote: > Already did. Doesn't fix it. > > We do quite some magic in regard to the URLHandlers inside felix so > I'm not surprised that we run into some issues on harmony but this one > is odd as it seems to get down to an NPE inside URL.class at a place > where this just doesn't seem possible with the current trunk. Granted, > due to the magic it isn't that clear that this is the real problem. It > might be just a side-effect. Is there a way to hook-up harmony to the > eclipse debugger (i.e., have felix run on top of harmony and connect a > normal remote debugger)? It should work just like any other remote process debug. Just launch Felix+Harmony with the standard debug options to listen on a socket and suspend on startup, then connect to it from Eclipse. -Nathan > > regards, > > Karl > > On Mon, Jun 15, 2009 at 12:24 AM, Nathan Beyer wrote: >> Try out the latest milestone that just release last week - >> http://harmony.apache.org/download.cgi >> >> 5M10 should be pretty close to trunk right now. >> >> -Nathan >> >> On Sun, Jun 14, 2009 at 3:42 PM, Karl Pauls wrote: >>> Is it possible to download a build of the current trunk somewhere? I'd >>> like to look into this issue... >>> >>> regards, >>> >>> Karl >>> >>> On Tue, Jun 9, 2009 at 5:30 AM, Nathan Beyer wrote: >>>> That's somewhat old. I don't suppose you could to a fresh build from >>>> HEAD and try again - at least a fresh build of the classlib. The >>>> change I'm thinking of probably isn't in the build you're using. >>>> >>>> -Nathan >>>> >>>> On Mon, Jun 8, 2009 at 9:49 PM, galaxy wrote: >>>>> It's , harmony-jre-761593, >>>>> >>>>> 2009/6/9 Nathan Beyer >>>>> >>>>>> On Mon, Jun 8, 2009 at 12:46 AM, galaxy wrote= : >>>>>> > Hi >>>>>> > It's about running felix in harmony .When we run felix in harmony = with >>>>>> the >>>>>> > felix-cache there , it's OK. >>>>>> > But there will be errors when running without the felix-cache .Tha= t means >>>>>> > after deleting felix-cache , harmony runtime fails to install >>>>>> > the bundles set to be auto-installed .While with sun jdk ,it runs = well >>>>>> .That >>>>>> > is to say harmony runtime is only able to find the cache dir which= is >>>>>> > specified by >>>>>> > "felix.cache.rootdir" in the config.properties file (mine is >>>>>> > "felix.cache.rootdir=3DD:/JavaWorld/Felix") but not the bundle whi= ch is the >>>>>> > specified by "file:xxx.jar" >>>>>> > Also the command =C2=A0"install file:XXX.jar" won't work .The erro= e message is >>>>>> > "[1] >>>>>> > >>>>>> > I did some search and found that the it's related to the urlhandle= r >>>>>> class. >>>>>> > I think whenever referring to the "file:xxx.jar" , the url fails t= o >>>>>> locate >>>>>> > the file . >>>>>> >>>>>> What build of Harmony are you testing? Is it a Milestone build? A >>>>>> recent fix may address this issue, but it hasn't made into a publish= ed >>>>>> build yet. >>>>>> >>>>>> > I think it's ours , not the felix's problem , so I report it here. >>>>>> > >>>>>> > You may try this by deleting the felix-cache directory in the work= ing >>>>>> > directory and run >>>>>> > java -jar bin\felix.jar >>>>>> > with harmony's and sun's respectively .If you run sun's first and = not >>>>>> > deleting the cache afterwards , no error . >>>>>> > >>>>>> > >>>>>> > [1] >>>>>> > java.net.MalformedURLException: java.lang.IllegalStateException: S= tream >>>>>> > handler >>>>>> > unavailable due to: Stream handler unavailable due to: null" >>>>>> > >>>>>> > >>>>>> > >>>>>> > -- >>>>>> > regards >>>>>> > Tian >>>>>> > >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> regards >>>>> Tian >>>>> >>>> >>> >>> >>> >>> -- >>> Karl Pauls >>> karlpauls@gmail.com >>> >> > > > > -- > Karl Pauls > karlpauls@gmail.com >