o servidor do tomcat não está iniciando

0

meu servidor tomcat no meu mac, o terminal está mostrando o tomat iniciado, mas quando é executado o host local no navegador ele diz webpage não encontrado, mas quando tento desligar o tomcat ele está jogando seguindo erro Quando eu inicio o tomcat recebo a mensagem: \ n

$ ./startup.sh 
Using CATALINA_BASE: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4 
Using CATALINA_HOME: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4 
Using CATALINA_TMPDIR: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/temp 
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home 
Using CLASSPATH: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/bin/bootstrap.jar:/Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/bin/tomcat-juli.jar
Tomcat started.

quando eu desligar o tomcat eu estou recebendo isso ...

$ ./shutdown.sh 
Using CATALINA_BASE: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4 
Using CATALINA_HOME: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4 
Using CATALINA_TMPDIR: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/temp 
Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_77.jdk/Contents/Home 
Using CLASSPATH: /Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/bin/bootstrap.jar:/Users/prabu-pt1927/Downloads/apache-tomcat-9.0.4/bin/tomcat-juli.jar
Feb 06, 2018 12:22:51 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Could not contact [localhost:[8005]]. Tomcat may not be running. 
Feb 06, 2018 12:22:51 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused
  at java.net.PlainSocketImpl.socketConnect(Native Method)     
  at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
  at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
  at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
  at java.net.Socket.connect(Socket.java:589)  
  at java.net.Socket.connect(Socket.java:538)  
  at java.net.Socket.<init>(Socket.java:434)   
  at java.net.Socket.<init>(Socket.java:211)   
  at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:492)    
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)   
  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)''
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:498)     
  at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:406)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)

quando eu executo o mesmo servidor com java - 9.0.4, ele funciona sem nenhum problema, mas quando eu uso java - 1.8. isso gera esse erro.

    
por Prabu M 21.02.2018 / 11:43

0 respostas

Tags