java - Can't startup Tomcat -


i'm trying setup tomcat server. got following setting:

tomcat 9 installation inside: /opt/apache-tomcat-9.0.0.m1 webappliction located at: /srv/appsiting-dev/

structure of webapplication:

drwxrwsr-x 2 root appsiting 4096 jan 15 20:08 bin drwxrws--- 2 root appsiting 4096 jan 16 18:52 doc drwxrwsr-x 2 root www-data  4096 jan 16 19:48 etc drwxr-xr-x 2 root root      4096 jan 15 19:56 log drwxrwsr-x 2 root appsiting 4096 jan 15 19:56 php-lib drwxrwsr-x 2 root appsiting 4096 jan 16 02:38 public_html drwxrwxrwt 2 root root      4096 jan 15 19:57 tmp drwxrwsr-x 7 root root      4096 jan 16 00:45 tomcat drwxrwsr-x 3 root appsiting 4096 jan 15 21:30 var drwxrwsr-x 2 root appsiting 4096 jan 15 19:57 zend-app 

inside tomcat directory there following:

drwxrwsr-x 3 appsiting appsiting 4096 jan 16 20:25 conf drwxrws--- 2 appsiting appsiting 4096 jan 16 20:07 logs drwxrwsr-x 2 appsiting appsiting 4096 jan 16 20:20 temp -rwxr-xr-x 1 root      root      3015 jan 16 00:45 tomcat drwxrwsr-x 7 appsiting appsiting 4096 jan 15 23:32 webapps drwxrwsr-x 2 appsiting appsiting 4096 jan 15 23:32 work 

tomcatis start-up script. got following inside of tomcat.conf, located inside of conf

username="appsiting" portbase="40000"  java_opts="$java_opts -xmx1024m -xx:maxpermsize=256m" java_opts="$java_opts -dcom.sun.management.jmxremote" java_opts="$java_opts -dcom.sun.management.jmxremote.port=$(($portbase+2))" java_opts="$java_opts -dcom.sun.management.jmxremote.authenticate=false" java_opts="$java_opts -dcom.sun.management.jmxremote.ssl=false" java_opts="$java_opts -xx:+cmsclassunloadingenabled" #java_opts="$java_opts -xx:+cmspermgensweepingenabled" #java_opts="$java_opts -verbose:gc -xx:+printclasshistogram" java_opts="$java_opts -server" java_opts="$java_opts -djava.awt.headless=true" export java_opts  export java_home="/usr" export catalina_home="/opt/apache-tomcat-9.0.0.m1" export catalina_base="/srv/appsiting-dev/tomcat" 

so when startup server tomcat.err , catalina.out. , though tomcat.errtells me tomcat has started, catalina.out doesn't have "server starup in xx ms" inside of it.

tomcat.err

using catalina_base:   /srv/appsiting-dev/tomcat using catalina_home:   /opt/apache-tomcat-9.0.0.m1 using catalina_tmpdir: /srv/appsiting-dev/tomcat/temp using jre_home:        /usr using classpath:       /opt/apache-tomcat-    9.0.0.m1/bin/bootstrap.jar:/opt/apache-tomcat-9.0.0.m1/bin/tomcat-juli.jar using catalina_pid:    /srv/appsiting-dev/tomcat/temp/tomcat.pid tomcat started. 

catalina.out empty. here start script well: https://www.refheap.com/113725

when running i'm getting

sudo ./tomcat start starting tomcat (appsiting-dev) ............................... failed. 

does know issue here?

thanks in advance

local host port using in other service or process.find , kill(stop) it.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -