server.xml에 아래를 추가해 준다.
<Service name=”Catalina_1″> 추가
<Service name=”Catalina”>
<Connector port=”8080″ maxHttpHeaderSize=”8192″
maxThreads=”150″ minSpareThreads=”25″ maxSpareThreads=”75″
enableLookups=”false” redirectPort=”8443″ acceptCount=”100″
connectionTimeout=”20000″ disableUploadTimeout=”true” />
<Connector port=”8009″
enableLookups=”false” redirectPort=”8443″ protocol=”AJP/1.3″ />
<Engine name=”Catalina” defaultHost=”localhost”>
<Realm className=”org.apache.catalina.realm.UserDatabaseRealm” resourceName=”UserDatabase”/>
<Host name=”localhost” appBase=”D:/java/workspace_skt/netjapan_saga_web/WebContent”
unpackWARs=”true” autoDeploy=”true”
xmlValidation=”false” xmlNamespaceAware=”false”>
<Context docBase=”D:/java/workspace_skt/netjapan_saga_web/WebContent” path=”" reloadable=”true” />
</Host>
</Engine>
</Service>
<Service name=”Catalina_1″>
<Connector port=”9090″ maxHttpHeaderSize=”9192″
maxThreads=”150″ minSpareThreads=”25″ maxSpareThreads=”75″
enableLookups=”false” redirectPort=”9443″ acceptCount=”100″
connectionTimeout=”20000″ disableUploadTimeout=”true” />
<Connector port=”9009″
enableLookups=”false” redirectPort=”9443″ protocol=”AJP/1.3″ />
<Engine name=”Catalina_1″ defaultHost=”localhost”>
<Realm className=”org.apache.catalina.realm.UserDatabaseRealm” resourceName=”UserDatabase”/>
<Host name=”localhost” appBase=”D:/java/workspace_skt/netjapan_saga_admin/WebContent”
unpackWARs=”true” autoDeploy=”true”
xmlValidation=”false” xmlNamespaceAware=”false”>
<Context docBase=”D:/java/workspace_skt/netjapan_saga_admin/WebContent” path=”" reloadable=”true” />
</Host>
</Engine>
</Service>
'프로그래밍 > JAVA, Servlet, JSP' 카테고리의 다른 글
java file 하위 디렉토리, 파일 모두삭제 (0) | 2010.12.23 |
---|---|
java map 전체출력(Iterator 사용) (1) | 2010.12.21 |
정규 표현식을 사용하여 html태그삭제 (0) | 2010.01.04 |
플래쉬 파일업로드 테스트 (0) | 2009.11.14 |
Cookie, Session <유용한 소스> (0) | 2009.10.16 |