Jump to content
Server Maintenance This Week. ×

execute java -jar on the server


This topic is 6520 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

I am wondering whether there is a possibility to execute a program on the server side using "Send Event" script step.

I was able to execute on the client computer, but deploying the executable to the server would be more economica.

The current script line looks like:

(after "Send Event["aevt"; "odoc";...)

"cmd /k" & ¶ &

"java -jar c:fm8_update_MySQl.jar " & test::text1

I would expect that some network mapping should be done on all clients (to point to a shared directory on the server). Is this feasible or are there better ideas?

Thank you, Gavril

Link to comment
Share on other sites

The execution will always happen on the client, but the file itself can certainly be on a share somewhere. You don't need network mapping if you use the UNC syntax to the jar:

serverNameshareNamefm8_update_MySQl.jar

Make sure all users have execute rights on that share.

Link to comment
Share on other sites

This topic is 6520 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.