Edit the properties file for Metadata Editor
On the workstation where you want to run Metadata Editor, stop Metadata Editor and the Pentaho Server if it is running on the same workstation.
For instructions on stopping the server, see Stop and start the Pentaho Server and repository.
Navigate to the
metadata-editor/simple_jndi
directory where you installed the Metadata Editor.Edit the
JDBC.properties
file found there.If it does not exist, create it according to this example.
SampleData/type=javax.sql.DataSource SampleData/driver=org.hsqldb.jdbcDriver SampleData/user=pentaho_user SampleData/password=password SampleData/url=jdbc:hsqldb:mem:SampleData
In the example,
SampleData
is the name of the JNDI connection. Each line must begin with the JNDI connection name and a forward slash (/), followed by these required parameters.ParameterDescriptiontype
javax.sql.DataSource defines the JNDI data source type.
driver
The driver class name provided by your database vendor.
user
A user account that can connect to this database.
password
The password for the previously declared user.
url
The database connection string provided by your database vendor.
Save and close the file.
For these changes to take effect, restart the Metadata Editor and the Pentaho Server if it is running on the same workstation.
You now have a properties file that defines a JNDI connection for Metadata Editor. Remember, if you run this tool on more than one workstation, repeat this process on all the other workstations.
Last updated
Was this helpful?