
|
Easybeans.xml
Hi,
1) How can I do to register easybeans.xml or where this file must to be placed so that easybeans finds it?
Regards Fernando
|

|
Re: Easybeans.xml
Sorry, I forgot a detail. I am working with easybeans in bundles 1) Should I work in easybeans bundles structure to this work or there is a simple way to do it, like registering the configuration file via another bundle?
Regards Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to be placed so that easybeans finds it?
Regards Fernando
|

|
Re: Easybeans.xml
Fernando Freitas schrieb:
> Sorry, I forgot a detail.
>
> I am working with easybeans in bundles
>
> 1) Should I work in easybeans bundles structure to this work or there is
> a simple way to do it, like registering the configuration file via
> another bundle?
>
> Regards
> Fernando
>
> 2009/3/19 Fernando Freitas < nandows@... <mailto: nandows@...>>
>
> Hi,
>
> 1) How can I do to register easybeans.xml or where this file must
> to be placed so that easybeans finds it?
>
> Regards
> Fernando
>
>
>
fernando - hopefully after eclipsecon I can tell you something how to
configure these things
ekke
|

|
Re: Re: Easybeans.xml
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Easybeans.xml
Thanks Florent and Ekke, Thou I didn't make any progress till now.
1) What should I consider the root location for the following path EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir
2) If I use the service admin to register the configuration file, do you have any source code snippet? Best Regards Fernando 2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Easybeans.xml
Hello, I'm still looking for this simple information. 1) What is the path (folder) , in my file system, that should I to put the file configuration "easybeans.xml"? I know that the agent bundle to search in org.ow2.easybeans.osgi.conf package.
but, What is the relative path in my file system? Thanks for your help. Best Regards Fernando Freitas 2009/3/20 Fernando Freitas <nandows@...>
Thanks Florent and Ekke,
Thou I didn't make any progress till now.
1) What should I consider the root location for the following path
EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir
2) If I use the service admin to register the configuration file, do you have any source code snippet?
Best Regards Fernando
2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Re: Easybeans.xml
EASYBEANS_USER_CONFIG_FILE_DIR is a system property and it's you that
decide the path.
Launch the platform with -Dorg.ow2.easybeans.osgi.conf="/my/path" and
add an easybeans.xml file in /my/path and Easybeans will use this
configuration file
Regards,
Florent
Fernando Freitas wrote:
Hello,
I'm still looking for this simple information.
1) What is the path (folder) , in my file system, that should I to put
the file configuration "easybeans.xml"?
I know that the agent bundle to search in org.ow2.easybeans.osgi.conf
package.
but, What is the relative path in my file system?
Thanks for your help.
Best Regards
Fernando Freitas
2009/3/20 Fernando Freitas <nandows@...>
Thanks
Florent and Ekke,
Thou I didn't make any progress till now.
1) What should I consider the root location for the following path
EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir
2) If I use the service admin to register the configuration file, do
you have any source code snippet?
Best Regards
Fernando
2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Re: Easybeans.xml
Fernando Freitas a écrit :
> Hello,
> I'm still looking for this simple information.
>
> 1) What is the path (folder) , in my file system, that should I to
> put the file configuration "easybeans.xml"?
>
> I know that the agent bundle to search in org.ow2.easybeans.osgi.conf
> package.
>
> but, What is the relative path in my file system?
Sorry for the delay Fernando
AFAIK, there is no relative path:
Using the 'org.ow2.easybeans.osgi.conf.dir' system property, you tell to
the system where is the easybeans.xml file
If the property is not present or the file does not exists, the agent
fallback on the default easybeans configuration files (inside the bundle).
Hope it helps
--G
>
> Thanks for your help.
>
> Best Regards
> Fernando Freitas
>
>
> 2009/3/20 Fernando Freitas < nandows@... <mailto: nandows@...>>
>
> Thanks Florent and Ekke,
>
> Thou I didn't make any progress till now.
>
> 1) What should I consider the root location for the following path
>
> EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
> dir
>
> 2) If I use the service admin to register the configuration
> file, do you have any source code snippet?
>
>
> Best Regards
> Fernando
>
>
> 2009/3/20 Florent BENOIT < Florent.BENOIT@...
> <mailto: Florent.BENOIT@...>>
>
> Hi Fernando,
>
> you can provide the configuration file through config admin
> and you have also a System property to reference an
> easybeans.xml on your filesystem :
> String location =
> bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR) +
> File.separator + EASYBEANS_USER_CONFIG_FILE;
>
> with EASYBEANS_USER_CONFIG_FILE_DIR =
> org.ow2.easybeans.osgi.conf.dir and EASYBEANS_USER_CONFIG_FILE
> = "easybeans.xml";
>
> Regards,
>
> Florent
>
>
>
>
> Fernando Freitas wrote:
>> Sorry, I forgot a detail.
>>
>> I am working with easybeans in bundles
>>
>> 1) Should I work in easybeans bundles structure to this work
>> or there is a simple way to do it, like registering the
>> configuration file via another bundle?
>>
>> Regards
>> Fernando
>>
>> 2009/3/19 Fernando Freitas < nandows@...
>> <mailto: nandows@...>>
>>
>> Hi,
>>
>> 1) How can I do to register easybeans.xml or where this
>> file must to be placed so that easybeans finds it?
>>
>> Regards
>> Fernando
>>
>>
>>
>
>
>
[Guillaume_Sauthier.vcf] begin:vcard
fn:Guillaume Sauthier
n:Sauthier;Guillaume
org:<a href="http://www.ow2.org"><img title="OW2" alt="OW2 Consortium" border="0" src="http://www.ow2.org/xwiki/bin/skin/XWiki/DefaultSkin/logoOW2.png" /></a>
adr:;;;;;;France
email;internet:guillaume.sauthier@...
title:<a href="http://jonas.ow2.org">JOnAS Application Server</a>
x-mozilla-html:TRUE
url:http://jonas.ow2.org
version:2.1
end:vcard
|

