Tomcat에 clear peference를 이용하여 최대한 reloading시 메모리릭이 나지 않도록 하였다.

http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html
org.apache.catalina.loader. WebappClassLoader.ENABLE_CLEAR_REFERENCES

If true, Tomcat attempts to null out any static or final fields from loaded classes when a web application is stopped as a work around for apparent garbage collection bugs and application coding errors.

There have been some issues reported with log4j when this option is true.

Applications without memory leaks using recent JVMs should operate correctly with this option set to false.

If not specified, the default value of true will be used.



하지만 이 부분은 약간의 Exception 을 일으킬 수 있으니. 참조하세요.
ConcurrentModificationException이 발생될 수 있습니다.^^


Jul 8, 2010 4:28:24 PM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error while removing context [/xxx]
java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
    at java.util.HashMap$EntryIterator.next(HashMap.java:851)
    at java.util.HashMap$EntryIterator.next(HashMap.java:849)
    at java.util.HashMap.putAllForCreate(HashMap.java:452)
    at java.util.HashMap.clone(HashMap.java:686)
    at
org.apache.catalina.loader.WebappClassLoader.clearReferences(WebappClassLoader.java:1633)
    at
org.apache.catalina.loader.WebappClassLoader.stop(WebappClassLoader.java:1536)
    at org.apache.catalina.loader.WebappLoader.stop(WebappLoader.java:707)
    at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4611)
    at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:924)
    at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1115)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1323)
    at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
    at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    at
org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
    at
org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
    at java.lang.Thread.run(Thread.java:636)



'Web service' 카테고리의 다른 글

mod_proxy 이용  (0) 2010.07.30
High Performance Web 관련  (0) 2010.07.30
웹 서버 튜닝 좋은 사례  (0) 2010.07.22
Nexus 설치하기  (0) 2010.07.21
Nosql 정보  (0) 2010.07.21
Posted by '김용환'
,

'Web service' 카테고리의 다른 글

High Performance Web 관련  (0) 2010.07.30
Tomcat Clear peference 사용시 날 수 있는 부작용 (side effect)  (0) 2010.07.30
Nexus 설치하기  (0) 2010.07.21
Nosql 정보  (0) 2010.07.21
Apache httpd 에 sticky bit 줄 때, 해야할 일  (0) 2010.07.19
Posted by '김용환'
,

Nexus 설치하기

Web service 2010. 7. 21. 12:17


설치
1. tomcat 설치
2. nexus 설치 (1.7.0)
   http://nexus.sonatype.org/download-nexus.html
3. 톰캣설치디렉토리/webapps 하위에 war 파일 복사 후 파일명을 nexus.war 로 꼭 변경한다.
4. 웹 확인 , http://localhost:8080/nexus/

설정
1. Server > Security Settings > Anonymous Access 체크 해제하기
2. 어드민 패스워드는 admin/admin1234 이다. 패스워드 수정하기

'Web service' 카테고리의 다른 글

Tomcat Clear peference 사용시 날 수 있는 부작용 (side effect)  (0) 2010.07.30
웹 서버 튜닝 좋은 사례  (0) 2010.07.22
Nosql 정보  (0) 2010.07.21
Apache httpd 에 sticky bit 줄 때, 해야할 일  (0) 2010.07.19
web dav 설명  (0) 2010.07.19
Posted by '김용환'
,

Nosql 정보

Web service 2010. 7. 21. 11:18

1) nosql 안정화 인기도

http://java.dzone.com/articles/nosql-dzone-poll-results?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:%20javalobby/frontpage%20%28Javalobby%20/%20Java%20Zone%29

 


 


 

2) db와의 비교 특징

 http://opensqlcamp.org/Non-Relational_Database_Stores

 

 

 

3) nosql 저장시스템 (위키에 있는 것을 적당히 잘 정리해주셨습니다.)

http://mimul.com/pebble/default/2010/02/26/1267188840000.html

 

블로그 주인장이 http://cattell.net/datastores/Datastores.pdf (Rick 아저씨의 High performance sacalable data stores) 자료를 보고 메모한 내용입니다.

 ------------------------

 

이들 NoSQL 이라는 데이터 저장 시스템의 공통된 특징들은...

  • 데이터 베이스라 부르기를 거부하고
  • Key & Value로 저장되고
  • 분산 환경 지원되고
  • Call level interface 지원(DBMS에 접근하는 표준)
  • 막대한 양의 데이터를 처리할 수 있는 대용량 데이터의 빠른 인덱싱
  • 클러스터나 그리드에서의 구동을 위해 다양한 테이블로 데이터베이스를 나눠야 하는 복잡한 작업과 ‘샤딩(sharding)’ 없이 손쉽고 저렴하게 여러 서버들의 수평적 확장(horizontal scaling)됨
  • 데이터의 스키마와 속성들을 동적 정의

1. Key-value Stores : 해쉬 방식으로 데이터 저장
 - Redis : 트위터에서 사용된 C기반의 데이터베이스
 - Scalaris : Erlang 기반 데이터 베이스
 - Tokyo Tyrant : B-trees & hash, C기반 데이터 베이스, memcached 프로토콜을 지원
 - Voldemort : LinkedIn 채택중, Java 기반 데이터베이스
 - Riak : REST지원, Erlang 기반 데이터 베이스

2. Document Stores
 - SimpleDB : 아마존에서 제공하는 DB
 - CouchDB : Map-Reduce, rest 지원, Apache 소속, Erlang 기반 데이터 베이스
 - MongoDB : 다중 인덱싱가능, Map-Reduce 지원, C++ 기반 DB

3. Extensible Record Stores : 컬럼 지형의 데이터 베이스
 - BigTable : 구글의 구조화된 데이터 관리, C++기반, B-trees
 - HBase : Java 기반 파일 시스템, B-trees, BigTable과 유사한 Hadoop 기반
 - HyperTable : 오픈소스 칼럼을 기반으로 하는 데이터베이스, 지역 검색 엔진인 지벤츠에 적용됨, BigTable과 유사
 - Cassandra : Twitter에서 MySQL + memcached에서 Cassandra 전환중, facebook에서는 검색에서 활용중, 그외 Digg 사용중, apache incubate된 상태임, Java기반
 
4. Relational Databases : RDBMS
 - MySQL Cluster : C++기반의 오픈 소스 관계형 데이터 베이스
 - ScaleDB : C++기반,  MySQL에서 branch됨
 - Drizzle :  C++기반, MySQL의 아류작(@comment  MySQL 개발자가 MySQL 코드를 기반으로 경량 DB를 만들겠다는 목표로 만든 DB)
 - VoltDB : Java 기반, 개발진행중임

 

4) 기타 참조내용

https://www.ibm.com/developerworks/kr/library/j-javadev2-8/index.html

http://cattell.net/datastores/Datastores.pdf

http://www.infoq.com/articles/nosql-in-the-enterprise

http://github.com/igal/ruby_datastores/raw/master/2009-11-14%20Non-relational%20data%20stores%20for%20OpenSQL%20Camp.pdf

'Web service' 카테고리의 다른 글

웹 서버 튜닝 좋은 사례  (0) 2010.07.22
Nexus 설치하기  (0) 2010.07.21
Apache httpd 에 sticky bit 줄 때, 해야할 일  (0) 2010.07.19
web dav 설명  (0) 2010.07.19
Tomcat 7 빌드  (0) 2010.07.16
Posted by '김용환'
,


로그, 설정, 모듈에 대한 디렉토리를

chmod 6755 ${APACHE_HOME}/bin/httpd

chown www.www -R ${APACHE_HOME}/logs
chown www.www -R ${APACHE_HOME}/conf
chown www.www -R ${APACHE_HOME}/modules

'Web service' 카테고리의 다른 글

Nexus 설치하기  (0) 2010.07.21
Nosql 정보  (0) 2010.07.21
web dav 설명  (0) 2010.07.19
Tomcat 7 빌드  (0) 2010.07.16
Http Client 4 이슈  (0) 2010.07.09
Posted by '김용환'
,

web dav 설명

Web service 2010. 7. 19. 11:23

Welcome to WebDAV Resources
http://www.webdav.org/

HTTP Extensions for Web Distributed Authoring and Versioning (WebDAV)
http://www.webdav.org/specs/rfc4918.html

웹기반 파일관리 WebDAV 이해와 설정
http://coffeenix.net/board_print.php?bd_code=134

web dav 간단 설명 및 취약점
http://www.superuser.co.kr/security/webdav_vulnerablity_analysis.pdf

webdav 서버 사용하기
http://appletree.or.kr/forum/viewtopic.php?id=72

아파치설정

<IfModule mod_dav_fs.c>

    DAVLockDB /var/lib/dav/lockdb

</IfModule>

'Web service' 카테고리의 다른 글

Nosql 정보  (0) 2010.07.21
Apache httpd 에 sticky bit 줄 때, 해야할 일  (0) 2010.07.19
Tomcat 7 빌드  (0) 2010.07.16
Http Client 4 이슈  (0) 2010.07.09
Tomcat 7 Released  (0) 2010.07.02
Posted by '김용환'
,

Tomcat 7 빌드

Web service 2010. 7. 16. 15:43

톰캣 7은 ant + eclipse 기반이라 바로 다운받아서 컴파일이 가능하다..

http://apache.mirror.cdnetworks.com/tomcat/tomcat-7/v7.0.0-beta/src/
여기서 소스를 다운받는다.

빌드를 실행시킨다. 깔끔하다. 상황에 따라서, 사용자 디렉토리의 일부 lib와 버젼 문제가 있을 수는 있다.
불필요하다면 해당 jar를 지우고, 컴파일 하면 깔끔히 컴파일이 된다.

Buildfile: D:\platform\Tomcat7\build.xml
build-prepare:
   [delete] Deleting directory D:\platform\Tomcat7\output\build\temp
    [mkdir] Created dir: D:\platform\Tomcat7\output\build\temp
download-compile:
proxyflags:
setproxy:
testexist:
     [echo] Testing  for /usr/share/java/tomcat-native-1.1.20/tomcat-native.tar.gz
downloadfile:
proxyflags:
setproxy:
testexist:
     [echo] Testing  for /usr/share/java/commons-daemon-1.0.2/commons-daemon-1.0.2.jar
downloadgz:
proxyflags:
setproxy:
testexist:
     [echo] Testing  for /usr/share/java/commons-daemon-1.0.2/commons-daemon-1.0.2-native-src.tar.gz
downloadfile:
proxyflags:
setproxy:
testexist:
     [echo] Testing  for /usr/share/java/commons-pool-1.5.4-src/build.xml
downloadgz:
proxyflags:
setproxy:
testexist:
     [echo] Testing  for /usr/share/java/commons-dbcp-1.4-src/build.xml
downloadgz:
build-prepare:
   [delete] Deleting directory D:\platform\Tomcat7\output\build\temp
    [mkdir] Created dir: D:\platform\Tomcat7\output\build\temp
build-manifests:
build-tomcat-dbcp:
     [copy] Copying 64 files to D:\usr\share\java\tomcat7-deps\dbcp
     [move] Moving 64 files to D:\usr\share\java\tomcat7-deps\dbcp\src\java\org\apache\tomcat\dbcp
    [javac] Compiling 64 source files to D:\usr\share\java\tomcat7-deps\dbcp\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
      [jar] Building jar: D:\usr\share\java\tomcat7-deps\dbcp\tomcat-dbcp.jar
      [jar] Building jar: D:\usr\share\java\tomcat7-deps\dbcp\tomcat-dbcp-src.jar
testexist:
     [echo] Testing  for /usr/share/java/ecj-3.5.1/ecj-3.5.1.jar
downloadfile-2:
    [mkdir] Created dir: D:\usr\share\java\ecj-3.5.1
proxyflags:
setproxy:
trydownload.check:
trydownload:
proxyflags:
setproxy:
trydownload.check:
trydownload:
      [get] Getting: http://download.eclipse.org/eclipse/downloads/drops/R-3.5.1-200909170800/ecj-3.5.1.jar
      [get] To: D:\usr\share\java\ecj-3.5.1\ecj-3.5.1.jar
compile:
    [javac] Compiling 1165 source files to D:\platform\Tomcat7\output\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 189 files to D:\platform\Tomcat7\output\classes
build-manifests:
package:
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\annotations-api.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\servlet-api.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\jsp-api.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\el-api.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\bin\bootstrap.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\bin\tomcat-juli.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-tribes.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-ha.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\catalina-ant.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-api.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-util.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-coyote.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\jasper.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\jasper-el.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-es.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-fr.jar
      [jar] Building jar: D:\platform\Tomcat7\output\build\lib\tomcat-i18n-ja.jar
build-docs:
     [copy] Copying 27 files to D:\platform\Tomcat7\output\build\webapps
     [copy] Copying 2 files to D:\platform\Tomcat7\output\build\webapps\docs
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\docs
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\docs\appdev\sample
    [mkdir] Created dir: D:\platform\Tomcat7\output\build\webapps\docs\funcspecs
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\aio.xml to D:\platform\Tomcat7\output\build\webapps\docs\aio.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\apr.xml to D:\platform\Tomcat7\output\build\webapps\docs\apr.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\balancer-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\balancer-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\building.xml to D:\platform\Tomcat7\output\build\webapps\docs\building.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\cgi-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\cgi-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\changelog.xml to D:\platform\Tomcat7\output\build\webapps\docs\changelog.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\class-loader-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\class-loader-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\cluster-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\cluster-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\connectors.xml to D:\platform\Tomcat7\output\build\webapps\docs\connectors.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\default-servlet.xml to D:\platform\Tomcat7\output\build\webapps\docs\default-servlet.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\deployer-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\deployer-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\developers.xml to D:\platform\Tomcat7\output\build\webapps\docs\developers.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\extras.xml to D:\platform\Tomcat7\output\build\webapps\docs\extras.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\html-manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\html-manager-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\index.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\introduction.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\jasper-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jasper-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\jndi-datasource-examples-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jndi-datasource-examples-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\jndi-resources-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\jndi-resources-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\logging.xml to D:\platform\Tomcat7\output\build\webapps\docs\logging.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\manager-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\maven-jars.xml to D:\platform\Tomcat7\output\build\webapps\docs\maven-jars.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\mbeans-descriptor-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\mbeans-descriptor-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\monitoring.xml to D:\platform\Tomcat7\output\build\webapps\docs\monitoring.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\proxy-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\proxy-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\realm-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\realm-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\security-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\security-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\security-manager-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\security-manager-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\setup.xml to D:\platform\Tomcat7\output\build\webapps\docs\setup.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\ssi-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\ssi-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\ssl-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\ssl-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\virtual-hosting-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\virtual-hosting-howto.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\windows-service-howto.xml to D:\platform\Tomcat7\output\build\webapps\docs\windows-service-howto.html
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\appdev
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\deployment.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\deployment.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\index.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\installation.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\installation.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\introduction.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\processes.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\processes.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\appdev\source.xml to D:\platform\Tomcat7\output\build\webapps\docs\appdev\source.html
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\funcspecs
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-apps.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-apps.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-objects.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-objects.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-admin-opers.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-admin-opers.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-default.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-default.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-jdbc-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-jdbc-realm.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-jndi-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-jndi-realm.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\fs-memory-realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\fs-memory-realm.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\index.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\funcspecs\mbean-names.xml to D:\platform\Tomcat7\output\build\webapps\docs\funcspecs\mbean-names.html
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\config
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\ajp.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\ajp.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-channel.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-channel.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-deployer.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-deployer.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-interceptor.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-interceptor.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-listener.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-listener.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-manager.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-manager.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-membership.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-membership.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-receiver.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-receiver.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-sender.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-sender.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster-valve.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster-valve.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\cluster.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\cluster.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\context.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\context.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\engine.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\engine.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\executor.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\executor.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\filter.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\filter.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\globalresources.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\globalresources.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\host.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\host.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\http.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\http.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\index.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\jar-scanner.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\jar-scanner.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\listeners.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\listeners.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\loader.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\loader.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\manager.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\manager.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\realm.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\realm.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\resources.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\resources.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\server.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\server.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\service.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\service.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\systemprops.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\systemprops.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\config\valve.xml to D:\platform\Tomcat7\output\build\webapps\docs\config\valve.html
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\architecture
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\index.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\index.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\overview.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\overview.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\requestProcess.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\requestProcess.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\architecture\startup.xml to D:\platform\Tomcat7\output\build\webapps\docs\architecture\startup.html
     [xslt] Transforming into D:\platform\Tomcat7\output\build\webapps\docs\tribes
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\faq.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\faq.html
     [xslt] Loading stylesheet D:\platform\Tomcat7\webapps\docs\tomcat-docs.xsl
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\introduction.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\introduction.html
     [xslt] Processing D:\platform\Tomcat7\webapps\docs\tribes\setup.xml to D:\platform\Tomcat7\output\build\webapps\docs\tribes\setup.html
deploy:
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\bin
     [copy] Copying 16 files to D:\platform\Tomcat7\output\build\bin
     [copy] Copying 7 files to D:\platform\Tomcat7\output\build\conf
     [copy] Copying 222 files to D:\platform\Tomcat7\output\build\webapps
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\webapps\ROOT
    [javac] Compiling 50 source files to D:\platform\Tomcat7\output\build\webapps\examples\WEB-INF\classes
    [javac] Compiling 1 source file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\plugin\applet
