{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Jasperreports Server","description":"Treasure AIのJDBCドライバを使用してJasperReports Serverと連携し、クラウド上で大規模データを処理する方法を解説します。データソース設定や接続手順を詳しく説明します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"jasperreports-server","__idx":0},"children":["Jasperreports Server"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この記事では、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/jdbc-driver-for-presto"},"children":["JDBCドライバ"]},"を活用して、Treasure Dataを",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://jasperforge.org/projects/jasperreports-server"},"children":["JasperReports Server"]},"と連携する方法について説明します。Treasure DataとJasperSoftを組み合わせることで、既存のJasperSoftインスタンスを引き続き使用しながら、クラウド上でテラバイト規模のデータを処理できます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"前提条件","__idx":1},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure Dataの基本的な知識"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["JRXMLファイル（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/jaspersoft-ireport-export-integration"},"children":["JasperSoft iReport with JDBC Driver"]},"の記事では、このファイルの作成方法を説明しています）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"jasperreports-serverのダウンロード","__idx":2},"children":["JasperReports Serverのダウンロード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JasperReports Serverは以下のリンクからダウンロードできます。この記事ではバージョン4.7.0を使用しました。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"http://community.jaspersoft.com/project/jasperreports-server"},"children":["JasperSoft CommunityのJasperReports Server"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-data-jdbcドライバのダウンロード","__idx":3},"children":["Treasure Data JDBCドライバのダウンロード"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このドライバはTreasure Dataでのみ動作します。ローカルのHadoop/Hiveクラスタなど、他の環境では実行できません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このドライバはベータ版です。フィードバックをお待ちしております。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/tools/cli-and-sdks/jdbc-driver-for-presto"},"children":["JDBCドライバのダウンロード"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"treasure-dataをデータソースとして追加","__idx":4},"children":["Treasure Dataをデータソースとして追加"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure DataをJasperのデータソースとして追加しましょう。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["JasperReports Serverを起動する前に、Treasure Data JDBCドライバをJasperReports Serverのjasperserverアプリケーションにコピーします。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ cp td-jdbc-VERSION.jar \\\n  jasper-server-install/apache-tomcat/webapps/jasperserver/WEB-INF/lib/\n"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["JasperReports Serverを起動します。"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"$ cd jasper-server-install\n$ ./ctlscript.sh start\n"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AdministratorとしてJasperReport Serverにログインします。管理者は、以下のデフォルト認証情報を使用して標準ログインページからログインします。"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Community edition: ユーザー名jasperadminとパスワードjasperadmin"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Commercial edition: ユーザー名superuserとパスワードsuperuser"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164720.b8f34cdf60304b011fec197dae8036740c883536997f9fee045eaabadb649f3d.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["View > Repositoryを選択します。Data Sourcesを右クリックし、コンテキストメニューからAdd Resource > Data Sourceを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164727.17d70a8d64f6386869573df951a90a9b01fb8baf812103ab557c8576cbc105af.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下のようにJDBCパラメータを設定します。ユーザー名とパスワードの入力を求められたら、Treasure Dataの認証情報を使用してください（ユーザー名はTreasure Dataに登録したメールアドレスです）。Test Connectionを選択してからSubmitを選択します。これでデータソースがJasperReports Serverに登録されました。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164735.8b040b4ddef5539fddd7b86bb94580fe4b91b1e33c3620465f61e122cd0fb4db.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"jasperreports-serverにレポートを登録","__idx":5},"children":["JasperReports Serverにレポートを登録"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JDBCソースを使用してレポートを作成および実行します。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["View > Repositoryを選択します。Input data Typesを右クリックし、コンテキストメニューからAdd Resource > Queryを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164743.e1b2eecab86c123ee10706d854a49cddf2d362227d6919cb3185663b66bbbd15.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリに名前を付けます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Nextを選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164851.c1f418a0b6f00c3c20e126dab056fd5fc2b9cb490b1923bee57021c5ecd9f22f.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["登録したサンプルのTreasure Dataデータソースを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Nextを選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164900.233e67e36f39fcc6234246fe713ae7afdab009243ff4bc6b3f9fdedcbc9e2959.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["クエリを定義します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Saveを選択します。クエリがJasperReports Serverに登録されます。次のクエリは、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/jaspersoft-ireport-export-integration"},"children":["JasperSoft iReport with JDBC Driver"]},"の記事で紹介されています。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164908.731c1caeaca3b0c5cdfdc2f46a3fb2f9fa89ed00c724f3df41cfbec7bcc0d593.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":8},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["View > Repositoryを選択します。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Input data Typesを右クリックします。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストメニューからAdd Resource > JasperReportを選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164917.1dbb41f7756a722d8fd6affd4914e670c81ae4f56664a1938e42cc3a27fa7e22.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":11},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下の図のようにレポートをセットアップします。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164925.8605826465daf8a29f6445cce92e64479619b620e2213eb5aa945988e4f76805.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":12},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["JRXMLファイルをアップロードします（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/jaspersoft-ireport-export-integration"},"children":["JasperSoft iReport with JDBC Driver"]},"の記事では、このファイルの作成方法を説明しています）。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["登録したサンプルのTreasure Dataデータソースを選択します。"]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164933.7f0735bed6381871229e3a2b6543d94cfb02a196de3123d518cc68ac7e73db74.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":14},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以下のように登録したクエリを選択し、Submitボタンを押します。レポートがJasperReports Serverに登録されます。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164943.d2ce6187793b39a36a2beaa80d0bf9ecfc92a5e5428cee573738617c598fb1ee.e543c27f.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":15},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["View > Repositoryを選択します。Input data Typesを選択すると、登録したレポートが表示されます。レポートを右クリックして、コンテキストメニューからRunを選択します。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20191016-164951.68f505bb9fc798bd6244cbb7dce27657c66d6b818589a2767403100688aec82d.e543c27f.png","alt":""},"children":[]}]}]},"headings":[{"value":"Jasperreports Server","id":"jasperreports-server","depth":1},{"value":"前提条件","id":"前提条件","depth":1},{"value":"JasperReports Serverのダウンロード","id":"jasperreports-serverのダウンロード","depth":1},{"value":"Treasure Data JDBCドライバのダウンロード","id":"treasure-data-jdbcドライバのダウンロード","depth":1},{"value":"Treasure Dataをデータソースとして追加","id":"treasure-dataをデータソースとして追加","depth":1},{"value":"JasperReports Serverにレポートを登録","id":"jasperreports-serverにレポートを登録","depth":1}],"frontmatter":{"seo":{"title":"Jasperreports Server","description":"Treasure AIのJDBCドライバを使用してJasperReports Serverと連携し、クラウド上で大規模データを処理する方法を解説します。データソース設定や接続手順を詳しく説明します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/jasperreports-server","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}