I changed it to longValue, no errors nothing in logs and no scheduled job..

On Thu, Aug 13, 2015 at 12:27 PM, Carsten Ziegeler <[email protected]> wrote:
> Anything in the logs?
>
> Am 13.08.15 um 10:20 schrieb nino martinez wael:
>> I added a type to the property:
>> <property name="scheduler.period" value="10" type="Long" />
>>
>> however still not working, im wondering of something else are missing
>> for scheduler to work:
>>
>> Im currently adding this:
>>             
>> bundle("http://mirrors.dotsrc.org/apache//sling/org.apache.sling.commons.threads-3.2.0.jar";),
>>
>>             mavenBundle("org.apache.servicemix.bundles",
>> "org.apache.servicemix.bundles.c3p0", "0.9.1.2_1"),
>>             mavenBundle("org.quartz-scheduler", "quartz", "2.2.1"),
>>             mavenBundle("org.apache.sling",
>>             "org.apache.sling.commons.scheduler", "2.4.6"),
>>
>> On Thu, Aug 13, 2015 at 9:58 AM, nino martinez wael
>> <[email protected]> wrote:
>>> Okay I shifted i around
>>> Pure service declaration in XML:
>>> https://paste.apache.org/gdvz
>>>
>>> The service does show up in scr:list from console but are never run
>>> per schedule...
>>>
>>> Strange thing was that I began using the period definition in xml file:
>>>  <property name="scheduler.period" value="10" />
>>> And it threw an exception on startup in about unable to cast from
>>> String to Long. So I know it picks it up.
>>>
>>> regards Nino
>>>
>>> On Thu, Aug 13, 2015 at 8:42 AM, nino martinez wael
>>> <[email protected]> wrote:
>>>> Whats wrong?
>>>>
>>>> Runnable class
>>>> https://paste.apache.org/7xtV
>>>> Service declaration
>>>> https://paste.apache.org/7l8z
>>>> pax exam
>>>> https://paste.apache.org/90hq
>>>>
>>>> --
>>>> Best regards / Med venlig hilsen
>>>> Nino Martinez
>>>
>>>
>>>
>>> --
>>> Best regards / Med venlig hilsen
>>> Nino Martinez
>>
>>
>>
>
>
> --
> Carsten Ziegeler
> Adobe Research Switzerland
> [email protected]



-- 
Best regards / Med venlig hilsen
Nino Martinez

Reply via email to