Hi Brandon,
Check the .apa package validity. Try to manually copy the .apa file to
the node where gateway is installed, start apex using -vvvv option and
run "get-app-package-info <path to .apa>".
Thank you,
Vlad
On 12/12/16 07:20, Feldkamp, Brandon (CONT) wrote:
Hello,
I’m getting the below exception when trying to use the API to upload
an app. Any idea what it means? I’ve gotten this to work previously.
2016-12-12 10:18:59,893 ERROR com.datatorrent.gateway.y: Command
failed and returned this in stderr:
2016-12-12 10:18:59,894 INFO
com.datatorrent.gateway.resources.ws.v2.WSResource: Caught exception
in processing web service: com.datatorrent.gateway.s:
2016-12-12 10:18:59,911 ERROR
com.datatorrent.stram.util.StreamGobbler: Caught exception
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:283)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at com.datatorrent.stram.util.StreamGobbler.run(StreamGobbler.java:62)
Thanks!
Brandon
------------------------------------------------------------------------
The information contained in this e-mail is confidential and/or
proprietary to Capital One and/or its affiliates and may only be used
solely in performance of work or services for Capital One. The
information transmitted herewith is intended only for use by the
individual or entity to which it is addressed. If the reader of this
message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or
other use of, or taking of any action in reliance upon this
information is strictly prohibited. If you have received this
communication in error, please contact the sender and delete the
material from your computer.