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 "Mario Zsilak (JIRA)" <se...@james.apache.org> on 2010/01/13 17:34:54 UTC
[jira] Created: (JAMES-949) SMTP Async I/O - Core command handler
not found in config
SMTP Async I/O - Core command handler not found in config
---------------------------------------------------------
Key: JAMES-949
URL: https://issues.apache.org/jira/browse/JAMES-949
Project: JAMES Server
Issue Type: Bug
Components: SMTPServer
Affects Versions: Trunk
Environment: Windows XP
James trunk rev. 898686
Reporter: Mario Zsilak
Priority: Minor
Hi all,
I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
Well, start-up fails.
I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
----------------------------------------------------------------------------
### Eclipse Workspace Patch 1.0
#P james-server-smtpserver-function
Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
===================================================================
--- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
+++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
@@ -194,7 +194,7 @@
if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
- handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
+ handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
handlerChain.configure(handlerchainConfig);
}
---------------------------------------------------------------------------
--
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-949) SMTP Async I/O - Core command handler
not found in config
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799815#action_12799815 ]
Norman Maurer commented on JAMES-949:
-------------------------------------
Thx...
could you please attach the patch as diff and grant rights via the checkbox :)
> SMTP Async I/O - Core command handler not found in config
> ---------------------------------------------------------
>
> Key: JAMES-949
> URL: https://issues.apache.org/jira/browse/JAMES-949
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: Trunk
> Environment: Windows XP
> James trunk rev. 898686
> Reporter: Mario Zsilak
> Priority: Minor
> Attachments: AsyncSMTPServer.patch
>
>
> Hi all,
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
> Well, start-up fails.
> I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
> I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
> ----------------------------------------------------------------------------
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
> @@ -194,7 +194,7 @@
> if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
> handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
>
> - handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
> + handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
> handlerChain.configure(handlerchainConfig);
>
> }
> ---------------------------------------------------------------------------
--
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] Assigned: (JAMES-949) SMTP Async I/O - Core command handler
not found in config
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer reassigned JAMES-949:
-----------------------------------
Assignee: Norman Maurer
> SMTP Async I/O - Core command handler not found in config
> ---------------------------------------------------------
>
> Key: JAMES-949
> URL: https://issues.apache.org/jira/browse/JAMES-949
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: Trunk
> Environment: Windows XP
> James trunk rev. 898686
> Reporter: Mario Zsilak
> Assignee: Norman Maurer
> Priority: Minor
> Attachments: AsyncSMTPServer.patch
>
>
> Hi all,
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
> Well, start-up fails.
> I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
> I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
> ----------------------------------------------------------------------------
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
> @@ -194,7 +194,7 @@
> if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
> handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
>
> - handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
> + handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
> handlerChain.configure(handlerchainConfig);
>
> }
> ---------------------------------------------------------------------------
--
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-949) SMTP Async I/O - Core command handler
not found in config
Posted by "Mario Zsilak (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799821#action_12799821 ]
Mario Zsilak commented on JAMES-949:
------------------------------------
Actually the patch (attached) is a SVN diff.
Where is this checkbox which you mentioned? I did this "granting to ASF" .. Is this the correct one?
> SMTP Async I/O - Core command handler not found in config
> ---------------------------------------------------------
>
> Key: JAMES-949
> URL: https://issues.apache.org/jira/browse/JAMES-949
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: Trunk
> Environment: Windows XP
> James trunk rev. 898686
> Reporter: Mario Zsilak
> Assignee: Norman Maurer
> Priority: Minor
> Attachments: AsyncSMTPServer.patch
>
>
> Hi all,
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
> Well, start-up fails.
> I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
> I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
> ----------------------------------------------------------------------------
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
> @@ -194,7 +194,7 @@
> if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
> handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
>
> - handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
> + handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
> handlerChain.configure(handlerchainConfig);
>
> }
> ---------------------------------------------------------------------------
--
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] Resolved: (JAMES-949) SMTP Async I/O - Core command handler
not found in config
Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Norman Maurer resolved JAMES-949.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0-M1
Applied... thx again
> SMTP Async I/O - Core command handler not found in config
> ---------------------------------------------------------
>
> Key: JAMES-949
> URL: https://issues.apache.org/jira/browse/JAMES-949
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: Trunk
> Environment: Windows XP
> James trunk rev. 898686
> Reporter: Mario Zsilak
> Assignee: Norman Maurer
> Priority: Minor
> Fix For: 3.0-M1
>
> Attachments: AsyncSMTPServer.patch
>
>
> Hi all,
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
> Well, start-up fails.
> I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
> I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
> ----------------------------------------------------------------------------
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
> @@ -194,7 +194,7 @@
> if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
> handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
>
> - handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
> + handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
> handlerChain.configure(handlerchainConfig);
>
> }
> ---------------------------------------------------------------------------
--
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] Updated: (JAMES-949) SMTP Async I/O - Core command handler
not found in config
Posted by "Mario Zsilak (JIRA)" <se...@james.apache.org>.
[ https://issues.apache.org/jira/browse/JAMES-949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Zsilak updated JAMES-949:
-------------------------------
Attachment: AsyncSMTPServer.patch
found the link to attach the patch in the proper way :)
> SMTP Async I/O - Core command handler not found in config
> ---------------------------------------------------------
>
> Key: JAMES-949
> URL: https://issues.apache.org/jira/browse/JAMES-949
> Project: JAMES Server
> Issue Type: Bug
> Components: SMTPServer
> Affects Versions: Trunk
> Environment: Windows XP
> James trunk rev. 898686
> Reporter: Mario Zsilak
> Priority: Minor
> Attachments: AsyncSMTPServer.patch
>
>
> Hi all,
> I wanted to use the SMTP Async I/O, so I commented the normal smtp stuff and uncommented "org.apache.james.smtpserver.mina.AsyncSMTPServer" in spring-beans.xml
> Well, start-up fails.
> I pin-pointed the issue to AsyncSMTPServer.java to the method prepareHandlerChain() (line 197)
> I've attached a patch to resolve this issue, however I've no clue if this is the correct way :)
> ----------------------------------------------------------------------------
> ### Eclipse Workspace Patch 1.0
> #P james-server-smtpserver-function
> Index: src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java
> ===================================================================
> --- src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (revision 898686)
> +++ src/main/java/org/apache/james/smtpserver/mina/AsyncSMTPServer.java (working copy)
> @@ -194,7 +194,7 @@
> if (handlerchainConfig.getString("[@coreHandlersPackage]") == null)
> handlerchainConfig.addProperty("[@coreHandlersPackage]", CoreCmdHandlerLoader.class.getName());
>
> - handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerConfiguration);
> + handlerChain = getLoader().load(ProtocolHandlerChainImpl.class, getLogger(), handlerchainConfig);
> handlerChain.configure(handlerchainConfig);
>
> }
> ---------------------------------------------------------------------------
--
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