Results 1 to 3 of 3
  1. #1

    How to run .Jar process with Upstart on CentOS?

    I have CentOS 6.4 (32bit) Apache vps. This server installed upstart process manager. I'm not familiar with upstart to run Java process.

    I have New Relic MySQL plugin, I want to assign it newrelic_mysql_plugin-1. 0.9. jar process. Because its service stop after few minutes. So how do I do it?

    That jar file installed /root/support/newrelic_mysql_plugin-1.0.9 directory and rc.conf located in etc folder. Can someone please tell me exact step to do it?

    Thanks!

  2. #2
    Join Date
    Oct 2013
    Posts
    72
    You need to run it with your JRE (Java Runtime Environment). This is usually as easy as putting "java" before the file if you only have one JRE installed. If it needs a specific JRE you'd need to reference it directly.

    Sorry to be vague but it's not an easy answer to give.

  3. #3
    You can put the command you use to start the java file in your /etc/rc.local

Similar Threads

  1. Setting a startup process - CentOS
    By csparks in forum Hosting Security and Technology
    Replies: 4
    Last Post: 05-20-2009, 12:35 AM
  2. How to see current process on CentOS
    By nicolass in forum Hosting Security and Technology
    Replies: 6
    Last Post: 09-18-2007, 01:12 AM
  3. ***.jar - how i run it ?
    By LobbyHost in forum Dedicated Server
    Replies: 8
    Last Post: 11-05-2004, 06:11 AM
  4. Run .jar program.
    By tanfwc in forum Hosting Security and Technology
    Replies: 4
    Last Post: 10-11-2004, 11:02 AM
  5. how to on linux bash from root run process as diffrent user?
    By nand in forum Hosting Security and Technology
    Replies: 2
    Last Post: 09-05-2004, 11:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •