User:
Pswd:
Home
Section:
Pet
Contact Info
Sign In

Help Wanted!
Visit Takipedia and share your knowledge about living in Japan!

Weather in Japan:
Postal Code:

default: Nakaton, JP


opinion 1181317423 JasperReport tech note by kassie

Problem: Using JasperReport with tomcat & mod jk, viewing reports with html viewer, all images don't show up -- image not available or broken --.

Solution:
1. Do the usual thing jasper forum suggest to do -- check to see WEB-INF/web.xml's ImageServlet mapping is set up correctly with your jsp out put
2. If accessing to image directly gives 404 apache error not tomcat error, check to see your mod_jk.conf is set up to invoke servlets under /servlets/. If not, correct that and restart your apache.

JasperReport uses /servlets/ to invoke servlets but example set up for mod_jk uses /servlet/ to invoke servlets. So make both of them to use the same servlet"s".

Problem: JNDI not working when first installation of tomcat and jasper.

Solution:
naming-factory-dbcp.jar does not come with it. Download naming-factory-dbcp.jar and place it under tomcat_home/common/lib/

Problem: I don't know enough about JasperReport to do complicated queries.

Solution:
Use Stored Procedure. Recent version of Mysql has stored procedure and function. Yay!

Here is simple sample MYSQL stored procedure:

mysql> CREATE TABLE JAPAN(
         ID INT,
         NAME VARCHAR(100),
         BIRTHDAY date
       );

mysql> CREATE TABLE US(
         ID INT,
         NAME VARCHAR(100),
         BIRTHDAY date
       );

/***********************
  Stored Procedure Sample
     save below in
       load_BD.sql
***********************/
delimiter //
CREATE PROCEDURE load_BD( 
		in startDate varchar(20), 
		endDate varchar(20) , 
		orderBy varchar(25) )
BEGIN