|
Re: Re: Re: Re: Re: Easybeans.xml
Thanks very much. It is working , now!! The right launch should be -Dorg.ow2.easybeans.osgi.conf. dir= "/my/path"
Best Regards Fernando
2009/3/24 Florent BENOIT <Florent.BENOIT@...>
EASYBEANS_USER_CONFIG_FILE_DIR is a system property and it's you that
decide the path.
Launch the platform with -Dorg.ow2.easybeans.osgi.conf="/my/path" and
add an easybeans.xml file in /my/path and Easybeans will use this
configuration file
Regards,
Florent
Fernando Freitas wrote:
Hello,
I'm still looking for this simple information.
1) What is the path (folder) , in my file system, that should I to put
the file configuration "easybeans.xml"?
I know that the agent bundle to search in org.ow2.easybeans.osgi.conf
package.
but, What is the relative path in my file system?
Thanks for your help.
Best Regards
Fernando Freitas
2009/3/20 Fernando Freitas <nandows@...>
Thanks
Florent and Ekke,
Thou I didn't make any progress till now.
1) What should I consider the root location for the following path
EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir
2) If I use the service admin to register the configuration file, do
you have any source code snippet?
Best Regards
Fernando
2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Re: Re: Easybeans.xml
Please... see this... ....my product finds the easybeans.xml after it launchs the platform with -Dorg.ow2.easybeans.osgi.conf. dir="/my/path" , but I am using a config.ini to start my other bundles. So, if I use -Dorg.ow2.easybeans.osgi.conf. dir="/my/path", my easybeans bundles don't start.
1) How should I do to resolve this conflict ? Regards Fernando PS: I puted my config in the same path that the easybeans.xml. Not worked! 2009/3/24 Fernando Freitas <nandows@...>
Thanks very much. It is working , now!!
The right launch should be -Dorg.ow2.easybeans.osgi.conf.dir=
"/my/path"
Best Regards Fernando
2009/3/24 Florent BENOIT <Florent.BENOIT@...>
EASYBEANS_USER_CONFIG_FILE_DIR is a system property and it's you that
decide the path.
Launch the platform with -Dorg.ow2.easybeans.osgi.conf="/my/path" and
add an easybeans.xml file in /my/path and Easybeans will use this
configuration file
Regards,
Florent
Fernando Freitas wrote:
Hello,
I'm still looking for this simple information.
1) What is the path (folder) , in my file system, that should I to put
the file configuration "easybeans.xml"?
I know that the agent bundle to search in org.ow2.easybeans.osgi.conf
package.
but, What is the relative path in my file system?
Thanks for your help.
Best Regards
Fernando Freitas
2009/3/20 Fernando Freitas <nandows@...>
Thanks
Florent and Ekke,
Thou I didn't make any progress till now.
1) What should I consider the root location for the following path
EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir
2) If I use the service admin to register the configuration file, do
you have any source code snippet?
Best Regards
Fernando
2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando,
you can provide the configuration file through config admin and you
have also a System property to reference an easybeans.xml on your
filesystem :
String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR)
+ File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir
and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml";
Regards,
Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there
is a simple way to do it, like registering the configuration file via
another bundle?
Regards
Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to
be placed so that easybeans finds it?
Regards
Fernando
|

