You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Eric Charles (JIRA)" <se...@james.apache.org> on 2010/10/01 08:47:32 UTC

[jira] Created: (JAMES-1054) Split spring-beans.xml for more granular documentation and instanciation

Split spring-beans.xml for more granular documentation and instanciation
------------------------------------------------------------------------

                 Key: JAMES-1054
                 URL: https://issues.apache.org/jira/browse/JAMES-1054
             Project: JAMES Server
          Issue Type: Improvement
            Reporter: Eric Charles


Current spring-beans.xml is huge and undocumented.
We could split it and try to give James Main the ability to load all or part of the beans.
For example, when netty sockets are already started, for maintenance tasks, the Main should not try to startt the netty sockets.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1054) Split spring-beans.xml for more granular documentation and instanciation

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916815#action_12916815 ] 

Eric Charles commented on JAMES-1054:
-------------------------------------

It's not about restarting components, but a bit linked to https://issues.apache.org/jira/browse/JAMES-1055 (the comand line interface).

The james script is only used to start/stop.

I was thinking to use cases where you have a running james server, and still want to invoke james script for stuff such as:
- mailbox imports (https://issues.apache.org/jira/browse/JAMES-1052)
- anything else that goes on report generation,...

Currently, the James Main is 
        final JamesServerApplicationContext context = new JamesServerApplicationContext(new String[] { "spring-beans.xml" });
All beans will be loaded, among other the server sockets.
So with this monolithic file, we have no access to mailbox when other instance is running.



> Split spring-beans.xml for more granular documentation and instanciation
> ------------------------------------------------------------------------
>
>                 Key: JAMES-1054
>                 URL: https://issues.apache.org/jira/browse/JAMES-1054
>             Project: JAMES Server
>          Issue Type: Improvement
>            Reporter: Eric Charles
>
> Current spring-beans.xml is huge and undocumented.
> We could split it and try to give James Main the ability to load all or part of the beans.
> For example, when netty sockets are already started, for maintenance tasks, the Main should not try to startt the netty sockets.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Closed: (JAMES-1054) Split spring-beans.xml for more granular documentation and instanciation

Posted by "Eric Charles (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Charles closed JAMES-1054.
-------------------------------

    Resolution: Not A Problem

We use manager for additional commands, not the script.

> Split spring-beans.xml for more granular documentation and instanciation
> ------------------------------------------------------------------------
>
>                 Key: JAMES-1054
>                 URL: https://issues.apache.org/jira/browse/JAMES-1054
>             Project: JAMES Server
>          Issue Type: Improvement
>            Reporter: Eric Charles
>
> Current spring-beans.xml is huge and undocumented.
> We could split it and try to give James Main the ability to load all or part of the beans.
> For example, when netty sockets are already started, for maintenance tasks, the Main should not try to startt the netty sockets.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-1054) Split spring-beans.xml for more granular documentation and instanciation

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916813#action_12916813 ] 

Norman Maurer commented on JAMES-1054:
--------------------------------------

Do you talk about restarting different components etc? I think thats really only possible (without big hacks) when using osgi.

> Split spring-beans.xml for more granular documentation and instanciation
> ------------------------------------------------------------------------
>
>                 Key: JAMES-1054
>                 URL: https://issues.apache.org/jira/browse/JAMES-1054
>             Project: JAMES Server
>          Issue Type: Improvement
>            Reporter: Eric Charles
>
> Current spring-beans.xml is huge and undocumented.
> We could split it and try to give James Main the ability to load all or part of the beans.
> For example, when netty sockets are already started, for maintenance tasks, the Main should not try to startt the netty sockets.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org