examples-sources:
 [txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
 [txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
 [txt2html] Converted 5 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\simpletag
 [txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\jspattribute
 [txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\jspattribute
 [txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\cal
 [txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsptoserv
 [txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
 [txt2html] Converted 2 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
 [txt2html] Converted 3 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\el
 [txt2html] Converted 1 file to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\misc
 [txt2html] Converted 4 files to D:\platform\Tomcat7\output\build\webapps\examples\jsp\jsp2\tagfiles
 [txt2html] Converted 51 files to D:\platform\Tomcat7\output\build\webapps\examples
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\lib
     [copy] Copying 1 file to D:\platform\Tomcat7\output\build\lib
BUILD SUCCESSFUL
Total time: 46 seconds




'Web service' 카테고리의 다른 글

Apache httpd 에 sticky bit 줄 때, 해야할 일  (0) 2010.07.19
web dav 설명  (0) 2010.07.19
Http Client 4 이슈  (0) 2010.07.09
Tomcat 7 Released  (0) 2010.07.02
AB (apache load generator) usage  (0) 2010.06.13
Posted by '김용환'
,

Http Client 4 이슈

Web service 2010. 7. 9. 13:45


Browser_compatible 요청시에는 content-type이 같이 전송되지 않는 것이 있습니다.
(browser compatibility 모드는 IE 올드 버젼을 위한 것입니다.)
플랫폼 상황에 따라서 이슈가 될 수 있습니다. strict mode로 해서 보내서 content-type이 비지 않도록 해야 합니다. 

https://issues.apache.org/jira/browse/HTTPCLIENT-950
HttpMultipartMode.BROWSER_COMPATIBLE -- for files doesn't send Content-Type


'Web service' 카테고리의 다른 글

web dav 설명  (0) 2010.07.19
Tomcat 7 빌드  (0) 2010.07.16
Tomcat 7 Released  (0) 2010.07.02
AB (apache load generator) usage  (0) 2010.06.13
[Tomcat] 클래스로딩 How-To  (0) 2010.06.03
Posted by '김용환'
,

Tomcat 7 Released

Web service 2010. 7. 2. 12:37



----------------------------------------------------------------


The Apache Tomcat team announces the immediate availability of Apache
Tomcat 7.0.0 beta.

Apache Tomcat 7.0 includes new features over Apache Tomcat 6.0,
including support for the new Servlet 3.0, JSP 2.2 and EL 2.2 
specifications, web application memory leak detection and prevention, 
improved security for the Manager and Host Manager applications, Generic 
CSRF protection, support for including external content directly in a 
web application (aliases), re-factoring (connectors, life-cycle) and 
lots of internal code clean-up.

Please refer to the change log for the list of changes:
http://tomcat.apache.org/tomcat-7.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-70.cgi

Migration guide from Apache Tomcat 5.5.x and 6.0.x:
http://tomcat.apache.org/migration.html

Thank you,

-- The Apache Tomcat Team



----------------------------------------------



톰캣 7이 6월 29일자로 Released 되었습니다.


http://blogs.apache.org/tomcat/

http://tomcat.apache.org/tomcat-7.0-doc/index.html


Servlet 3.0, JSP 2.2 and EL 2.2 스펙이 기준입니다. (jsr 에서 다운받아 프린트했고, 공부하고 있습니다.)  



주기능

  • asynchronous processing
  • web-fragment support
  • annotation based configuration
  • programmatic configuration
  • increased control of session tracking
  • httpOnly support for cookies
  • file upload support
  • programmatic login
  • additional options for JSP property groups
  • support for method invocation in expression language

부기능

  • memory leak prevention and detection
  • protection against session fixation attacks
  • a simple filter to add cross-site request forgery protection to an application
  • simplified embedding of Tomcat in other applications
  • support for mapping external folders into web application context (aliases)
  • better security for the Manager and Host Manager applications
  • all connector implementations now use Executors to provide the thread pool
  • the internal component life-cycle management and MBean registration have been refactored
  • making the features of a number of the valves from Tomcat 6 available as Filters
  • lots of internal code clean-up

'Web service' 카테고리의 다른 글

Tomcat 7 빌드  (0) 2010.07.16
Http Client 4 이슈  (0) 2010.07.09
AB (apache load generator) usage  (0) 2010.06.13
[Tomcat] 클래스로딩 How-To  (0) 2010.06.03
[Tomcat] STRICT_SERVLET_COMPLIANCE 내용  (0) 2010.06.03
Posted by '김용환'
,



ab -k -n 10000 -c 100 http:// tomcathost :8080 
We instructed it to fetch the URL 10,000 times with a maximum concurrency of 100 threads. 
keep-alive mode

ab -n 10000 -c 100 http:// tomcathost :8080/ 
We instructed it to fetch the URL 10,000 times with a maximum concurrency of 100 threads. 
no keep-alive mode



'Web service' 카테고리의 다른 글

Http Client 4 이슈  (0) 2010.07.09
Tomcat 7 Released  (0) 2010.07.02
[Tomcat] 클래스로딩 How-To  (0) 2010.06.03
[Tomcat] STRICT_SERVLET_COMPLIANCE 내용  (0) 2010.06.03
톰캣 Connector 프로토콜 설정  (0) 2010.05.31
Posted by '김용환'
,