You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by zacwolfe <za...@safisystems.com> on 2010/02/01 18:59:51 UTC

Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Thanks for the reply Gert.  If it would be possible to get that fix into
4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
proof of concept version of a Fuse4/Servicemix4 integration with my
open-source  http://www.safisystems.com project  and the scheduling piece
will be a key feature.  
Thanks again,
Zac

Gert Vanthienen wrote:
> 
> 
> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
> include SNAPSHOT versions for all these dependencies so you can get
> testing again.
> 
> 

-- 
View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by Gert Vanthienen <ge...@gmail.com>.
Hey Zac,

Just did another test -- at first I couldn't reproduce it, but then I
noticed you were putting the quartz.xml file in the deploy folder
before it had ever been run.  If I do it that way, I can reproduce the
problem and I raised a JIRA issue to keep track of this
(https://issues.apache.org/activemq/browse/SMX4-480).

While we get that resolved, you can try:
- let the container start/install features one time
- move the quartz.xml file in the deploy folder

If I restart the container then, it will always come up correctly.  So
it looks like the original issue has been resolved (where the
quartz.xml works the first time, but failed on a subsequent startup).
We have some more work to do for getting this right on an intial
startup with artifacts pre-deployed.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 11 February 2010 07:06, zacwolfe <za...@safisystems.com> wrote:
>
> Any update on this? I'm still unable to use the quartz scheduling feature
> from xml bundle.
>
> Thanks,
> Zac
>
> zacwolfe wrote:
>>
>> Thanks Gert,
>>
>> Here's my findings using java version "1.6.0_16" in WinXP:
>>
>> 1. rebuilt
>> 2. unzipped (testing in WinXP currently)
>> 3. changed config.properties to use equinox
>> 4. Copy simple example quartz.xml to deploy directory
>> 5. servicemix.bat
>>
>> I'm now getting this: java.lang.NoClassDefFoundError: org/quartz/JobDetail
>> when servicemix tries to start the quartz.xml bundle. Incidentally
>> servicemix starts fine without the quartz.xml deployed.
>>
>> I've attached my  http://old.nabble.com/file/p27464231/log karaf.log .  I
>> hope that helps.
>>
>>
>> Again thank you so much for your help,
>> Zac
>>
>
> --
> View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27542723.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by zacwolfe <za...@safisystems.com>.
Any update on this? I'm still unable to use the quartz scheduling feature
from xml bundle.

Thanks,
Zac

zacwolfe wrote:
> 
> Thanks Gert,
> 
> Here's my findings using java version "1.6.0_16" in WinXP:
> 
> 1. rebuilt 
> 2. unzipped (testing in WinXP currently)
> 3. changed config.properties to use equinox
> 4. Copy simple example quartz.xml to deploy directory
> 5. servicemix.bat
> 
> I'm now getting this: java.lang.NoClassDefFoundError: org/quartz/JobDetail
> when servicemix tries to start the quartz.xml bundle. Incidentally
> servicemix starts fine without the quartz.xml deployed.
> 
> I've attached my  http://old.nabble.com/file/p27464231/log karaf.log .  I
> hope that helps.
> 
> 
> Again thank you so much for your help,
> Zac
> 

-- 
View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27542723.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by zacwolfe <za...@safisystems.com>.
Thanks Gert,

Here's my findings using java version "1.6.0_16" in WinXP:

1. rebuilt 
2. unzipped (testing in WinXP currently)
3. changed config.properties to use equinox
4. Copy simple example quartz.xml to deploy directory
5. servicemix.bat

I'm now getting this: java.lang.NoClassDefFoundError: org/quartz/JobDetail
when servicemix tries to start the quartz.xml bundle. Incidentally
servicemix starts fine without the quartz.xml deployed.

I've attached my log.  I hope that helps.
http://old.nabble.com/file/p27464231/karaf.log karaf.log 

Again thank you so much for your help,
Zac
-- 
View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27464231.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by Gert Vanthienen <ge...@gmail.com>.
Zac,

I just tried it myself with that snapshot and it seems to work fine
for me.  One possible reason I can think of for getting this kind of
exception, is an invalid end-of-line character in your config file.
We recommend using .tar.gz voor linux/solaris/macos and .zip for
windows.  Could you try once again with the most appropriate archive
type for your system?  Also, when editing the config file, make sure
your editor isn't configured with the wrong line ending (if it allows
setting that).

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 3 February 2010 22:33, zacwolfe <za...@safisystems.com> wrote:
>
> Hi Gert,
>
> I downloaded the 4.1.0 snapshot
> (apache-servicemix-4.1.0-20100203.090407-10-src.zip), built it, and changed
> the karaf.version to equinox as you suggested but I'm getting the following
> error:
>
> java.lang.IllegalArgumentException: Property karaf.framework.equinox  must
> be set in the etc/config.properties configuration file
>        at org.apache.felix.karaf.main.Main.updateClassLoader(Main.java:857)
>        at org.apache.felix.karaf.main.Main.launch(Main.java:193)
>        at org.apache.felix.karaf.main.Main.main(Main.java:326)
>        at org.apache.felix.karaf.main.Bootstrap.main(Bootstrap.java:34)
>
> Here's a snippet from my config.properties:
>
> karaf.framework=equinox
>
> karaf.framework.equinox=system/org/eclipse/osgi/3.5.1.v20090827/osgi-3.5.1.v20090827.jar
> karaf.framework.felix=system/org/apache/felix/org.apache.felix.framework/2.0.1/org.apache.felix.framework-2.0.1.jar
>
> Do you know what's happening here?
>
> Thanks,
> Zac
>
> Gert Vanthienen wrote:
>>
>> Zac,
>>
>> As soon as the Felix framework fix has been released, we'll re-release
>> Karaf with the fix in it and NMR/SMX4 right after that.  The
>> 4.1.0-SNAPSHOT you're having now will become ServiceMix 4.2.0 at
>> release time.
>>
>> Regards,
>>
>> Gert Vanthienen
>> ------------------------
>> Open Source SOA: http://fusesource.com
>> Blog: http://gertvanthienen.blogspot.com/
>>
>>
>>
>> On 3 February 2010 12:04, zacwolfe <za...@safisystems.com> wrote:
>>>
>>> Perfect Gert thank you.
>>>
>>> Do you have an idea of when this fix will make its way into 4.2.0 stream?
>>>
>>> Zac
>>>
>>> Gert Vanthienen wrote:
>>>>
>>>> Zac,
>>>>
>>>>
>>>> I've rebuild a new snapshot that includes the fix at
>>>> https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/
>>>> (pick today's snapshot from the list).  We're waiting for a bug in
>>>> Felix to get fixed before releasing this, so you probably want to test
>>>> using Equinox for the time being.  You can do this by changing the
>>>> karaf.framework property in etc/config.properties to equinox:
>>>>
>>>> karaf.framework=equinox
>>>>
>>>>
>>>> Regards,
>>>>
>>>> Gert Vanthienen
>>>> ------------------------
>>>> Open Source SOA: http://fusesource.com
>>>> Blog: http://gertvanthienen.blogspot.com/
>>>>
>>>>
>>>>
>>>> On 1 February 2010 18:59, zacwolfe <za...@safisystems.com> wrote:
>>>>>
>>>>> Thanks for the reply Gert.  If it would be possible to get that fix
>>>>> into
>>>>> 4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
>>>>> proof of concept version of a Fuse4/Servicemix4 integration with my
>>>>> open-source  http://www.safisystems.com project  and the scheduling
>>>>> piece
>>>>> will be a key feature.
>>>>> Thanks again,
>>>>> Zac
>>>>>
>>>>> Gert Vanthienen wrote:
>>>>>>
>>>>>>
>>>>>> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
>>>>>> include SNAPSHOT versions for all these dependencies so you can get
>>>>>> testing again.
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
>>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>> -----
>>>> ---
>>>> Gert Vanthienen
>>>> http://gertvanthienen.blogspot.com
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27434677.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> ---
>> Gert Vanthienen
>> http://gertvanthienen.blogspot.com
>>
>
> --
> View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27443843.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by zacwolfe <za...@safisystems.com>.
Hi Gert,

I downloaded the 4.1.0 snapshot
(apache-servicemix-4.1.0-20100203.090407-10-src.zip), built it, and changed
the karaf.version to equinox as you suggested but I'm getting the following
error:

java.lang.IllegalArgumentException: Property karaf.framework.equinox  must
be set in the etc/config.properties configuration file
        at org.apache.felix.karaf.main.Main.updateClassLoader(Main.java:857)
        at org.apache.felix.karaf.main.Main.launch(Main.java:193)
        at org.apache.felix.karaf.main.Main.main(Main.java:326)
        at org.apache.felix.karaf.main.Bootstrap.main(Bootstrap.java:34)

Here's a snippet from my config.properties:

karaf.framework=equinox 

karaf.framework.equinox=system/org/eclipse/osgi/3.5.1.v20090827/osgi-3.5.1.v20090827.jar
karaf.framework.felix=system/org/apache/felix/org.apache.felix.framework/2.0.1/org.apache.felix.framework-2.0.1.jar

Do you know what's happening here?

Thanks,
Zac

Gert Vanthienen wrote:
> 
> Zac,
> 
> As soon as the Felix framework fix has been released, we'll re-release
> Karaf with the fix in it and NMR/SMX4 right after that.  The
> 4.1.0-SNAPSHOT you're having now will become ServiceMix 4.2.0 at
> release time.
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 3 February 2010 12:04, zacwolfe <za...@safisystems.com> wrote:
>>
>> Perfect Gert thank you.
>>
>> Do you have an idea of when this fix will make its way into 4.2.0 stream?
>>
>> Zac
>>
>> Gert Vanthienen wrote:
>>>
>>> Zac,
>>>
>>>
>>> I've rebuild a new snapshot that includes the fix at
>>> https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/
>>> (pick today's snapshot from the list).  We're waiting for a bug in
>>> Felix to get fixed before releasing this, so you probably want to test
>>> using Equinox for the time being.  You can do this by changing the
>>> karaf.framework property in etc/config.properties to equinox:
>>>
>>> karaf.framework=equinox
>>>
>>>
>>> Regards,
>>>
>>> Gert Vanthienen
>>> ------------------------
>>> Open Source SOA: http://fusesource.com
>>> Blog: http://gertvanthienen.blogspot.com/
>>>
>>>
>>>
>>> On 1 February 2010 18:59, zacwolfe <za...@safisystems.com> wrote:
>>>>
>>>> Thanks for the reply Gert.  If it would be possible to get that fix
>>>> into
>>>> 4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
>>>> proof of concept version of a Fuse4/Servicemix4 integration with my
>>>> open-source  http://www.safisystems.com project  and the scheduling
>>>> piece
>>>> will be a key feature.
>>>> Thanks again,
>>>> Zac
>>>>
>>>> Gert Vanthienen wrote:
>>>>>
>>>>>
>>>>> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
>>>>> include SNAPSHOT versions for all these dependencies so you can get
>>>>> testing again.
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
>>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>> -----
>>> ---
>>> Gert Vanthienen
>>> http://gertvanthienen.blogspot.com
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27434677.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27443843.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by Gert Vanthienen <ge...@gmail.com>.
Zac,

As soon as the Felix framework fix has been released, we'll re-release
Karaf with the fix in it and NMR/SMX4 right after that.  The
4.1.0-SNAPSHOT you're having now will become ServiceMix 4.2.0 at
release time.

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 3 February 2010 12:04, zacwolfe <za...@safisystems.com> wrote:
>
> Perfect Gert thank you.
>
> Do you have an idea of when this fix will make its way into 4.2.0 stream?
>
> Zac
>
> Gert Vanthienen wrote:
>>
>> Zac,
>>
>>
>> I've rebuild a new snapshot that includes the fix at
>> https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/
>> (pick today's snapshot from the list).  We're waiting for a bug in
>> Felix to get fixed before releasing this, so you probably want to test
>> using Equinox for the time being.  You can do this by changing the
>> karaf.framework property in etc/config.properties to equinox:
>>
>> karaf.framework=equinox
>>
>>
>> Regards,
>>
>> Gert Vanthienen
>> ------------------------
>> Open Source SOA: http://fusesource.com
>> Blog: http://gertvanthienen.blogspot.com/
>>
>>
>>
>> On 1 February 2010 18:59, zacwolfe <za...@safisystems.com> wrote:
>>>
>>> Thanks for the reply Gert.  If it would be possible to get that fix into
>>> 4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
>>> proof of concept version of a Fuse4/Servicemix4 integration with my
>>> open-source  http://www.safisystems.com project  and the scheduling piece
>>> will be a key feature.
>>> Thanks again,
>>> Zac
>>>
>>> Gert Vanthienen wrote:
>>>>
>>>>
>>>> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
>>>> include SNAPSHOT versions for all these dependencies so you can get
>>>> testing again.
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> ---
>> Gert Vanthienen
>> http://gertvanthienen.blogspot.com
>>
>
> --
> View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27434677.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by zacwolfe <za...@safisystems.com>.
Perfect Gert thank you.

Do you have an idea of when this fix will make its way into 4.2.0 stream? 

Zac

Gert Vanthienen wrote:
> 
> Zac,
> 
> 
> I've rebuild a new snapshot that includes the fix at
> https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/
> (pick today's snapshot from the list).  We're waiting for a bug in
> Felix to get fixed before releasing this, so you probably want to test
> using Equinox for the time being.  You can do this by changing the
> karaf.framework property in etc/config.properties to equinox:
> 
> karaf.framework=equinox
> 
> 
> Regards,
> 
> Gert Vanthienen
> ------------------------
> Open Source SOA: http://fusesource.com
> Blog: http://gertvanthienen.blogspot.com/
> 
> 
> 
> On 1 February 2010 18:59, zacwolfe <za...@safisystems.com> wrote:
>>
>> Thanks for the reply Gert.  If it would be possible to get that fix into
>> 4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
>> proof of concept version of a Fuse4/Servicemix4 integration with my
>> open-source  http://www.safisystems.com project  and the scheduling piece
>> will be a key feature.
>> Thanks again,
>> Zac
>>
>> Gert Vanthienen wrote:
>>>
>>>
>>> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
>>> include SNAPSHOT versions for all these dependencies so you can get
>>> testing again.
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> ---
> Gert Vanthienen
> http://gertvanthienen.blogspot.com
> 

-- 
View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27434677.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Problem with simple quartz.xml example in Servicemix 4.2.0 Snapshot

Posted by Gert Vanthienen <ge...@gmail.com>.
Zac,


I've rebuild a new snapshot that includes the fix at
https://repository.apache.org/content/repositories/snapshots/org/apache/servicemix/apache-servicemix/4.1.0-SNAPSHOT/
(pick today's snapshot from the list).  We're waiting for a bug in
Felix to get fixed before releasing this, so you probably want to test
using Equinox for the time being.  You can do this by changing the
karaf.framework property in etc/config.properties to equinox:

karaf.framework=equinox


Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On 1 February 2010 18:59, zacwolfe <za...@safisystems.com> wrote:
>
> Thanks for the reply Gert.  If it would be possible to get that fix into
> 4.2.0-SNAPSHOT that would actually help me out a lot.  I'm working on a
> proof of concept version of a Fuse4/Servicemix4 integration with my
> open-source  http://www.safisystems.com project  and the scheduling piece
> will be a key feature.
> Thanks again,
> Zac
>
> Gert Vanthienen wrote:
>>
>>
>> In the meanwhile, let me try to get the 4.2.0-SNAPSHOT version to
>> include SNAPSHOT versions for all these dependencies so you can get
>> testing again.
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Problem-with-simple-quartz.xml-example-in-Servicemix-4.2.0-Snapshot-tp27378848p27408472.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>