k2v-academy / K2View-Academy

Other
0 stars 0 forks source link

Exec Actor #1091

Closed VUtdLxcYoiEWuDsiwNQ68YvGIzoAJ17leFuyK2H closed 5 months ago

VUtdLxcYoiEWuDsiwNQ68YvGIzoAJ17leFuyK2H commented 5 months ago

Hi, I want to use the Exec Actor in order to run a bash script. I provided this command: ./fabric/scripts/initFinderTables.sh but I'm getting the following error output: ERROR: transport error 202: bind failed: Address already in use ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:744]

Am I providing the command wrong? or it's something else. please advise.

Thanks, Mariana

tZajFGR0CidT8AVERBHw8puD36HY6oWViykmIIb commented 5 months ago

It seems that the error is not related to the actor, it is coming from the command: ERROR: transport error 202: bind failed: Address already in use When you run the command manually, without the actor - does it work?

VUtdLxcYoiEWuDsiwNQ68YvGIzoAJ17leFuyK2H commented 5 months ago

Yes I'm able to run the command from the terminal and it works

F78aPg0zjWnRKWkYrBd6lShvmAYl8doniMtEnFN commented 5 months ago

Please see https://chatgpt.com/share/99c66ed9-619e-46ce-9a57-0448ff39ac18 It might be that it is conflicting with an already open port. Please check the JVM options used by the tool, at least to ensure that no remote debugging is enabled. I hope it helps.

VUtdLxcYoiEWuDsiwNQ68YvGIzoAJ17leFuyK2H commented 5 months ago

Hi, I also tried this after consulting with Devops/Nataly. got the same error

Exec
tZajFGR0CidT8AVERBHw8puD36HY6oWViykmIIb commented 5 months ago

As discussed in the conf call, please open a freshdesk ticket, attach all the data there and Sergey will continue his investigation.

tZajFGR0CidT8AVERBHw8puD36HY6oWViykmIIb commented 5 months ago

Regarding your other question about how to run "echo $FABRIC_HOME" command from the Exec actor: Here it is: image -------------------------------------------------- Or like this ----------------------------------------------------- image