This JNDI Java tutorial describes Java Naming and Directory Interface (JNDI) technology, naming and directory operations, and LDAP. Examples of how to configure a JNDI DataSource in Tomcat in order to use Database Connection Pooling. Check that the name used in the MDB is the same as the JNDI name you can find in the JNDI tree for your weblogic server. You can do that by.

Author: Zulugami Shaktizil
Country: Russian Federation
Language: English (Spanish)
Genre: Science
Published (Last): 6 February 2016
Pages: 483
PDF File Size: 19.70 Mb
ePub File Size: 4.88 Mb
ISBN: 950-3-89101-148-1
Downloads: 49811
Price: Free* [*Free Regsitration Required]
Uploader: Bataur

The fully qualified Java class name expected by jni web application when it performs a lookup for this resource. Specify authentication mechanism for the application code, can be Application or Container. Master 1 IFI MySQL database user password. In order to stop the server, just ctrl-c in the DOS window or close the window.

Apache Tomcat 7 User Guide. Maximum number of idle database connections to retain in pool. Click on the “test connection” button on the right. This will take 30s cojrs build the client lib for your installation. MySQL database user name. Projets et TP rendus The fully qualified Java class name of the database driver.


A fix recommended by Oracle consists in setting up the deployment option for the weblogic server to “deploy exploded archives”. Premiers pas avec A At the end, you should find a wlfullclient.

Choose “Derby” as the database type. In WebLogic 12c, run the admin server from the windows start menu, then open the weblogic admin console also from start menu.

Lesson: Overview of JNDI (The Java™ Tutorials > Java Naming and Directory Interface)

Again, double check the names of the connection factory and coura the destination. Get this standalone version of MySQL and the jdbc driver achives from the kit that has been given to you, Unzip the mysql-noinstall In fact it doesn’t know the actual receiver of the message, it just knows the destination jnfi the message is being sent.

By default, the derby server locates databases in the bin dir. The client servlet we demonstrate here should be added in the dynamic web project.

Trail: Java Naming and Directory Interface: Table of Contents

Writing a client for a weblogic queue Here is an example of a servlet that sends messages to the previous message driven bean. Java EE6 Weblogic Exercice 3. In the small tree, click on “weblogic” then “jms” then on the connection factory and destination.


For weblogic 12c english: Writing a message driven bean 6. It was very helpful!! Add comment Notify me of follow-up comments. Install and Launch JavaDB 2. Installing a MySQL database 4. Writing a remote client standalone for an EJB 6. Please let me know. Add the DataSource to Weblogic 12c 3.

Thank you for the example, it was very helpful. Thanks very much J. Here is an example of a servlet that sends messages to the previous message driven bean. Notify me of follow-up comments. Enter the sample database infos: Name of the resource. There is a bug in weblogic 12c when working with “web profile” projects and JPA. courw

Standard LDAP Controls

Do not forget to select the target server otherwise your datasource will not be exposed to external applications. Set to -1 to wait indefinitely. This is an example database.