Tag Info

New answers tagged

0

Hi All i got something its working for me,so please try my procedure First goto service file in init.d /etc/init.d/tomcat8 turn out into a execution file by adding below code at tomcat8 #!/bin/sh Some times Java Home is not properly set at environment so Export the java home and set process id (PID) for tomcat in Catalina.sh file Go to ...


0

Something must got corrupted in the installation of Tomcat. I could not do apt-get remove tomcat8 nor apt-get purge tomcat8. I deleted the conf folder and saved my server.xml file and webapps folders. Then I was able to do a purge of tomcat followed by a fresh install and replacement of server.xml file with mine and I was running again. Still do not know ...


0

#!/bin/bash # # Author : subz # Copyright (c) 2k15 # # Make kill the tomcat process # TOMCAT_HOME=/media/subin/works/Applications/apache-tomcat-7.0.57 SHUTDOWN_WAIT=5 tomcat_pid() { echo `ps aux | grep org.apache.catalina.startup.Bootstrap | grep -v grep | awk '{ print $2 }'` } start() { pid=$(tomcat_pid) if [ -n "$pid" ] then echo "Tomcat is ...


0

Value 127 is returned by /bin/sh when the given command is not found within your PATH system variable and it is not a built-in shell command. In other words, the system doesn't understand your command, because it doesn't know where to find the binary you're trying to call. for more info LINK



Top 50 recent answers are included