tech-memo.txt

JDK6 SOAP DUMP

# java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

# java -Dcom.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump=true HelloClient test
---[HTTP request - http://app.knowd.co.jp:80/testws/HelloWSService]---
Content-type: text/xml;charset="utf-8"
Soapaction: "http://ws.test.knowd.com/HelloWS/getHelloRequest"
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
test--------------------
---[HTTP response - http://app.knowd.co.jp:80/testws/HelloWSService - 200]---
Transfer-encoding: chunked
null: HTTP/1.1 200 OK
Content-type: text/xml;charset=utf-8
Server: GlassFish v3
X-powered-by: Servlet/3.0
Date: Wed, 27 Jan 2010 17:47:19 GMT
Hello test!--------------------
Hello test!

com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump JSFのエラーログの抑止 javax.enterprise.resource.webcontainer.jsf WARNING
Derbyの起動時に指定されるderby.system.home内にある、derby.propertiesファイルに、 derby.language.logStatementText=true というプロパティを指定しておくと、derby.logファイル内に 2007-02-28 18:02:41.738 GMT Thread[DRDAConnThread_4,5,main] (XID = 15922), (SESSIONID = 37), (DATABASE = trainingdb), (DRDAID = NF000001.D0DE-4268003899177915296{38}), Executing prepared statement: INSERT INTO ADDRESS_T (address_id, address_name) VALUES (?, ?) :End prepared statement with 2 parameters begin parameter #1: 1579092126 :end parameter begin parameter #2: Thu Mar 01 03:02:41 JST 2007 :end parameter と言うような実行されたSQL(PreparedStatement)情報が記録されるようになり、デバッグの際、非常に助かる。
bash-3.00# grep -v ^# /boot/grub/menu.lst default 0 timeout 10 splashimage /boot/grub/splash.xpm.gz title Solaris 10 8/07 s10x_u4wos_12b X86 kernel /platform/i86pc/multiboot module /platform/i86pc/boot_archive title Solaris failsafe kernel /boot/multiboot kernel/unix -s module /boot/x86.miniroot-safe
default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.23.8-63.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.8-63.fc8 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.23.8-63.fc8.img title Fedora (2.6.23.1-49.fc8) root (hd0,0) kernel /vmlinuz-2.6.23.1-49.fc8 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.23.1-49.fc8.img