Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 78999 invoked from network); 13 Oct 2009 12:58:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Oct 2009 12:58:55 -0000 Received: (qmail 46282 invoked by uid 500); 13 Oct 2009 12:58:55 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 46252 invoked by uid 500); 13 Oct 2009 12:58:55 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 46242 invoked by uid 99); 13 Oct 2009 12:58:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 12:58:55 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 12:58:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4434C234C045 for ; Tue, 13 Oct 2009 05:58:31 -0700 (PDT) Message-ID: <670516647.1255438711264.JavaMail.jira@brutus> Date: Tue, 13 Oct 2009 05:58:31 -0700 (PDT) From: "David Bosschaert (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-2467) Remoted service fails to register endpoint after framework is restarted In-Reply-To: <294989596.1255436191278.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765059#action_12765059 ] David Bosschaert commented on CXF-2467: --------------------------------------- Hi Florian, I'll take a look as soon as I get a chance. David > Remoted service fails to register endpoint after framework is restarted > ----------------------------------------------------------------------- > > Key: CXF-2467 > URL: https://issues.apache.org/jira/browse/CXF-2467 > Project: CXF > Issue Type: Bug > Components: Distributed-OSGi > Affects Versions: dOSGi-1.0 > Environment: Windows XP, equinox, Spring > Reporter: Florian Grunow > Assignee: David Bosschaert > > When re-booting the framework the remoted osgi bundles start successfully but fail to get their endpoints registered. When deleting the framework's cache and on the very first start of the framework, everything works fine, the service endpoints are created and the wsdl is exposed. So this happens only after a reboot of the framework. The bundle (hello-remote-srv) is a very simple hello world service activated with a spring configuration. > See exception details, configuration and versions below: > [...] > 13.10.2009 13:42:51 org.apache.cxf.transport.servlet.CXFNonSpringServlet loadBusNoConfig > INFO: Load the bus without application context > Exception in thread "pool-1-thread-3" java.lang.LinkageError: loader constraint violation in interface itable initialization: when resolving method "o > rg.springframework.beans.factory.support.AbstractBeanFactory.getParentBeanFactory()Lorg/springframework/beans/factory/BeanFactory;" the class loader ( > instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, org/springframework/beans/factory/support/AbstractBeanFact > ory, and the class loader (instance of org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for interface org/springframework/beans/factory/Hiera > rchicalBeanFactory have different Class objects for the type org/springframework/beans/factory/BeanFactory used in the signature > at org.springframework.context.support.AbstractRefreshableApplicationContext.createBeanFactory(AbstractRefreshableApplicationContext.java:176) > at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:121 > ) > at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:422) > at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352) > at org.apache.cxf.bus.spring.BusApplicationContext.(BusApplicationContext.java:91) > at org.apache.cxf.bus.spring.SpringBusFactory.createApplicationContext(SpringBusFactory.java:102) > at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:93) > at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:86) > at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:64) > at org.apache.cxf.bus.spring.SpringBusFactory.createBus(SpringBusFactory.java:53) > at org.apache.cxf.transport.servlet.CXFNonSpringServlet.loadBusNoConfig(CXFNonSpringServlet.java:45) > at org.apache.cxf.transport.servlet.CXFNonSpringServlet.loadBus(CXFNonSpringServlet.java:38) > at org.apache.cxf.transport.servlet.AbstractCXFServlet.init(AbstractCXFServlet.java:79) > at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433) > at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:256) > at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) > at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:616) > at org.mortbay.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:984) > at org.mortbay.jetty.servlet.ServletHandler.setServletMappings(ServletHandler.java:1041) > at org.mortbay.jetty.servlet.ServletHandler.addServletMapping(ServletHandler.java:740) > at org.ops4j.pax.web.service.internal.JettyServerImpl$1.call(JettyServerImpl.java:129) > at org.ops4j.pax.web.service.internal.JettyServerImpl$1.call(JettyServerImpl.java:126) > at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60) > at org.ops4j.pax.web.service.internal.JettyServerImpl.addServlet(JettyServerImpl.java:121) > at org.ops4j.pax.web.service.internal.ServerControllerImpl$Started.addServlet(ServerControllerImpl.java:214) > at org.ops4j.pax.web.service.internal.ServerControllerImpl.addServlet(ServerControllerImpl.java:90) > at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:144) > at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:53) > at org.apache.cxf.dosgi.dsw.handlers.HttpServiceConfigurationTypeHandler.createServer(HttpServiceConfigurationTypeHandler.java:92) > at org.apache.cxf.dosgi.dsw.hooks.ServiceHookUtils.createServer(ServiceHookUtils.java:86) > at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.createServer(CxfPublishHook.java:106) > at org.apache.cxf.dosgi.dsw.hooks.CxfPublishHook.publishEndpoint(CxfPublishHook.java:80) > at org.apache.cxf.dosgi.dsw.Activator$1.run(Activator.java:144) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > osgi> ss > Framework is launched. > id State Bundle > 0 ACTIVE org.eclipse.osgi_3.5.1.R35x_v20090827 > 1 ACTIVE com.springsource.net.sf.cglib_2.1.3 > 2 ACTIVE com.springsource.org.aopalliance_1.0.0 > 3 ACTIVE com.springsource.org.apache.commons.logging_1.1.1 > 4 ACTIVE com.springsource.org.jdom_1.0.0 > 5 ACTIVE com.springsource.org.objectweb.asm_2.2.3 > 6 ACTIVE cxf-dosgi-ri-singlebundle-distribution_1.0.0 > 7 ACTIVE biz.aQute.fileinstall_1.3.4 > 8 ACTIVE org.eclipse.equinox.common_3.5.0.v20090520-1800 > 9 ACTIVE org.eclipse.equinox.event_1.1.0.v20080225 > 10 ACTIVE org.eclipse.equinox.launcher_1.0.200.v20090520 > 11 ACTIVE org.eclipse.equinox.log_1.1.0.v20080414 > 12 ACTIVE org.eclipse.equinox.preferences_3.2.300.v20090520-1800 > 13 ACTIVE org.eclipse.osgi.services_3.2.0.v20090520-1800 > 14 ACTIVE org.eclipse.osgi.util_3.2.0.v20090520-1800 > 15 ACTIVE org.springframework.aop_2.5.6 > 16 ACTIVE org.springframework.beans_2.5.6 > 17 ACTIVE org.springframework.context.support_2.5.6 > 18 ACTIVE org.springframework.context_2.5.6 > 19 ACTIVE org.springframework.core_2.5.6 > 20 ACTIVE org.springframework.osgi.core_1.2.0 > 21 ACTIVE org.springframework.osgi.extender_1.2.0 > 22 ACTIVE org.springframework.osgi.extensions.annotations_1.2.0 > 23 ACTIVE org.springframework.osgi.io_1.2.0 > 24 ACTIVE hello-remote-srv_0.0.0.SNAPSHOT > Spring config: > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:osgi="http://www.springframework.org/schema/osgi" > xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> > > > > > > > > > > > > value="/hello" /> > > > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.