Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 93242 invoked from network); 18 Nov 2009 18:42:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Nov 2009 18:42:51 -0000 Received: (qmail 52284 invoked by uid 500); 18 Nov 2009 18:41:47 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 47149 invoked by uid 500); 18 Nov 2009 18:41:11 -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 45853 invoked by uid 99); 18 Nov 2009 18:33:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Nov 2009 18:33:52 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.55] (HELO smtp110.prem.mail.sp1.yahoo.com) (98.136.44.55) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 18 Nov 2009 18:33:50 +0000 Received: (qmail 52207 invoked from network); 18 Nov 2009 18:33:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-Id:From:To:In-Reply-To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:References:X-Mailer; b=XkhxGkJTE5+hMNNGQcWz1z5ajMnqi06+kOL2aJJ96C0LauhWqGSUJirOmyLEtcmejDlWdTGGi1aLXkz+kcFzHwUhkUldptrotu4lxeQmL+XQsLpicPk3jnD3Ajw3JlAzAn5O9SsyV6aXwVCZ4yY+r2ZII/KbTyghKxLj4W0flEw= ; Received: from 076-076-148-215.pdx.net (david_jencks@76.76.148.215 with plain) by smtp110.prem.mail.sp1.yahoo.com with SMTP; 18 Nov 2009 10:33:29 -0800 PST X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- X-YMail-OSG: qbHhmMIVM1loyfyGgPSDyYLn4d5OP1ZP7jwy36AxxOVqEqujJ3zrPSPMBblXr1SKf4rVd3BZykLsTCJexrn1XRTUcjFmiye8RCljEVSSjDDlXrOyZa2wwSnnh2SBOnQ5_EyCOq7AjUswIhAvhKO5TaNRKhHIGbALMxcBAcUeuZytEXglFqj3Yl9a9OBzWzvJlAL7nRlrdQHVAq2VYQVsSuKEQyXhm_puuAJxOgqgKosQboK14nYRFxd06GXUns3jhR1YJfG.KWlv9EKVywlEHYwIvm2TduyLpDhMXErwu8Q4mnDi17av7cfEjYnIJ0SA1RkOYvk- X-Yahoo-Newman-Property: ymail-3 Message-Id: <715873CB-AA22-404E-92BC-CAE3C6C3A4C6@yahoo.com> From: David Jencks To: dev@geronimo.apache.org In-Reply-To: <4B03F14E.7020501@gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: failed to compile jasper-deployer. Date: Wed, 18 Nov 2009 10:33:28 -0800 References: <432b67430911180153y7fca3721kd155498a0eea2548@mail.gmail.com> <45f744e40911180308m79af71acj68d587852e60f14e@mail.gmail.com> <4B03EAB6.50202@gmail.com> <4B03F14E.7020501@gmail.com> X-Mailer: Apple Mail (2.936) I talked with Guillaume about applying the patch and he wants us to verify that the jdt compiler really works in an osgi environment without the prefs service. I think that means we will need to get the the point of actually deploying a jsp app and having it run in the server and compile the jsps on the fly.... this may be a few days off. We might disable precompilation of jsps for the console and welcome app. thanks david jencks On Nov 18, 2009, at 5:06 AM, Rick McGuire wrote: > Rick McGuire wrote: >> Ivan wrote: >>> >From the error message, it is caused by org.apache.felix.prefs >>> bundle is not started successfully, adding a -X option may help to >>> check what happened while starting the dependent bundle. >>> >>> 2009/11/18 Forrest Xia >> >> >>> >>> Hi, >>> >>> When I try to build trunk, I encounter a problem when coming to >>> plugins/jasper/jasper-deployer like this: >>> >>> [org.apache.geronimo.system.configuration.DependencyManager] : >>> Could not start bundle: >>> org.apache.geronimo.modules.geronimo-jasper [86] >>> org.osgi.framework.BundleException: Unresolved constraint in >>> bundle org.apache.servicemix.bundles.jdt-core [94]: package; >>> (package=org.osgi.service.prefs) >>> at >>> org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263) >>> at org.apache.felix.framework.Felix.startBundle(Felix.java: >>> 1597) >>> at >>> org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915) >>> >>> Then I checked the started bundles stack and found no preference >>> service bundle installed, which is required by jdt-core. >>> >>> I add some dependency like this to the pom.xml, but it's not >>> work. >>> >> I'm not sure why the dependency isn't working, but it's possible >> that the Felix implementation jar is not exporting the api. >> >> However, I just checked my build, and I had to make a local >> modification to that bundle to make the import of that package >> optional. I'll see if I can't get that change made in the official >> version. > It looks like David Jencks is ahead of me on this. Apply the patch > attached to this Jira to get this working: > > https://issues.apache.org/activemq/browse/SMX4-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel > > And now that I'm reminded of this...I believe I sent the patch to > David in the first place :-) > > Rick >> >> Rick >> >>> >>> >>> org.apache.felix >>> org.osgi.compendium >>> 1.2.0 >>> >>> >>> org.apache.felix >>> org.osgi.foundation>> artifactId> >>> >>> >>> org.apache.felix >>> javax.servlet >>> >>> >>> >>> >>> >>> org.apache.felix >>> org.apache.felix.prefs >>> 1.0.2 >>> >>> >>> So anyone can give me a hint about this problem? thanks a lot! >>> >>> Forrest >>> >>> >>> >>> >>> -- >>> Ivan >> >> >