'전체 글'에 해당되는 글 1012건
- 2015.07.17 Andrea Bocelli - MAI PIU' COSI LONTANO
- 2015.06.12 ActiveMQ
- 2015.06.03 watch.bat
- 2015.04.08 Vert.x 시작하기
- 2015.03.16 SciPy 설치
- Andrea Bocelli - MAI PIU' COSI LONTANO
- 雜동사니
- 2015. 7. 17. 07:00
오픈소스 메시징/통합패턴 서버
다양한 언어 지원
STOMP, AMQP, MQTT
JMS 1.1 and J2EE 1.4
- 2015-06-12 현재 apache-activemq-5.11.1가 최신
그런데 실행이 안됨. 에러도 발생 안함.
apache-activemq-5.11.1> bin\activemq
Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jdk1.7.0_09\jre
Heap sizes: current=1013632k free=996854k max=1013632k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G ...
Extensions classpath:
[...]
ACTIVEMQ_HOME: ...\apache-activemq-5.11.1\bin\..
ACTIVEMQ_BASE: ...\apache-activemq-5.11.1\bin\..
ACTIVEMQ_CONF: ...\apache-activemq-5.11.1\bin\..\conf
ACTIVEMQ_DATA: ...\apache-activemq-5.11.1\bin\..\data
Usage: Main [--extdir <dir>] [task] [task-options] [task data]
Tasks:
browse - Display selected messages in a specified destination.
bstat - Performs a predefined query that displays useful statistics regarding the specified broker
create - Creates a runnable broker instance in the specified path.
decrypt - Decrypts given text
dstat - Performs a predefined query that displays useful tabular statistics regarding the specified destina
tion type
encrypt - Encrypts given text
export - Exports a stopped brokers data files to an archive file
list - Lists all available brokers in the specified JMX context
purge - Delete selected destination's messages that matches the message selector
query - Display selected broker component's attributes and statistics.
start - Creates and starts a broker using a configuration file, or a broker URI.
stop - Stops a running broker specified by the broker name.
Task Options (Options specific to each task):
--extdir <dir> - Add the jar files in the directory to the classpath.
--version - Display the version information.
-h,-?,--help - Display this help information. To display task specific help, use Main [task] -h,-?,--help
Task Data:
- Information needed by each specific task.
JMX system property options:
-Dactivemq.jmx.url=<jmx service uri> (default is: 'service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi')
-Dactivemq.jmx.user=<user name>
-Dactivemq.jmx.password=<password>
확인 결과 5.10.0부터 발생
5.9.1은 제대로 실행됨.
apache-activemq-5.9.1> bin\activemq
Java Runtime: Oracle Corporation 1.7.0_09 C:\Program Files\Java\jdk1.7.0_09\jre
Heap sizes: current=1013632k free=996854k max=1013632k
JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G ...
Extensions classpath:
[...]
ACTIVEMQ_HOME: ...\apache-activemq-5.9.1\bin\..
ACTIVEMQ_BASE: ...\apache-activemq-5.9.1\bin\..
ACTIVEMQ_CONF: ...\apache-activemq-5.9.1\bin\..\conf
ACTIVEMQ_DATA: ...\apache-activemq-5.9.1\bin\..\data
Loading message broker from: xbean:activemq.xml
INFO | Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@e34a3c: startup date [Fri Jun 12 22:51:42 KST 2015]; root of con
text hierarchy
INFO | PListStore:[...\apache-activemq-5.9.1\bin\..\data\localhost\tmp_storage] started
INFO | Using Persistence Adapter: KahaDBPersistenceAdapter[...\apache-activemq-5.9.1\bin\.
.\data\kahadb]
INFO | Apache ActiveMQ 5.9.1 (localhost, ID:pantarei-PC-20301-1434117106014-0:1) is starting
INFO | Listening for connections at: tcp://...:61616?maximumConnections=...
INFO | Connector openwire started
INFO | Listening for connections at: amqp://...:5672?maximumConnections=...
INFO | Connector amqp started
INFO | Listening for connections at: stomp://...:61613?maximumConnections=...
INFO | Connector stomp started
INFO | Listening for connections at: mqtt://...:1883?maximumConnections=...
INFO | Connector mqtt started
INFO | Listening for connections at ws://...:61614?maximumConnections=...
INFO | Connector ws started
INFO | Apache ActiveMQ 5.9.1 (localhost, ID:...-20301-1434117106014-0:1) started
INFO | For help or more information please see: http://activemq.apache.org
WARN | Store limit is 102400 mb (current store usage is 0 mb). The data directory: ...\apa
che-activemq-5.9.1\bin\..\data\kahadb only has 31427 mb of usable space - resetting to maximum available disk space: 31427 mb
ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory: ...\apache-
activemq-5.9.1\bin\..\data\localhost\tmp_storage only has 31427 mb of usable space - resetting to maximum available 31427 mb.
INFO | ActiveMQ WebConsole available at http://localhost:8161/
INFO | Initializing Spring FrameworkServlet 'dispatcher'
INFO | jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
http://localhost:8161/
- 데모
http://activemq.apache.org/web-samples.html
apache-activemq-5.9.1> bin\activemq xbean:examples/conf/activemq-demo.xml
http://localhost:8161/demo
https://gist.github.com/jujhars13/4153770
@echo off
if %1==-n (
set interval=%2
shift
shift
) else (
set interval=2
)
title Watch %1 %2 %3 %4 %5 %6 %7 %8 %9
:loop
cls
%1 %2 %3 %4 %5 %6 %7 %8 %9
timeout /t %interval%
goto loop
> watch.bat netstat -na ^| findstr LIST
> watch.bat -n 5 netstat -na ^| find /c "LIST" //이런 식의 변화를 보는데 적합한 듯
변화되는 상황을 보기에는 Unix watch의 -d 옵션이 필요하다.
watch1.bat 참고
- Vert.x 시작하기
- 日常茶飯事
- 2015. 4. 8. 20:25
- Installation
1. Vert.x requires JDK 1.7.0 or later.
(JRE가 아닌 Full JDK나 for Developers 옵션을 선택해야 한다.)
> java version
2. Unzip.
3. Add the Vert.x bin/ to PATH.
> vertx version
2.1.5 (built 2014-11-13 15:15:56)
- Testing the install
> vertx run server.js
====>자바 컴파일 필요없는거
각 구현체 설정 파일, 구현 엔진
jruby, jpython, rinho
java compile이 필요없다.
Recent comment