Hexagon Geospatial
MENU

ERDAS APOLLO & ECW/JP2

Wondering how others have configured their ERDAS APOLLO server or what data they are crawling? The ERDAS APOLLO Discussion board is a place to find information, share ideas and more. Join the community, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 30
Registered: ‎02-06-2018
Accepted Solution

Unable to send mail in clip-zip-ship

[ Edited ]

Dear Team,

 

As iam newbie to erdas apollo, iam getting an error while using clip-zip-ship to send mail to the created user in data manager.

 

i have referered multiple refrences in the community but still no luck,after providng email clicking on submit button sucessful message is popping on portal but the following error is showing in log file.

 

 

2018-08-03 10:09:53,011 INFO (quartzSchedulerFactory_Worker-2)[com.erdas.apollo.job.AbstractStatefulJob] started Job[name='provision-291554' group='ERDAS_APOLLO_RUNONCE'] context={emailAddress=mohd.imtiyaz@ceinsys.com, lastRunDate=Fri Aug 03 10:09:53 IST 2018, securityContext=<principal name="ceinsys">
<role>esp_administrator</role>
<role>esp_data_manager</role>
<role>esp_consumer</role>
</principal>, requests=[com.erdas.apollo.api.provisioning.CZSRequest@4d3adf0a], type=Provisioning}

 


2018-08-03 10:09:53,642 ERROR (quartzSchedulerFactory_Worker-2)[org.jbpm.graph.def.GraphElement] action threw exception: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1349)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1191)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
at com.lggi.esp.server.services.provision.SendEmailAction.postMail(SendEmailAction.java:284)
at com.lggi.esp.server.services.provision.SendEmailAction.execute(SendEmailAction.java:74)
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
at org.jbpm.graph.def.Node.execute(Node.java:339)
at org.jbpm.graph.def.Node.enter(Node.java:319)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271)
at com.lggi.esp.server.services.provision.WorkflowJobRunnable.doExecute(WorkflowJobRunnable.java:76)
at com.erdas.apollo.job.AbstractStatefulJob.execute(AbstractStatefulJob.java:95)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
2018-08-03 10:09:53,643 ERROR (quartzSchedulerFactory_Worker-2)[com.erdas.apollo.job.TaskContext] job execution failed
context: Job[name='provision-291554' group='ERDAS_APOLLO_RUNONCE']
org.jbpm.graph.def.DelegationException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:387)
at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:378)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:281)
at org.jbpm.graph.def.Node.execute(Node.java:339)
at org.jbpm.graph.def.Node.enter(Node.java:319)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:394)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
at org.jbpm.graph.exe.Token.signal(Token.java:195)
at org.jbpm.graph.exe.Token.signal(Token.java:140)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271)
at com.lggi.esp.server.services.provision.WorkflowJobRunnable.doExecute(WorkflowJobRunnable.java:76)
at com.erdas.apollo.job.AbstractStatefulJob.execute(AbstractStatefulJob.java:95)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1349)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1191)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
at javax.mail.Service.connect(Service.java:233)
at javax.mail.Service.connect(Service.java:134)
at javax.mail.Service.connect(Service.java:86)
at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
at com.lggi.esp.server.services.provision.SendEmailAction.postMail(SendEmailAction.java:284)
at com.lggi.esp.server.services.provision.SendEmailAction.execute(SendEmailAction.java:74)
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264)
... 12 more
2018-08-03 10:09:53,645 INFO (quartzSchedulerFactory_Worker-2)[com.erdas.apollo.job.AbstractStatefulJob] completed[0h 0m 0.634s]: Job[name='provision-291554' group='ERDAS_APOLLO_RUNONCE'] statistics={}

 

Attached CZP properties in data manager, please guide me where iam going wrong.

 

Waiting for your reply,

 

Thanks

 

Staff
Posts: 134
Registered: ‎06-01-2016

Re: Unable to send mail in clip-zip-ship

[ Edited ]

You may need to Enable or Disable "Mail SMTP SSL Enabled" in the Data manager (depending on what your Mail server is expecting)

But this problem could also be caused by your company Proxy or firewall settings.

 

 

I have not used GMail (I know you are not using GMail) for Apollo but I think you may need to configure your mail account to allow less secure Apps https://www.google.com/settings/security/lesssecureapps

If someone has GMail working without having to allow less secure apps. Please comment below :-) 

 

 

Here is another option that may work for you:

If I am setting Apollo up for testing, I sometimes find it easier to set up a local SMTP server on the same server I am installing Apollo on.

 

Contributor
Posts: 30
Registered: ‎02-06-2018

Re: Unable to send mail in clip-zip-ship

phudson,

 

Thanks for your reply, it worked  "I have not used GMail (I know you are not using GMail) for Apollo but I think you may need to configure your mail account to allow less secure Apps https://www.google.com/settings/security/lesssecureapps"

Do you need immediate support?
If you encounter a critical issue and need immediate assistance please submit a Service Request through our Support Portal.