camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Urppa <petri.riipi...@insta.fi>
Subject RE: Releasing CXF-endpoint port on context shutdown
Date Wed, 28 Nov 2012 11:04:38 GMT
Hello,

Ok, I got an error in the Karaf-log once I try to get the WSDL the second
time. 

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 then
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’ve
installed CXF, ActiveMQ and camel-features)

2012-11-28 11:50:50,290 | WARN  | 34 - /cisif?wsdl | PhaseInterceptorChain           
| 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.java: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(PhaseInterceptorChain.java:271)[144:org.apache.cxf.cxf-api:2.7.0]
                             at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[144:org.apache.cxf.cxf-api:2.7.0]
                             at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:354)[165:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0]
                             at
org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:318)[165:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0]
                             at
org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[165:org.apache.cxf.cxf-rt-transports-http-jetty:2.7.0]
                             at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java: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:135)[64:org.eclipse.jetty.server:7.6.7.v20120910]
                             at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.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.jetty.server:7.6.7.v20120910]
                             at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[64:org.eclipse.jetty.server:7.6.7.v20120910]
                             at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)[64:org.eclipse.jetty.server:7.6.7.v20120910]
                             at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)[64:org.eclipse.jetty.server:7.6.7.v20120910]
                             at
org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)[60:org.eclipse.jetty.http:7.6.7.v20120910]
                             at
org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[60:org.eclipse.jetty.http:7.6.7.v20120910]
                             at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java: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 create
object of extension class org.apache.cxf.catalog.OASISCatalogManager.
                             at
org.apache.cxf.bus.extension.Extension.load(Extension.java:222)[145:org.apache.cxf.cxf-rt-core:2.7.0]
                             at
org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:199)[145:org.apache.cxf.cxf-rt-core:2.7.0]
                             at
org.apache.cxf.bus.extension.ExtensionManagerImpl.getBeansOfType(ExtensionManagerImpl.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.apache.cxf.cxf-rt-core:2.7.0]
                             at
org.apache.cxf.catalog.OASISCatalogManager.getCatalogManager(OASISCatalogManager.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(BundleRevisionImpl.java:512)
                             at
org.apache.felix.framework.BundleWiringImpl.findResourcesByDelegation(BundleWiringImpl.java:1127)
                             at
org.apache.felix.framework.BundleWiringImpl.getResourcesByDelegation(BundleWiringImpl.java:1037)
                             at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoaderJava5.getResources(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(OASISCatalogManager.java:133)[145:org.apache.cxf.cxf-rt-core:2.7.0]
                             at
org.apache.cxf.catalog.OASISCatalogManager.<init>(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(NativeConstructorAccessorImpl.java:57)[:1.7.0_07]
                             at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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.apache.cxf.cxf-rt-core:2.7.0]
                             ... 31 more




--
View this message in context: http://camel.465427.n5.nabble.com/Releasing-CXF-endpoint-port-on-context-shutdown-tp5723329p5723345.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message