|
Re: Re: Re: Re: Re: Easybeans.xml
My easybeans.xml was with problem.
Now, I am working with my easybeans.xml and my config.ini .
All bundles is working, very well.
Thanks for this knowledge
Fernando Freitas
2009/3/24 Fernando Freitas <nandows@...>
Please... see this... ....my product finds the easybeans.xml after it launchs the platform with -Dorg.ow2.easybeans.osgi.conf.dir="/my/path" , but I am using a config.ini to start my other bundles. So, if I use -Dorg.ow2.easybeans.osgi.conf.dir="/my/path", my easybeans bundles don't start.
1) How should I do to resolve this conflict ?
Regards Fernando
PS: I puted my config in the same path that the easybeans.xml. Not worked!
2009/3/24 Fernando Freitas <nandows@...>
Thanks very much. It is working , now!!
The right launch should be -Dorg.ow2.easybeans.osgi.conf.dir=
"/my/path"
Best Regards Fernando
2009/3/24 Florent BENOIT <Florent.BENOIT@...>
EASYBEANS_USER_CONFIG_FILE_DIR is a system property and it's you that decide the path. Launch the platform with -Dorg.ow2.easybeans.osgi.conf="/my/path" and add an easybeans.xml file in /my/path and Easybeans will use this configuration file
Regards, Florent Fernando Freitas wrote:
Hello, I'm still looking for this simple information.
1) What is the path (folder) , in my file system, that should I to put the file configuration "easybeans.xml"?
I know that the agent bundle to search in org.ow2.easybeans.osgi.conf package.
but, What is the relative path in my file system?
Thanks for your help.
Best Regards Fernando Freitas
2009/3/20 Fernando Freitas <nandows@...>
Thanks Florent and Ekke,
Thou I didn't make any progress till now.
1) What should I consider the root location for the following path
EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.
dir 2) If I use the service admin to register the configuration file, do you have any source code snippet?
Best Regards Fernando
2009/3/20 Florent BENOIT <Florent.BENOIT@...>
Hi Fernando, you can provide the configuration file through config admin and you have also a System property to reference an easybeans.xml on your filesystem : String location = bc.getProperty(EASYBEANS_USER_CONFIG_FILE_DIR) + File.separator + EASYBEANS_USER_CONFIG_FILE;
with EASYBEANS_USER_CONFIG_FILE_DIR = org.ow2.easybeans.osgi.conf.dir and EASYBEANS_USER_CONFIG_FILE = "easybeans.xml"; Regards, Florent
Fernando Freitas wrote:
Sorry, I forgot a detail.
I am working with easybeans in bundles
1) Should I work in easybeans bundles structure to this work or there is a simple way to do it, like registering the configuration file via another bundle?
Regards Fernando
2009/3/19 Fernando Freitas <nandows@...>
Hi,
1) How can I do to register easybeans.xml or where this file must to be placed so that easybeans finds it?
Regards Fernando
|