Re: PAX Wicket upgrading to Wicket 8

2017-02-26 Thread nino martinez wael
replying inline again :)

All in short. Current branch 4.x.y are working with wicket 8. Secondly I
will take a look in jira to align bug / features to the current source.

On Sun, Feb 26, 2017 at 2:55 PM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> Hi,
>
> > As for now there should be no api breaks for us. BUT wicket itself have
> made a API breaks between 6 and 8
> This doens't matter for pax-wicket, since the user then can choose for one
> of the supported Wicket-Version. So if no changes are required only version
> range should be ajusted! Also Wicket deps does not matter at all at least
> if they are not also pax-wicket dependencies and ther are changes needed.
> You can think of Pax-Wicket as an operationg system and Wicket as an
> application. An operation system can support different versions of
> applications as long as the OS-API remains the same, only if the
> Application uses new OS-API (e.g Win7 versus WinXP APIs) you are required
> to upgrade your OS in order to run it.
>
>
> > I simply have no knowlegede on howto use wrap outside karaf
> You can always install the pax-wrap URL provicer in any OSGi framework.
> For the itest take a look at the *wrappedBundle() *Option
>
Great thanks :)

>
>
> > Yes I have corrected some stuff and done...
> Check if your changes work with wicket 6, 7, 8 then no version change is
> required (see above) otherwise a 4.0.0 should be fine.
> As you wrote "some stuff" it would be nice to create a JIRA issue for each
> semantic change (e.g. adjust XYZ class to work with ne Wicket 8 ABC feature)
>
code for wicket 8 will not work with wicket 7 and 6, there where api
breaks.And as such wicket 8 are incompatible with 6 and 7.

>
>
> > Please elaborate on what you mean by dynamic-import feature and what I
> have done to break it?
> Take alook at https://ops4j1.jira.com/browse/PAXWICKET-483 you disabled
> the weaving-hooks in your last commits.
>
For any changes they were only done in order to make injection work again..
There where major issues when I began on the project and most of the the
injection samples where not working.. I cant remember specifically why the
dynami c import were disabled.

>
>
> Am 25.02.2017 20:37, schrieb nino martinez wael:
>
> Hi Christoph
>
> In short all samples and tests are passing for the karaf integration test.
> The felix ones are failing.
>
> Replying inline..
>
> On Fri, Feb 24, 2017 at 1:25 PM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> WHat do you mean by "apparently the Wicket devs have included non valid
>> bundles namely" If the bundle itself is invalid (e.g. missing imports,
>> invalid manifest) you should open an issue at the coresponding projekt.
>> If the Bundles itself have no OSGI_header information you should be able
>> to use the wrap protocol or open an ehancement-request at the coresponding
>> project.
>>
> As I wrote the two dependencies can be fixed using the wrap protocol.. I
> simply have no knowlegede on howto use wrap outside karaf, in order not to
> break felix and eclipse compability.. I agree that there should be tickets
> opened for these things in the relevant places.But as always time are
> scarce.
>
>>
>> Beside this, Pax Wicket Version number should not be aligned to an Wicket
>> versioning for the following reasons:
>> - Depending on the changes made Wicket Pax Wicket 4 (as an example) might
>> be able to work with Wicket 6 to 8 by just ajusting the version import range
>> - If we do API-Breaking changes we must bump up the major version for Pax
>> Wicket without the need to wait for a new Wicket release
>>
> As for now there should be no api breaks for us. BUT wicket itself have
> made a API breaks between 6 and 8. Also there's changes for some of the
> dependencies of wicket. I am also looking into websocket support.
>
>>
>> Of course, if Pax-Wicket needs to be changed to support a newer Wicket
>> version the Major version should be upgrade. But this has nothing to do
>> with Wicket or vice versa.
>>
> Yes this is the case here so it will at least be called 4.x.y..
> Potentially 4.0.0
>
>> So if you are unvertian, please ask on the mailing list, your last
>> changes have already broken the dynamic-import feature of Pax Wicket :-(
>>
> Please elaborate on what you mean by dynamic-import feature and what I
> have done to break it?
>
>>
>> So the general process for upgrading to the next Wicket-Version is:
>> - Increase the Version-range to the new Wicket-Version
>>
> Done, but since wicket 6,7 and 8 are not compatible and contains api
> breaks for the

Re: PAX Wicket 4

2017-03-15 Thread 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.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)


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


Re: PAX Wicket 4

2017-03-16 Thread 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 <
ops4j@googlegroups.com> 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.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)
>
>
> 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 - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4

2017-03-20 Thread nino martinez wael
What exactly should I check (I am a karaf man, and not much into the
details of the felix part)? And I agree..

On Mon, Mar 20, 2017 at 8:40 AM, 'Achim Nierbeck' via OPS4J <
ops4j@googlegroups.com> wrote:

> 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 <nino.martinez.w...@gmail.com
> >:
>
>> 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 <
>> ops4j@googlegroups.com> 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 <
>>> nino.martinez.w...@gmail.com>:
>>>
>>>> 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/PaxWicketIntegrat
>>>> ionTest.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 <maschle...@gmail.com>
>>>> 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 <
>>>>>> op...@googlegroups.com> 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

Re: PAX Wicket 4

2017-03-17 Thread nino martinez wael
I have provisioned pax web

https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/itests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrationTest.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/itests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrationTest.java
https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/itests/src/test/java/org/ops4j/pax/wicket/it/samples/SampleWebUiTest.java

On Fri, Mar 17, 2017 at 9:30 AM, Marc Schlegel <maschle...@gmail.com> 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-
> web-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 <
>> op...@googlegroups.com> 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.
>>> 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)
>>>
>>>
>>> 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 - 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.
>>>
>>>
>>> --
>>> --
>>> --
>>> 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/to
>>> pic/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 - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


PAX Wicket 4

2017-03-13 Thread nino martinez wael
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 - ops4j@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PAX Wicket 4 (moving to wicket 8)

2017-07-11 Thread nino martinez wael
Just wondering how this is comming along?

-regards Nino

On Friday, June 30, 2017 at 11:47:24 AM UTC+2, laeubi wrote:
>
> The test are running fine now :-) 
> I'll try to prepare a release of a 4.0.0 Version for Wicket 7 then we 
> can move on to wicket 8 as a next step 
>
> Am 28.06.2017 15:21, schrieb nino martinez wael: 
> > just made a single commit.. 
> > 
>
>

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-30 Thread nino martinez wael
ok great :)

On Fri, Jun 30, 2017 at 11:47 AM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> The test are running fine now :-)
> I'll try to prepare a release of a 4.0.0 Version for Wicket 7 then we can
> move on to wicket 8 as a next step
>
> Am 28.06.2017 15:21, schrieb nino martinez wael:
>
>> just made a single commit..
>>
>>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/to
> pic/ops4j/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-28 Thread nino martinez wael
Hmm seems I do not have any issues with tests on karaf.. What was the
problem specifically?

On Wed, Jun 28, 2017 at 12:34 PM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> Yep, I'll see if i can bulid a snapshot version to test with wicket 8, but
> first must sort out the strange karaf test failure, do you think you can
> take a look at those tests also?
>
>
> Am 21.06.2017 07:15, schrieb nino martinez wael:
>
> Hi Christoph
>
> Looks like WICKET-6402 already are resolved?
>
>
>
> On Tue, Jun 20, 2017 at 10:03 AM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> As long as there are no API-breaks within Pax-Wicket it doesen't matter,
>> client-code has to choose of course if the want 7 or 8, but I can only
>> check this if Wicket adds OSGi-Headers, so sign up at the Wicket JIRA and
>> vote for the issue ;-)
>>
>> Am 19.06.2017 20:44, schrieb nino martinez wael:
>>
>> Ahh I see most of the changes where from 6.x to 7.x..
>>
>> But what about the Websocket stuff, as I remember it has been changed
>> alot in Wicket 8..?
>>
>> On Mon, Jun 19, 2017 at 2:55 PM, 'Christoph Läubrich' via OPS4J <
>> ops4j@googlegroups.com> wrote:
>>
>>> I opened a bug to Wicket 8: https://issues.apache.org/jira
>>> /browse/WICKET-6402 it seems they lost the OSGi Manifest information in
>>> Wicket 8 what is bad. Beside thsi there seem no API changes that influence
>>> Pax-Wicket so once Wicket 8 is release we can raise the version range
>>> instead of supply a 5.0 version, pax-wicket 4 will the support Wicket 7 +
>>> Wicket 8!
>>>
>>>
>> --
>> --
>> --
>> OPS4J - http://www.ops4j.org - ops4j@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/to
>> pic/ops4j/A3x7_4ktoqk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> ops4j+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-28 Thread nino martinez wael
yes I am on 3.1.x

