Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to use JNDI?

JNDI
0
Posted

How to use JNDI?

0

Q: We will be using PDI integrated in a web application deployed on an application server. We’ve created a JNDI datasource in our application server. Of course Spoon doesn’t run in the context of the application server, so how can we use the JNDI data source in PDI? A: If you look in the PDI main directory you will see a sub-directory “simple-jndi”, which contains a file called “jdbc.properties”. You should change this file so that the JNDI information matches the one you use in your application server. After that you set in the connection tab of Spoon the “Method of access” to JNDI, the “Connection type” to the type of database you’re using. And “Connection name” to the name of the JDNI datasource (as used in “jdbc.properties”).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.