nandu_bc Posted July 7, 2011 Share Posted July 7, 2011 I'm trying to use EJBQL connection in iReport 4.0.1the demo sample sampledemoejbql works when executed with ant script.But I'm trying to use the same in iReport as followsJar 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 directoryopent 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 More sharing options...
NandiniBC Posted July 14, 2011 Share Posted July 14, 2011 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 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