Could you check your setup with the pax web integration test setup, I still think it's mostly due to the wrong core bundle.
regards, Achim 2017-03-20 6:37 GMT+01:00 nino martinez wael <[email protected]>: > Thanks Achim > > I agree, something is off.. Im trying to use felix, newest version from > maven 5.6.2 > > On Fri, Mar 17, 2017 at 9:06 PM, 'Achim Nierbeck' via OPS4J < > [email protected]> wrote: > >> Hmm ... something is off here, >> pax-web-api only exports >> org.osgi.service.http.runtime.dto [1] >> the error we do have is for org.osgi.dto.DTO >> >> The import is already available in the pax-web-api bundle. >> Do you have a R6 ready framework in your setup? >> >> regards, Achim >> >> >> [1] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax >> -web-api/pom.xml#L69 >> >> 2017-03-17 9:57 GMT+01:00 nino martinez wael < >> [email protected]>: >> >>> I have provisioned pax web >>> >>> https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/it >>> ests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrat >>> ionTest.java#L98 >>> >>> I use the version 6.0.2 of org.ops4j.pax.web packages >>> >>> >>> https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/it >>> ests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrationTest.java >>> https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/it >>> ests/src/test/java/org/ops4j/pax/wicket/it/samples/SampleWebUiTest.java >>> >>> On Fri, Mar 17, 2017 at 9:30 AM, Marc Schlegel <[email protected]> >>> wrote: >>> >>>> The DTO package is from osgi.cmpn, which is not supposed to be >>>> installed. The package is exported by pax-web-api [1] >>>> >>>> >>>> [1] https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-w >>>> eb-api/pom.xml#L69 >>>> >>>> <https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-api/pom.xml#L69> >>>> Am Donnerstag, 16. März 2017 07:53:03 UTC+1 schrieb nino martinez wael: >>>>> >>>>> Yeah but I am wondering if it's necessary to install the osgi dto >>>>> package into felix.. >>>>> >>>>> On Wed, Mar 15, 2017 at 2:07 PM, 'Christoph Läubrich' via OPS4J < >>>>> [email protected]> wrote: >>>>> >>>>>> if org/osgi/dto is used it must be imported by the bundle, this seems >>>>>> to be a problem of the Pax Web WhiteboardDtoService. >>>>>> >>>>>> Am 15.03.2017 13:49, schrieb nino martinez wael: >>>>>> >>>>>> Hi Again >>>>>> >>>>>> I have almost everything working: >>>>>> >>>>>> But the felix test are still failing, im not sure of the >>>>>> org/osgi/dto/DTO should be provided from the standard felix framework or >>>>>> it >>>>>> should be explicit importet? >>>>>> >>>>>> org.ops4j.pax.web.pax-web-jetty-bundle[org.ops4j.pax.web.ser >>>>>> vice.jetty.internal.JettyServerImpl] : Pax Web available at >>>>>> [0.0.0.0]:[9081] >>>>>> ERROR: [org.ops4j.pax.web.service.internal.WhiteboardDtoService(0)] >>>>>> Error during instantiation of the implementation object >>>>>> java.lang.NoClassDefFoundError: org/osgi/dto/DTO >>>>>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>>>>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) >>>>>> >>>>>> >>>>>> On Monday, March 13, 2017 at 10:51:16 AM UTC+1, nino martinez wael >>>>>> wrote: >>>>>>> >>>>>>> Hi Everybody.. >>>>>>> >>>>>>> IF no one vetos, I will be releasing pax wicket 4 as in >>>>>>> >>>>>>> https://github.com/ops4j/org.ops4j.pax.wicket/tree/v4.x.y >>>>>>> >>>>>>> I will make the felix tests pass first though.. >>>>>>> >>>>>>> Regards nino >>>>>>> >>>>>> -- >>>>>> -- >>>>>> ------------------ >>>>>> OPS4J - http://www.ops4j.org - [email protected] >>>>>> >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "OPS4J" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>>> >>>>>> -- >>>>>> -- >>>>>> ------------------ >>>>>> OPS4J - http://www.ops4j.org - [email protected] >>>>>> >>>>>> --- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "OPS4J" group. >>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>>>>> pic/ops4j/ahQOfLYXmAM/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards / Med venlig hilsen >>>>> Nino Martinez >>>>> >>>> -- >>>> -- >>>> ------------------ >>>> OPS4J - http://www.ops4j.org - [email protected] >>>> >>>> --- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "OPS4J" group. >>>> To unsubscribe from this topic, visit https://groups.google.com/d/to >>>> pic/ops4j/ahQOfLYXmAM/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Best regards / Med venlig hilsen >>> Nino Martinez >>> >>> -- >>> -- >>> ------------------ >>> OPS4J - http://www.ops4j.org - [email protected] >>> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "OPS4J" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> >> 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/> >> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> >> >> Software Architect / Project Manager / Scrum Master >> >> -- >> -- >> ------------------ >> OPS4J - http://www.ops4j.org - [email protected] >> >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "OPS4J" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/ops4j/ahQOfLYXmAM/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Best regards / Med venlig hilsen > Nino Martinez > > -- > -- > ------------------ > OPS4J - http://www.ops4j.org - [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "OPS4J" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
