PAX Wicket 4

43 views
Skip to first unread message

nino martinez wael

unread,
Mar 13, 2017, 5:51:16 AM3/13/17
to OPS4J
Hi Everybody..

IF no one vetos, I will be releasing pax wicket 4 as in 


I will make the felix tests pass first though.. 

Regards nino

nino martinez wael

unread,
Mar 15, 2017, 8:49:48 AM3/15/17
to OPS4J
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.service.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)

Christoph Läubrich

unread,
Mar 15, 2017, 9:07:55 AM3/15/17
to op...@googlegroups.com
if org/osgi/dto is used it must be imported by the bundle, this seems to be a problem of the Pax Web WhiteboardDtoService.
--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
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 ops4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nino martinez wael

unread,
Mar 16, 2017, 2:53:03 AM3/16/17
to op...@googlegroups.com
Yeah but I am wondering if it's necessary to install the osgi dto package into felix..

To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
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/topic/ops4j/ahQOfLYXmAM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ops4j+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Best regards / Med venlig hilsen 
Nino Martinez

Christoph Läubrich

unread,
Mar 17, 2017, 4:05:38 AM3/17/17
to op...@googlegroups.com
If a bundle require it: yes. It might be provided already by some felix bundle but for tests you normaly have to provide it.
From the exception part you posted it either seems that pax-web is importing it dynamically and not correctly handle the case where it is not avaiable or does not import it at all and rely on some kind of boot-classloading.

Marc Schlegel

unread,
Mar 17, 2017, 4:30:19 AM3/17/17
to OPS4J
The DTO package is from osgi.cmpn, which is not supposed to be installed. The package is exported by pax-web-api [1]


To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
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/topic/ops4j/ahQOfLYXmAM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ops4j+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

nino martinez wael

unread,
Mar 17, 2017, 4:57:19 AM3/17/17
to op...@googlegroups.com

Achim Nierbeck

unread,
Mar 17, 2017, 4:06:24 PM3/17/17
to op...@googlegroups.com
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 



To unsubscribe from this group and stop receiving emails from it, send an email to ops4j+unsubscribe@googlegroups.com.

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 

nino martinez wael

unread,
Mar 20, 2017, 1:37:34 AM3/20/17
to op...@googlegroups.com
Thanks Achim

I agree, something is off.. Im trying to use felix, newest version from maven 5.6.2

Achim Nierbeck

unread,
Mar 20, 2017, 3:40:14 AM3/20/17
to op...@googlegroups.com
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 

nino martinez wael

unread,
Mar 20, 2017, 7:17:52 AM3/20/17
to op...@googlegroups.com
What exactly should I check (I am a karaf man, and not much into the details of the felix part)? And I agree..

nino martinez wael

unread,
Mar 31, 2017, 8:37:39 AM3/31/17
to op...@googlegroups.com
Any ideas for this? Im at a dead end.. If I cant make the felix integration test work, I will have to disable them in order to make a release and I just feels wrong to go down that road..

Achim Nierbeck

unread,
Apr 2, 2017, 5:52:39 AM4/2/17
to op...@googlegroups.com
Hi, 

right now I'm not able to verify your issue. 
Jenkins also doesn't seem to have an issue[1], did you push all your changes, or do I need to run a special test? 

regards, Achim 

nino martinez wael

unread,
Apr 3, 2017, 1:11:31 AM4/3/17
to op...@googlegroups.com
Hi Achim

It should be this one: 49a79f6170a7c86e71b2e7048586d28ba953c722
https://github.com/ops4j/org.ops4j.pax.wicket/tree/v4.x.y

I will rerun it here.. I might have slipped somewhere..

But will see what I exactly are doing and describe it here for reproduction:)

And thanks.

nino martinez wael

unread,
Apr 25, 2017, 7:35:56 AM4/25/17
to OPS4J



--

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 - op...@googlegroups.com

---
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/topic/ops4j/ahQOfLYXmAM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ops4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards / Med venlig hilsen 
Nino Martinez

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
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 ops4j+un...@googlegroups.com.
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 - op...@googlegroups.com

---
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/topic/ops4j/ahQOfLYXmAM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ops4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Best regards / Med venlig hilsen 
Nino Martinez



--
Best regards / Med venlig hilsen 
Nino Martinez

--
--
------------------
OPS4J - http://www.ops4j.org - op...@googlegroups.com

---
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 ops4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Christoph Läubrich

unread,
Jul 14, 2017, 6:06:17 AM7/14/17
to op...@googlegroups.com
We are happy to annonce the release of Pax Wicket 4 that now adds
support for Wicket 7.

You find all changes here
https://ops4j1.jira.com/wiki/display/paxwicket/Pax+Wicket+-+4.0.0
Reply all
Reply to author
Forward
0 new messages