Jump to content

Creating a JNDI data source - HELP!


Ectomorph

Recommended Posts

Greeetngs one and all.

I've deployed Jasper report server to my glassfish3 container and I'm running a MySQL database. I have imported two versions of the same .jrmxl report, one which is based on SQL and one based on EJBQL. Its a very simple report only using one table/EJB. I have created two datasources, one to connect to the MySQL database and a JNDI connection datasource, both passed connection tests (note, I had to include a <resource-ref> block in the WEB-INF/web.xml file refering to the jdbc/mydatasource, in the same manner as the examples in this file, of the jasperreport server deployment to get the connection to work). Finally, I assigned each reoprt their appropriate datasource. Now, the report based on SQL runs just fine however the JNDI based report yeilds no results, saying instead that the report is empty. I'm unable to find any decent articles on the web covering JNDI for jasperreport server. Can anyone offer any advice?

 

Many thanks.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...