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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/07/09 01:54:00 UTC
[jira] [Closed] (JAMES-3595) Spooler processing starts before
mailetContainer initialisation
[ https://issues.apache.org/jira/browse/JAMES-3595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3595.
---------------------------------
Resolution: Fixed
> Spooler processing starts before mailetContainer initialisation
> ---------------------------------------------------------------
>
> Key: JAMES-3595
> URL: https://issues.apache.org/jira/browse/JAMES-3595
> Project: James Server
> Issue Type: Bug
> Affects Versions: 3.6.0
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.7.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I got the following log:
> {code:java}
> {
> "_index": "emaily-2021.06.08",
> "_type": "_doc",
> "_id": "gByI6nkBU6_e7iSzPRK3",
> "_score": 1,
> "_source": {
> "@timestamp": "2021-06-08T07:31:07.562Z",
> "log": "{\"timestamp\":\"2021-06-08T07:31:07.560Z\",\"level\":\"ERROR\",\"thread\":\"elastic-54\",\"logger\":\"org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor\",\"message\":\"MailProcessor 'transport' could not be found. Processing 7d01c8f0-c82b-11eb-aa8a-9fabe7587cf3 to 'error' instead\",\"context\":\"default\"}\n",
> "stream": "stdout",
> "time": "2021-06-08T07:31:07.562707651Z",
> "log_processed": {
> "timestamp": "2021-06-08T07:31:07.560Z",
> "level": "ERROR",
> "thread": "elastic-54",
> "logger": "org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor",
> "message": "MailProcessor 'transport' could not be found. Processing 7d01c8f0-c82b-11eb-aa8a-9fabe7587cf3 to 'error' instead",
> "context": "default"
> },
> "k8s:pod_name": "james-jmap-764cc444bd-mjv79",
> "k8s:namespace_name": "tenant-xx",
> "k8s:pod_id": "424e3114-8611-4ba0-8cf1-752de8fc9bba",
> "k8s:annotations": {
> "cni_projectcalico_org/podIP": "10.2.0.169/32",
> "kubectl_kubernetes_io/restartedAt": "2021-04-20T16:18:12+07:00"
> },
> "k8s:host": "node-a991ce2a-d56c-4728-9971-97abf73e0567",
> "k8s:container_name": "james-jmap",
> "k8s:docker_id": "50140c8de5b57fde58878fd30204c7764b0eb7d96181101cdb755a65459e65e9",
> "k8s:container_hash": "chibenwa/openpaas-james-distributed-es6-backport@sha256:ef0325451bfe9cd862e1abccf358b683f7449e7c79ee8aa5f9a12ce49c1960f2",
> "k8s:container_image": "chibenwa/openpaas-james-distributed-es6-backport:unboundid2",
> "k8s:app": "james",
> "k8s:instance": "james-jmap",
> "k8s:pod-template-hash": "764cc444bd"
> },
> "fields": {
> "k8s:annotations.kubectl_kubernetes_io/restartedAt": [
> "2021-04-20T09:18:12.000Z"
> ],
> "log_processed.timestamp": [
> "2021-06-08T07:31:07.560Z"
> ],
> "@timestamp": [
> "2021-06-08T07:31:07.562Z"
> ],
> "time": [
> "2021-06-08T07:31:07.562Z"
> ]
> }
> }
> {code}
> Clearly some processing was attempted before the startup finished...
> I expect mail to be processed only when the mailetcontainer is ready for it...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org