본문 바로가기
반응형

개발/tomcat10

톰캣 8.5 The AJP Connector is configured with secretRequired="true" but the secret attribute is either null or "". This combination is not valid 에러 에러메시지 org.apache.catalina.LifecycleException: Protocol handler start failed at org.apache.catalina.connector.Connector.startInternal(Connector.java:1101) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:439) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.ca.. 2022. 2. 11.
톰캣 실행시 Error: Could not create the java Virtual Machine 오라클JDK 에서 오픈JDK 로 바꾸고 두번째 에러 톰캣 실행하면 아래 메시지가 나오면서 실행이 안됨 Error: Could not create the java Virtual Machine Error: A fatal exception has occureed. Program will exit 인식할 수 없는 옵션이라는데 오라클JDK 쓸때는 없던문제 검색을 쭉 해보니 원래 이 옵션은 자바8에서는 지원하지 않는다고 한다 전에 쓸땐 왜 문제가 없었는지는 모르겠음 이걸 빼면 스레드를 자동으로 컨트롤 하는 부분에 문제가 생긴다고 하는데 일단 임시로 문제 해결하고 다시 세팅하기로 함 톰캣 Overview 에서 Open launch configuration 클릭 Arguments 에서 아래 스크린샷의 빨간색 부분을 전.. 2022. 2. 8.
톰캣 시작시 The archive which is referenced by the classpath, does not exist 메시지 나오면서 실행 안될때 기존 오라클 JDK 에서 오픈 JDK로 변경했는데 아래 메시지가 나오면서 톰캣 실행이 안됬다 프로젝트 경로나 다른 부분들을 다 바꿔줬는데도 계속 기존 경로를 사용한다고 메시지가 나옴 프로젝트위에 마우스 오른쪽 클릭 -> Run As -> Run Configurations 로 이동 Classpath 란 User Entries 에 보면 계속 에러나던 tools.jar 가 보인다 삭제하고 오픈JDK 설치한 경로의 tools.jar 로 변경해준다 2022. 2. 8.
톰캣 server.xml Path https://base-on.tistory.com/332 Tomcat Path, Context Path, Root Path 톰캣은 기본적으로 server.xml 에서 항목의 webapp 설정을 담당합니다. /TOMCAT_HOME/config/ 안에 있는 server.xml 파일을 열면 //Tomcat_HOME]/webapps 를 기본 어플리케이션 베이스디렉토리 [appBase_pat.. base-on.tistory.com 2021. 12. 26.
728x90