Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

JNDI datasources work everywhere except Kettle

$
0
0
Hi, I have a weird problem with my Pentaho BI Server 5.1.0.0 CE. I have defined a few JNDI connections for Tomcat (in context.xml which was deployed to pentaho.xml). When I open the Data Source management dialog in Pentaho User Console, I can add JNDI datasources and they pass tests without error. When I run a prpt report which uses these JNDI connections, it also works flawlessly.
But then I want to run a Kettle job on the server. The job is in a DB repository and the connections are defined as JNDI using the same names as on the server. And these connections are not working. I'm using PostgreSQL, Oracle and MySQL and this affects all of them. The Postgres driver says "database requires password auth. but none was sent", Oracle and MySQL just fail on "network driver could not establish connection" or some such (you can get the same error if you misspell the connection URL). The Kettle jobs work only if the connections are defined as JDBC in the repository, but that is far from ideal.
Is this a new bug in 5.1 (we have an instance of 5.0.1-stable on another machine where JNDI works in Kettle), or am I doing something wrong? Thanks in advance for your replies.

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>