CREATE TEMPORARY TABLE TEMP_BD(
		ID int,
		NAME VARCHAR(100),
                BIRTHDAY date;

INSERT INTO TEMP_BD
		SELECT * 
			FROM JAPAN
			WHERE BIRTHDAY  
			BETWEEN
			'startDate' AND 'endDate';

INSERT INTO TEMP_BD
		SELECT * 
			FROM US
			WHERE BIRTHDAY  
			BETWEEN
			'startDate' AND 'endDate';

CASE orderBy
		WHEN 'BD' THEN
			SELECT *  
			FROM TEMP_BD
			ORDER BY BIRTHDAY ;
		WHEN 'NAME' THEN
			SELECT *  
			FROM TEMP_BD
			ORDER BY NAME;
		ELSE
			SELECT *
			FROM TEMP_BD;
	END CASE;

	DROP TABLE TEMP_BD;

END
//
/***********************
    Load load_DB into mysql
***********************/
mysql>source load_BD.sql;

Calling stored procedure from JasperReport

CALL load_BD( '1980-01-01', '1990-01-01' , 'BD' );



Write Response to This Message (3)

wrote on 2007-06-08 11:43:43
opinion 1173402208 Fune Sushi Bar ふね回転寿し by kassie
ついに、アトランタへ回転寿しができた!

”フューン” 寿司バー。

なんやねん!

なんと、FUNEと書いて、”フューン”。でも、”ふね”です。

よくわけ分からんけど、、、
ミッドタウンに新登場、”フューン?”回転寿し!
MFSushiみたいな、、、
超高級ヒップな回転寿し屋で、ございます。
(場所は、Spire Midtownマンション内のショッピングセンターです。)

Finally, Atlanta has a Kaiten Sushi Bar, conveyer belt sushi. We went to see how it is. Unlike Japanese Kaiten Sushi, it's high end sushi place with cool people, cool music and cool atmosphere. It was very nice.

They said "fune" wrong... they said like fume but oh well, it's south. At least, they did not name it Sushi Fuku.

Overall, it's ok. It's another Midtown high end Japansese fusion restaurant.

Write Response to This Message (Please write comment!)

wrote on 2007-03-08 20:03:28
opinion 1171763630 Movie Review: Linda, Linda, Linda by kassie
エモリー大学での、日本映画シリーズの最後でした。

う〜ん。まぁまぁ、かな。前回のカモメ食堂や、その前のウォーターボーイズが良かったので、期待しすぎたのかも、しれませんが。決して、悪くはないよ。

"Linda, Linda, Linda" was the last moive for Emory University's Japanes film series.

It was alright, not bad. It just previous one, Kamome Shokudo and the one before, Water Boys were so good that maybe I had high expectations. It wasn't bad at all, just it was alight.


Write Response to This Message (2)

wrote on 2007-02-17 20:53:50
opinion 1171569684 パンダとは、熊猫? Bear + Cat = Panda by kassie
知らんかった。熊猫と書いて、パンダなんですねー。うちの旦那は、パンダの事をでかいネズミだって、思っているらしいけど、熊猫だったのね。

ちなみに、全然関係ないけど、アトランタは、亞特蘭大です。

っで、亞特蘭大動物園では、赤ちゃんの熊猫が最近産まれました! 名前が、美蘭と書いて、メイランちゃんです。よろしくね!

I believe in Chinese, Bear Cat means Panda. That's kind of cute, I thought. Although, my husband thinks panda is a rat.

Ooops! I just realized it... I spelled "beer" for bear! Yeah, Beer + Cat = Drunk cat?

Write Response to This Message (Please write comment!)

wrote on 2007-02-15 15:01:24
opinion 1171075736 Movie Review: かもめ食堂 Kamome Shokudo by kassie
今週の映画は、かもめ食堂でした。あんまり期待して行かなかったので、映画を観てビックリ。むちゃくちゃ良い! 可笑しいし、不思議だし。一人一人の、個性があってとっても良い。

オススメの映画です。是非観てね!

This week's movie was "Kamome Shokudo." I did not think this movie to be good but it turns out I was quite wrong. It really was a good movie.

They say it is a Japanese version of "Chocolat." Carlton said it's more like a Japanese version of "Seinfeld." I agree on both so let's just say combination of "Chocolat" and "Seinfeld."

Each characters' development were very well done. It's funny, weird and clever. It warms you, too.

I strongly recommend this movie.



Write Response to This Message (Please write comment!)

wrote on 2007-02-09 21:48:56
opinion 1170469631 Movie Review: ウォーターボーイズ Water Boys by kassie
ウォーターボーイズ、ずーーーっと、観たかったのに観れなくて、やっと、観た! 

むちゃくちゃ、面白かった! すっごい、馬鹿な所が可笑しい。最高です。

今、アトランタにあるエモリー大学で日本の映画ショーをしていて毎週木曜日に映画が無料で観れます。

来週は、カモメ食堂。(2/18/2007)
再来週が、リンダ、リンダ、リンダ。(2/25/2007)

7時から、Emory University White Hallです。

I wanted to see this movie for soooo long. Now I saw it and it was really really good.

It's so silly but that silliness is sooo bad that it make is sooo good.

Emory University is showing free Japanese movie every Thursday this month.

Next week is Kamome Shokudo. (2/18/2007)
After Next week is Linda, Linda, Linda. (2/25/2007)

7pm at White Hall, Emory University

Write Response to This Message (2)

wrote on 2007-02-02 21:27:11
opinion 1160241327 Movie Review: Little Miss Sunshine by kassie
なーーっがい間、オススメできる映画を見てなかったんですが、今回、やっと紹介できる映画を見ました! 

ミスサンシャインと言う映画なんですが、むちゃくっちゃ可笑しいし、泣ける。思わず、拍手をしてしまいました!ミスサンシャインとは、カリフォルニアのビューティーコンテストの名前です。(実際にあるのかは知らないけど。)そのコンテストに長女が招待されて、参加するストーリーなんですが、、まぁ、見てね!

Little Miss Sunshine

I have not seen any good movies for a long long time. But last night, we finally saw a great movie that I must tell you.

Little Miss Sunshine is the movie. Not only it's a super funny movie but also it made me cry and crap.... (no!) clap hands! The story line is a family determined to get their young daughter into the finals of a beauty pageant take a cross-country trip in their VW bus.

I strongly recommend watching this movie!

Write Response to This Message (Please write comment!)

wrote on 2006-10-07 13:15:27
opinion 1160143679 今年のイグノーベル賞 Ig Nobel Prize 2006 by kassie
私は、鳥類学賞:「頭を振り続けるキツツキはなぜ頭痛に見舞われないのか」が一番おかしいと思う!


2006年 イグノーベル賞 >>


どれが、一番おかしいヤツだと、思う?

My favorite is Ornithology: exploring and explaining why woodpeckers don't get headaches.

Ig Nobel 2006 >>

Which one is your favorite?



Write Response to This Message (Please write comment!)

wrote on 2006-10-06 10:07:59
opinion 1159144630 Book Review: The Alchemist by kassie
ちょーーーオススメの本です。今まで読んだ本の中でも、心に残る本です。簡単な英語だし、多分小中学生向けなので、簡単にスラスラ読めて、短いストーリーです。もちろん、日本語訳もあるようです。英語の本に初挑戦したい人には、かなりオススメです。

内容は、羊使いの男の子の決心、人生の旅の話です。

アマゾンから >> アルケミスト―夢を旅した少年(日本語)

I have not read anything this good for a long time. It's so good that it just stayed in my heart for a long time. Maybe this book is for children ? so it is really easy to read and very short. I strongly recommend for everybody to read it especially for young people....


The Alchemist by Paulo Coelho
Amazon.com >> The Alchemist

Write Response to This Message (2)

wrote on 2006-09-24 20:37:10
opinion 1154366991 Big Brain Academy 脳トレ by kassie
お! 日本で流行の脳トレが、アメリカにもあるんですね。ウェブサイトで試しのテストをやってみましたが、結構おもしろい!

試してみてね!

Big Brain Academy

This game is really popular in Japan. I didn't know we have it in America. I tried the sample games and it's really fun!

Games are very very simple and easy to follow. It's repetitive but it's not annoying. "They" said that these kind of games make your brain younger.

Please try!
Big Brain Academy

Oh, yes, the catch is you have to have Nintendo DS Lite. It's about $140.


Write Response to This Message (1)

wrote on 2006-07-31 13:29:51
Page 1 | Page 2 | Page 3 | Page 4 | Page 5 | Page 6 | Page 7 | Page 8 | Page 9 | Page 10 | Page 11 | Page 12 | Page 13
三角筋でトラブル De ltoid Muscle Trouble 2006-07-12 09:22:59
ヒップホップお好き? Do you like Hip hop music? 2006-07-03 12:55:25
Book Review: Kafka on the Shore 2006-06-17 13:59:19
Book Review: The Kite Runner 2006-06-17 13:43:56
ビザさえあれば Visa Card Priceless 2006-05-02 09:14:23
CD Review: Timeless by Sergio Mendes 2006-04-21 09:38:59
Book Review: My Friend Leonard 2006-04-19 08:14:01
Happy Easter! 2006-03-31 11:57:35
なんでもやってくれるチキン 2006-03-28 16:40:22
Book Review: Brokeback Mountain 2006-03-20 08:59:11
Chinese menu 2006-03-13 15:09:13
立っておしっこ! P-mate 2006-03-08 16:58:09
Book Review: Man Camp 2006-02-20 16:30:31
ジャイナ教 Jainism 2006-02-15 13:55:40
AJC新聞トーク My 'The Vent' 2006-02-01 11:43:07
子供の質問 2006-01-31 12:04:08
魔法グラス Themo Glass 2006-01-30 20:38:59
Book Review: Marley & Me 2006-01-28 19:42:15
AJC新聞トーク My 'The Vent' 2006-01-12 09:39:50
AJC新聞トーク My 'Wishes for 2006' 2005-12-28 09:51:22
AJC新聞トーク My 'The Vent' 2005-12-19 17:39:06
お! ナイス! Nice Asian Grocery Store! 2005-12-16 17:09:31
AJC新聞トーク My 'The Vent' 2005-12-15 15:18:50
AJC新聞トーク My 'The Vent' 2005-12-09 12:43:32
AJC新聞トーク My 'The Vent' 2005-12-06 12:13:37
AJC新聞トーク My 'The Vent' 2005-12-05 12:27:08
Moview Review: ウォーク・ザ・ライン 君につづく道 Walk the Line 2005-11-30 16:20:33
ワケワカラン! Whaaat??? 2005-11-18 09:54:36
映画・ナポレオン・ダイナマイト   Napoleon Dynamite 2005-10-31 08:16:28
自分の切手を作れる? Personalized Stamps? 2005-10-26 21:02:56
ぎゃっはっはっ!!! Oh, my! 2005-10-05 09:43:13
Get $180! 2005-09-20 21:07:31
お母さんの脊髄腫瘍 Mother's spinal cord tumor 2005-07-07 02:47:23
自閉症のだったわたしへ  Nobody Nowhere 2005-06-24 09:51:08
Book Review: 娘たちのための狩りと釣りの手引き The Girl's Guide to Hunting And Fishing 2005-06-15 03:16:31
Book Review: ハッピー*ボーイ Loser 2005-06-12 22:40:25
Book Review: スターガール Stargirl 2005-06-08 09:09:56
Book Review: Just Friends 豚が飛んだら 2005-06-03 06:30:24
スターワーズ 3  Star Wars Episode III 2005-06-02 19:36:44
多岐ペディア  Takipedia 2005-06-01 20:02:40
Book Review: The Secret Life of Bees 2005-05-18 23:37:32
ブログを始めませんか? 2005-04-13 07:19:46
うぇ〜。 Yaaaaack! 2005-04-04 22:12:32
おえ気? 2005-03-31 18:02:11
Book Review: アルジャーノンに花束を Flowers for Algernon 2005-03-31 02:39:15
カールトンの日本語レッスン 2005-03-23 19:09:31
Book Review: ダ・ヴィンチ・コード The Da Vinci Code 2005-03-12 20:10:45
Are you Yankee or Dixie? 2005-03-09 06:50:49
NOBODY KNOWS showing at Midtown Art Cinema 2005-02-25 20:38:32
Book Review: Life of Pi 2005-01-04 01:03:35
今日の読書 Today's reading (004) 2004-11-27 22:03:00
今日の読書 Today's reading (003) 2004-11-25 23:35:24
Japanese tissues 2004-11-25 18:39:00
主の祈り? 2004-11-17 00:42:01
今日の読書 Today's reading (002) 2004-11-16 22:58:51
Moive: Eternal Sunshine of spotless mind 2004-11-16 19:43:40
今日の読書 Today's Reading (001) 2004-11-15 23:09:05
え? こんなにいろんな色があるの? 2004-11-02 03:00:11
ヤフオクとかの激安商品ってどうやってるの? 2004-10-31 19:12:48
Book Review: 世界の中心で、愛をさけぶ 2004-10-31 07:38:25
無料で世界中のどこにいても読める本 2004-10-16 23:37:33
お風呂で読める本 2004-10-16 23:34:12
レディーズ、リラックス! 2004-09-20 22:23:07
お!便利になったじゃ〜ん。 2004-09-20 02:32:28
天才的! 2004-09-16 03:03:48
JapanFest 2004! 2004-09-06 01:38:02
名刺 2004-09-03 22:06:27
Rising Sun Rock Festival in EZO 2004 2004-08-05 22:08:52
Hussein will bomb you if ..... 2004-08-05 02:36:34
Damn! We missed Shaky Belly Button Festival 2004-07-28 17:56:14
HOW DO YOU DECIDE WHO TO MARRY? 2004-07-14 12:43:31
レトロ調テレビ 2004-07-13 23:15:50
もし、キティーちゃんファンだったら。。 2004-07-13 23:04:37
NOTHING WITHOUT A FIGHT by United 2004-07-02 11:01:59
チョコで包まれた豚の脂身 2004-06-25 17:36:53
Book Review: Big Fish 2004-06-24 14:29:18
Book Review: The Curious Incident of the Dog in the Night-Time 2004-06-11 12:13:46
涙ぼろぼろ。。。。 2004-06-07 13:37:09
ウェブマーケティング会社 2004-05-25 16:05:32
なんじゃ〜?? 2004-05-12 12:55:47
こりゃ〜すげ。  2004-05-06 17:15:45
野球 2004-05-05 17:37:39
今日の一言 2004-05-04 14:10:41
これほし〜〜〜!! 2004-04-29 13:41:01
Some people just have too much time ... 2004-04-20 10:42:21
なるほど。。 2004-04-16 12:07:00
従兄弟の結婚式 2004-04-08 14:35:17
CD屋 2004-04-02 10:26:31
大統領総選挙 2004-03-30 13:12:08
さすが、日本! 2004-03-24 18:44:23
Book Review: Midnight in the Garden of Good and Evil 2004-03-24 14:17:05
True true ... ? 2004-03-08 15:14:25
優先席? 2004-01-21 11:29:02
Black Bean Doo Doo 2004-01-19 22:38:53
長いけど、読んでみて …。 2003-12-15 12:58:46
まじ? すげ〜。 2003-12-11 15:31:38
Diet Coke がOKなら、日本では。。。。 2003-12-10 08:55:51
ギャル文字 2003-11-04 09:00:11
ハロウィーンパンプキンが酔っ払ったら。。。 2003-10-31 14:58:27
なぜ、子守りを雇う必要があるのか? 2003-10-19 22:02:56
タオルはいかが? 2003-10-06 21:49:33
What is this?? 2003-09-17 21:50:45
グラスアート 2003-09-03 08:00:06
コロナ、ENOVA 2003-08-12 21:02:58
玄米を主食に変えました! 2003-08-12 20:52:42
Server Upgrade 2003-08-08 09:12:05
すげ〜! 2003-08-06 10:57:14
My first Movie Production 2003-07-24 13:06:58
流しの排水溝についているディスポーザル(disposal) 2003-06-22 13:18:09
経済学者の意見をきいてみよう! 2003-05-25 10:38:27
むちゃおかしい! 2003-05-08 14:26:03
コマーシャル 2003-04-26 16:02:07
Oops, again! Am I a destroyer?? : ) 2003-02-28 21:35:37
この鼻、誰の鼻? 2003-02-28 16:21:54
日本への格安往復旅券!$399 2003-02-18 23:29:10
Webヤギの目  2003-02-12 10:52:18
幸福のメール 2003-02-12 10:34:29
〜初〜書き込み 2003-02-08 02:26:42
Kroger 2003-02-06 21:00:21

My WebCam
What's going on at Kassie's? Click here to find out!

My Converter
Value:

Result:
How to use >>

Current time
Japan:
Wed 09/08 12:33am
GA, USA:
Tue 09/07 11:33am

Classified:
opinion
このopinionセクションでは、メッセージを募集中

メッセージを書くにはまず入会して ね!
Copy Left Info here