'전체 글'에 해당되는 글 1013건
- 2016.03.08 Bottle-SQLite
- 2016.03.01 tail using Windows command
- 2015.09.02 2015 제주도 여행 - 최고의 여행
- 2015.07.17 Andrea Bocelli - MAI PIU' COSI LONTANO
- 2015.06.12 ActiveMQ
- Bottle-SQLite
- 日常茶飯事
- 2016. 3. 8. 02:03
http://bottlepy.org/docs/dev/plugins/sqlite.html
https://pypi.python.org/pypi/bottle-sqlite/
Installation
pip install bottle-sqlite
memory db 사용가능하고
인자명 db 변경가능
db 여러 개 사용가능
- tail using Windows command
- 日常茶飯事
- 2016. 3. 1. 12:30
> type a.txt | find /c /v ""
52
> set /a 52-5
47
> more +47 a.txt > con
vv
ww
xx
yy
zz
-f 옵션은 다음 기회에.
- 2015 제주도 여행 - 최고의 여행
- 행복이야기
- 2015. 9. 2. 23:00
- 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
Recent comment