Skip to main content

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey hey! I did some testing on my end and confirmed that since the modern implementation of Tomcat is per-user and not server-wide, that option should be removed from the API call. Our team will get that API documentation page updated soon. Thanks for pointing this out!
    0
  • 000
    Hey hey! I did some testing on my end and confirmed that since the modern implementation of Tomcat is per-user and not server-wide, that option should be removed from the API call. Our team will get that API documentation page updated soon. Thanks for pointing this out!

    oh master but: the REAL IMPROV is: add option to restart tomcat,not remove from documentation. :rolleyes:
    0
  • cPRex Jurassic Moderator
    Tomcat no longer runs as a server daemon, so there is no way to globally restart the service, which means the documentation is no longer relevant.
    0
  • 000
    Tomcat no longer runs as a server daemon, so there is no way to globally restart the service, which means the documentation is no longer relevant.

    then how we can run su - USERCP -s /bin/bash -c 'ubic restart ea-tomcat85'
    from PHP ??
    0
  • cPRex Jurassic Moderator
    A server daemon is a process that runs in the background, and usually can be restarted by calling the script in the /etc/init.d directory. Running the ubic command doesn't invoke a daemon at all - it's a different type of process.
    0
  • 000
    thanks master, some option to do that using PHP ? (in this case we can create a CONSOLE to restart TomCat)
    0
  • cPRex Jurassic Moderator
    I'm not aware of a good way to do that, unless you somehow made your PHP program call a bash script.
    0
  • 000
    your PHP program call a bash script

    is possible?, exist that option?, is possible script.php execute/run open a bash script in servers with cPanel ?
    0
  • cPRex Jurassic Moderator
    @000 - I am not a PHP developer so I'm not certain what the best way to handle that would be.
    0

Please sign in to leave a comment.