From eellis@example.org Sun Feb 01 09:02:46 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 30105 invoked from network); 1 Feb 2009 09:02:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 09:02:46 -0000 Received: (qmail 24662 invoked by uid 500); 1 Feb 2009 09:02:45 -0000 Delivered-To: eellis@example.org Received: (qmail 24636 invoked by uid 500); 1 Feb 2009 09:02:45 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 24625 invoked by uid 99); 1 Feb 2009 09:02:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 01:02:45 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f20.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 09:02:37 +0000 Received: by fxm13 with SMTP id 13so909656fxm.22 for <eellis@example.org>; Sun, 01 Feb 2009 01:02:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=7CEkyhtVCpwCtj5+bXe7I3mijXvx6TULooXz1GiheBs=; b=XiBTbuX5KbvdY8qBiG54N7fK+97OCrY7oA534w/avg0GkznQvrOh1v6UO0tEeGXCLk dTNxlpwMdR47ZLyJa1pUUOMHGcPPfzP1zEtSau9vzfF2oyEDR78FDxZW43+rVFWYER// zJ1YEMqTEif4yTYC6KcY44r2jbFNx23MKnIbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=xtOWi2TSLIUBEgIu0TJ7uvAaLU6XkR85DhT3MmwlS8oTHrENRNZmX9EkZP16B10ERA NuX76YotCQayT1hF4HUtLs3/C4if3clWSk9RVUwY6CBeO6cpRCq6l9Zz733nQFX3WG58 iQiv4Tq7dhy+j9jzgxjn+rx/VWx9kGljMs7Bc= Received: by 83.161.120.155 with SMTP id x18mr1334680muq.135.1233478935944; Sun, 01 Feb 2009 01:02:15 -0800 (PST) Received: from bslm-046.corp.day.com (cable-static-138-82.eblcom.ch [83.161.120.155]) by mx.google.com with ESMTPS id n7sm5328763mue.59.283.161.120.155.02.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 01 Feb 2009 01:02:15 -0800 (PST) Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 10:02:14 +0100 From: Felix Meschberger <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090105) MIME-Version: 1.0 To: eellis@example.org Subject: Re: IlegalAccessException References: <eellis@example.org> <eellis@example.org> <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Karl Pauls schrieb: > On Sat, Jan 31, 2009 at 8:00 PM, Felix Meschberger <eellis@example.org> wrote: >> This looks like the service.policy.osgi.PoliyServiceActivator class >> should be instantiated with a non-public constructor. Could it be that >> the default constructor might be used, which has default (i.e. package) >> access instead of public ? > > Or, as I said, the class itself is not public? Yes, sorry, I only saw your reply, when I already have hit Send on mine ;-) Regards Felix > > regards, > > Karl > >> Regards >> Felix >> >> >> Dmitry Beransky schrieb: >>> Hi, >>> >>> I'm trying to get a simple embedded Felix scenario working and am >>> getting this exception: >>> >>> java.lang.IllegalAccessException: Class >>> org.apache.felix.framework.Felix can not access a member of class >>> service.policy.osgi.PolicyServiceActivator with modifiers "" >>> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) >>> at java.lang.Class.newInstance0(Class.java:349) >>> >>> >>> What could be causing this? Is my security manager not set up correctly? >>> >>> Thanks >>> Dmitry >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: eellis@example.org >>> For additional commands, e-mail: eellis@example.org >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: eellis@example.org >> For additional commands, e-mail: eellis@example.org >> >> > > > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 17:39:31 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 42299 invoked from network); 1 Feb 2009 17:39:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 17:39:31 -0000 Received: (qmail 10987 invoked by uid 500); 1 Feb 2009 17:39:30 -0000 Delivered-To: eellis@example.org Received: (qmail 10958 invoked by uid 500); 1 Feb 2009 17:39:30 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 10947 invoked by uid 99); 1 Feb 2009 17:39:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 09:39:29 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mu-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 17:39:23 +0000 Received: by mu-out-0910.google.com with SMTP id w9so912228mue.0 for <eellis@example.org>; Sun, 01 Feb 2009 09:39:01 -0800 (PST) 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=qLDPovtSHKDzxXL2IgWvMQH2rvhscC7dDsUj8Ukifs0=; b=iBMAvT4qtH4Q7PthHF2hL96N7lpinOtDMqkrfxZOPCFeb1DQJyfBB1TAFziIXz7Xdo ySyooLO+e9ZAnDECryVS3fzfmzJW0lBEBp9ANahxfXHBLSWFZbGoivlqmjv+n6p86yZ9 5nMTYm3N23/mAruljSKiTwPQh7oYRV9kLZo+o= 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=T1h9SL/dg6BNCZF7ijdTW5awWGLkIB9RjxgHHASa2pD+oTld6APfGW5Eqas+MVAJOr 2RRApJjBY+enimnYnnyYp/Nc41A/pr+16eCN78sqeIkVQ1o22WTN0C9dSPnKXjXS5hY+ PX7fSmqqDffK6EmC9GfZxGnR4mKn5Qi7EVD1g= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e17mr1485197mum.119.1233509941815; Sun, 01 Feb 2009 09:39:01 -0800 (PST) In-Reply-To: <eellis@example.org> References: <eellis@example.org> <eellis@example.org> Date: Sun, 1 Feb 2009 09:39:01 -0800 Message-ID: <eellis@example.org> Subject: Re: IlegalAccessException From: Dmitry Beransky <eellis@example.org> To: eellis@example.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org D'oh! that's what it was. Somehow the activator class was missig "public". Thanks. On Sat, Jan 31, 2009 at 5:59 AM, Karl Pauls <eellis@example.org> wrote: > Is it possible that your PolicyServiceActivator is not a public class? > Otherwise, I guess I need a little more context from you. Please > provide the full stacktrace if possible and or explain how I can > recreate the issue. Furthermore, it would be helpful if you let us > know what your set-up is (i.e., do you have security enabled, what > bundle are you trying to start etc.). > > regards, > > Karl > > On Sat, Jan 31, 2009 at 2:03 AM, Dmitry Beransky <eellis@example.org> wrote: >> Hi, >> >> I'm trying to get a simple embedded Felix scenario working and am >> getting this exception: >> >> java.lang.IllegalAccessException: Class >> org.apache.felix.framework.Felix can not access a member of class >> service.policy.osgi.PolicyServiceActivator with modifiers "" >> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) >> at java.lang.Class.newInstance0(Class.java:349) >> >> >> What could be causing this? Is my security manager not set up correctly? >> >> Thanks >> Dmitry >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: eellis@example.org >> For additional commands, e-mail: eellis@example.org >> >> > > > > -- > Karl Pauls > eellis@example.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: eellis@example.org > For additional commands, e-mail: eellis@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 19:15:31 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 84981 invoked from network); 1 Feb 2009 19:15:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 19:15:31 -0000 Received: (qmail 74509 invoked by uid 500); 1 Feb 2009 19:15:30 -0000 Delivered-To: eellis@example.org Received: (qmail 74282 invoked by uid 500); 1 Feb 2009 19:15:29 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 74271 invoked by uid 99); 1 Feb 2009 19:15:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 11:15:29 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 19:15:21 +0000 Received: by an-out-0708.google.com with SMTP id b2so412463ana.10 for <eellis@example.org>; Sun, 01 Feb 2009 11:14:59 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id n10mr198819iba.23.1233515698254; Sun, 01 Feb 2009 11:14:58 -0800 (PST) Date: Sun, 1 Feb 2009 17:14:58 -0200 Message-ID: <eellis@example.org> Subject: Felix 1.4.1 and glassfish v3 From: Vinicius Carvalho <eellis@example.org> To: eellis@example.org Content-Type: multipart/alternative; boundary=000325574d7a04f2be0461e041ca X-Virus-Checked: Checked by ClamAV on apache.org --000325574d7a04f2be0461e041ca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello there! After finally getting our app running. we are now evaluating it on different application servers. And we got it working on JBoss 4.2.x, JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty versions) and also Spring DM Server. We could not get it working on glassfish, v2.1 simply freeze in a manner that it never comes back unless we remove the domain and create a new one, really weird, we are gonna look at glassfish mailing lists for that. Now v3, which is an osgi container based on felix, seems to have some classloading issues. I'm stating this because it complains about felix not having a method, and seems that they load an old version of felix on bootstrap, and since we are using 1.4.1, we get some problems with startup. Here's the exception: Any ideas? Best regards [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.NoSuchMethodError: org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V java.lang.IllegalStateException: ContainerBase.addChild: start: LifecycleException: java.lang.NoSuchMethodError: org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)eellis@example.org(ContainerBase.java:926) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) at com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) at com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) at org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) at org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) at org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) at org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) at org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) at com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) at com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) at com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) at javax.faces.component.UICommand.broadcast(UICommand.java:372) at com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) at org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) at com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) |#] --000325574d7a04f2be0461e041ca-- From eellis@example.org Sun Feb 01 20:35:28 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 4835 invoked from network); 1 Feb 2009 20:35:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 20:35:27 -0000 Received: (qmail 26441 invoked by uid 500); 1 Feb 2009 20:35:26 -0000 Delivered-To: eellis@example.org Received: (qmail 26405 invoked by uid 500); 1 Feb 2009 20:35:26 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 26394 invoked by uid 99); 1 Feb 2009 20:35:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 12:35:26 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO outbound-mail-129.bluehost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Feb 2009 20:35:17 +0000 Received: (qmail 28584 invoked by uid 0); 1 Feb 2009 20:34:58 -0000 Received: from unknown (HELO host118.hostmonster.com) (83.161.120.155) by outboundproxy4.bluehost.com with SMTP; 1 Feb 2009 20:34:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=RF3o7NvoCJqs68RnInd7tgDkT0vsYbZzIk2RDXgLiQ6CX5ygk0aSZAKQqugxAp9mzOCWJgrR3N4Uo1P64adxpg+QyxDkYPHx055K61Zk+RLKuR7IVcKcKE7fcHIPGdzt; Received: from [83.161.120.155] (helo=heavyweight.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <eellis@example.org>) id 1LTj1t-00083i-AD for eellis@example.org; Sun, 01 Feb 2009 13:34:57 -0700 Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 12:34:53 -0800 From: "Richard S. Hall" <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20081209) MIME-Version: 1.0 To: eellis@example.org Subject: Re: Felix 1.4.1 and glassfish v3 References: <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 83.161.120.155 authed with eellis@example.org} X-Virus-Checked: Checked by ClamAV on apache.org The constructor changed from Felix 1.2.x to 1.4.x, so if it is expecting the old-style constructor, then you will have an issue. I am not sure what is going on here, but I don't think GF directly tries to construct Felix and I have successfully gotten GF to run with Felix 1.4.x by simply changing some configuration properties. If the issue is that you have two different versions of Felix available at the same time, then you will probably need to convert your GF to use the newer version of Felix so you only have one. -> richard Vinicius Carvalho wrote: > Hello there! After finally getting our app running. we are now evaluating it > on different application servers. And we got it working on JBoss 4.2.x, > JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty > versions) and also Spring DM Server. > > We could not get it working on glassfish, v2.1 simply freeze in a manner > that it never comes back unless we remove the domain and create a new one, > really weird, we are gonna look at glassfish mailing lists for that. > > Now v3, which is an osgi container based on felix, seems to have some > classloading issues. I'm stating this because it complains about felix not > having a method, and seems that they load an old version of felix on > bootstrap, and since we are using 1.4.1, we get some problems with startup. > Here's the exception: > > Any ideas? > > Best regards > > [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: > ContainerBase.addChild: start: LifecycleException: > java.lang.NoSuchMethodError: > org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V > java.lang.IllegalStateException: ContainerBase.addChild: start: > LifecycleException: java.lang.NoSuchMethodError: > org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) > at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) > at > org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) > at > com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) > at > com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) > at > com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) > at > com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) > at > org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) > at > org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) > at > org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) > at > org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) > at > org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) > at > com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) > at > com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) > at > com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) > at > com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) > at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) > at > javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) > at javax.faces.component.UICommand.broadcast(UICommand.java:372) > at > com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) > at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) > at > javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) > at > com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) > at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) > at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) > at > com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) > at > org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) > at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) > at > org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) > at > com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) > at > org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) > at > org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) > at > com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) > at > com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) > at > com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) > at > com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) > at > com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) > at > com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) > at > com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) > at > com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) > at > com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) > at > com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) > at > com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) > at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) > |#] > > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 21:51:51 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 25291 invoked from network); 1 Feb 2009 21:51:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 21:51:51 -0000 Received: (qmail 78233 invoked by uid 500); 1 Feb 2009 21:51:50 -0000 Delivered-To: eellis@example.org Received: (qmail 78195 invoked by uid 500); 1 Feb 2009 21:51:50 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 78184 invoked by uid 99); 1 Feb 2009 21:51:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 13:51:50 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 21:51:42 +0000 Received: by fg-out-1718.google.com with SMTP id 19so486392fgg.6 for <eellis@example.org>; Sun, 01 Feb 2009 13:51:22 -0800 (PST) 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=P+bhgizOKuX8GDX3ukHqOK3heKxa2OcdyvV7V6i2rvY=; b=V/QR3cWGEVzzB/RqF+ZwqeQ6u0DvBqMsI/bYVcHbAWjupJ0avoKQzUyiLNjyCkYOMd eZP1OTE2fVKVKX6WWDn3feEC7RrSltnQjOnItle20svcKSGSdgTLyCqn+uo5BngxJ77C 0LwV5UijVlLpdU9V7siiwfZtMXj7f2T41mmCc= 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=sqcGdli+gBtXHG4noBJqByrHEk0YnSmEW9UwQyx7YmAfKVAnNMADwbx1aJUS435by5 TtKoSN6civvJ2nhBHr/OHaicyuVRU1eDFMxA+n7hTARBXw/aQaDt4Xz3OZgbC4b2Xc6Y lFpxNkSKo5W9C6UI+4hoCLJ3fBPD8PnrHwwiw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id i14mr1614622fga.70.1233525082175; Sun, 01 Feb 2009 13:51:22 -0800 (PST) In-Reply-To: <eellis@example.org> References: <eellis@example.org> <eellis@example.org> Date: Sun, 1 Feb 2009 22:51:22 +0100 Message-ID: <eellis@example.org> Subject: Re: Felix 1.4.1 and glassfish v3 From: Karl Pauls <eellis@example.org> To: eellis@example.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Still sounds rather strange doesn't it? Why would glassfish leak it's version of felix to the application? regards, Karl On Sun, Feb 1, 2009 at 9:34 PM, Richard S. Hall <eellis@example.org> wrote: > The constructor changed from Felix 1.2.x to 1.4.x, so if it is expecting the > old-style constructor, then you will have an issue. I am not sure what is > going on here, but I don't think GF directly tries to construct Felix and I > have successfully gotten GF to run with Felix 1.4.x by simply changing some > configuration properties. If the issue is that you have two different > versions of Felix available at the same time, then you will probably need to > convert your GF to use the newer version of Felix so you only have one. > > -> richard > > Vinicius Carvalho wrote: >> >> Hello there! After finally getting our app running. we are now evaluating >> it >> on different application servers. And we got it working on JBoss 4.2.x, >> JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty >> versions) and also Spring DM Server. >> >> We could not get it working on glassfish, v2.1 simply freeze in a manner >> that it never comes back unless we remove the domain and create a new one, >> really weird, we are gonna look at glassfish mailing lists for that. >> >> Now v3, which is an osgi container based on felix, seems to have some >> classloading issues. I'm stating this because it complains about felix not >> having a method, and seems that they load an old version of felix on >> bootstrap, and since we are using 1.4.1, we get some problems with >> startup. >> Here's the exception: >> >> Any ideas? >> >> Best regards >> >> >> [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: >> ContainerBase.addChild: start: LifecycleException: >> java.lang.NoSuchMethodError: >> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >> java.lang.IllegalStateException: ContainerBase.addChild: start: >> LifecycleException: java.lang.NoSuchMethodError: >> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >> at >> >> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) >> at >> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) >> at >> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) >> at >> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) >> at >> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) >> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) >> at >> >> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) >> at >> >> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) >> at >> >> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) >> at >> >> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) >> at >> >> com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) >> at >> >> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) >> at >> >> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) >> at >> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) >> at >> >> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) >> at >> >> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) >> at >> >> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) >> at >> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) >> at >> >> org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> >> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) >> at >> >> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) >> at >> >> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) >> at >> >> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) >> at >> >> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) >> at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) >> at >> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) >> at javax.faces.component.UICommand.broadcast(UICommand.java:372) >> at >> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) >> at >> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) >> at >> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) >> at >> >> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) >> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) >> at >> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >> at >> >> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) >> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >> at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >> at >> >> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) >> at >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) >> at >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) >> at >> >> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) >> at >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >> at >> >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >> at >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >> at >> >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >> at >> >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >> at >> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >> at >> >> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) >> at >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) >> at >> >> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) >> at >> >> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) >> at >> >> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) >> at >> >> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) >> at >> >> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) >> at >> >> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) >> at >> >> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) >> at >> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) >> at >> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) >> at >> >> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) >> at >> >> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) >> at >> >> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) >> at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) >> |#] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: eellis@example.org > For additional commands, e-mail: eellis@example.org > > -- Karl Pauls eellis@example.org --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 22:23:43 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 41992 invoked from network); 1 Feb 2009 22:23:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 22:23:43 -0000 Received: (qmail 3287 invoked by uid 500); 1 Feb 2009 22:23:42 -0000 Delivered-To: eellis@example.org Received: (qmail 3249 invoked by uid 500); 1 Feb 2009 22:23:42 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 3238 invoked by uid 99); 1 Feb 2009 22:23:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 14:23:42 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO outbound-mail-302.bluehost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Feb 2009 22:23:33 +0000 Received: (qmail 16111 invoked by uid 0); 1 Feb 2009 22:19:16 -0000 Received: from unknown (HELO host118.hostmonster.com) (83.161.120.155) by outboundproxy6.bluehost.com with SMTP; 1 Feb 2009 22:19:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=d1Qr2eiwnrrDmIbnr62Ztuk5tgaJqncyPbaeoKGFunEHD91jk2fbxty2yNG64Nlrzle5EMKlPnBsuK1kzQ3twTAtY/If8cmhm6ADkCAxI3hSmTqi9Pv2Db+V0oKzYN2C; Received: from [83.161.120.155] (helo=brenda.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <eellis@example.org>) id 1LTkig-0006Uk-M9 for eellis@example.org; Sun, 01 Feb 2009 15:23:15 -0700 Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 17:22:46 -0500 From: "Richard S. Hall" <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20081209) MIME-Version: 1.0 To: eellis@example.org Subject: Re: Felix 1.4.1 and glassfish v3 References: <eellis@example.org> <eellis@example.org> <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 83.161.120.155 authed with eellis@example.org} X-Virus-Checked: Checked by ClamAV on apache.org I think they may use boot delegation... -> richard Karl Pauls wrote: > Still sounds rather strange doesn't it? Why would glassfish leak it's > version of felix to the application? > > regards, > > Karl > > On Sun, Feb 1, 2009 at 9:34 PM, Richard S. Hall <eellis@example.org> wrote: > >> The constructor changed from Felix 1.2.x to 1.4.x, so if it is expecting the >> old-style constructor, then you will have an issue. I am not sure what is >> going on here, but I don't think GF directly tries to construct Felix and I >> have successfully gotten GF to run with Felix 1.4.x by simply changing some >> configuration properties. If the issue is that you have two different >> versions of Felix available at the same time, then you will probably need to >> convert your GF to use the newer version of Felix so you only have one. >> >> -> richard >> >> Vinicius Carvalho wrote: >> >>> Hello there! After finally getting our app running. we are now evaluating >>> it >>> on different application servers. And we got it working on JBoss 4.2.x, >>> JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty >>> versions) and also Spring DM Server. >>> >>> We could not get it working on glassfish, v2.1 simply freeze in a manner >>> that it never comes back unless we remove the domain and create a new one, >>> really weird, we are gonna look at glassfish mailing lists for that. >>> >>> Now v3, which is an osgi container based on felix, seems to have some >>> classloading issues. I'm stating this because it complains about felix not >>> having a method, and seems that they load an old version of felix on >>> bootstrap, and since we are using 1.4.1, we get some problems with >>> startup. >>> Here's the exception: >>> >>> Any ideas? >>> >>> Best regards >>> >>> >>> [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: >>> ContainerBase.addChild: start: LifecycleException: >>> java.lang.NoSuchMethodError: >>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>> java.lang.IllegalStateException: ContainerBase.addChild: start: >>> LifecycleException: java.lang.NoSuchMethodError: >>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>> at >>> >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) >>> at >>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) >>> at >>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) >>> at com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) >>> at >>> >>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) >>> at >>> >>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) >>> at >>> >>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) >>> at >>> >>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) >>> at >>> >>> com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) >>> at >>> >>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) >>> at >>> >>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) >>> at >>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) >>> at >>> >>> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) >>> at >>> >>> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) >>> at >>> >>> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) >>> at >>> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) >>> at >>> >>> org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> >>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) >>> at >>> >>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) >>> at >>> >>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) >>> at >>> >>> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) >>> at >>> >>> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) >>> at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) >>> at >>> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) >>> at javax.faces.component.UICommand.broadcast(UICommand.java:372) >>> at >>> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) >>> at >>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) >>> at >>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) >>> at >>> >>> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) >>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) >>> at >>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >>> at >>> >>> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) >>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) >>> at >>> >>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) >>> at >>> >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) >>> at >>> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>> at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) >>> at >>> >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) >>> at >>> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>> at >>> >>> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) >>> at >>> >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) >>> at >>> >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) >>> at >>> >>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) >>> at >>> >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>> at >>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>> at >>> >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>> at >>> >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>> at >>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>> at >>> >>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) >>> at >>> >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) >>> at >>> >>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) >>> at >>> >>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) >>> at >>> >>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) >>> at >>> >>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) >>> at >>> >>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) >>> at >>> >>> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) >>> at >>> >>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) >>> at >>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) >>> at >>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) >>> at >>> >>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) >>> at >>> >>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) >>> at >>> >>> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) >>> at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) >>> |#] >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: eellis@example.org >> For additional commands, e-mail: eellis@example.org >> >> >> > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 22:24:44 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 42563 invoked from network); 1 Feb 2009 22:24:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 22:24:44 -0000 Received: (qmail 4653 invoked by uid 500); 1 Feb 2009 22:24:43 -0000 Delivered-To: eellis@example.org Received: (qmail 4610 invoked by uid 500); 1 Feb 2009 22:24:43 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 4595 invoked by uid 99); 1 Feb 2009 22:24:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 14:24:43 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO outbound-mail-101.bluehost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Feb 2009 22:24:34 +0000 Received: (qmail 29972 invoked by uid 0); 1 Feb 2009 22:24:16 -0000 Received: from unknown (HELO host118.hostmonster.com) (83.161.120.155) by outboundproxy3.bluehost.com with SMTP; 1 Feb 2009 22:24:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=poXOzAZda7dNWU1xU0/v4yeRZvtH4kpLqyI3KpS6SM0XohltWNcp0jNKXSKxkpin4pPCpmd/093IrNDw23ECHyfsWX1FfaakhZJZcSCQhJnvnK/NuMExCiVOGT2d8u8h; Received: from [83.161.120.155] (helo=brenda.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <eellis@example.org>) id 1LTkjf-00076O-7y for eellis@example.org; Sun, 01 Feb 2009 15:24:16 -0700 Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 17:23:52 -0500 From: "Richard S. Hall" <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20081209) MIME-Version: 1.0 To: eellis@example.org Subject: Re: Felix 1.4.1 and glassfish v3 References: <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 83.161.120.155 authed with eellis@example.org} X-Virus-Checked: Checked by ClamAV on apache.org p.s. Keep in mind that I am just guessing as to the cause... Richard S. Hall wrote: > I think they may use boot delegation... > > -> richard > > Karl Pauls wrote: >> Still sounds rather strange doesn't it? Why would glassfish leak it's >> version of felix to the application? >> >> regards, >> >> Karl >> >> On Sun, Feb 1, 2009 at 9:34 PM, Richard S. Hall >> <eellis@example.org> wrote: >> >>> The constructor changed from Felix 1.2.x to 1.4.x, so if it is >>> expecting the >>> old-style constructor, then you will have an issue. I am not sure >>> what is >>> going on here, but I don't think GF directly tries to construct >>> Felix and I >>> have successfully gotten GF to run with Felix 1.4.x by simply >>> changing some >>> configuration properties. If the issue is that you have two different >>> versions of Felix available at the same time, then you will probably >>> need to >>> convert your GF to use the newer version of Felix so you only have one. >>> >>> -> richard >>> >>> Vinicius Carvalho wrote: >>> >>>> Hello there! After finally getting our app running. we are now >>>> evaluating >>>> it >>>> on different application servers. And we got it working on JBoss >>>> 4.2.x, >>>> JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty >>>> versions) and also Spring DM Server. >>>> >>>> We could not get it working on glassfish, v2.1 simply freeze in a >>>> manner >>>> that it never comes back unless we remove the domain and create a >>>> new one, >>>> really weird, we are gonna look at glassfish mailing lists for that. >>>> >>>> Now v3, which is an osgi container based on felix, seems to have some >>>> classloading issues. I'm stating this because it complains about >>>> felix not >>>> having a method, and seems that they load an old version of felix on >>>> bootstrap, and since we are using 1.4.1, we get some problems with >>>> startup. >>>> Here's the exception: >>>> >>>> Any ideas? >>>> >>>> Best regards >>>> >>>> >>>> [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: >>>> >>>> ContainerBase.addChild: start: LifecycleException: >>>> java.lang.NoSuchMethodError: >>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>> java.lang.IllegalStateException: ContainerBase.addChild: start: >>>> LifecycleException: java.lang.NoSuchMethodError: >>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>> at >>>> >>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) >>>> >>>> at >>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) >>>> >>>> at >>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) >>>> at >>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) >>>> >>>> at >>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) >>>> >>>> at >>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) >>>> at >>>> >>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) >>>> >>>> at >>>> >>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) >>>> >>>> at >>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) >>>> >>>> at >>>> >>>> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) >>>> >>>> at >>>> >>>> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) >>>> >>>> at >>>> >>>> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) >>>> >>>> at >>>> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) >>>> >>>> at >>>> >>>> org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) >>>> >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> >>>> at >>>> >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> >>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>> at >>>> >>>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) >>>> >>>> at >>>> >>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) >>>> >>>> at >>>> >>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) >>>> >>>> at >>>> >>>> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) >>>> >>>> at >>>> >>>> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) >>>> >>>> at >>>> javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) >>>> at >>>> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) >>>> >>>> at javax.faces.component.UICommand.broadcast(UICommand.java:372) >>>> at >>>> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) >>>> >>>> at >>>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) >>>> at >>>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) >>>> >>>> at >>>> >>>> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) >>>> >>>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) >>>> at >>>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >>>> at >>>> >>>> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) >>>> >>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) >>>> at >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) >>>> >>>> at >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) >>>> >>>> at >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>> >>>> at >>>> com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) >>>> at >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) >>>> >>>> at >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>> >>>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) >>>> at >>>> >>>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>> >>>> at >>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>> at >>>> >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>> >>>> at >>>> >>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>> >>>> at >>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>> at >>>> >>>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) >>>> >>>> at >>>> >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) >>>> >>>> at >>>> >>>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) >>>> >>>> at >>>> >>>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) >>>> >>>> at >>>> >>>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) >>>> >>>> at >>>> >>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) >>>> >>>> at >>>> >>>> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) >>>> >>>> at >>>> >>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) >>>> >>>> at >>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) >>>> >>>> at >>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) >>>> >>>> at >>>> >>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) >>>> >>>> at >>>> >>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) >>>> >>>> at >>>> >>>> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) >>>> >>>> at >>>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) >>>> |#] >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: eellis@example.org >>> For additional commands, e-mail: eellis@example.org >>> >>> >>> >> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: eellis@example.org > For additional commands, e-mail: eellis@example.org > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 22:47:38 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 46112 invoked from network); 1 Feb 2009 22:47:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 22:47:38 -0000 Received: (qmail 27845 invoked by uid 500); 1 Feb 2009 22:47:37 -0000 Delivered-To: eellis@example.org Received: (qmail 27815 invoked by uid 500); 1 Feb 2009 22:47:37 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 27804 invoked by uid 99); 1 Feb 2009 22:47:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 14:47:37 -0800 X-ASF-Spam-Status: No, hits=3.4 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO yw-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 22:47:30 +0000 Received: by yw-out-1718.google.com with SMTP id 5so441993ywm.10 for <eellis@example.org>; Sun, 01 Feb 2009 14:47:08 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l13mr343131iba.7.1233528427327; Sun, 01 Feb 2009 14:47:07 -0800 (PST) In-Reply-To: <eellis@example.org> References: <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> Date: Sun, 1 Feb 2009 20:47:07 -0200 Message-ID: <eellis@example.org> Subject: Re: Felix 1.4.1 and glassfish v3 From: Vinicius Carvalho <eellis@example.org> To: eellis@example.org Content-Type: multipart/alternative; boundary=0003255760cebb320c0461e33744 X-Virus-Checked: Checked by ClamAV on apache.org --0003255760cebb320c0461e33744 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Well in their config.properties they do use: org.osgi.framework.bootdelegation=* So, would this mean that all libs (including Felix) would be using bootdelegation? Regards On Sun, Feb 1, 2009 at 8:23 PM, Richard S. Hall <eellis@example.org>wrote: > p.s. Keep in mind that I am just guessing as to the cause... > > > Richard S. Hall wrote: > >> I think they may use boot delegation... >> >> -> richard >> >> Karl Pauls wrote: >> >>> Still sounds rather strange doesn't it? Why would glassfish leak it's >>> version of felix to the application? >>> >>> regards, >>> >>> Karl >>> >>> On Sun, Feb 1, 2009 at 9:34 PM, Richard S. Hall <eellis@example.org> >>> wrote: >>> >>> >>>> The constructor changed from Felix 1.2.x to 1.4.x, so if it is expecting >>>> the >>>> old-style constructor, then you will have an issue. I am not sure what >>>> is >>>> going on here, but I don't think GF directly tries to construct Felix >>>> and I >>>> have successfully gotten GF to run with Felix 1.4.x by simply changing >>>> some >>>> configuration properties. If the issue is that you have two different >>>> versions of Felix available at the same time, then you will probably >>>> need to >>>> convert your GF to use the newer version of Felix so you only have one. >>>> >>>> -> richard >>>> >>>> Vinicius Carvalho wrote: >>>> >>>> >>>>> Hello there! After finally getting our app running. we are now >>>>> evaluating >>>>> it >>>>> on different application servers. And we got it working on JBoss 4.2.x, >>>>> JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty >>>>> versions) and also Spring DM Server. >>>>> >>>>> We could not get it working on glassfish, v2.1 simply freeze in a >>>>> manner >>>>> that it never comes back unless we remove the domain and create a new >>>>> one, >>>>> really weird, we are gonna look at glassfish mailing lists for that. >>>>> >>>>> Now v3, which is an osgi container based on felix, seems to have some >>>>> classloading issues. I'm stating this because it complains about felix >>>>> not >>>>> having a method, and seems that they load an old version of felix on >>>>> bootstrap, and since we are using 1.4.1, we get some problems with >>>>> startup. >>>>> Here's the exception: >>>>> >>>>> Any ideas? >>>>> >>>>> Best regards >>>>> >>>>> >>>>> [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: >>>>> >>>>> ContainerBase.addChild: start: LifecycleException: >>>>> java.lang.NoSuchMethodError: >>>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>>> java.lang.IllegalStateException: ContainerBase.addChild: start: >>>>> LifecycleException: java.lang.NoSuchMethodError: >>>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>>> at >>>>> >>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) >>>>> >>>>> at >>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) >>>>> >>>>> at >>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) >>>>> at >>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) >>>>> >>>>> at >>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) >>>>> >>>>> at >>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) >>>>> at >>>>> >>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) >>>>> >>>>> at >>>>> >>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) >>>>> >>>>> at >>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) >>>>> >>>>> at >>>>> >>>>> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) >>>>> >>>>> at >>>>> >>>>> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) >>>>> >>>>> at >>>>> >>>>> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) >>>>> >>>>> at >>>>> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) >>>>> >>>>> at >>>>> >>>>> org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) >>>>> >>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>> at >>>>> >>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>> >>>>> at >>>>> >>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>> >>>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>>> at >>>>> >>>>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) >>>>> >>>>> at >>>>> >>>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) >>>>> >>>>> at >>>>> >>>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) >>>>> >>>>> at >>>>> >>>>> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) >>>>> >>>>> at >>>>> >>>>> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) >>>>> >>>>> at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) >>>>> at >>>>> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) >>>>> >>>>> at javax.faces.component.UICommand.broadcast(UICommand.java:372) >>>>> at >>>>> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) >>>>> >>>>> at >>>>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) >>>>> at >>>>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) >>>>> >>>>> at >>>>> >>>>> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) >>>>> >>>>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) >>>>> at >>>>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >>>>> at >>>>> >>>>> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) >>>>> >>>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) >>>>> at >>>>> >>>>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>>> >>>>> at >>>>> com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) >>>>> at >>>>> >>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>> >>>>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) >>>>> at >>>>> >>>>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>>> >>>>> at >>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>>> >>>>> at >>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>>> at >>>>> >>>>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) >>>>> >>>>> at >>>>> >>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) >>>>> >>>>> at >>>>> >>>>> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) >>>>> >>>>> at >>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) >>>>> >>>>> at >>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) >>>>> >>>>> at >>>>> >>>>> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) >>>>> >>>>> at >>>>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) >>>>> |#] >>>>> >>>>> >>>>> >>>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: eellis@example.org >>>> For additional commands, e-mail: eellis@example.org >>>> >>>> >>>> >>>> >>> >>> >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: eellis@example.org >> For additional commands, e-mail: eellis@example.org >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: eellis@example.org > For additional commands, e-mail: eellis@example.org > > --0003255760cebb320c0461e33744-- From eellis@example.org Sun Feb 01 22:54:36 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 47146 invoked from network); 1 Feb 2009 22:54:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 22:54:36 -0000 Received: (qmail 33177 invoked by uid 500); 1 Feb 2009 22:54:35 -0000 Delivered-To: eellis@example.org Received: (qmail 33140 invoked by uid 500); 1 Feb 2009 22:54:35 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 33129 invoked by uid 99); 1 Feb 2009 22:54:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 14:54:35 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO outbound-mail-13.bluehost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Feb 2009 22:54:24 +0000 Received: (qmail 7658 invoked by uid 0); 1 Feb 2009 22:53:24 -0000 Received: from unknown (HELO host118.hostmonster.com) (83.161.120.155) by outboundproxy1.bluehost.com with SMTP; 1 Feb 2009 22:53:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=1RN6VyV+Y8amul4q3IzknFw97zCEpcXoBhwkpps9bMswXZy2hj3Kupbv2mQyP2WOv/GqOcvLQNK1J+7BE6HYwj8T9CTwKrGVsq/Z8iM2fKNRSUJaXYG60NTvrysfrqiP; Received: from [83.161.120.155] (helo=brenda.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <eellis@example.org>) id 1LTlCV-0005kl-Vn for eellis@example.org; Sun, 01 Feb 2009 15:54:04 -0700 Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 17:53:41 -0500 From: "Richard S. Hall" <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20081209) MIME-Version: 1.0 To: eellis@example.org Subject: Re: Felix 1.4.1 and glassfish v3 References: <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 83.161.120.155 authed with eellis@example.org} X-Virus-Checked: Checked by ClamAV on apache.org Yep. Which means any attempt to load any class by any bundle will first be routed to the parent class loader to see if it can provide it and it will be able to provide Felix. Assuming that this is really the issue, you have three options: 1. Upgrade GF's version of Felix. 2. Downgrade the version being used by Catalina (it looks like). 3. Try to see if you can remove the boot delegation. The best option would be (3) if it were possible to do. You could file a bug report with GF letting them know that boot delegation with "*" makes it impossible for you to embed different versions of Felix on top of GF. -> richard Vinicius Carvalho wrote: > Well in their config.properties they do use: > > org.osgi.framework.bootdelegation=* > > So, would this mean that all libs (including Felix) would be using > bootdelegation? > > Regards > > On Sun, Feb 1, 2009 at 8:23 PM, Richard S. Hall <eellis@example.org>wrote: > > >> p.s. Keep in mind that I am just guessing as to the cause... >> >> >> Richard S. Hall wrote: >> >> >>> I think they may use boot delegation... >>> >>> -> richard >>> >>> Karl Pauls wrote: >>> >>> >>>> Still sounds rather strange doesn't it? Why would glassfish leak it's >>>> version of felix to the application? >>>> >>>> regards, >>>> >>>> Karl >>>> >>>> On Sun, Feb 1, 2009 at 9:34 PM, Richard S. Hall <eellis@example.org> >>>> wrote: >>>> >>>> >>>> >>>>> The constructor changed from Felix 1.2.x to 1.4.x, so if it is expecting >>>>> the >>>>> old-style constructor, then you will have an issue. I am not sure what >>>>> is >>>>> going on here, but I don't think GF directly tries to construct Felix >>>>> and I >>>>> have successfully gotten GF to run with Felix 1.4.x by simply changing >>>>> some >>>>> configuration properties. If the issue is that you have two different >>>>> versions of Felix available at the same time, then you will probably >>>>> need to >>>>> convert your GF to use the newer version of Felix so you only have one. >>>>> >>>>> -> richard >>>>> >>>>> Vinicius Carvalho wrote: >>>>> >>>>> >>>>> >>>>>> Hello there! After finally getting our app running. we are now >>>>>> evaluating >>>>>> it >>>>>> on different application servers. And we got it working on JBoss 4.2.x, >>>>>> JBoss 5.0, Tomcat 5.5. and 6.0, Jetty 6.x, Geronimo (tomcat and jetty >>>>>> versions) and also Spring DM Server. >>>>>> >>>>>> We could not get it working on glassfish, v2.1 simply freeze in a >>>>>> manner >>>>>> that it never comes back unless we remove the domain and create a new >>>>>> one, >>>>>> really weird, we are gonna look at glassfish mailing lists for that. >>>>>> >>>>>> Now v3, which is an osgi container based on felix, seems to have some >>>>>> classloading issues. I'm stating this because it complains about felix >>>>>> not >>>>>> having a method, and seems that they load an old version of felix on >>>>>> bootstrap, and since we are using 1.4.1, we get some problems with >>>>>> startup. >>>>>> Here's the exception: >>>>>> >>>>>> Any ideas? >>>>>> >>>>>> Best regards >>>>>> >>>>>> >>>>>> [#|2009-02-01T17:06:51.963-0200|WARNING|glassfish|javax.enterprise.system.container.web|_ThreadID=18;_ThreadName=Thread-3;|java.lang.IllegalStateException: >>>>>> >>>>>> ContainerBase.addChild: start: LifecycleException: >>>>>> java.lang.NoSuchMethodError: >>>>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>>>> java.lang.IllegalStateException: ContainerBase.addChild: start: >>>>>> LifecycleException: java.lang.NoSuchMethodError: >>>>>> org.apache.felix.framework.Felix.<init>(Ljava/util/Map;)V >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:926) >>>>>> >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:906) >>>>>> >>>>>> at >>>>>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) >>>>>> at >>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:2205) >>>>>> >>>>>> at >>>>>> com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1890) >>>>>> >>>>>> at >>>>>> com.sun.enterprise.web.WebApplication.start(WebApplication.java:85) >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:560) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.start(ApplicationLifecycle.java:547) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:189) >>>>>> >>>>>> at >>>>>> >>>>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:329) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.admin.CommandRunner$2.execute(CommandRunner.java:297) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:312) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:119) >>>>>> >>>>>> at >>>>>> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:99) >>>>>> >>>>>> at >>>>>> >>>>>> org.glassfish.admingui.common.util.LocalDeploymentFacility$LocalDFCommandRunner.run(LocalDeploymentFacility.java:140) >>>>>> >>>>>> at >>>>>> >>>>>> org.glassfish.deployment.client.AbstractDeploymentFacility.deploy(AbstractDeploymentFacility.java:243) >>>>>> >>>>>> at >>>>>> >>>>>> org.glassfish.admingui.common.util.DeployUtil.invokeDeploymentFacility(DeployUtil.java:93) >>>>>> >>>>>> at >>>>>> org.glassfish.admingui.common.util.DeployUtil.deploy(DeployUtil.java:70) >>>>>> >>>>>> at >>>>>> >>>>>> org.glassfish.admingui.handlers.DeploymentHandler.deploy(DeploymentHandler.java:152) >>>>>> >>>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>>>> at >>>>>> >>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>>>> >>>>>> at >>>>>> >>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>>>> >>>>>> at java.lang.reflect.Method.invoke(Method.java:597) >>>>>> at >>>>>> >>>>>> com.sun.jsftemplating.layout.descriptors.handler.Handler.invoke(Handler.java:422) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:420) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.jsftemplating.layout.descriptors.LayoutElementBase.dispatchHandlers(LayoutElementBase.java:394) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.jsftemplating.layout.event.CommandActionListener.invokeCommandHandlers(CommandActionListener.java:132) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.jsftemplating.layout.event.CommandActionListener.processAction(CommandActionListener.java:80) >>>>>> >>>>>> at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) >>>>>> at >>>>>> javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) >>>>>> >>>>>> at javax.faces.component.UICommand.broadcast(UICommand.java:372) >>>>>> at >>>>>> com.sun.webui.jsf.component.WebuiCommand.broadcast(WebuiCommand.java:160) >>>>>> >>>>>> at >>>>>> javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) >>>>>> at >>>>>> javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) >>>>>> >>>>>> at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) >>>>>> at >>>>>> com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) >>>>>> at >>>>>> >>>>>> com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80) >>>>>> >>>>>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:431) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:337) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>>>> >>>>>> at >>>>>> com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:370) >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:250) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:218) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardWrapperValve.preInvoke(StandardWrapperValve.java:460) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:139) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:186) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>>> >>>>>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:96) >>>>>> at >>>>>> >>>>>> com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>>>> >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:142) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:719) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:657) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:651) >>>>>> >>>>>> at >>>>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1030) >>>>>> at >>>>>> >>>>>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325) >>>>>> >>>>>> at >>>>>> >>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:242) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:180) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:633) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:570) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:827) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103) >>>>>> >>>>>> at >>>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89) >>>>>> >>>>>> at >>>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56) >>>>>> >>>>>> at >>>>>> >>>>>> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325) >>>>>> >>>>>> at >>>>>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184) >>>>>> |#] >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: eellis@example.org >>>>> For additional commands, e-mail: eellis@example.org >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: eellis@example.org >>> For additional commands, e-mail: eellis@example.org >>> >>> >>> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: eellis@example.org >> For additional commands, e-mail: eellis@example.org >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: eellis@example.org For additional commands, e-mail: eellis@example.org From eellis@example.org Sun Feb 01 22:58:44 2009 Return-Path: <eellis@example.org> Delivered-To: eellis@example.org Received: (qmail 48465 invoked from network); 1 Feb 2009 22:58:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Feb 2009 22:58:44 -0000 Received: (qmail 41204 invoked by uid 500); 1 Feb 2009 22:58:25 -0000 Delivered-To: eellis@example.org Received: (qmail 41168 invoked by uid 500); 1 Feb 2009 22:58:25 -0000 Mailing-List: contact eellis@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:eellis@example.org> List-Unsubscribe: <mailto:eellis@example.org> List-Post: <mailto:eellis@example.org> List-Id: <users.felix.apache.org> Reply-To: eellis@example.org Delivered-To: mailing list eellis@example.org Received: (qmail 41148 invoked by uid 99); 1 Feb 2009 22:58:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Feb 2009 14:58:25 -0800 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 eellis@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO outbound-mail-27.bluehost.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 01 Feb 2009 22:58:16 +0000 Received: (qmail 6055 invoked by uid 0); 1 Feb 2009 22:57:44 -0000 Received: from unknown (HELO host118.hostmonster.com) (83.161.120.155) by outboundproxy2.bluehost.com with SMTP; 1 Feb 2009 22:57:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=ungoverned.org; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=xGits3QJ6f0D1EAnrA1zFsjL4u4+WhVLb6a45KAZb+7MsMiiI7K0g8Ld/zwyUBPxBroxZJiA8T1QZhQstpSVFawvwTNeHmIruBDWOrf0pTB18r+azgvppB7Gul8pLJpo; Received: from [83.161.120.155] (helo=brenda.local) by host118.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <eellis@example.org>) id 1LTlGG-0007iz-Q9 for eellis@example.org; Sun, 01 Feb 2009 15:57:57 -0700 Message-ID: <eellis@example.org> Date: Sun, 01 Feb 2009 17:57:33 -0500 From: "Richard S. Hall" <eellis@example.org> User-Agent: Thunderbird 83.161.120.155 (Macintosh/20081209) MIME-Version: 1.0 To: eellis@example.org Subject: Re: Felix 1.4.1 and glassfish v3 References: <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> <eellis@example.org> In-Reply-To: <eellis@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1027:host118.hostmonster.com:ungovern:ungoverned.org} {sentby:smtp auth 83.161.120.155 authed with eellis@example.org} X-Virus-Checked: Checked by ClamAV on apache.org As a side note, I do plan on helping move GF to a newer version of Felix, but in the end this is just a band-aid and will still cause problems for different/incompatible versions. -> richard Richard S. Hall wrote: > Yep. Which means any attempt to load any class by any bundle will > first be routed to the parent class loader to see if it can provide it > and it will be able to provide Felix. > > Assuming that this is really the issue, you have three options: > > 1. Upgrade GF's version of
{'source': 'Apache Software Foundation Public Mail Archives'}