[jira] Created: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
JavaMailContainer - poller disabled if store can't connect on server startup
----------------------------------------------------------------------------

                 Key: OFBIZ-140
                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Scott Gray
            Priority: Minor


Hi All

During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.

I propose testing the stores on startup but logging any errors only and not disabling polling.

Regards
Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-140?page=all ]

Scott Gray updated OFBIZ-140:
-----------------------------

    Attachment: patch.txt

during startup, if the store connect test fails the store is still added to the list of polled stores.

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-140?page=comments#action_12426042 ]
           
Jacques Le Roux commented on OFBIZ-140:
---------------------------------------

Why not adding a routine task trying to connect after startup ?

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-140?page=comments#action_12426043 ]
           
Jacques Le Roux commented on OFBIZ-140:
---------------------------------------

Mmm, perhaps the patch is sufficient, don't know much about JavaMailContainer poller yet.

I vote for

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-140?page=comments#action_12426044 ]
           
Scott Gray commented on OFBIZ-140:
----------------------------------

Thank Jacques, I can't see a problem with the poller trying to connect to a mail store even if it isn't setup correctly (It will mean more error messages but perhaps thats a good thing)

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-140?page=comments#action_12426062 ]
           
BJ Freeman commented on OFBIZ-140:
----------------------------------

I think this has to be looked at more.
I have to do some testing, to see what timming effects this will have if the store is continually trying to connect, and the network is down,  or then configuration data is bad for login.
May have to increase the delay.


> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>            Priority: Minor
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-140?page=all ]

David E. Jones closed OFBIZ-140.
--------------------------------

    Fix Version/s: SVN trunk
       Resolution: Fixed
         Assignee: David E. Jones

Thanks for sending this in Scott. I agree that it's silly to give up on it as long as the server is running just because it couldn't connect on startup. This change is in SVN rev 429595.

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>         Assigned To: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-140) JavaMailContainer - poller disabled if store can't connect on server startup

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-140?page=comments#action_12426503 ]
           
Scott Gray commented on OFBIZ-140:
----------------------------------

Appreciate the quick commit

Many thanks
Scott

> JavaMailContainer - poller disabled if store can't connect on server startup
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-140
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-140
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Scott Gray
>         Assigned To: David E. Jones
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: patch.txt
>
>
> Hi All
> During startup JavaMailContainer tests each of the configured stores and if it can't connect it disables polling for the store.  This is causing problems for me as occasionally the connection to my imap store fails and if it happens during startup I have to restart the server all over again.
> I propose testing the stores on startup but logging any errors only and not disabling polling.
> Regards
> Scott

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira