`
boogie
  • 浏览: 235987 次
  • 性别: Icon_minigender_1
  • 来自: 宁波
社区版块
存档分类
最新评论

Using Connection Pool Support

    博客分类:
  • BI
阅读更多

Re: Using Connection Pool Support

Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=131662#c7 for a
description of this JNDI feature.
It has been tested to work fine with WebLogic 8.1.

To setup BIRT report designer to be a remote client of a JNDI factory
service,
you may optionally setup a jndi.properties file in the
birt.report.data.oda.dbc/drivers subfolder.
For the WebLogic JNDI server environment, you may put the following
name-value property pair entries in the jndi.properties file:

java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
java.naming.provider.url=t3://jndiServer:7001
java.naming.security.principal=myusername
java.naming.security.credentials=mypassword

where "jndiServer" is the machine name where the JNDI server is running,
"7001" is the port number that the domain server is listening.
"myusername" is the user name configured in the Weblogic domain server, and
"mypassword" is the password.

"weblogic.jndi.WLInitialContextFactory" is the Weblogic provided factory
class that knows how to talk to a Weblogic server. This factory class is in
"weblogic.jar" file, normally found in /weblogic81\server\lib
folder.
You need to manually add this jar in the Report Designer's classpath, so that
it can find it.

In BIRT, when you design an oda.jdbc data source, specify your JNDI Name
value in the "JNDI URL" property. You can also use property binding to map
it to a report parameter, which allows you to change the values used at
runtime.
The JNDI URL property value is the name you have configured in your JNDI
server's JDBC->"Data Source" object's JNDI Name.
The JDBC's Driver Class and URL properties are optional for Weblogic JNDI
service, since it supports client-side access from the report designer, and
thus no need to fall back to use a JDBC connection directly. You may also
want to leave the Username and Password properties with an empty value, which
would allow the JNDI service to use the java.naming.security.principal and
credentials values instead.
分享到:
评论

相关推荐

    Node.js邮件发送Nodemailer.zip

    SMTP Connection pool and connection reuse for rapid delivery Preconfigured services for using SMTP with Gmail, Hotmail etc. Use objects as header values for SendGrid SMTP API XOAUTH ...

    h2内存数据库文档内容比较全。

    h2 内存数据库的文档,内容比较全。 内容包括: Starting and Using the H2 Console Settings of the H2 Console ...Using a Connection Pool Fulltext Search User-Defined Variables Date and Time Using Spring

    微软内部资料-SQL性能优化2

    Represented by Memory: Pool Paged Bytes and Memory:Pool Paged Resident Bytes. Typically between 10-30MB + size of Registry. For more information regarding “limits,” see also… Inside Windows 2000...

    H2数据库官方文档(English)

    - **连接池使用**(Using a Connection Pool):解释了如何在应用程序中设置和使用连接池。 - **Java Web Start/JNLP支持**:提供了如何在Java Web Start应用程序中使用H2数据库的指南。 - **OSGi支持**:介绍了...

    操作系统(内存管理)

    向可用内存池(pool)中返回部分内存,以使其可以由程序的其他部分或者其他程序使用。 实现这些需求的程序库称为 分配程序(allocators),因为它们负责分配和回收内存。程序的动态性越强,内存管理就越重要,您的...

    java7帮助文档

    It is designed to efficiently run a large number of tasks using a pool of worker threads. A work-stealing technique is used to keep all the worker threads busy, to take full advantage of multiple ...

    python3.6.5参考手册 chm

    DTrace and SystemTap probing support Other Language Changes New Modules secrets Improved Modules array ast asyncio binascii cmath collections concurrent.futures contextlib datetime decimal...

    微软内部资料-SQL性能优化3

    To support SERIALIZABLE transaction semantics, SQL Server needs to lock sets of rows specified by a predicate, such as WHERE salary BETWEEN 30000 AND 50000 SQL Server needs to lock data that does ...

    php.ini-development

    recommending using the production ini in production and testing environments. ; php.ini-development is very similar to its production variant, except it's ; much more verbose when it comes to errors...

    tomcat-7_API_帮助文档

    * tomcat-dbcp.jar (package renamed database connection pool based on Commons DBCP) * tomcat-jdbc.jar (Tomcat's database connection pooling solution) * tomcat-util.jar (Various utilities) * websocket-...

    The Indispensable PC Hardware Book - rar - part1. (1/7)

    Instruction pool and micro-ops. L1 and L2 caches. Pentium Pro features. Instructions. Control functions in CR4. The 36-bit address bus. Global pages. Model-specific registers. Memory type ...

    Geoserver用户手册

    1 Introduction 3 1.1 Overview . . . . . . . . ....1.2 History ....1.3 Getting involved ....1.4 License ....2.1 Windows installer ....2.2 Windows binary ....2.3 Mac OS X installer ....2.4 Mac OS X binary ....

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - ADD: In TFlexPanel.DefaultLinkPoint property added Size field that lets define visual size of the connection points of the flex-connectors. Initialized with DefaultLinkPointSize constant in the ...

    MySQL 5.6 Reference Manual

    Table of Contents Preface, Notes, Licenses . . . . . . . . ....1. Licenses for Third-Party Components ....1.1. FindGTest.cmake License ....1.2. LPeg Library License ....1.3. LuaFileSystem Library License ....

    a project model for the FreeBSD Project.7z

    A project model for the FreeBSD Project Niklas Saers ... ...Table of Contents Foreword 1 Overview 2 Definitions ...3-1....3-2....4-1....4-2....4-3....5-1....6-1....6-2....6-3....6-4....6-5....6-6....6-7....6-8....6-9....8-1....Up until now, the FreeBSD ...

Global site tag (gtag.js) - Google Analytics