You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2009/10/14 16:35:52 UTC

[jira] Created: (SM-1901) Add element in the xbean

Add <locationsfile/> element in the xbean <classpath/>
------------------------------------------------------

                 Key: SM-1901
                 URL: https://issues.apache.org/activemq/browse/SM-1901
             Project: ServiceMix
          Issue Type: New Feature
    Affects Versions: 3.3.1
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: 3.3.2


Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.

<classpath [inverse="true"]>
  [<nonOverridable>xxx</nonOverridable>]*
  [<hidden>xxx</hidden>]*
  [<location>xxx</location>]*
  [<library>xxx</library>]*
  [<component>xxx</component>]*
</classpath>

We made improvement to use regexp/wildcard, system variables into a location.

Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.

I propose to add a new element in the <classpath/> one: <file/>.

The <file/> element contains a the path/URL to a file containing the <classpath/>.

With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1901) Add element in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60281#action_60281 ] 

Jean-Baptiste Onofré commented on SM-1901:
------------------------------------------

This feature has to be merged on servicemix-commons (in component shared libraries).

> Add <file/> element in the xbean <classpath/>
> ---------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.3
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1901) Add file attribute in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SM-1901:
-------------------------------------

    Summary: Add file attribute in the xbean <classpath/>  (was: Add <file/> element in the xbean <classpath/>)

> Add file attribute in the xbean <classpath/>
> --------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.3
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1901) Add element in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SM-1901:
-------------------------------------

    Fix Version/s: 3.3.3
                       (was: 3.3.2)

> Add <file/> element in the xbean <classpath/>
> ---------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.3
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1901) Add element in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54757#action_54757 ] 

Jean-Baptiste Onofré commented on SM-1901:
------------------------------------------

Of course, this feature should be merged into the SMX4 NMR/JBI.

> Add <locationsfile/> element in the xbean <classpath/>
> ------------------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.2
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SM-1901) Add element in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SM-1901:
-------------------------------------

    Summary: Add <file/> element in the xbean <classpath/>  (was: Add <locationsfile/> element in the xbean <classpath/>)

> Add <file/> element in the xbean <classpath/>
> ---------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.2
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1901) Add file attribute in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=60535#action_60535 ] 

Jean-Baptiste Onofré commented on SM-1901:
------------------------------------------

Feature added to SMX3 LW container: revision 962431.

I'm working on servicemix shared-libraries now (common part).

> Add file attribute in the xbean <classpath/>
> --------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.3
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SM-1901) Add element in the xbean

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SM-1901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54758#action_54758 ] 

Jean-Baptiste Onofré commented on SM-1901:
------------------------------------------

After dealing with Guillaume, it's better to use an attribute on the <classpath/> element like this:

<classpath file="conf/mysuclassldr"/>

> Add <file/> element in the xbean <classpath/>
> ---------------------------------------------
>
>                 Key: SM-1901
>                 URL: https://issues.apache.org/activemq/browse/SM-1901
>             Project: ServiceMix
>          Issue Type: New Feature
>    Affects Versions: 3.3.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.3.2
>
>
> Currently, the user can tune the SU classloader using the <classpath/> element in the xbean.xml.
> <classpath [inverse="true"]>
>   [<nonOverridable>xxx</nonOverridable>]*
>   [<hidden>xxx</hidden>]*
>   [<location>xxx</location>]*
>   [<library>xxx</library>]*
>   [<component>xxx</component>]*
> </classpath>
> We made improvement to use regexp/wildcard, system variables into a location.
> Unfortunately, it's a not possible to use a properties file containing the classpath locations (loading using PropertyPlaceholder) because the classloader is not yet setup and so the spring bean is not yet loaded.
> I propose to add a new element in the <classpath/> one: <file/>.
> The <file/> element contains a the path/URL to a file containing the <classpath/>.
> With this, the user can now define the SU classloader using an "external" file (as a kind of classloader properties file).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.