You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@ace.apache.org by Damien Martin-Guillerez <da...@iqspot.fr> on 2013/11/07 15:36:08 UTC
How to specify target id and discovery URL in ACE v1.0.0
Hello all,
I'm just starting with Apache ACE. I discover it yesterday and it seems really the good tools for me.
I downloaded the binary distribution of Apache ACE 1.0.0 yesterday and tried to run the target.jar with the identification specified in command line but it doesn't seems to apply:
$ java -jar target.jar identification=test discovery=http://test:8080
____________________________
Welcome to Apache Felix Gogo
g! Started management agent.
Target ID : defaultTargetID
Server : http://localhost:8080
Sync interval: 2000 ms
Unaffected bundles will not be stopped during deployment.
Using the archive, I downloaded the org.apache.ace.launcher and run it the same way, it worked. Looking at the source code, it seems that the v1.0.0 package use something called aQute.launcher and there is probably a new way to specify those parameters but I can seem to find it in the documentation.
So the question is simple: How can I specify the id and discovery with the v1.0.0 target jar ?
Regards,
-- Damien Martin-Guillerez
Re: How to specify target id and discovery URL in ACE v1.0.0
Posted by Damien Martin-Guillerez <da...@iqspot.fr>.
Perfect!
How comes I haven't thought of that! :)
Thank you!
-- Damien
On 7 nov. 2013, at 15:43, Dmytro Pishchukhin wrote:
> Hi Damien,
>
> use java system properties convention
>
> java -Ddiscovery=http://test:9090 -Didentification=test -jar target.jar
>
> --
> Best regards,
> Dmytro Pishchukhin
>
>
> On Thu, Nov 7, 2013 at 3:36 PM, Damien Martin-Guillerez <
> damien.martin-guillerez@iqspot.fr> wrote:
>
>> Hello all,
>>
>> I'm just starting with Apache ACE. I discover it yesterday and it seems
>> really the good tools for me.
>>
>> I downloaded the binary distribution of Apache ACE 1.0.0 yesterday and
>> tried to run the target.jar with the identification specified in command
>> line but it doesn't seems to apply:
>> $ java -jar target.jar identification=test discovery=http://test:8080
>> ____________________________
>> Welcome to Apache Felix Gogo
>>
>> g! Started management agent.
>> Target ID : defaultTargetID
>> Server : http://localhost:8080
>> Sync interval: 2000 ms
>> Unaffected bundles will not be stopped during deployment.
>>
>> Using the archive, I downloaded the org.apache.ace.launcher and run it the
>> same way, it worked. Looking at the source code, it seems that the v1.0.0
>> package use something called aQute.launcher and there is probably a new way
>> to specify those parameters but I can seem to find it in the documentation.
>>
>> So the question is simple: How can I specify the id and discovery with the
>> v1.0.0 target jar ?
>>
>> Regards,
>> -- Damien Martin-Guillerez
Re: How to specify target id and discovery URL in ACE v1.0.0
Posted by Dmytro Pishchukhin <dm...@gmail.com>.
Hi Damien,
use java system properties convention
java -Ddiscovery=http://test:9090 -Didentification=test -jar target.jar
--
Best regards,
Dmytro Pishchukhin
On Thu, Nov 7, 2013 at 3:36 PM, Damien Martin-Guillerez <
damien.martin-guillerez@iqspot.fr> wrote:
> Hello all,
>
> I'm just starting with Apache ACE. I discover it yesterday and it seems
> really the good tools for me.
>
> I downloaded the binary distribution of Apache ACE 1.0.0 yesterday and
> tried to run the target.jar with the identification specified in command
> line but it doesn't seems to apply:
> $ java -jar target.jar identification=test discovery=http://test:8080
> ____________________________
> Welcome to Apache Felix Gogo
>
> g! Started management agent.
> Target ID : defaultTargetID
> Server : http://localhost:8080
> Sync interval: 2000 ms
> Unaffected bundles will not be stopped during deployment.
>
> Using the archive, I downloaded the org.apache.ace.launcher and run it the
> same way, it worked. Looking at the source code, it seems that the v1.0.0
> package use something called aQute.launcher and there is probably a new way
> to specify those parameters but I can seem to find it in the documentation.
>
> So the question is simple: How can I specify the id and discovery with the
> v1.0.0 target jar ?
>
> Regards,
> -- Damien Martin-Guillerez
Re: How to specify target id and discovery URL in ACE v1.0.0
Posted by Damien Martin-Guillerez <da...@iqspot.fr>.
Ok I'll check that out.
Regards,
-- Damien
On 7 nov. 2013, at 16:11, Jan Willem Janssen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Damien,
>
> On 11/7/13 3:36 PM, Damien Martin-Guillerez wrote:
>> I'm just starting with Apache ACE. I discover it yesterday and it
>> seems really the good tools for me.
>>
>> I downloaded the binary distribution of Apache ACE 1.0.0 yesterday
>> and tried to run the target.jar with the identification specified
>> in command line but it doesn't seems to apply: $ java -jar
>> target.jar identification=test discovery=http://test:8080
>> ____________________________ Welcome to Apache Felix Gogo
>>
>> g! Started management agent. Target ID : defaultTargetID Server
>> : http://localhost:8080 Sync interval: 2000 ms Unaffected bundles
>> will not be stopped during deployment.
>>
>> Using the archive, I downloaded the org.apache.ace.launcher and
>> run it the same way, it worked. Looking at the source code, it
>> seems that the v1.0.0 package use something called aQute.launcher
>> and there is probably a new way to specify those parameters but I
>> can seem to find it in the documentation.
>>
>> So the question is simple: How can I specify the id and discovery
>> with the v1.0.0 target jar ?
>
> The answer of Dmytro is correct for the *released* version of ACE.
>
> We're currently busy with fixing some last issues before creating a
> new release of ACE. One of the major changes in this release will be a
> completely new management agent. This agent is easier to embed/extend
> and configure. I just finished updating the user-guide (see [1]) to
> reflect the new configuration options for the upcoming agent. If you
> want to play with it, you can check out the latest SVN revision.
>
> 1. http://ace.apache.org/user-doc/user-guide.html
>
> - --
> Met vriendelijke groeten | Kind regards
>
> Jan Willem Janssen | Software Architect
> +31 631 765 814
>
> /My world is revolving around PulseOn and Amdatu/
>
> Luminis Technologies B.V.
> J.C. Wilslaan 29
> 7313 HK Apeldoorn
> +31 88 586 46 30
>
> http://www.luminis-technologies.com
> http://www.luminis.eu
>
> KvK (CoC) 09 16 28 93
> BTW (VAT) NL8169.78.566.B.01
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBAgAGBQJSe62mAAoJEKF/mP2eHDc4HfMP/jDiOf/JD464M6/Wf2U7i7yt
> TWpr4p9bYbZG9Ou0Hqjgk+of651lROJ4bAs3MjgkyC7RSUXXhycAU/F0H2ijkMDM
> /ZDhKHLkJHURDfeOmqfMKm6K1ngRX8OxReo7tQwT3FnQ269LLEixQ2Sqtd2xEYqG
> h0/u+aJu/gwzDl9J9zUZi3GTQOehzYs3Tz4vvEDQlURxgDrkKPEirrTDVnskRpRF
> Z9AdAJ1glM6ST+VvvLp2izmXRsEjAy3IkJZCfCEur4ucKlzmO370ZWPOSrTdM6de
> BQsKalYBwUvOpNBRvoQqS1cPr20UyCE0XvNtXAzYWCPvNDGA76awEcLioTGvXjVD
> cdAudlhu4bdJzdxsdqSt/dLG6OJx6u2aKZZSAxa9DOcyyM4q/RTjeJGy+koFe3a5
> Vcw9mxe3LB9qANHLaXRcpR4CL8AFiNXC2Gn9OBZmXf9PmLGeKv8gFmgIUxWlLXkj
> ogP2HFV1qY1hATF6Ywb3n8qM/7Lq/oScEOlWz909zKBzozVH5UiZLmCZ7o7Ew1O9
> 52QnDxIg8HKrD+j/dgVtzbIFD1RgVS73XPvFziRNKfr0aK2gB+ejjtYdRC3anHoR
> f0fK4YUtJjKtJfTIqaUAbeDs0Vaurb8mngJ/GU695htVYEU8j/LmzS6gfxP3bwmv
> UEF7NuLq48h7K1z2a+70
> =xSJk
> -----END PGP SIGNATURE-----
Re: How to specify target id and discovery URL in ACE v1.0.0
Posted by Jan Willem Janssen <ja...@luminis.eu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Damien,
On 11/7/13 3:36 PM, Damien Martin-Guillerez wrote:
> I'm just starting with Apache ACE. I discover it yesterday and it
> seems really the good tools for me.
>
> I downloaded the binary distribution of Apache ACE 1.0.0 yesterday
> and tried to run the target.jar with the identification specified
> in command line but it doesn't seems to apply: $ java -jar
> target.jar identification=test discovery=http://test:8080
> ____________________________ Welcome to Apache Felix Gogo
>
> g! Started management agent. Target ID : defaultTargetID Server
> : http://localhost:8080 Sync interval: 2000 ms Unaffected bundles
> will not be stopped during deployment.
>
> Using the archive, I downloaded the org.apache.ace.launcher and
> run it the same way, it worked. Looking at the source code, it
> seems that the v1.0.0 package use something called aQute.launcher
> and there is probably a new way to specify those parameters but I
> can seem to find it in the documentation.
>
> So the question is simple: How can I specify the id and discovery
> with the v1.0.0 target jar ?
The answer of Dmytro is correct for the *released* version of ACE.
We're currently busy with fixing some last issues before creating a
new release of ACE. One of the major changes in this release will be a
completely new management agent. This agent is easier to embed/extend
and configure. I just finished updating the user-guide (see [1]) to
reflect the new configuration options for the upcoming agent. If you
want to play with it, you can check out the latest SVN revision.
1. http://ace.apache.org/user-doc/user-guide.html
- --
Met vriendelijke groeten | Kind regards
Jan Willem Janssen | Software Architect
+31 631 765 814
/My world is revolving around PulseOn and Amdatu/
Luminis Technologies B.V.
J.C. Wilslaan 29
7313 HK Apeldoorn
+31 88 586 46 30
http://www.luminis-technologies.com
http://www.luminis.eu
KvK (CoC) 09 16 28 93
BTW (VAT) NL8169.78.566.B.01
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSe62mAAoJEKF/mP2eHDc4HfMP/jDiOf/JD464M6/Wf2U7i7yt
TWpr4p9bYbZG9Ou0Hqjgk+of651lROJ4bAs3MjgkyC7RSUXXhycAU/F0H2ijkMDM
/ZDhKHLkJHURDfeOmqfMKm6K1ngRX8OxReo7tQwT3FnQ269LLEixQ2Sqtd2xEYqG
h0/u+aJu/gwzDl9J9zUZi3GTQOehzYs3Tz4vvEDQlURxgDrkKPEirrTDVnskRpRF
Z9AdAJ1glM6ST+VvvLp2izmXRsEjAy3IkJZCfCEur4ucKlzmO370ZWPOSrTdM6de
BQsKalYBwUvOpNBRvoQqS1cPr20UyCE0XvNtXAzYWCPvNDGA76awEcLioTGvXjVD
cdAudlhu4bdJzdxsdqSt/dLG6OJx6u2aKZZSAxa9DOcyyM4q/RTjeJGy+koFe3a5
Vcw9mxe3LB9qANHLaXRcpR4CL8AFiNXC2Gn9OBZmXf9PmLGeKv8gFmgIUxWlLXkj
ogP2HFV1qY1hATF6Ywb3n8qM/7Lq/oScEOlWz909zKBzozVH5UiZLmCZ7o7Ew1O9
52QnDxIg8HKrD+j/dgVtzbIFD1RgVS73XPvFziRNKfr0aK2gB+ejjtYdRC3anHoR
f0fK4YUtJjKtJfTIqaUAbeDs0Vaurb8mngJ/GU695htVYEU8j/LmzS6gfxP3bwmv
UEF7NuLq48h7K1z2a+70
=xSJk
-----END PGP SIGNATURE-----