Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A00D8DB73 for ; Wed, 28 Nov 2012 11:05:08 +0000 (UTC) Received: (qmail 26421 invoked by uid 500); 28 Nov 2012 11:05:08 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 26346 invoked by uid 500); 28 Nov 2012 11:05:07 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 26048 invoked by uid 99); 28 Nov 2012 11:05:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 11:05:05 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2012 11:05:00 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TdfRW-00059R-3E for users@camel.apache.org; Wed, 28 Nov 2012 03:04:38 -0800 Date: Wed, 28 Nov 2012 03:04:38 -0800 (PST) From: Urppa To: users@camel.apache.org Message-ID: <1354100678088-5723345.post@n5.nabble.com> In-Reply-To: <231A2DCD5C3585419A85B7C561040EC1729A7D1CE4@MAIL.insta.fi> References: <1354087867195-5723329.post@n5.nabble.com> <73250002FBE643BD9EF467E783D5C608@gmail.com> <231A2DCD5C3585419A85B7C561040EC1729A7D1CE4@MAIL.insta.fi> Subject: RE: Releasing CXF-endpoint port on context shutdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hello, Ok, I got an error in the Karaf-log once I try to get the WSDL the second time.=20 So when I deploy my bundle into deploy-folder I can get the WSDL with: http= : // localhost:9000/cisif?WSDL But then I remove the bundle, wait a while and then deploy it again and the= n try to get the WSDL with the same URL, I just get an exception from the service and the following exception/stack trace appears into the log. Does this give you any ideas about the possible problem? Am I missing some dependency or something like that? (On my setup I have Karaf 2.3.0 and I=E2= =80=99ve installed CXF, ActiveMQ and camel-features) 2012-11-28 11:50:50,290 | WARN | 34 - /cisif?wsdl | PhaseInterceptorChain = =20 | ache.cxf.common.logging.LogUtils 405 | 144 - org.apache.cxf.cxf-api - 2.7.0 | Interceptor for {http://www.insta.fi/cis}CISQueryServiceService has thrown exception, unwinding now org.apache.cxf.frontend.WSDLQueryException: Exception occurred while trying to process http://localhost:9000/cisif at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:265)[152= :org.apache.cxf.cxf-rt-frontend-simple:2.7.0] at org.apache.cxf.frontend.WSDLGetInterceptor.getDocument(WSDLGetInterceptor.j= ava:158)[152:org.apache.cxf.cxf-rt-frontend-simple:2.7.0] at org.apache.cxf.frontend.WSDLGetInterceptor.handleMessage(WSDLGetInterceptor= .java:110)[152:org.apache.cxf.cxf-rt-frontend-simple:2.7.0] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChai= n.java:271)[144:org.apache.cxf.cxf-api:2.7.0] at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationO= bserver.java:121)[144:org.apache.cxf.cxf-api:2.7.0] at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(Jet= tyHTTPDestination.java:354)[165:org.apache.cxf.cxf-rt-transports-http-jetty= :2.7.0] at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTT= PDestination.java:318)[165:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.= 0] at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandle= r.java:72)[165:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.jav= a:1040)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java= :976)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:13= 5)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHan= dlerCollection.java:255)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:= 116)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.Server.handle(Server.java:359)[64:org.eclipse.jett= y.server:7.6.7.v20120910] at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpC= onnection.java:483)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttp= Connection.java:920)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComple= te(AbstractHttpConnection.java:982)[64:org.eclipse.jetty.server:7.6.7.v2012= 0910] at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[60:org.ecl= ipse.jetty.http:7.6.7.v20120910] at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[60:or= g.eclipse.jetty.http:7.6.7.v20120910] at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.jav= a:82)[64:org.eclipse.jetty.server:7.6.7.v20120910] at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint= .java:627)[59:org.eclipse.jetty.io:7.6.7.v20120910] at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.= java:51)[59:org.eclipse.jetty.io:7.6.7.v20120910] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java= :608)[58:org.eclipse.jetty.util:7.6.7.v20120910] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:= 543)[58:org.eclipse.jetty.util:7.6.7.v20120910] at java.lang.Thread.run(Thread.java:722)[:1.7.0_07] Caused by: org.apache.cxf.bus.extension.ExtensionException: Could not creat= e object of extension class org.apache.cxf.catalog.OASISCatalogManager. at org.apache.cxf.bus.extension.Extension.load(Extension.java:222)[145:org.apa= che.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(Extension= ManagerImpl.java:199)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionM= anagerImpl.java:303)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.bus.osgi.OSGiBeanLocator.getBeansOfType(OSGiBeanLocator.java= :45)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.bus.CXFBusImpl.getExtension(CXFBusImpl.java:99)[145:org.apac= he.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.catalog.OASISCatalogManager.getCatalogManager(OASISCatalogMa= nager.java:187)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.frontend.WSDLGetUtils.updateDefinition(WSDLGetUtils.java:384= )[152:org.apache.cxf.cxf-rt-frontend-simple:2.7.0] at org.apache.cxf.frontend.WSDLGetUtils.getDocument(WSDLGetUtils.java:189)[152= :org.apache.cxf.cxf-rt-frontend-simple:2.7.0] ... 24 more Caused by: java.lang.NullPointerException at org.apache.felix.framework.BundleRevisionImpl.getResourcesLocal(BundleRevis= ionImpl.java:512) at org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(Bundl= eWiringImpl.java:1127) at org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(Bundle= WiringImpl.java:1037) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResou= rces(BundleWiringImpl.java:1778) at org.apache.cxf.catalog.OASISCatalogManager.loadCatalogs(OASISCatalogManager= .java:144)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.catalog.OASISCatalogManager.loadContextCatalogs(OASISCatalog= Manager.java:133)[145:org.apache.cxf.cxf-rt-core:2.7.0] at org.apache.cxf.catalog.OASISCatalogManager.(OASISCatalogManager.java:= 73)[145:org.apache.cxf.cxf-rt-core:2.7.0] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.7.0_07] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcce= ssorImpl.java:57)[:1.7.0_07] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstru= ctorAccessorImpl.java:45)[:1.7.0_07] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)[:1.7.0_07] at org.apache.cxf.bus.extension.Extension.load(Extension.java:199)[145:org.apa= che.cxf.cxf-rt-core:2.7.0] ... 31 more -- View this message in context: http://camel.465427.n5.nabble.com/Releasing-C= XF-endpoint-port-on-context-shutdown-tp5723329p5723345.html Sent from the Camel - Users mailing list archive at Nabble.com.