Я могу запустить / выключить сервер Tomcat, используя мой терминал, но в NetBeans он остается на starting
в течение нескольких минут, после чего я получаю ошибку server failed to start
.
Вещи, которые я пробовал:
- настроить
server.xml
<Connector />
- снять флажок «Использовать настройки IDE-прокси» со вкладки платформа в настройках сервера
- снять или добавьте кавычки к «JAVA_OPTS» в
catalina.bat
файле - добавьте различные роли к
tomcat-users.xml
- попробуйте все здесь Не удалось запустить Tomcat с Netbeans
Любая помощь будет с благодарностью.
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 2020 19:32:12 UTC
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 9.0.31.0
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Mac OS X
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.15.3
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86_64
15-Feb-2020 21:12:39.866 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre
15-Feb-2020 21:12:39.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_191-b12
15-Feb-2020 21:12:39.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
15-Feb-2020 21:12:39.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /Users/Aereli/Apache
15-Feb-2020 21:12:39.867 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /Library/Tomcat
15-Feb-2020 21:12:39.871 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/Users/Aereli/Apache/conf/logging.properties
15-Feb-2020 21:12:39.871 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
15-Feb-2020 21:12:39.871 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/Users/Aereli/Apache
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/Library/Tomcat
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/Users/Aereli/Apache/temp
15-Feb-2020 21:12:39.872 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/Aereli/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
15-Feb-2020 21:12:40.310 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8090"]
15-Feb-2020 21:12:40.396 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [789] milliseconds
15-Feb-2020 21:12:40.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
15-Feb-2020 21:12:40.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.31]
15-Feb-2020 21:12:40.509 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/Users/Aereli/Apache/conf/Catalina/localhost/manager.xml]
15-Feb-2020 21:12:40.866 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/Users/Aereli/Apache/conf/Catalina/localhost/manager.xml] has finished in [356] ms
15-Feb-2020 21:12:40.866 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [/Users/Aereli/Apache/conf/Catalina/localhost/ROOT.xml]
15-Feb-2020 21:12:40.867 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [] in deployment descriptor [/Users/Aereli/Apache/conf/Catalina/localhost/ROOT.xml] has been ignored
15-Feb-2020 21:12:40.903 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of deployment descriptor [/Users/Aereli/Apache/conf/Catalina/localhost/ROOT.xml] has finished in [37] ms
15-Feb-2020 21:12:40.921 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8090"]
15-Feb-2020 21:12:40.958 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [561] milliseconds