Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B85829B7C for ; Fri, 2 Mar 2012 09:32:20 +0000 (UTC) Received: (qmail 64261 invoked by uid 500); 2 Mar 2012 09:32:20 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 64217 invoked by uid 500); 2 Mar 2012 09:32:20 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 64209 invoked by uid 99); 2 Mar 2012 09:32:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:32:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2012 09:32:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B0E9146A6 for ; Fri, 2 Mar 2012 09:31:58 +0000 (UTC) Date: Fri, 2 Mar 2012 09:31:58 +0000 (UTC) From: "Tina Li (Updated) (JIRA)" To: dev@geronimo.apache.org Message-ID: <826937500.11257.1330680718728.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1081369633.20626.1322530779890.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (GERONIMO-6221) Error"Unable to start blueprint container for bundle org.apache.karaf.shell.obr" happened when stop the service that geronimo server as MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-6221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tina Li updated GERONIMO-6221: ------------------------------ Attachment: geronimo-6221.patch Problem fixed and patch attached. > Error"Unable to start blueprint container for bundle org.apache.karaf.shell.obr" happened when stop the service that geronimo server as > --------------------------------------------------------------------------------------------------------------------------------------- > > Key: GERONIMO-6221 > URL: https://issues.apache.org/jira/browse/GERONIMO-6221 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: commands > Affects Versions: 3.0-beta-1 > Environment: s390x GNU/Linux > IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64 jvmxz6460sr9-20110203_74623 (JIT enabled, AOT enabled) > Reporter: Tina Li > Assignee: Tina Li > Priority: Minor > Fix For: 3.0-beta-2 > > Attachments: geronimo-6221.patch > > > 1. Using the build Nov 17 09:40:41 UTC 2011 of geronimo 3.0 snapshot > 2. Run geronimo as a linux service: > /bin#./register-service add gservice > /bin#gservice start > 3. Stop the service: > /bin#gservice stop > 4.But service can't be stopped and fond error: > Could not communicate with the server. The server may not be running or the port number may be incorrect (Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: > java.net.ConnectException: Connection refused]) > Locating server on localhost:1099... 2011-11-28 20:17:45,730 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.shell.obr > org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0 > at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1262) > at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1253) > at org.apache.aries.blueprint.container.Parser.parseCustomElement(Parser.java:1246) > at org.apache.aries.blueprint.container.Parser.loadComponents(Parser.java:337) > at org.apache.aries.blueprint.container.Parser.populate(Parser.java:277) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:277) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) > at java.util.concurrent.FutureTask.run(FutureTask.java:149) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:218) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > 2011-11-28 20:17:45,775 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle org.apache.karaf.features.command > org.osgi.service.blueprint.container.ComponentDefinitionException: Unsupported node namespace: http://karaf.apache.org/xmlns/shell/v1.0.0 > at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1262) > at org.apache.aries.blueprint.container.Parser.getNamespaceHandler(Parser.java:1253) > at org.apache.aries.blueprint.container.Parser.parseCustomElement(Parser.java:1246) > at org.apache.aries.blueprint.container.Parser.loadComponents(Parser.java:337) > at org.apache.aries.blueprint.container.Parser.populate(Parser.java:277) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:277) > at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:227) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) > at java.util.concurrent.FutureTask.run(FutureTask.java:149) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:109) > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:218) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:897) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:919) > at java.lang.Thread.run(Thread.java:736) > 5.for linux x86_64, when executing step4, server can be stopped but displayed the info: > Locating server on localhost:1099... Server found. > Server shutdown started > Server shutdown completed > org.apache.karaf.features.core[org.apache.karaf.features.internal.FeaturesServiceImpl] : Error persisting FeaturesService state > java.lang.IllegalStateException: BundleContext is no longer valid > at org.eclipse.osgi.framework.internal.core.BundleContextImpl.checkValid(BundleContextImpl.java:931) > at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getDataFile(BundleContextImpl.java:664) > at org.apache.karaf.features.internal.FeaturesServiceImpl.saveState(FeaturesServiceImpl.java:1042) > at org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:973) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira