<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Execute a java jar file on application server through ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-java-jar-file-on-application-server-through-abap/m-p/12546730#M2006522</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For anyone who has the same problem trying to do similar things. I accidently figured out the reason is the process chromedriver.exe was not killed after terminating program. So the function &lt;STRONG&gt;SXPG_COMMAND_EXECUTE &lt;/STRONG&gt;can not read the output from the terminal. &lt;/P&gt;&lt;P&gt;-&amp;gt; Solution: You can kill the process in Java or though ABAP using SM69.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Cuong Luc&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 11:21:04 GMT</pubDate>
    <dc:creator>cuong_luc</dc:creator>
    <dc:date>2022-03-08T11:21:04Z</dc:date>
    <item>
      <title>Execute a java jar file on application server through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-java-jar-file-on-application-server-through-abap/m-p/12546729#M2006521</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
  &lt;P&gt;I've implemented a program that automatically tests our web applications using &lt;STRONG&gt;selenium&lt;/STRONG&gt;. I put the program as an &lt;STRONG&gt;executable jar file&lt;/STRONG&gt; on our Windows application server and created an ABAP report, so that every one can execute the program separately. I'm using FM &lt;STRONG&gt;'SXPG_COMMAND_EXECUTE&lt;/STRONG&gt;' to run the command '&lt;EM&gt;&lt;STRONG&gt;java -jar ...&lt;/STRONG&gt;&lt;/EM&gt;' on the application server. But the program hung for a few minutes and threw the error &lt;STRONG&gt;x_error, &lt;/STRONG&gt;when I looked at SM21 I got the error (Communication error, CPIC return code 020, SAP return code 223: &lt;STRONG&gt;223,,Network read error&lt;/STRONG&gt;). The program works fine locally and directly on the application server (not through ABAP report).&lt;/P&gt;
  &lt;P&gt;Can anyone tell me why is it and how to fix it?&lt;/P&gt;
  &lt;P&gt;Thank you!!!&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Cuong Luc&lt;/P&gt;</description>
      <pubDate>Sun, 16 Jan 2022 11:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-java-jar-file-on-application-server-through-abap/m-p/12546729#M2006521</guid>
      <dc:creator>cuong_luc</dc:creator>
      <dc:date>2022-01-16T11:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a java jar file on application server through ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-java-jar-file-on-application-server-through-abap/m-p/12546730#M2006522</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For anyone who has the same problem trying to do similar things. I accidently figured out the reason is the process chromedriver.exe was not killed after terminating program. So the function &lt;STRONG&gt;SXPG_COMMAND_EXECUTE &lt;/STRONG&gt;can not read the output from the terminal. &lt;/P&gt;&lt;P&gt;-&amp;gt; Solution: You can kill the process in Java or though ABAP using SM69.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Cuong Luc&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 11:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-a-java-jar-file-on-application-server-through-abap/m-p/12546730#M2006522</guid>
      <dc:creator>cuong_luc</dc:creator>
      <dc:date>2022-03-08T11:21:04Z</dc:date>
    </item>
  </channel>
</rss>

