이클립스가 설치된 디렉토리에 eclipse.ini 파일이 있는데, 아래와 같을 겁니다.

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

중간의 --laucher....256M 부분을 아래와 같이 한줄로 바꿔 보십시오. 256M 앞에는 스페이스를 두시구요.

-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize 256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m   

참고로 eclipse.ini 파일에 대해서는 이클립스 위키의 Eclipse.ini를 참고하세요.

그리고, 비슷한 문제인지 모르겠지만 okjsp에도 올라와 있네요. 같이 보세요.

저작자 표시 비영리 동일 조건 변경 허락
크리에이티브 커먼즈 라이선스
Creative Commons License

WTP에서 Run On Server 마법사 중에서...

Eclipse/WTP 2008/12/31 15:13 posted by yeoupooh
(이미지 출처: http://www.okjsp.pe.kr/seq/65492)

Run As > Run On Server를 실행하면 마지막에 이런 페이지가 나옵니다.
말 그대로 해석하자면, 체크박스를 체크하게 되면, scheduler 웹 모듈에 대해서 context root를 업데이트 하겠다.

정확히 어떤 부분을 업데이트를 한다는 의미일까요? 아래의 링크를 따라가면 약간의 설명이 있긴 합니다.


For now, I've found the following workaround, should you decide it is worth the trouble to have a default webapp:

1. Leaving the context-root setting in the project as is (i.e. don't try to set it to "/"), deploy the project to the Tomcat server.

2. Double-click on the Tomcat server in the Servers view to open the configuration editor.

3. Switch to the Modules page of the editor and select the web module for the project.

4. Click the "Edit..." button, clear the Path field, and click OK.

5. Save the Tomcat configuration and close the editor.

6. Right-click on the project in a navigator or a resource in the web module and select Run As -> Run on Server.

7. Select the server to which the project was previously added and click Next.

8. Click Next again. Uncheck the "Update context root for Web module..." checkbox and click Finish. This will add a setting that prevents the change made in step 4 from being overwritten by the project's context-root setting. The browser should appear with the correct default webapp appropriate URL.

8번의 내용을 해석하면, 체크를 해제하면 4번 과정에서 context root 설정을 한 것이 덮어 써지지 않도록 한답니다.

그럼, 만약 체크를 하면 어떤 내용이 어떻게 덮어 써질지 궁금하네요.



크리에이티브 커먼즈 라이선스
Creative Commons License