현상:
심각 [main] org.apache.catalina.mapper.MapperListener.findDefaultHost 서비스 [StandardService[어쩌고저쩌고]]을(를) 위해, 알 수 없는 기본 호스트 [어쩌고저쩌고]. Tomcat은 호스트 이름을 지정하지 않은 HTTP/1.0 요청들을 처리할 수 없을 것입니다.
원인:
tomcat의 'conf/server.xml' file
<Service name="어쩌고저쩌고">
<Connector port="8040" maxHttpHeaderSize="8192" maxThreads="10"
enableLookups="false" acceptCount="1"
connectionTimeout="10000" disableUploadTimeout="true"
useBodyEncodingForURI="true" URIEncoding="UTF-8" address="0.0.0.0"/>
<Engine name="어쩌고저쩌고" defaultHost="어쩌고저쩌고_host">
<Host name="어쩌고저쩌고_host" appBase="어쩌고저쩌고"
unpackWARs="true" autoDeploy="true">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="innolendinglab_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
</Engine>
</Service>
빨간색 값이 서로 달라서 생기는 문제.
해결방법:
빨간색으로 표시한 값을 서로 맞춰주기.