10 Replies Latest reply on Aug 21, 2012 11:27 PM by Leena Jain123

    email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error

    Mrsunilg Level 1

      Hi,

       

      I have configured email start point process. While deploying and invoking the process it is not showing any kind of error. But when i send mail to configured SMTP server i recieves a mail saying

       

      LiveCycle ES has tried to process your request and encountered the following error:

       

      com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context

       

      This response to your original email
      Subject:hadshafds
      Date Sent:Wednesday, May 25, 2011 12:22 PM
      Body:
      Attachments:

       

       

      Why i am getting error. I have tested the pop3 and smtp mail server using send and recieve activity. But when i send some mail to configured server to start a activity it replies with a mail that there is some error.

      Please help me out with this issue.

       

       

      Regards

      Sunil

        • 1. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
          Mrsunilg Level 1

          Please somebody reply something...

          let me know if below issue is not clearly described..

           

           

          Regards

          • 2. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
            Diana Densmore Level 3

            Hi Sunil

            Based on the error, I would say that the LC server doesn't recognize the user who is sending the email to it.

            Can you provide a bit more information?

             

            1) I assume you are starting a process via email? If so what are you sending in to the server... a PDF or XDP data?

             

            2) You mention you are sending in to an SMTP server...I assume you mean a POP3 server? (LiveCycle only supports POP3 for receiving of emails from a user.)

             

            Diana

            • 3. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
              Mrsunilg Level 1

              Dear Diana,

               

              First of all, thanks for providing me help. Please find the asked information below

               

              1. Yes, I am trying to start a process via sending mail. I am not sending any attachment in mail. I am just mentioning subject and body content but not sending any mail.

              If i am able to start the process via email without attachement. Then i will try to send pdf attachments.

               

              2. Yes, i meant pop3 mail server.

               

               

              Regards

              Sunil

              • 4. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                Mrsunilg Level 1

                Dear Diana,

                 

                Could you please tell me any workaround.. please let me kno if i could not explain the issue properly.

                 

                 

                Regards

                Sunil

                • 5. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                  Diana Densmore Level 3

                  Hi Sunil

                  You don't need to send an attachment into the server in order to start the process...just the email will do.

                  The attachment would just have any data you wanted to start the process with but is not required for your test.

                   

                  I cannot reproduce your issue.

                  My guess is that it doesn't know the user who is sending to the server.

                  My suggestion would be to add that user to the Security tab of the service.

                  So in adminui, Service->Applications and Services->Service Management, select your process.

                  On the Security tab, select Add Principal and make sure your user has INVOKE_PERM.

                   

                  Is there any error in the server log?

                   

                  Diana

                  • 6. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                    Mrsunilg Level 1

                    Hi Diana,

                     

                    i tried to add the user and gave invoke access but still having the same issue.

                     

                    Please find the following log error

                     

                    19:24:20,633 ERROR [STDERR]     ... 60 more
                    19:24:20,635 ERROR [EmailResultHandlerImpl] Internal error.
                    19:27:50,472 ERROR [EmailWriterImpl] EmailWriterImpl error : Unknown SMTP host: testSebi
                    19:27:50,474 ERROR [STDERR] javax.mail.MessagingException: Unknown SMTP host: testSebi;
                      nested exception is:
                            java.net.UnknownHostException: testSebi
                    19:27:50,480 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1280)
                    19:27:50,482 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
                    19:27:50,484 ERROR [STDERR]     at javax.mail.Service.connect(Service.java:275)
                    19:27:50,486 ERROR [STDERR]     at javax.mail.Service.connect(Service.java:156)
                    19:27:50,488 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl.send(EmailWriterImpl.java:2 60)
                    19:27:50,490 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl.handleFailure( EmailResultHandlerImp
                    l.java:529)
                    19:27:50,494 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl.handleFailure( EmailResultHandlerImp
                    l.java:425)
                    19:27:50,498 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.scan.EmailScanJobImpl.handleFailure(EmailSc anJobImpl.java:621)
                    19:27:50,500 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.scheduler.scan.impl.AbstractScanJob.invokeJob(Abstract ScanJob.java:142)
                    19:27:50,502 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.scan.EmailScanJobImpl.processInputs(EmailSc anJobImpl.java:165)
                    19:27:50,504 ERROR [STDERR]     at com.adobe.idp.dsc.provider.service.email.impl.scan.EmailScanJobImpl.execute(EmailScanJobI mpl.java:102)
                    19:27:50,506 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor509.invoke(Unknown Source)
                    19:27:50,508 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    19:27:50,510 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    19:27:50,511 ERROR [STDERR]     at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
                    19:27:50,514 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
                    19:27:50,516 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,518 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.jav
                    a:53)
                    19:27:50,522 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,524 ERROR [STDERR]     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java
                    :74)
                    19:27:50,528 ERROR [STDERR]     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBe
                    an.java:357)
                    19:27:50,531 ERROR [STDERR]     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapte
                    rBean.java:227)
                    19:27:50,535 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor332.invoke(Unknown Source)
                    19:27:50,537 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    19:27:50,539 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    19:27:50,541 ERROR [STDERR]     at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
                    19:27:50,543 ERROR [STDERR]     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
                    19:27:50,545 ERROR [STDERR]     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
                    19:27:50,547 ERROR [STDERR]     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)

                    19:27:50,551 ERROR [STDERR]     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
                    19:27:50,553 ERROR [STDERR]     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
                    19:27:50,555 ERROR [STDERR]     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378)
                    19:27:50,557 ERROR [STDERR]     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
                    19:27:50,559 ERROR [STDERR]     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
                    19:27:50,561 ERROR [STDERR]     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
                    19:27:50,563 ERROR [STDERR]     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
                    19:27:50,565 ERROR [STDERR]     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
                    19:27:50,567 ERROR [STDERR]     at org.jboss.ejb.Container.invoke(Container.java:960)
                    19:27:50,569 ERROR [STDERR]     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
                    19:27:50,571 ERROR [STDERR]     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
                    19:27:50,573 ERROR [STDERR]     at $Proxy205.doSupports(Unknown Source)
                    19:27:50,575 ERROR [STDERR]     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
                    19:27:50,577 ERROR [STDERR]     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
                    19:27:50,580 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,582 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:
                    55)
                    19:27:50,586 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,588 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
                    19:27:50,590 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,592 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
                    19:27:50,594 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,596 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
                    19:27:50,598 ERROR [STDERR]     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
                    19:27:50,600 ERROR [STDERR]     at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:121)
                    19:27:50,602 ERROR [STDERR]     at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
                    19:27:50,603 ERROR [STDERR]     at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
                    19:27:50,606 ERROR [STDERR]     at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)
                    19:27:50,608 ERROR [STDERR]     at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
                    19:27:50,610 ERROR [STDERR]     at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
                    19:27:50,612 ERROR [STDERR]     at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:87)
                    19:27:50,614 ERROR [STDERR]     at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
                    19:27:50,616 ERROR [STDERR]     at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
                    19:27:50,618 ERROR [STDERR] Caused by: java.net.UnknownHostException: testSebi
                    19:27:50,620 ERROR [STDERR]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
                    19:27:50,621 ERROR [STDERR]     at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
                    19:27:50,623 ERROR [STDERR]     at java.net.Socket.connect(Socket.java:529)
                    19:27:50,624 ERROR [STDERR]     at java.net.Socket.connect(Socket.java:478)
                    19:27:50,626 ERROR [STDERR]     at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
                    19:27:50,627 ERROR [STDERR]     at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
                    19:27:50,629 ERROR [STDERR]     at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
                    19:27:50,631 ERROR [STDERR]     ... 60 more
                    19:27:50,633 ERROR [EmailResultHandlerImpl] Internal error.

                    • 7. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                      Diana Densmore Level 3

                      Hi Sunil

                      The log indicates that you have no connection to your SMTP server because it doesn't recognize the host name you have provided:

                      Unknown SMTP host: testSebi

                      You could try the IP.

                      Are you using the default SMTP (25) and POP3 (110) ports on your mail server?

                      Are you still getting an email back saying there is no user context?

                       

                      Diana

                      • 8. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                        Mrsunilg Level 1

                        Hi,

                         

                        I am using stmp and inbox host as ip address only.

                        also i am using default port numbers as mentioned below.

                        and Getting the same no user context error.

                         

                         

                        Regards

                        Sunil

                        • 9. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                          zak robe

                          Hi Sunil,

                           

                          I had the same problem and the following fixed it.

                           

                          - Ensure that the user you nominated to invoke the process under General section of Email Start Point has INVOKE_PERM which is assigned on administrator's page process security tab

                          - Make sure that the setting is updated when the application is undeployed - redeployed and also after full server restart.

                           

                          Anyone with better solution is highly appreciated

                           

                          Zak

                          • 10. Re: email start point issue com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error
                            Leena Jain123 Level 1

                            Sunil,

                             

                            Did you get a resolution?Please let me know how.my colleague is facing a similar issue.

                             

                            Thanks and Regards,

                            Leena