Support Forums > Other

ODF Error ARS4703E Unable to run command java.exe Error number 17

(1/2) > >>

Joe Wolken:
I am working on a functioning Windows v.10.5 server and trying to distribute my first ODF email.  The OnDemand Monitor is showing Processed Report Bundles status of Error with message num = ARS4703E.

If I look at the OnDemand System Log folder I see the same error as msg num = 446 (ODF Distribution processing failed.  The detailed message says:
ARS4703E Unable to run command >C:\PROGRA~1\IBM\OnDemand\V10.5\jre\bin\java.exe< The error number is 17

I confirmed that the java.exe program exists in this path.  I can see the temp folders being created in the ARSTMP folder.  Each folder contains the object file and the XML with the distribution info.  So it looks like ODF is working except for being able to invoke the java.exe??

Am I missing some setup needed to run the Java.exe from OnDemand?

Thanks,

Joe
Joe

Joe Wolken:
More details from the Trace log:

I turned on the ODF program tracing and reran the ODF process to try to email send an OnDemand distribution using the SMTP Server:

This information was added to the arsodf.xml file:
<SMTPServer>smtp.office365.com</SMTPServer>
<SSL>false</SSL>

What I found in the Trace log file was that when I set <SSL>false</SSL> I get the following error:

<message>451 5.7.3 STARTTLS is required to send mail [PH0PR07CA0058.namprd07.prod.outlook.com 2023-11-01T15:45:01.489Z 08DBD9EA97EE27A0]

   com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2373)
   com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1808)
   com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1285)
   javax.mail.Transport.send0(Transport.java:231)
   javax.mail.Transport.send(Transport.java:100)
   ODFProcessDist.sendMail(ODFProcessDist.java:910)
   ODFProcessDist.process(ODFProcessDist.java:242)
   ODFProcessDist.main(ODFProcessDist.java:1203)</message>

When I tried setting <SSL>true</SSL> I get a different error:

<message>Could not connect to SMTP host: smtp.office365.com, port: 25Caused by: Unrecognized SSL message, plaintext connection?
   com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2211)
   com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)
   javax.mail.Service.connect(Service.java:342)
   javax.mail.Service.connect(Service.java:222)
   javax.mail.Service.connect(Service.java:171)
   javax.mail.Transport.send0(Transport.java:230)
   javax.mail.Transport.send(Transport.java:100)
   ODFProcessDist.sendMail(ODFProcessDist.java:910)
   ODFProcessDist.process(ODFProcessDist.java:242)
   ODFProcessDist.main(ODFProcessDist.java:1203)</message>

It appears that I need to be sharing this information the Email Server admin.  Does a change need to be made on the Email Server?  Or is a configuration change needed within ODF?  What should I be asking from the Email Server admin?

Thanks,
Joe

Justin Derrick:
Feels like a bug in ODF -- it's not establishing an SSL connection, even though it's configured for one.  On a UNIX system, I'd be running tcpdump to watch the conversation between the servers happening at the packet level, and try and figure out where it's going wrong -- but I don't know if this is possible on the i/Series.

-JD.

Joe Wolken:
Justin,
Thanks for your thoughts. I normally work with OnDemand iSeries, but this is on an OnDemand Windows implementation.

I will install the most current v.10.5.0.7 server fix pack on the server and try again. I will update this post with the results.

Joe

rjrussel:
Hey Joe,

The ODFProcessDist code provided is just a sample. What you could do is extract the code portion used to generate an email and create a small standalone app. Update it accordingly so that you can successfully send an email using office365 and then update the ODFProcessDist code accordingly. I know there have been changes to smtp.office365.com as it relates to securing access to outbound SMTP. 

Let me know how it goes.

Navigation

[0] Message Index

[#] Next page

Go to full version