Jump to content
We've recently updated our Privacy Statement, available here ×

EJBQL demo sample not working in iReport


nandu_bc

Recommended Posts

I'm trying to use EJBQL connection in iReport 4.0.1

the demo sample sampledemoejbql works when executed with ant script.

But I'm trying to use the same in iReport as follows

Jar files Movie,Cast etc into CustomDB.jar with persistence.xml file, set classapth for the toplink-essentails.jar and toplink-essentials-agent.jar which is shipped along with the demo sample.

put the customDB.jar in /ireport/platform9/lib directory

opent iReport, create EJBQL with persistence unit name as "pu1"

But, I get "Varia" class not found exception.

I have set classapth for CustomDB.jar in iReport also

 

Can someone help?



Post Edited by nandu_bc at 07/07/2011 05:29
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

iReport is shipped with default ejb3 persistence jar.

->delete the ejb3 persistence jar file from the classpath.

->restart the iReport. set classpath for toplink jar files and customdb jar file.

->restart the ireport and try.

 

Hope this helps.

 

regards,

Sonata Software

Link to comment
Share on other sites

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...