티스토리 뷰
Eclipse 와 Tomcat 연동시 아래와 같은 메시지가 나오는 경우가 있다.
2012. 11. 6 오전 9:31:46 org.apache.catalina.session.StandardManager stopInternal
심각: Exception unloading sessions to persistent storage
java.io.FileNotFoundException: D:\study\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\_\SESSIONS.ser (지정된 경로를 찾을 수 없습니다)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:386)
at org.apache.catalina.session.StandardManager.unload(StandardManager.java:353)
at org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:518)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5474)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
이러한 경우 Tomcat 을 정지 시키고, workspace 디렉토리 아래 SESSIONS.ser 파일을 찾아 삭제 한다. 그리고 Tomcat 의 server.xml 의 <context> </context> 태그 사이에 다음과 같은 옵션을 넣어 준다.
<Context docBase="web-test-bed" path="/" reloadable="true" source="org.eclipse.jst.jee.server:web-test-bed">
<Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
</Context>
- Total
- Today
- Yesterday
- Android
- Review
- Compile
- Security
- HTTP
- 엘리스센터
- development
- devel
- Mobile
- TIP
- place
- 맛집
- Spring
- springboot
- Flutter
- web
- ssh
- dart
- Linux
- MySQL
- kotlin
- JavaScript
- food
- json parse
- Java
- SSL
- samba
- devtools
- Fun
- gpkiapi
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |