7 Replies Latest reply on Feb 5, 2010 1:06 PM by VenuMa

    EmailService not able to receive from Gmail

    HimanshuJindal

      I am trying to use EmailService deployed with Livecycle 8.2 to fetch emails from a gmail account and then do some stuff with the attachments. But when i give the configuration in the workbench and test in the workbench itself, i get an error like 'could not connect to imap.gmail.com'

       

      Has someone tried the EmailService using Gmail, please help

       

       

      Folllowing is ths configuration i am using

       

      Inbox Host: imap.gmail.com

      Inbox port: 993

      Inbox protocol: imap

      ssl enabled checkbox checked

       

      username: my_username@gmail.com

      password: my_password

        • 1. Re: EmailService not able to receive from Gmail
          waqas.rehman Level 1

          Hi,

           

          Try to check the configuration of the EmailService from the administration console (Adminui). You might have to configure the email setting there as well.

           

          Go the following path in the Adminui and configure the SMTP and POP3 settings.

           

          Home > Services > Archive Administration > Service Management > Configure EmailService

           

          Regards,

          Waqas

          • 2. Re: EmailService not able to receive from Gmail
            HimanshuJindal Level 1

            I have set the parameters, but i am getting the same error. Here is a snapshot of the results, i get when i click on test button in the LC workbench

             

            Test Clicked

            Parameters:

              filterSubject:             null

              filterFrom:                null

              folder:                    null

              deleteAfterProcessing:     false

              attachmentMimeFilterList:  null

              useConfigurationOptions:   false

              receiveHost:               imap.gmail.com

              receivePort:               993

              receiveUsername:           gpserver.adb@gmail.com

              receivePassword:           password field hidden

              receiveProtocol:           imap

                Type:                    class java.lang.String

              receiveTransportSecurity:  SSL

              testData:                 

            About to invoke...

             

            java.lang.RuntimeException: Problem connecting with the mail server: imap.gmail.com

            • 3. Re: EmailService not able to receive from Gmail
              waqas.rehman Level 1

              Hi,

               

              Try to check "Use Configuration Options" true and then try to receive the email.

               

              The "Use Configuration Options" uses the configuration options of the "EmailService" service and not the configuration from the adminui. The configuration from the adminui is used by Process Manageement. This Email service is independent.

               

              Are you using any firewalls, if yes check the connectivity from the server to the gmail server using any tool.

               

              Waqas

              • 4. Re: EmailService not able to receive from Gmail
                Jasmin Charbonneau Level 4

                Let me clarify a few things between the email settings from adminui and the email settings from the Email service.

                 

                "This Email service is independent"

                You are correct. The Email service in Workbench is independent from the email settings in adminui. The email service in adminui is used for the different notifications in Process Management.

                 

                The Email service in Workbench is a generic email service to send email.

                 

                "The "Use Configuration Options" uses the configuration options of the "EmailService" service and not the configuration from the adminui"

                This is not true. The Email service is independent from the email settings in adminui  and doesn't have access to its settings.

                 

                You can configure the Email service two different ways. One is when you add the service into your process. That confi way you configure a particular instance of the email service (for that process only).

                 

                The other way is to configure the settings on the component itself (from the component view). That way every time you use the email service you can use the settings defined at the component level by selecting the checkbox.

                 

                Now that being said I had tried to use a Gmail account with the Email service with no luck. I beleive there was a bug in the component. You could follow up with support on this.

                 

                Jasmin

                • 5. Re: EmailService not able to receive from Gmail
                  HimanshuJindal Level 1

                  Yes there was a bug fixed in email comonent. Now gmail is supported in EmailService and it works using POP.

                   

                  But Email endpoint still not works with Gmail....  any information on this?

                   

                  Means if i want to invoke a process with email as an endpoint (with gmail)

                  • 6. Re: EmailService not able to receive from Gmail
                    Jasmin Charbonneau Level 4

                    They might have to provide a similar fix for the email endpoint.

                     

                    Since it's a different service, the fix to the email service wouldn't necessarily fix a problem with the email endpoint.

                     

                    I would make sure there is a case open with support.

                     

                    Jasmin

                    • 7. Re: EmailService not able to receive from Gmail
                      VenuMa

                        Email endpoint is not working with gmail.Adobe LiveCycle version : 8.2.1.3 and WAS 6.1

                      Here is the error message I have been getting in the systemout. Really appreaciate your help.

                       

                      org.omg.CORBA.NO_PERMISSION: Not authorized to perform bind_java_object operation.  vmcid: 0x0  minor code: 0  completed: No
                              at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.performAuthorizationCheck(WsnOptimiz edNamingImplBase.java:4745)
                              at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.bind_java_object(WsnOptimizedNamingI mplBase.java:1267)
                              at com.ibm.WsnOptimizedNaming._NamingContextStub.bind_java_object(_NamingContextStub.java:20 9)
                              at com.ibm.ws.naming.jndicos.CNContextImpl.cosBindJavaObject(CNContextImpl.java:3986)
                              at com.ibm.ws.naming.jndicos.CNContextImpl.doBind(CNContextImpl.java:2277)
                              at com.ibm.ws.naming.jndicos.CNContextImpl.bind(CNContextImpl.java:538)
                              at com.ibm.ws.naming.util.WsnInitCtx.bind(WsnInitCtx.java:210)
                              at javax.naming.InitialContext.bind(InitialContext.java:371)
                              at com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl.getEmailSourceLock(EmailRea derImpl.java:307)
                              at com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl.receive(EmailReaderImpl.jav a:243)
                              at com.adobe.idp.dsc.provider.service.email.impl.scan.EmailScanJobImpl.fetchFilesFromInbox(E mailScanJobImpl.java:298)
                              at com.adobe.idp.dsc.provider.service.email.impl.scan.EmailScanJobImpl.execute(EmailScanJobI mpl.java:94)
                              at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                              at java.lang.reflect.Method.invoke(Method.java:618)
                              at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
                              at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
                              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:342)
                              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
                              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionCMTAdapter_ caf58c4f.doSupports(Unknown Source)
                              at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
                              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:132)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
                              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                              at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
                              at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
                              at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:91)
                              at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 5)
                              at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
                              at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
                              at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:87)
                              at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                              at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.performAuthorizationCheck(WsnOptimiz edNamingImplBase.java:4745)
                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       at com.ibm.ws.naming.cosbase.WsnOptimizedNamingImplBase.bind_java_object(WsnOptimizedNamingI mplBase.java:1267)
                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       at com.ibm.WsnOptimizedNaming._NamingContextStub.bind_java_object(_NamingContextStub.java:20 9)
                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       at com.ibm.ws.naming.jndicos.CNContextImpl.cosBindJavaObject(CNContextImpl.java:3986)
                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       at com.ibm.ws.naming.jndicos.CNContextImpl.doBind(CNContextImpl.java:2277)
                      [2/5/10 9:45:24:900 EST] 00000050 SystemErr     R       ... 37 more
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R javax.naming.NoPermissionException: NO_PERMISSION exception caught [Root exception is org.omg.CORBA.NO_PERMISSION: Not authorized to perform bind_java_object
                      operation.  vmcid: 0x0  minor code: 0  completed: No]
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at com.ibm.ws.naming.jndicos.CNContextImpl.doBind(CNContextImpl.java:2339)
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at com.ibm.ws.naming.jndicos.CNContextImpl.bind(CNContextImpl.java:538)
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at com.ibm.ws.naming.util.WsnInitCtx.bind(WsnInitCtx.java:210)
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at javax.naming.InitialContext.bind(InitialContext.java:371)
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl.getEmailSourceLock(EmailRea derImpl.java:307)
                      [2/5/10 9:45:38:473 EST] 00000051 SystemErr     R       at com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl.receive(EmailReaderImpl.jav a:243