I am using cxf from outside bundle and Bundle-ClassPath does not contain cxf jar.
Bundle-ClassPath: .,WEB-INF/classes Import-Package: META-INF.cxf;version="[2.7,3)",META-INF.cxf.osgi;versi on="[2.7,3)",............,javax.ws.rs;version="[2.0,3)",javax.ws.rs.core;v ersion="[2.0,3)",org.apache.cxf.bus.spring;version="[2.7,3)",org.apac he.cxf.jaxrs;version="[2.7,3)",org.apache.cxf.jaxrs.spring;version="[ 2.7,3)",org.apache.cxf.transport.servlet;version="[2.7,3)",org.codeha us.jackson.jaxrs,org.slf4j;version="[1.7,2)",org.springframework.osgi .web.context.support,org.springframework.web.context,org.springframew ork.web.context.request,org.springframework.web.filter Bundle-SymbolicName: logger-rest-service On Wed, Sep 17, 2014 at 3:00 PM, Achim Nierbeck <[email protected]> wrote: > Is this a WAB that includes CXF, or are you re-using cxf from an outside > bundle. > Or better, does your Bundle-ClassPath for the WAB contain a cxf jar? > Cause if it is the centralized cxf-bundle that one does use all connectors > available. > > regards, Achim > > 2014-09-17 11:26 GMT+02:00 Srikanth Hugar <[email protected]>: > >> Hello, >> >> I have a problem running WAB with specific connector. I have 2 >> connectors in jetty.xml with names *https-user(8081)* and >> *https-admin(9081)*. >> >> *context file* >> <cxf:bus> >> <cxf:features> >> <cxf:logging /> >> </cxf:features> >> </cxf:bus> >> >> <jaxrs:server id="services" address="/logger"> >> >> ........................ >> >> >> *MANIFEST.MF* >> >> Web-Connectors: https-admin >> Created-By: Apache Maven Bundle Plugin >> Web-ContextPath: logger >> Web-VirtualHosts: localhost >> Build-Jdk: 1.7.0_45 >> Bundle-Version: 1.0.0.SNAPSHOT >> Bnd-LastModified: 1410945232372 >> >> -------------------------------------------- >> >> *org.apache.cxf.osgi.cfg* >> org.apache.cxf.servlet.context=/css >> org.apache.cxf.servlet.name=CSSService >> >> >> *org.ops4j.pax.web.cfg* >> org.ops4j.pax.web.config.file=${karaf.home}/etc/jetty.xml >> org.osgi.service.http.secure.enabled=true >> >> According to my understanding service should be running with only port >> *9081*, but service is accessible from both ports. >> >> What could be the issue here? >> -- >> Srikanth >> www. <http://www.srikanthugar.in>gharki.com >> >> > > > -- > > Apache Member > Apache Karaf <http://karaf.apache.org/> Committer & PMC > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & > Project Lead > blog <http://notizblog.nierbeck.de/> > > Software Architect / Project Manager / Scrum Master > > -- Srikanth www.srikanthugar.in
