[ 
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.

Reply via email to