On Wed, Jun 28, 2017 at 3:16 PM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> Have you checked out the branch v3.1.x? For me it fails the karaf test
> with a 401 (Unauthorized) for some reason .-(
>
> Am 28.06.2017 15:11, schrieb nino martinez wael:
>
> Hmm seems I do not have any issues with tests on karaf.. What was the
> problem specifically?
>
> On Wed, Jun 28, 2017 at 12:34 PM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> Yep, I'll see if i can bulid a snapshot version to test with wicket 8,
>> but first must sort out the strange karaf test failure, do you think you
>> can take a look at those tests also?
>>
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-28 Thread nino martinez wael
just made a single commit..

On Wed, Jun 28, 2017 at 3:21 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> yes I am on 3.1.x
>
> On Wed, Jun 28, 2017 at 3:16 PM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> Have you checked out the branch v3.1.x? For me it fails the karaf test
>> with a 401 (Unauthorized) for some reason .-(
>>
>> Am 28.06.2017 15:11, schrieb nino martinez wael:
>>
>> Hmm seems I do not have any issues with tests on karaf.. What was the
>> problem specifically?
>>
>> On Wed, Jun 28, 2017 at 12:34 PM, 'Christoph Läubrich' via OPS4J <
>> ops4j@googlegroups.com> wrote:
>>
>>> Yep, I'll see if i can bulid a snapshot version to test with wicket 8,
>>> but first must sort out the strange karaf test failure, do you think you
>>> can take a look at those tests also?
>>>
>>
>>
>> --
>> --
>> --
>> OPS4J - http://www.ops4j.org - ops4j@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/to
>> pic/ops4j/A3x7_4ktoqk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> ops4j+unsubscr...@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 - ops4j@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-28 Thread nino martinez wael
I do have an problem on:

http://localhost:8181/blueprint/wiquery/
Wiquery seems to be discontinued. And it only supports wicket 7.. Maybe we
should abandon support for it.?



On Wed, Jun 28, 2017 at 12:34 PM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> Yep, I'll see if i can bulid a snapshot version to test with wicket 8, but
> first must sort out the strange karaf test failure, do you think you can
> take a look at those tests also?
>
>
> Am 21.06.2017 07:15, schrieb nino martinez wael:
>
> Hi Christoph
>
> Looks like WICKET-6402 already are resolved?
>
>
>
> On Tue, Jun 20, 2017 at 10:03 AM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> As long as there are no API-breaks within Pax-Wicket it doesen't matter,
>> client-code has to choose of course if the want 7 or 8, but I can only
>> check this if Wicket adds OSGi-Headers, so sign up at the Wicket JIRA and
>> vote for the issue ;-)
>>
>> Am 19.06.2017 20:44, schrieb nino martinez wael:
>>
>> Ahh I see most of the changes where from 6.x to 7.x..
>>
>> But what about the Websocket stuff, as I remember it has been changed
>> alot in Wicket 8..?
>>
>> On Mon, Jun 19, 2017 at 2:55 PM, 'Christoph Läubrich' via OPS4J <
>> ops4j@googlegroups.com> wrote:
>>
>>> I opened a bug to Wicket 8: https://issues.apache.org/jira
>>> /browse/WICKET-6402 it seems they lost the OSGi Manifest information in
>>> Wicket 8 what is bad. Beside thsi there seem no API changes that influence
>>> Pax-Wicket so once Wicket 8 is release we can raise the version range
>>> instead of supply a 5.0 version, pax-wicket 4 will the support Wicket 7 +
>>> Wicket 8!
>>>
>>>
>> --
>> --
>> --
>> OPS4J - http://www.ops4j.org - ops4j@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/to
>> pic/ops4j/A3x7_4ktoqk/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> ops4j+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Best regards / Med venlig hilsen
> Nino Martinez
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Possible mybatis extender on the way

2017-04-26 Thread nino martinez wael
Hi Gang

Im playing around with the idea of a mybatis extender, since we use mybatis 
on almost every of our projects.

However I have some weak OSGI spots. If any of you have an idea on the 
following

   - How can my component get notified when a certain service type are 
   registered/unregistered?

So for instance if a service that implements foo interface, bar service 
should be notified with a reference to foo interface.. So far I've only 
seen notification using complete bundles.. 

And lastly have anyone tried using bytebuddy in osgi context?

-regards Nino

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


Re: Possible mybatis extender on the way

2017-04-26 Thread nino martinez wael
Okay im looking into this approach:

http://www.matjazcerkvenik.si/developer/java-osgi-servicelistener.php

On Wed, Apr 26, 2017 at 11:03 AM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hi Gang
>
> Im playing around with the idea of a mybatis extender, since we use
> mybatis on almost every of our projects.
>
> However I have some weak OSGI spots. If any of you have an idea on the
> following
>
>- How can my component get notified when a certain service type are
>registered/unregistered?
>
> So for instance if a service that implements foo interface, bar service
> should be notified with a reference to foo interface.. So far I've only
> seen notification using complete bundles..
>
> And lastly have anyone tried using bytebuddy in osgi context?
>
> -regards Nino
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/tj7vb2R1a6E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4

2017-04-25 Thread nino martinez wael
Hi Achim

I've been busy.. This is the failing test:

http://ci.ops4j.org/jenkins/job/org.ops4j.pax.wicket/org.ops4j.pax.wicket$org.ops4j.pax.wicket.itests/203/testReport/org.ops4j.pax.wicket.it.samples/SampleWebUiTest/testIfAllExamplesWhereLoaded_shouldBeAbleToAccessThemAll/


When you run the test you should able to go to :

 http://localhost:9081/navigation/


Heres the package and test to run :


https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/itests/src/test/java/org/ops4j/pax/wicket/it/samples/SampleWebUiTest.java




On Sunday, April 2, 2017 at 11:52:39 AM UTC+2, Achim Nierbeck wrote:
>
> 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 
>
> [1] - http://ci.ops4j.org/jenkins/job/org.ops4j.pax.wicket/
>
> 2017-03-31 14:37 GMT+02:00 nino martinez wael <nino.mart...@gmail.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..
>>
>> On Mon, Mar 20, 2017 at 12:17 PM, nino martinez wael <
>> nino.mart...@gmail.com > wrote:
>>
>>> What exactly should I check (I am a karaf man, and not much into the 
>>> details of the felix part)? And I agree..
>>>
>>> On Mon, Mar 20, 2017 at 8:40 AM, 'Achim Nierbeck' via OPS4J <
>>> op...@googlegroups.com > wrote:
>>>
>>>> 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 <nino.mart...@gmail.com 
>>>> >:
>>>>
>>>>> 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 <
>>>>> op...@googlegroups.com > 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 <nino.mart...@gmail.com 
>>>>>> >:
>>>>>>
>>>>>>> I have provisioned pax web
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/itests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrationTest.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/itests/src/test/java/org/ops4j/pax/wicket/it/PaxWicketIntegrationTest.java
>>>>>>>
>>>>>>> https://github.com/ops4j/org.ops4j.pax.wicket/blob/v4.x.y/itests/src/test/java/org/ops4j/pax/wicket/it/samples/SampleWebUiTest.java
>>>>>>>
>>>>>>> On Fri, Mar 17, 2017 at 9:30 AM, Marc Schlegel <masch...@gmail.com 
>>>>>>> > 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-web-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 
>>>>>>>> wae

Re: Possible mybatis extender on the way

2017-05-17 Thread nino martinez wael
Yes I am also using declarative services.. AND have functional code here,
with 2 samples:

https://github.com/nmwael/mybatis-extender

Would this be a candidate to be added as an ops4j project?

On Wed, May 17, 2017 at 1:38 PM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> You can also take a look at OSGi Declarative Services for this task that
> handles all the service tracking stuff for you...
>
>
> Am 26.04.2017 11:03, schrieb nino martinez wael:
>
> Hi Gang
>
> Im playing around with the idea of a mybatis extender, since we use
> mybatis on almost every of our projects.
>
> However I have some weak OSGI spots. If any of you have an idea on the
> following
>
>- How can my component get notified when a certain service type are
>registered/unregistered?
>
> So for instance if a service that implements foo interface, bar service
> should be notified with a reference to foo interface.. So far I've only
> seen notification using complete bundles..
>
> And lastly have anyone tried using bytebuddy in osgi context?
>
> -regards Nino
>
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/tj7vb2R1a6E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-20 Thread nino martinez wael
Hi Christoph

Looks like WICKET-6402 already are resolved?



On Tue, Jun 20, 2017 at 10:03 AM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> As long as there are no API-breaks within Pax-Wicket it doesen't matter,
> client-code has to choose of course if the want 7 or 8, but I can only
> check this if Wicket adds OSGi-Headers, so sign up at the Wicket JIRA and
> vote for the issue ;-)
>
> Am 19.06.2017 20:44, schrieb nino martinez wael:
>
> Ahh I see most of the changes where from 6.x to 7.x..
>
> But what about the Websocket stuff, as I remember it has been changed alot
> in Wicket 8..?
>
> On Mon, Jun 19, 2017 at 2:55 PM, 'Christoph Läubrich' via OPS4J <
> ops4j@googlegroups.com> wrote:
>
>> I opened a bug to Wicket 8: https://issues.apache.org/jira
>> /browse/WICKET-6402 it seems they lost the OSGi Manifest information in
>> Wicket 8 what is bad. Beside thsi there seem no API changes that influence
>> Pax-Wicket so once Wicket 8 is release we can raise the version range
>> instead of supply a 5.0 version, pax-wicket 4 will the support Wicket 7 +
>> Wicket 8!
>>
>>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


