트위터 팔로잉 하는 @beyondj2ee님의 글을 인용


톰캣홈/lib로 이동해서 아래 명령어 실행


java -cp catalina.jar org.apache.catalina.util.ServerInfo


#결과

Server version: Apache Tomcat/7.0.52

Server built:   Feb 13 2014 10:24:25

Server number:  7.0.52.0

OS Name:        Mac OS X

OS Version:     10.9.2

Architecture:   x86_64

JVM Version:    1.8.0-b132

JVM Vendor:     Oracle Corporation


'WAS > Tomcat' 카테고리의 다른 글

[Tomcat] The Tomcat JDBC Connection Pool  (0) 2014.06.18
[Tomcat] Apache + Tomcat 연동  (0) 2014.06.05
[Tomcat] Apache + Tomcat 로드 밸런싱  (0) 2014.02.19
[Tomcat] VM Option UTF-8 설정  (0) 2014.01.01
[Tomcat] Ipv4 사용하기  (0) 2013.12.25
posted by 뚱2

대부분 프로젝트는 개발환경과 배포 환경의 JRE를 맞춰서 개발합니다.

그런데 공통부분을 개발하거나 프레임워크 작업을 하게 되면은 아무래도 여러 JRE 버전을 테스트 하고 싶을때가 있습니다.

또한 프로젝트 컴파일 환경과 배포환경을 다르게 할때도 발생합니다.


Eclipse에서는 각 Tomcat별로 JRE를 다르게 해서 잘 사용했었는데 IntelliJ IDEA13에서는 한참 찾아헤맸습니다.




(* 맥 기준으로 작성되었습니다.)

Run/Debug Configurations을 선택합니다.


1. Use alternative JRE를 체크합니다.

2. DropBox에서 필요한 JRE를 선택합니다. 

    (* 저는 1.6.0, 1.7.0_45, 1.8.0 3개가 설치되어 있네요)

3. Apply 클릭

4. OK 클릭




posted by 뚱2

링크: http://javacan.tistory.com/123

링크: http://sonegy.wordpress.com/2011/12/29/spring-3-1%EA%B3%BC-ehcache/

링크: http://whiteship.me/?p=13271

'Java > ehcache' 카테고리의 다른 글

[ehcache] Using Hibernate and BigMemory Go  (0) 2014.12.08
[ehcache] Springframework에 Ehcache 적용하기  (0) 2014.06.01
posted by 뚱2

맥과 윈도우의 idea.vmoptions 위치가 다릅니다.


* 윈도우

32 bit : “설치경로/bin/idea.exe.vmoptions”

64 bit : “설치경로/bin/idea64.exe.vmoptions”


* 맥

"~/Library/Preferences/IntelliJIdea13/idea.vmoptions" 를 수정해 주면 됩니다.


제가 사용하는 옵션

-Xms1024m

-Xmx1024m

-XX:MaxPermSize=256m

-XX:ReservedCodeCacheSize=96m

-XX:+UseCompressedOops


posted by 뚱2

링크: http://vinaytechs.blogspot.kr/2010/03/hibernate-performance-tuning.html

posted by 뚱2

링크: http://ehcache.org/documentation/integrations/hibernate

링크: https://docs.jboss.org/hibernate/core/4.3/devguide/en-US/html/ch06.html

posted by 뚱2

링크: http://bongbong.net/entry/Apache-Tomcat-%EB%A1%9C%EB%93%9C-%EB%B0%B8%EB%9F%B0%EC%8B%B1-%EC%84%B8%EC%85%98-%ED%81%B4%EB%9F%AC%EC%8A%A4%ED%84%B0%EB%A7%81


참고: http://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html

'WAS > Tomcat' 카테고리의 다른 글

[Tomcat] Apache + Tomcat 연동  (0) 2014.06.05
[Tomcat] 구동중인 톰캣 버전 확인 하는 방법  (0) 2014.03.21
[Tomcat] VM Option UTF-8 설정  (0) 2014.01.01
[Tomcat] Ipv4 사용하기  (0) 2013.12.25
[Tomcat] Tomcat 튜닝  (0) 2013.09.06
posted by 뚱2

링크 : http://www.harriyott.com/2006/12/folderbrowsedialog-in-installer-custom 


결국 요는 FolderbrowserDialog는 STA에서 동작하는데 Visual Studio 2010 Installer Project로 생성한


인스톨러는 MTA에서 동작한다.


해결 방법은 위 링크같이 버튼클릭 이벤트시 스레드를 STA로 변경하면 된다.


난 Form 화면에서 컴포넌트를 드레그 해서 사용하는 방법을 선호하기 때문에(이게 코딩이 적다.)


위 방법은 불편해서 Form 자체를 STA로 실행시켰다.

'.Net > WinForm' 카테고리의 다른 글

[WinForm] OpenFileDialog  (0) 2013.03.13
[WinForm] 서브클래스에서 OnPaint가 안될때...  (0) 2013.02.22
posted by 뚱2

[Mac] SideEffects

OS/Mac 2014. 1. 29. 12:03

맥 Finder의 아이콘을 컬러로 보여줌

링크: http://macmatrix.blogspot.hu/p/sideeffects.html

posted by 뚱2

링크: http://www.slideshare.net/doortts/ryan-dahl-nodejs-by-doortts?ref=http://blog.doortts.com/253

posted by 뚱2

http://gozillacj.com/wordpress/jsprocedure/

'JavaScript > JavaScript' 카테고리의 다른 글

[JavaScript] JavaScript Closure & scope  (0) 2014.04.04
[JavaScript] 메소드 후킹 구현하기  (0) 2014.03.31
[JavaScript] jsfiddle  (0) 2014.01.24
[JavaScript] 클로져(Closures)  (0) 2014.01.22
[JavaScript] use strict  (0) 2013.12.25
posted by 뚱2

[JavaScript] jsfiddle

JavaScript/JavaScript 2014. 1. 24. 14:49

링크: http://jsfiddle.net/

자바스크립트를 테스트 할수 있는 환경

posted by 뚱2

링크: https://docs.google.com/presentation/d/1YYv8eYoPpY694xAFvdTY3htoCGaMJlzfCYFthAIQe3U/edit#slide=id.p

링크: https://developer.mozilla.org/ko/docs/JavaScript/Guide/Closures

posted by 뚱2

링크 : http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/

'DB / NoSQL > MongoDB' 카테고리의 다른 글

[MongoDB] Shell Option  (0) 2013.12.31
[MongoDB] MongoDB Site  (0) 2013.11.22
[MongoDB] MongoDB Client  (0) 2013.11.21
posted by 뚱2

링크 : http://osxdaily.com/2012/03/21/change-shell-mac-os-x/

posted by 뚱2

링크 : http://docs.spring.io/spring/docs/3.2.6.RELEASE/spring-framework-reference/htmlsingle/#format-configuring-formatting-mvc

posted by 뚱2

링크 : http://docs.spring.io/spring/docs/3.0.0.M3/reference/html/ch18s02.html


* HiddenHttpMethodFilter

링크 : http://helols.tistory.com/328

posted by 뚱2

[REST] REST API 설계

일반 2014. 1. 21. 14:44

링크 : https://speakerdeck.com/leewin12/rest-api-seolgye

posted by 뚱2

힙사이즈 조절


$cp /Applications/IntelliJ IDEA 13.app/bin/idea.vmoptions ~/Library/Preferences/IntelliJIDEA13/idea.vmoptions

$vi ~/Library/Preferences/IntelliJIdea13/idea.vmoptions


-Xms2048m

-Xmx2048m

-XX:MaxPermSize=512m

-XX:ReservedCodeCacheSize=128m

-XX:+UseCompressedOops


posted by 뚱2

[Spring] Validation

Java/SpringFramework 2014. 1. 21. 02:52

링크 : http://docs.spring.io/spring/docs/3.2.6.RELEASE/spring-framework-reference/htmlsingle/#validation-beanvalidation

posted by 뚱2

노땅 개발자가 가야할길

일반 2014. 1. 19. 23:45

링크 : http://mimul.com/pebble/default/2014/01/17/1389943844913.html


많은 부분이 공감가네요.

posted by 뚱2

[Jackson] Jackson documentation

Java/Jackson 2014. 1. 19. 20:37


Jackson Documentation: http://wiki.fasterxml.com/JacksonDocumentation

Jackson 2 Annotation: http://wiki.fasterxml.com/JacksonAnnotations



'Java > Jackson' 카테고리의 다른 글

[Jackson] Jackson-datatype-hibernate4  (0) 2014.04.24
posted by 뚱2

인텔리 센스 적용 : https://github.com/git/git/blob/master/contrib/completion/git-completion.bash


글꼴 및 테마 적용 : http://whiteship.me/?p=13816

'VCS > Git' 카테고리의 다른 글

[Git] SVN 능력자를 위한 git 개념 가이드  (0) 2014.04.04
[Git] Set up SSH for Git  (0) 2014.04.04
[Git] Learn Git Branching  (0) 2014.01.13
[Git] Merge VS Rebase  (0) 2013.12.27
[Git] Pro Git 한글 문서  (0) 2013.12.20
posted by 뚱2

링크 : https://github.com/rogerwang/node-webkit


이제 자바스크립트로 어플리케이션을 만드는 날이 왔구나.

연구해 봐야겠다.

posted by 뚱2

[Git] Learn Git Branching

VCS/Git 2014. 1. 13. 23:46

링크 : http://pcottle.github.io/learnGitBranching/

'VCS > Git' 카테고리의 다른 글

[Git] Set up SSH for Git  (0) 2014.04.04
[Git] git command를 편하게 변경하기  (0) 2014.01.15
[Git] Merge VS Rebase  (0) 2013.12.27
[Git] Pro Git 한글 문서  (0) 2013.12.20
[Git] Advanced Git  (0) 2013.11.27
posted by 뚱2

링크 : https://github.com/visionmedia/ejs

링크 : http://runnable.com/UTlPPF-f2W1TAAEa/render-ejs-with-express


var express = require('express');

var app = express();



// Register ejs as .html. If we did

// not call this, we would need to

// name our views foo.ejs instead

// of foo.html. The __express method

// is simply a function that engines

// use to hook into the Express view

// system by default, so if we want

// to change "foo.ejs" to "foo.html"

// we simply pass _any_ function, in this

// case `ejs.__express`.


app.engine('.html', require('ejs').__express);


// Optional since express defaults to CWD/views


app.set('views', __dirname + '/views');


// Without this you would need to

// supply the extension to res.render()

// ex: res.render('users.html').

app.set('view engine', 'html');


// Dummy users

var users = [

  { name: 'tobi', email: 'tobi@learnboost.com' },

  { name: 'loki', email: 'loki@learnboost.com' },

  { name: 'jane', email: 'jane@learnboost.com' }

];


app.get('/', function(req, res){

  res.render('users', {

    users: users,

    title: "EJS example",

    header: "Some users"

  });

});



app.listen(80);

console.log('Express app started on port %d', 80);


posted by 뚱2

링크 : http://firejune.io/express/guide

posted by 뚱2

링크 : https://github.com/Chevex/UglifyJS2/commit/7348facbe994aa1909a276b4be54f13c7f01e079



IntelliJ IDEA를 사용하고 있는데 Node Module을 만들고 구동했더니


콘솔에 [ReferenceError: Process is not defined] 발생했다.


구글링 모듈 Root의 node_modules 하위의 tools/node.js의 'vm.createContext'을 찾아서 아래의 하이라이팅 부분(4, 5 라인)을 


추가해 준다.


var UglifyJS = vm.createContext({

      sys           : sys,

      console       : console,

      process       : process,

      Buffer        : Buffer,

      MOZ_SourceMap : require("source-map")

});


'JavaScript > NodeJS' 카테고리의 다른 글

[Node.js] Render ejs with express  (0) 2014.01.13
[Node.js] Express - API 가이드 문서  (0) 2014.01.13
[Node.js] Node download  (0) 2014.01.10
[Node.js] Node.js tutorial  (0) 2013.04.23
[Node.js] Node.js 한글 페이지  (0) 2012.02.09
posted by 뚱2

링크 : http://andykimm.tistory.com/24


Things의 사용법및 메뉴에 대한 사용설명이 유용합니다.

'일반' 카테고리의 다른 글

[REST] REST API 설계  (0) 2014.01.21
노땅 개발자가 가야할길  (0) 2014.01.19
codecademy 웹상에서 컴퓨터 언어를 배우는 사이트  (0) 2013.12.18
ClenCode 서비스 후기  (0) 2013.12.18
[BAT] 배치파일 문법  (0) 2013.11.20
posted by 뚱2

[Node.js] Node download

JavaScript/NodeJS 2014. 1. 10. 10:21

Download : http://nodejs.org/download/

Documentation : http://nodejs.org/api/

posted by 뚱2