You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2009/02/18 16:32:59 UTC

[jira] Created: (SMXCOMP-456) ServiceMix-Mail is unable to find specific providers for protocols like imaps

ServiceMix-Mail is unable to find specific providers for protocols like imaps
-----------------------------------------------------------------------------

                 Key: SMXCOMP-456
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-456
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-mail
    Affects Versions: servicemix-mail-2008.01
         Environment: ServiceMix 4

            Reporter: Lars Heinemann
            Priority: Critical


{noformat}
16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
        at javax.mail.Session.getProvider(Session.java:241)
        at javax.mail.Session.getStore(Session.java:282)
        at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
        at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
{noformat}

Installing the bundle :

{noformat}
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
<version>1.6_2-SNAPSHOT</version>
{noformat}

has also no effects.

The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.


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


[jira] Moved: (SMX4-224) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann moved SMXCOMP-456 to SMX4-224:
---------------------------------------------

          Component/s:     (was: servicemix-mail)
    Affects Version/s:     (was: servicemix-mail-2008.01)
                       4.0-m2
                       4.0-m1
                  Key: SMX4-224  (was: SMXCOMP-456)
              Project: ServiceMix 4  (was: ServiceMix Components)

> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMX4-224
>                 URL: https://issues.apache.org/activemq/browse/SMX4-224
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m1, 4.0-m2
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Resolved: (SMXCOMP-456) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann resolved SMXCOMP-456.
------------------------------------

    Resolution: Fixed

Fixed the geronimo-mail-provider bundle.

Now imap, imaps and smtps should be working again.


> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMXCOMP-456
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-456
>             Project: ServiceMix Components
>          Issue Type: Bug
>    Affects Versions: 4.0-m1, 4.0-m2
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Updated: (SMX4-224) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMX4-224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann updated SMX4-224:
--------------------------------

    Fix Version/s: 4.0-m2

> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMX4-224
>                 URL: https://issues.apache.org/activemq/browse/SMX4-224
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m1, 4.0-m2
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>             Fix For: 4.0-m2
>
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Commented: (SMXCOMP-456) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49757#action_49757 ] 

Lars Heinemann commented on SMXCOMP-456:
----------------------------------------

This was a problem with the geronimo-mail-provider bundle. It was simply not containing the needed information
for getting IMAP and IMAPS to work. I completed the missing files but this bundle really needs some rework.
I am not sure why we need to wrap it like it is done now. Usually we should just shade the needed geronimo mail bundles.

Also we need to take care, that the servicemix-mail feature depends on those bundles otherwise the component wouldn't work.



> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMXCOMP-456
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-456
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: servicemix-mail-2008.01
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Commented: (SMX4-224) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49806#action_49806 ] 

Freeman Fang commented on SMX4-224:
-----------------------------------

Only shade the needed geronimo mail bundle isn't enough, we need some meta file to 
1. work with OsgiLocator used in javamail-api-1.4 bundle to load protocol provider classes 
2. work with OsgiLocator used in activation-api-1.1 bundle to load DatatypeHandler classes
in osgi evn
that's why we need wrap it like it's done now.

Already explain on irc, but still put here to track this issue

> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMX4-224
>                 URL: https://issues.apache.org/activemq/browse/SMX4-224
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m1, 4.0-m2
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>             Fix For: 4.0-m2
>
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Commented: (SMX4-224) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMX4-224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49810#action_49810 ] 

Lars Heinemann commented on SMX4-224:
-------------------------------------

Freeman,

though it finds now the needed protocol providers, the datatype handlers are still not working.
I tested a lot yesterday but wasn't able to find a solution here.

Lars


> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMX4-224
>                 URL: https://issues.apache.org/activemq/browse/SMX4-224
>             Project: ServiceMix 4
>          Issue Type: Bug
>    Affects Versions: 4.0-m1, 4.0-m2
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>             Fix For: 4.0-m2
>
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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


[jira] Assigned: (SMXCOMP-456) ServiceMix-Mail is unable to find specific providers for protocols like imaps

Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Heinemann reassigned SMXCOMP-456:
--------------------------------------

    Assignee: Lars Heinemann

> ServiceMix-Mail is unable to find specific providers for protocols like imaps
> -----------------------------------------------------------------------------
>
>                 Key: SMXCOMP-456
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-456
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-mail
>    Affects Versions: servicemix-mail-2008.01
>         Environment: ServiceMix 4
>            Reporter: Lars Heinemann
>            Assignee: Lars Heinemann
>            Priority: Critical
>
> {noformat}
> 16:19:17,606 | ERROR | ix-mail-thread-3 | MailComponent                    | common.endpoints.PollingEndpoint  222 | Caught exception while polling: javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
> javax.mail.NoSuchProviderException: Unable to locate provider for protocol: imaps
>         at javax.mail.Session.getProvider(Session.java:241)
>         at javax.mail.Session.getStore(Session.java:282)
>         at org.apache.servicemix.mail.MailPollerEndpoint.poll(MailPollerEndpoint.java:191)
>         at org.apache.servicemix.common.endpoints.PollingEndpoint$PollSchedulerTask$1.run(PollingEndpoint.java:202)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)
> {noformat}
> Installing the bundle :
> {noformat}
> <groupId>org.apache.servicemix.bundles</groupId>
> <artifactId>org.apache.servicemix.bundles.geronimo-javamail_1.4_provider</a$
> <version>1.6_2-SNAPSHOT</version>
> {noformat}
> has also no effects.
> The needed bundle(s) should be added to the "servicemix-mail" feature to avoid such errors in future.

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