PAX Wicket 4 (moving to wicket 8)

2017-05-21 Thread nino martinez wael
Hi 

Over 2 months ago I made the last changes to the 4.x.y branch[1] to support 
wicket 8. I cannot get the "bare" felix tests to work (I seem to be missing 
some dependency, which I cannot figure out)..

The question is, should I just disable the the test, as there are no 
horison on it getting to work and release what we have..? If not, how 
should we get the broken felix tests to work, i'm pretty sure its some 
dependency thing that's out of sync.

[1]https://github.com/ops4j/org.ops4j.pax.wicket/tree/v4.x.y


Regard Nino

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-05-24 Thread nino martinez wael
Yes I agree Christoph, thats why I wrote the list..Nothing came out of it
though..

Se here:

https://groups.google.com/forum/?hl=en#!topic/ops4j/ahQOfLYXmAM

All you are asking for are described there. And yes I have tried
cleaning/deleting my local repo and run a clean install.

Thanks for your input.

regards Nino

On Wed, May 24, 2017 at 9:57 AM, 'Christoph Läubrich' via OPS4J <
ops4j@googlegroups.com> wrote:

> Hi nino,
>
> the goal should be to more test per release and not to disable existing
> ones.
>
> It is a little hard to help without exact informations, what is exacly the
> problem with the test:
>
>  - What tests(s) are affected
>  - What fails (e.g. what bundles do not resolve etc.)
>  - Whats your enviroument (java + maven version)
>  - Have you tried to clear your maven-repro + rund a clean install
>
> regards
> Christoph
>
> Am 22.05.2017 06:55, schrieb nino martinez wael:
>
> Hi
>
> Over 2 months ago I made the last changes to the 4.x.y branch[1] to
> support wicket 8. I cannot get the "bare" felix tests to work (I seem to be
> missing some dependency, which I cannot figure out)..
>
> The question is, should I just disable the the test, as there are no
> horison on it getting to work and release what we have..? If not, how
> should we get the broken felix tests to work, i'm pretty sure its some
> dependency thing that's out of sync.
>
> [1]https://github.com/ops4j/org.ops4j.pax.wicket/tree/v4.x.y
>
>
> Regard Nino
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: [pax-web] What are OSGI MVC frameworks that can be used with Pax-Web and Pax-CDI?

2017-06-13 Thread nino martinez wael
Theres also PAX Wicket :) Which is plain wicket along with a couple of nice 
extra features.

https://ops4j1.jira.com/wiki/display/paxwicket/Pax+Wicket
https://wicket.apache.org/

On Tuesday, June 6, 2017 at 3:33:30 PM UTC+2, Pavel wrote:
>
> Hi all 
>
> Could anyone suggest MVC framework that work on OSGi and which work
> with pax-web and pax-cdi? What I need:
> 1) It must work with pax-web 6 and pax-cdi 1
> 2) Of course it must be as OSGI bundles
> 3) The project must be alive.
>
> Best regards, Pavel
>

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-13 Thread nino martinez wael
Time has passed again.. Im wondering if it would be okay to release an 
experimental or milestone release with the felix test disabled?

regards Nino

On Sunday, May 28, 2017 at 11:25:47 AM UTC+2, laeubi wrote:
>
> I can try to take a look at it next week, just wondering ig the 
> WhiteboardService is needed for the test at all? Pax Wicket does only 
> require a simple http-service so you can even try to drop pax-web and 
> use the (simpler) felix-http service for this use case. 
>
> Am 24.05.2017 10:31, schrieb nino martinez wael: 
> > Yes I agree Christoph, thats why I wrote the list..Nothing came out of 
> > it though.. 
> > 
> > Se here: 
> > 
> > https://groups.google.com/forum/?hl=en#!topic/ops4j/ahQOfLYXmAM 
> > <https://groups.google.com/forum/?hl=en#%21topic/ops4j/ahQOfLYXmAM> 
> > 
> > All you are asking for are described there. And yes I have tried 
> > cleaning/deleting my local repo and run a clean install. 
> > 
> > Thanks for your input. 
> > 
> > regards Nino 
> > 
>
>

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-14 Thread nino martinez wael
OK i've removed the pax web dependency from the test.. But now I am getting 
this, could it be because of blueprint and springdm depends on pax-web 
somehow?:


org.ops4j.pax.wicket.service[org.ops4j.pax.wicket.internal.extender.PaxWicketBundleListener]
 
: Class 'org.ops4j.pax.wicket.spi.blueprint' was found via bundle 
javax.activation.DataHandlerDataSource's resource path, but classloader 
can't load it (is the jar file
 corrupted or a dependant optional dependencies not resolved?)
org.ops4j.pax.wicket.service[org.ops4j.pax.wicket.internal.extender.PaxWicketBundleListener]
 
: Class 'org.ops4j.pax.wicket.spi.blueprint' was found via bundle 
javax.activation.DataSourceDataContentHandler's resource path, but 
classloader can't load it (is the j
ar file corrupted or a dependant optional dependencies not resolved?)
org.ops4j.pax.wicket.service[org.ops4j.pax.wicket.internal.extender.PaxWicketBundleListener]
 
: Class 'org.ops4j.pax.wicket.spi.blueprint' was found via bundle 
javax.activation.ObjectDataContentHandler's resource path, but classloader 
can't load it (is the jar f
ile corrupted or a dependant optional dependencies not resolved?)
org.ops4j.pax.wicket.service[org.ops4j.pax.wicket.internal.extender.PaxWicketBundleListener]
 
: Class 'org.ops4j.pax.wicket.spi.blueprint' was found via bundle 
javax.activation.SecuritySupport's resource path, but classloader can't 
load it (is the jar file corru
pted or a dependant optional dependencies not resolved?)
org.ops4j.pax.wicket.service[org.ops4j.pax.wicket.internal.extender.PaxWicketBundleListener]
 
: Class 'org.ops4j.pax.wicket.spi.springdm' was found via bundle 
javax.activation.DataHandlerDataSource's resource path, but classloader 
can't load it (is the jar file
corrupted or a dependant optional dependencies not resolved?)


On Monday, May 22, 2017 at 6:55:09 AM UTC+2, nino martinez wael wrote:
>
> Hi 
>
> Over 2 months ago I made the last changes to the 4.x.y branch[1] to 
> support wicket 8. I cannot get the "bare" felix tests to work (I seem to be 
> missing some dependency, which I cannot figure out)..
>
> The question is, should I just disable the the test, as there are no 
> horison on it getting to work and release what we have..? If not, how 
> should we get the broken felix tests to work, i'm pretty sure its some 
> dependency thing that's out of sync.
>
> [1]https://github.com/ops4j/org.ops4j.pax.wicket/tree/v4.x.y
>
>
> Regard Nino
>

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


Re: PAX Wicket 4 (moving to wicket 8)

2017-06-13 Thread nino martinez wael
I have not, will do so tomorrow.. No hassle, it's just fine.. Thought an
experimental release could be okay?

On 13 Jun 2017 15:54, "'Christoph Läubrich' via OPS4J" <
ops4j@googlegroups.com> wrote:

> Hi nino,
>
> sadly I have not had time to take a look, did you tried with the felix
> http-service in the mean time?
>
> Am 13.06.2017 12:27, schrieb nino martinez wael:
>
> Time has passed again.. Im wondering if it would be okay to release an
> experimental or milestone release with the felix test disabled?
>
> regards Nino
>
> On Sunday, May 28, 2017 at 11:25:47 AM UTC+2, laeubi wrote:
>>
>> I can try to take a look at it next week, just wondering ig the
>> WhiteboardService is needed for the test at all? Pax Wicket does only
>> require a simple http-service so you can even try to drop pax-web and
>> use the (simpler) felix-http service for this use case.
>>
>> Am 24.05.2017 10:31, schrieb nino martinez wael:
>> > Yes I agree Christoph, thats why I wrote the list..Nothing came out of
>> > it though..
>> >
>> > Se here:
>> >
>> > https://groups.google.com/forum/?hl=en#!topic/ops4j/ahQOfLYXmAM
>> > <https://groups.google.com/forum/?hl=en#%21topic/ops4j/ahQOfLYXmAM>
>> >
>> > All you are asking for are described there. And yes I have tried
>> > cleaning/deleting my local repo and run a clean install.
>> >
>> > Thanks for your input.
>> >
>> > regards Nino
>> >
>>
>> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/A3x7_4ktoqk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [pax-web] jetty connection statistics in karaf?

2017-08-29 Thread nino martinez wael
Good morning Achim

Thanks, it did work, you made my life a better place to be.. I tried a lot 
of variants but not your particular one..


regards Nino

On Wednesday, August 30, 2017 at 6:19:34 AM UTC+2, Achim Nierbeck wrote:
>
> Hi, 
>
> did you try to follow the description on
>
> https://ops4j1.jira.com/wiki/spaces/paxweb/pages/12059279/Advanced+Jetty+Configuration
>  
>
> in your case this would look like the following: 
>
> 
> 
>   
> 
> 
>   
> 
> 
>
> regards, Achim
>
> 2017-08-29 14:47 GMT+02:00 nino martinez wael <nino.mart...@gmail.com 
> >:
>
>> I tried adding this:
>>
>>   
>> 
>>   > class="org.eclipse.jetty.server.handler.StatisticsHandler">
>> 
>>   
>> 
>>
>> but that just breaks everything, webconsole or my applications does not 
>> startup.. I do get the nice view of stats in jmx.. 
>>
>> On Tue, Aug 29, 2017 at 1:56 PM, nino martinez wael <
>> nino.mart...@gmail.com > wrote:
>>
>>> Hi 
>>>
>>> How am I able to add this 
>>> http://www.eclipse.org/jetty/documentation/9.4.6.v20170531/statistics-handler.html
>>>  
>>> to all handlers.. In my project we are both using https and http, and I 
>>> want to know the basic information such as number of requests et.
>>>
>>> I've gotten so far that I can see that I can configure jetty here:
>>>
>>>
>>> https://ops4j1.jira.com/wiki/spaces/paxweb/pages/12059279/Advanced+Jetty+Configuration
>>>
>>> But I do not know what the handlers are called..
>>>
>>> I tried this as the last thing in jetty.xml, and it did not work:
>>>
>>> 
>>>
>>> 
>>>   
>>>   
>>>   
>>> 
>>>
>>> 
>>>
>>> -- 
>>> -- 
>>> --
>>> 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/3F1AHyICa38/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 - ops4j@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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [pax-web] jetty connection statistics in karaf?

2017-08-29 Thread nino martinez wael
I tried adding this:

  

  

  


but that just breaks everything, webconsole or my applications does not
startup.. I do get the nice view of stats in jmx..

On Tue, Aug 29, 2017 at 1:56 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Hi
>
> How am I able to add this http://www.eclipse.org/
> jetty/documentation/9.4.6.v20170531/statistics-handler.html to all
> handlers.. In my project we are both using https and http, and I want to
> know the basic information such as number of requests et.
>
> I've gotten so far that I can see that I can configure jetty here:
>
> https://ops4j1.jira.com/wiki/spaces/paxweb/pages/12059279/
> Advanced+Jetty+Configuration
>
> But I do not know what the handlers are called..
>
> I tried this as the last thing in jetty.xml, and it did not work:
>
> 
>
> 
>   
>   
>   
> 
>
> 
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/3F1AHyICa38/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


[pax-web] jetty connection statistics in karaf?

2017-08-29 Thread nino martinez wael
Hi 

How am I able to add 
this 
http://www.eclipse.org/jetty/documentation/9.4.6.v20170531/statistics-handler.html
 
to all handlers.. In my project we are both using https and http, and I 
want to know the basic information such as number of requests et.

I've gotten so far that I can see that I can configure jetty here:

https://ops4j1.jira.com/wiki/spaces/paxweb/pages/12059279/Advanced+Jetty+Configuration

But I do not know what the handlers are called..

I tried this as the last thing in jetty.xml, and it did not work:


   

  
  
  

   


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


Re: PAX Exam OSGI Components

2018-02-22 Thread nino martinez wael
its exactly checking for presence of components and seeing their state
(activated / disabled etc)

On Wed, Feb 21, 2018 at 12:59 PM, Oliver Lietz <i...@oliverlietz.de> wrote:

> On Wednesday 21 February 2018 10:47:05 'Christoph Läubrich' via OPS4J
> wrote:
> > This depends on the DS-Provider you use e.g. the apache felix one has an
> > API for this and if I rember right it is also standarized in OSGi-R7
> >
> > See
> > http://felix.apache.org/documentation/subprojects/
> apache-felix-service-compo
> > nent-runtime.html#api-use
> >
> > This is nothing special in pax exam so you can simply use
> >
> > @Inject
> > private ScrService service;
>
> Waiting for components to be present (activated) in tests is a useful
> feature
> indeed.
>
> One possible way: we could register proxy services for those components.
>
> Any other ideas?
>
> Regards,
> O.
>
> > Am 20.02.2018 um 13:46 schrieb nino martinez wael:
> > > Ok.. When using Pax exam I can write @inject MyOwnService service..
> Then
> > > pax exam will inject the service into the test once karaf are bootet
> > > etc... Im wondering if there's a way to do that with components..
> > >
> > > Den tirsdag den 20. februar 2018 kl. 12.36.59 UTC+1 skrev Jean-Baptiste
> > >
> > > Onofré:
> > > Not sure I understand what you mean.
> > >
> > > If you use Karaf pax exam container it's as when you are a vanilla
> > > Karaf.
> > >
> > > Regards
> > > JB
> > > Le 20 févr. 2018, à 12:00, nino martinez wael
> > >
> > > <nino.mart...@gmail.com > a écrit:
> > > Hi
> > >
> > > Are there anyway to get declarative services components? Both
> > > the component itself but also the reference where you can start
> > > and stop it?
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/Zyr8HNfrGPM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: PAX Exam OSGI Components

2018-02-22 Thread nino martinez wael
Thanks..

For the first step I also just interested in status's..

So It fits perfectly..





On Thu, Feb 22, 2018 at 1:52 PM, Christian Schneider <
ch...@die-schneider.net> wrote:

> Check out the ServiceComponentRuntime service. It is implemented by felix
> scr and allows you to introspect the status of any DS component.
>
> http://javadox.com/org.osgi/osgi.cmpn/6.0.0/org/osgi/
> service/component/runtime/ServiceComponentRuntime.html
>
> I am using this in my itests to list all components with unsatisfied
> references.
>
> Actually I think it would be a good option for pax exam to print out the
> status of all DS components when a service can not be injected into a pax
> exam OSGi test.
>
> Christian
>
> 2018-02-22 12:18 GMT+01:00 nino martinez wael <
> nino.martinez.w...@gmail.com>:
>
>> its exactly checking for presence of components and seeing their state
>> (activated / disabled etc)
>>
>> On Wed, Feb 21, 2018 at 12:59 PM, Oliver Lietz <i...@oliverlietz.de>
>> wrote:
>>
>>> On Wednesday 21 February 2018 10:47:05 'Christoph Läubrich' via OPS4J
>>> wrote:
>>> > This depends on the DS-Provider you use e.g. the apache felix one has
>>> an
>>> > API for this and if I rember right it is also standarized in OSGi-R7
>>> >
>>> > See
>>> > http://felix.apache.org/documentation/subprojects/apache-fel
>>> ix-service-compo
>>> > nent-runtime.html#api-use
>>> >
>>> > This is nothing special in pax exam so you can simply use
>>> >
>>> > @Inject
>>> > private ScrService service;
>>>
>>> Waiting for components to be present (activated) in tests is a useful
>>> feature
>>> indeed.
>>>
>>> One possible way: we could register proxy services for those components.
>>>
>>> Any other ideas?
>>>
>>> Regards,
>>> O.
>>>
>>> > Am 20.02.2018 um 13:46 schrieb nino martinez wael:
>>> > > Ok.. When using Pax exam I can write @inject MyOwnService service..
>>> Then
>>> > > pax exam will inject the service into the test once karaf are bootet
>>> > > etc... Im wondering if there's a way to do that with components..
>>> > >
>>> > > Den tirsdag den 20. februar 2018 kl. 12.36.59 UTC+1 skrev
>>> Jean-Baptiste
>>> > >
>>> > > Onofré:
>>> > > Not sure I understand what you mean.
>>> > >
>>> > > If you use Karaf pax exam container it's as when you are a
>>> vanilla
>>> > > Karaf.
>>> > >
>>> > > Regards
>>> > > JB
>>> > > Le 20 févr. 2018, à 12:00, nino martinez wael
>>> > >
>>> > > <nino.mart...@gmail.com > a écrit:
>>> > > Hi
>>> > >
>>> > > Are there anyway to get declarative services components? Both
>>> > > the component itself but also the reference where you can
>>> start
>>> > > and stop it?
>>>
>>> --
>>> --
>>> --
>>> OPS4J - http://www.ops4j.org - ops4j@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/to
>>> pic/ops4j/Zyr8HNfrGPM/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> ops4j+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Best regards / Med venlig hilsen
>> Nino Martinez
>>
>> --
>> --
>> --
>> OPS4J - http://www.ops4j.org - ops4j@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+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Computer Scientist
> http://www.adobe.com
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/Zyr8HNfrGPM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Best regards / Med venlig hilsen
Nino Martinez

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


PAX Exam OSGI Components

2018-02-20 Thread nino martinez wael
Hi

Are there anyway to get declarative services components? Both the component
itself but also the reference where you can start and stop it?

-- 
Best regards / Med venlig hilsen
Nino Martinez

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


Re: gave up waiting for service org.ops4j.pax.exam.ProbeInvokerFactory

2018-02-20 Thread nino martinez wael
Seems I am hit by this too, at 4.0.11 and are getting a variant on 
5.0.0.M2-SNAPSHOT .. Mine seems to be consistent though..

Test:

https://paste.ofcode.org/msDSMdd8g2nx3ZnfbvWFUG

Log:


dk.netdesign.osgidialer.integrationtest.BackendIntegrationTest,basicServiceCheck
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further 
details.
Listening for transport dt_socket at address: 5050
__ __    
   / //_/ __ _/ __/  
  / ,<  / __ `/ ___/ __ `/ /_
 / /| |/ /_/ / /  / /_/ / __/
/_/ |_|\__,_/_/   \__,_/_/ 

  Apache Karaf (4.2.0.M2)

Hit '' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.

karaf@root()> 
java.lang.RuntimeException: Cannot get the remote bundle context

at 
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:253)
at 
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.waitForState(RemoteBundleContextClientImpl.java:210)
at 
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.waitForState(KarafTestContainer.java:655)
at 
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.startKaraf(KarafTestContainer.java:258)
at 
org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(KarafTestContainer.java:191)
at 
org.ops4j.pax.exam.spi.reactors.PerClassStagedReactor.setUp(PerClassStagedReactor.java:55)
at 
org.ops4j.pax.exam.spi.reactors.PerClassStagedReactor.beforeClass(PerClassStagedReactor.java:90)
at 
org.ops4j.pax.exam.spi.reactors.ReactorManager.beforeClass(ReactorManager.java:388)
at 
org.ops4j.pax.exam.junit.DriverExtension.beforeClassBlock(DriverExtension.java:129)
at 
org.ops4j.pax.exam.junit.ExtensibleRunner$1.evaluate(ExtensibleRunner.java:53)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:78)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at 
com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at 
com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at 
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
Caused by: java.rmi.NotBoundException: e6a516a9-b9af-4fca-92e2-255ca5ba835f
at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:209)
at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at 
org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.getRemoteBundleContext(RemoteBundleContextClientImpl.java:240)
... 16 more


Test ignored.

Den torsdag den 24. august 2017 kl. 10.51.42 UTC+2 skrev Martin Lichtin:
>
> Sometimes, not always, a Pax test fails with
>
> org.ops4j.pax.swissbox.tracker.ServiceLookupException: gave up waiting for 
> service org.ops4j.pax.exam.ProbeInvokerFactory
> at 
> org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:161)[304:org.ops4j.pax.swissbox.tracker:1.8.2]
> at 
> org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:104)[304:org.ops4j.pax.swissbox.tracker:1.8.2]
> at 
> org.ops4j.pax.swissbox.tracker.ServiceLookup.getService(ServiceLookup.java:87)[304:org.ops4j.pax.swissbox.tracker:1.8.2]
> at 
> 

Re: pax web and react.js?

2018-02-20 Thread nino martinez wael
I havent tried it with react, but done it with different things.. 

I used the osgi HTTP Service to deliver my static content.. Why not use CXF 
REST endpoints for the dynamic parts? OR does the frontend need to be 
"totally" dynamic?

regards Nino

Den søndag den 18. februar 2018 kl. 22.19.06 UTC+1 skrev Steinar Bang:
>
> Has anyone on this mailing lists done any experiments in writing a 
> react.js application and deliver it through pax web? 
>
> Has anyone tried dynamic server side rendering on nashorn or rhino? 
>
> Has anyone tried packing a react.js application up with webpack and 
> serving it from a pax web servlet? 
>
> Thanks! 
>
>
> - Steinar 
>
>

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


Re: gave up waiting for service org.ops4j.pax.exam.ProbeInvokerFactory

2018-02-20 Thread nino martinez wael
I double checked and there are no problems on 5.x ..  (The issue where that
the remote karaf had not registered the ops4j snapshot repo.. After fixing
this it works fine)

Thanks

On Tue, Feb 20, 2018 at 1:16 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

> Seems I am hit by this too, at 4.0.11 and are getting a variant on
> 5.0.0.M2-SNAPSHOT .. Mine seems to be consistent though..
>
> Test:
>
> https://paste.ofcode.org/msDSMdd8g2nx3ZnfbvWFUG
>
> Log:
>
>
> dk.netdesign.osgidialer.integrationtest.BackendIntegrationTest,
> basicServiceCheck
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> details.
> Listening for transport dt_socket at address: 5050
> __ __  
>/ //_/ __ _/ __/
>   / ,<  / __ `/ ___/ __ `/ /_
>  / /| |/ /_/ / /  / /_/ / __/
> /_/ |_|\__,_/_/   \__,_/_/
>
>   Apache Karaf (4.2.0.M2)
>
> Hit '' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '' or type 'system:shutdown' or 'logout' to shutdown Karaf.
>
> karaf@root()>
> java.lang.RuntimeException: Cannot get the remote bundle context
>
> at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.
> getRemoteBundleContext(RemoteBundleContextClientImpl.java:253)
> at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.
> waitForState(RemoteBundleContextClientImpl.java:210)
> at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.
> waitForState(KarafTestContainer.java:655)
> at org.ops4j.pax.exam.karaf.container.internal.
> KarafTestContainer.startKaraf(KarafTestContainer.java:258)
> at org.ops4j.pax.exam.karaf.container.internal.KarafTestContainer.start(
> KarafTestContainer.java:191)
> at org.ops4j.pax.exam.spi.reactors.PerClassStagedReactor.setUp(
> PerClassStagedReactor.java:55)
> at org.ops4j.pax.exam.spi.reactors.PerClassStagedReactor.beforeClass(
> PerClassStagedReactor.java:90)
> at org.ops4j.pax.exam.spi.reactors.ReactorManager.
> beforeClass(ReactorManager.java:388)
> at org.ops4j.pax.exam.junit.DriverExtension.beforeClassBlock(
> DriverExtension.java:129)
> at org.ops4j.pax.exam.junit.ExtensibleRunner$1.evaluate(
> ExtensibleRunner.java:53)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
> at org.ops4j.pax.exam.junit.PaxExam.run(PaxExam.java:78)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(
> JUnit4IdeaTestRunner.java:68)
> at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.
> startRunnerWithArgs(IdeaTestRunner.java:47)
> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(
> JUnitStarter.java:242)
> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> Caused by: java.rmi.NotBoundException: e6a516a9-b9af-4fca-92e2-
> 255ca5ba835f
> at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:209)
> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
> at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:450)
> at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
> at sun.rmi.transport.Transport$1.run(Transport.java:200)
> at sun.rmi.transport.Transport$1.run(Transport.java:197)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
> at sun.rmi.transport.tcp.TCPTransport.handleMessages(
> TCPTransport.java:568)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(
> TCPTransport.java:826)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$
> 0(TCPTransport.java:683)
> at java.security.AccessController.doPrivileged(Native Method)
> at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(
> TCPTransport.java:682)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(
> StreamRemoteCall.java:276)
> at sun.rmi.transport.StreamRemoteCall.executeCall(
> StreamRemoteCall.java:253)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:379)
> at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
> at org.ops4j.pax.exam.rbc.client.intern.RemoteBundleContextClientImpl.
> getRemoteBundleContext(RemoteBundleContextClientImpl.java:240)
> ... 16 more
>
>
> Test ignored.
>
> Den torsdag den 24. augus

Re: pax web and react.js?

2018-02-20 Thread nino martinez wael
You can bring a lot of power into the thing you are doing if you leverage
osgi services etc.

On Tue, 20 Feb 2018, 20:19 Steinar Bang, <s...@dod.no> wrote:

> >>>>> nino martinez wael <nino.martinez.w...@gmail.com>:
>
> > I havent tried it with react, but done it with different things..
> > I used the osgi HTTP Service to deliver my static content.. Why not use
> CXF
> > REST endpoints for the dynamic parts? OR does the frontend need to be
> > "totally" dynamic?
>
> I haven't made up my mind about totally dynamic or frontend served up as
> static files.  I'm just exploring the possibilities.
>
> Thanks for the input! :-)
>
> --
> --
> --
> OPS4J - http://www.ops4j.org - ops4j@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/JvBz-SRgRyY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> ops4j+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: Pax Exam 5.x Branches

2018-04-17 Thread nino martinez wael
Any idea when 5.x will be released?

onsdag den 15. november 2017 kl. 10.05.44 UTC+1 skrev laeubi:
>
> Am 12.11.2017 um 18:51 schrieb Harald Wellmann: 
> > Now how can we consolidate all that ongoing work? 
>
> Hi Harald what do you think about the following procedure: 
>
> - we create 1 branches of the current master (exam5-ongoing) to capture 
> current work for reference 
> - create an exam5-integration branch that has the state of the time 
> where I have merged the exam5-milestone to the 4.x line 
> - you can then merge that branch to the exam5-milestone branch 
> - if that is done, we merge the milestone5 to the integration branch 
> - now we can remove the exam-milestone to prevent confusion 
> - I'll then branch from the integration branch different feature 
> branches that integrate different features currently in the 
> master/ongoing branch 
> - We can then merge those into the integration branch 
> - after That, Toni can do the same for his work 
> - finally we can merge the interation branch to the master 
>
> For the future I would suggest a similar process: 
>
> - master --> upcomming release, we do NOT commit things there except 
> release related things (e.g. increase version, add release-notes...) 
> - integration- --> we merge features here, and then merge 
> the result to the master branch right before a release 
> - feature/PAXEXAM- --> relates to a Epic/Story in the JIRA 
> and includes the work for this, must be brnached from and merged 
> regualry with the integration branch 
> - bugfix/PAXEXAM- --> relates to a bug in Jira, this should 
> always be branched from the master and is merged then to the master and 
> the integration branch maybe to other release branches as well 
> - vX.Y.Z --> Released Versions 
>
> That way we can always release bugfixes for the current master/snapshot, 
> work on new features and integrate them early 
>
> What do you think? 
>

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


[RELEASE] PAX-Wicket 5.0.0

2018-10-04 Thread nino martinez wael
Main goal for this release are to bring PAX-Wicket to work with Apache
Wicket 8.1.0 +

Major features
* Working with Apache Wicket 8.1.0 (Christoph Läubrich + Nino Martinez Wael
 )
* Changed Generics of PageMounter to allow returning lists of subclasses of
MountPointInfo (Martin Nybo Nielsen)


KNOWN Issues
* NONE

IMPROVEMENTS
*Added debug port to karaf tests  (Martin Nybo Nielsen)
*Added BootFinished to karaf tests to stabilize start-up order of the
provisioning  (Martin Nybo Nielsen)
*Fixed unstable test
https://github.com/ops4j/org.ops4j.pax.wicket/commit/e85133258af4974c8670de30f46ef459604cc0d4
  ( Nino Martinez Wael )
* Upgraded parent pom (ops4j master.pom) to 4.3.0


Thanks for OPS4J people for making this happen


PS am still waiting for sonatype to sync to central.. (the staging on
ossrh have passed and have been released)

Best regards / Med venlig hilsen
Nino Martinez

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


[PAX WICKET] 5.0.0.RC1

2018-09-20 Thread nino martinez wael
Hi Guys

Wicket 8.1 have been released, and the current feature for PAX Wicket 
5.0.0.RC1 WICKET are 8.0.0.m7 should we get it bumped up and make a propper 
release of pax wicket.. We've spent some time testing it, and it works fine.


-regards Nino

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