From dev-return-37396-apmail-harmony-dev-archive=harmony.apache.org@harmony.apache.org Mon Jun 08 07:20:22 2009 Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 40769 invoked from network); 8 Jun 2009 07:20:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jun 2009 07:20:21 -0000 Received: (qmail 43543 invoked by uid 500); 8 Jun 2009 07:20:32 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 43472 invoked by uid 500); 8 Jun 2009 07:20:32 -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 43461 invoked by uid 99); 8 Jun 2009 07:20:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 07:20:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of firepure@gmail.com designates 74.125.92.145 as permitted sender) Received: from [74.125.92.145] (HELO qw-out-1920.google.com) (74.125.92.145) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2009 07:20:22 +0000 Received: by qw-out-1920.google.com with SMTP id 4so1471392qwk.24 for ; Mon, 08 Jun 2009 00:20:01 -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; bh=Rf1NmttL9UnzVvY+8BDPTg30QkbO2egVs18jmrZhVOA=; b=lgLgRLzFCTuZ3cc/0JF6aMXGhIHvlj9y15e8qvmaCVysQ083Hjc2J+9tXVzw/q6Q+1 q01yoBQhbvgQ/8td++6zl5NwMKENun5MxrAuDQVpMC5k3M2EC8mcfh/0dWEhO6tmtjM6 ivWFmIksDrA7HYdLiavoMVwPyc/Qk+FUv1OL4= 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; b=OXUKRfdjRIWdXIemaS7Uz1+F98UurwJZyMnJLDvjnuQdZXi3VA4FhylLVS1QIe9BN7 NMm3Fj/d2enlsP5I4P+T/yN0+TzBhaQGCz3Eng+3eK5qwQ35EcfSpejYNfZJbTKcLcsj vilgss4jIAJErHMLQRSiRzcMRN7CxmDTGPgko= MIME-Version: 1.0 Received: by 10.220.100.194 with SMTP id z2mr3250715vcn.38.1244445601533; Mon, 08 Jun 2009 00:20:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 8 Jun 2009 15:20:01 +0800 Message-ID: <5c8e69f0906080020x4c3f7f93wd7fb21eadb4b3d66@mail.gmail.com> Subject: Re: About harmony running felix From: "Jimmy,Jing Lv" To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=0016e64f6a6605947c046bd112da X-Virus-Checked: Checked by ClamAV on apache.org --0016e64f6a6605947c046bd112da Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Good job, Tian, So as far as I understand, it seems a problem of RL Handler, I believe it's worth for you to write a standard simple testcase for it and raise a JIRA for the defect. BTW do you have a fix or a workaround for the defect now? 2009/6/8 galaxy > 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 .That 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=D:/JavaWorld/Felix") but not the bundle which is the > specified by "file:xxx.jar" > Also the command "install file:XXX.jar" won't work .The erroe message is > "[1] > > I did some search and found that the it's related to the urlhandler class. > I think whenever referring to the "file:xxx.jar" , the url fails to locate > the file . > 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 working > 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: Stream > handler > unavailable due to: Stream handler unavailable due to: null" > > > > -- > regards > Tian > -- Best Regards! Jimmy, Jing Lv China Software Development Lab, IBM --0016e64f6a6605947c046bd112da--