반응형

xmpp

 - http://www.xmpp.co.kr/node/1

 - http://yolongyi.tistory.com/31

 - http://myeonguni.tistory.com/820



참조

 - https://community.igniterealtime.org/docs/DOC-1020

 - http://printhelloworld.tistory.com/6

 - http://arnosp.tistory.com/6



Openfire 3.10.2


1.오픈파이어 소스 다운로드

- https://github.com/igniterealtime/Openfire/tree/v3.10.2



2. 오픈파이어 압축 해제

 - 압축 해제.

 - Openfire-3.10.2/build/eclipse/ 경로안에 있는 파일 복사하여 Openfire-3.10.2/ 경로에 붙여넣는다.(2개 파일과 1개 폴더)

   - 각각 파일과 폴더 이름을 변경한다 앞에 .을 붙임

     - mv settings .settings

     - mv project .project

     - mv classpath .classpath



???

mysql 설정?

characterEncoding=UTF8



3. 이클립스에서 Openfire-3.10.2를 import한다.

 - General - Existing Projects into Workspace



4. build path 추가.

 - compile 에러 해결.

   - build path 에 jar 추가.

     - build/lib/merge/jetty-servlets.jar

     - build/lib/merge/spdy-http-server.jar

     - 아래 3개의 파일중 하나 추가

       - src/plugins/mucservice/lib/jersey-bundle-1.18.jar

       - src/plugins/restAPI/lib/jersey-bundle-1.18.jar

       - src/plugins/userservice/lib/jersey-bundle-1.18.jar


 - Ant 빌드.

   - build/build.xml


5. Run

 - 실행파일

   : org.jivesoftware.openfire.starter.ServerStarter.java


 - Arguments 탭에 추가.(VM arguments)

   : -DopenfireHome="${workspace_loc:Openfire-3.10.2}/target/openfire


 - Calsspath 탭에 추가.(User Entries)

   - Advanced - Add Folders 메뉴.

   : src/i18n , src/resource/jar , build/lib/dist를 등록



6. installer - build/installer/openfire.install4j

 



log4j 설정.

 - ~/work/lib/log4j.xml


반응형

+ Recent posts