2012-01-01から1年間の記事一覧

[jbpm]jBPM5 User Guide ナナメ読み

Chapter 1. Overview 1.1. What is jBPM? 個人的に気になるfeatureとしては JPA / JTA による永続化 WS-HumanTask ですかね。 BPMN 2.0準拠については Chapter 6 を参照。 Chapter 2. Getting Started 2.4.2. Source code 各プロジェクトのgithub/svnへのリ…

Fedora15でUSBプリンタ追加

http://cweb.canon.jp/e-support/software/index.html -> プリンタ選ぶ -> http://cweb.canon.jp/drv-upd/ij-mfp/bjlinux300-mp540.html から cnijfilter-common-3.00-1.i386.rpm cnijfilter-mp540series-3.00-1.i386.rpm をダウンロード。sudo yum install …

Firefox/Fedoraでtiffを表示する

http://ubuntuforums.org/showthread.php?t=1165641 yum install mozplugger sudo vi /etc/mozpluggerrc image/tiff:tiff,tif:TIFF image exits: display -window $window -backdrop "$file" image/x-tiff:tiff,tif:TIFF image exits: display -window $wind…

[BPMN]BPMN2.0ナナメ読み

BPMN2.0仕様538ページを日記1エントリでナナメ読みします。超適当にコメント。 http://www.omg.org/spec/BPMN/2.0/ 1 Scope ビジネスユーザが読める!デベロッパが実装する!それがBPMN2! 2 Conformance Process Modeling Conformance Process Execution …

Eclipse Memory Analyzer Tool (MAT) 備忘録

ヘルプ は メニューからMap/Collectionの中身が見にくいです OQLでこんな風に書く SELECT e.key.toString(), e.value FROM java.util.HashMap$Entry e WHERE...SELECT DISTINCT t.ruleAgendaItem.rtn.rule.name.toString() FROM org.drools.core.reteoo.Rule…

jbpm5 で Hello World その3 Guvnor+BPMN2エディタ

GuvnorはDrools/jBPMのためのリポジトリ&管理Webアプリです。こちらにもBPMN2エディタがあり、Eclipseプラグインのエディタよりクールで多機能です。実体はguvnorとは別のwarで、Oryx Editor (http://code.google.com/p/oryx-editor/) をベースにしており、…

jbpm5 で Hello World その2 jbpmコンソール

前回はEclipseでプロセス開始、タスク実行をしましたが、Webの管理画面からでも同じ事が可能です。まずは以下の動画を。 http://people.redhat.com/kverlaen/jbpm-installer-console.5.2.swf http://http://localhost:8080/jbpm-console にアクセス krisv/kr…

jbpm5 で Hello World その1 インストール&Eclipseデモ

jBPM5、なかなかきてる感じです。とりあえず触ってみよう。公式のチュートリアルと同じ内容やります。 http://docs.jboss.org/jbpm/v5.2/userguide/ch03.htmlまずはインストール&Eclipse実行 http://sourceforge.net/projects/jbpm/files/jBPM%205/ から jb…

rule.log を grep する備忘録

cat rule.log | grep -nE 'activationId|type|org.drools.audit.event.ActivationLogEvent|ObjectLogEvent|objectToString'

Eclipse備忘録

パースペクティブ切り替え Ctrl+F8 ビュー切り替え Ctrl+F7 リソース検索 Ctrl+Shift+R タイプをポップアップで Ctrl+T ローカル変数補完 Ctrl+2 -> L try/catch Shift+Alt+z Ctrlを押しながらマウスを動かしてメソッド上へ Open Implementation 選択して al…

音とシンクロ

前回のエントリからあんまり変わってないですが、音に合わせておっきくなる感じのデモ。minimのAudioPlayerからlevelを取ります。 アプレットとコードはこちらから http://sky.geocities.jp/tokobayashi9/perfumedev01/index.html

Perfumeを踊らせる

鼻息荒く https://github.com/perfume-dev/example-processing をcloneした諸君、あなたのprocessingでPerfumeが踊ると思ったら残念、音楽もなく3人がブラブラしてるだけでした。まあ、そこでいきなり投げ出したひとはそんなにいないと思いますが、ダウンロ…

CRaSH備忘録

crsh-1.0.0-beta24 は repo コマンドが何かおかしいので crsh-1.0.0-beta20 を使うtelnet localhost 5000 ws login -u root -p gtn -c ecmdemo collaboration ls cd 'sites content/' 空白がある時は''で囲む cd '/sites content/live/acme/documents/vvvv.p…

server.log を grep する備忘録

JBoss Messaging メッセージの到着(add)、配信(remove)に対するDBストア更新を確認。この後コミットに失敗している可能性はあるので要チェック cat server.log | grep JDBCPersistenceManager | grep 'channel 16' | grep adding | ruby -ne 'puts $1 if $_ …

Nexus備忘録

http://www.sonatype.org/nexus/ admin/admin123 http://www.andrejkoelewijn.com/wp/2010/03/09/getting-started-with-nexus-maven-repository-manager/

Yourkit備忘録

右クリック -> Exclude Method で、いらないメソッドを取り除く(SocketInputStream.readとか)と、残りのボトルネックぶりがクローズアップされる

Debugging MVEL.eval()

You may hit a weird result from MVEL.eval() due to type coercion.http://mvel.codehaus.org/MVEL+2.0+TypingAs the rules of type coercion are not fully documented, you may need to go though source codes to understand what is happening.Here is…

Linuxコマンド備忘録

sudo ss -anp | grep tcp | grep LISTEN ip addr nkf -g [filename] ファイルのエンコードを調べる nkf -w [old_filename] > [new_filename] UTF-8に変換 ionice -c 3 du -s * | sort -n 大きいディレクトリ ionice -c 3 find . -type f -size +100M | xargs…

OpenLDAP備忘録

インストール yum install openldap openldap-servers openldap-clients slapd.d でやる場合 http://opensourcetech.hatenablog.jp/entry/2014/06/03/OpenLDAP_on_CentOS6/etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif に olcRootPW: secretを追…

PostgreSQL備忘録

インストール sudo yum install postgresql-server sudo postgresql-setup initdb sudo systemctl start postgresql.service sudo passwd postgres su - postgres psql -lpsql alter role postgres with password 'postgres'; pg_hba.conf host all all 127.…

MySQL備忘録

外部ファイル実行 mysql -u root sql または mysql> source ~/DDL/640/mysql5-jbpm-schema.sql mysql> source ~/DDL/640/quartz_tables_mysql.sql mysql> source ~/DDL/646/mysql5-jbpm-schema.sql drop database testbrms531; create database testbrms531;…

Oracle備忘録

http://www.youtube.com/watch?v=IzT1WXfhJCQ Oracle XE セットアップ https://fedorahosted.org/spacewalk/wiki/OracleXeSetup ちゃんと書いてあるバージョンでインストールしよう service oracle-xe stop sqlplus sqlplus jboss/jboss@orcl su - oracle sq…

git備忘録

準備 repoをforkする cd tkobayas git clone git@github.com:tkobayas/drools.git cd drools git remote add upstream https://github.com/kiegroup/drools.git git fetch upstream masterを同期 git fetch upstream git checkout master git reset --hard u…

発音サイト

http://dictionary.goo.ne.jp/leaf/ej3/39893/m0u/hello/ http://www.howjsay.com/index.php