jason.symons Posted February 16, 2017 Share Posted February 16, 2017 Hi All,I am having trouble connecting Jaspersoft studio to a MySQL database using JNDI, can anyone help?I am running JasperReports server, and the datasource has been created in the repository. I can connect Studio to Server to publish reports, use domains etc. but I would like to be able to query the database directly. Reports will be published on the server.So, I have been trying to create a JNDI data adapter to connect to the source wihtin the server reposotiory. Is this possible? Is it the right thing to do?I have tried the JNDI name of "repo:/organizations/organization_1/Data_sources/[mySQLdatabasename]", but I get the following error:java.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initialWhere am i going wrong? Any help greatly appreciated!Thanks Jason Link to comment Share on other sites More sharing options...
eagleinnight Posted February 27, 2019 Share Posted February 27, 2019 Same problem.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now