I'm working on a J2EE application (which deploys on jboss).We've written some java classes for working with database (and hibernate also).so I've developed a birt oda extension to use this classes.When we're gonna generate reports (with all-in-one) our plugin uses a webservice to send/receive data to/from server.But when we're gonna deploy reports in server and render them,it shouldn't use webservice.Beacuse classes are here.But I'll take noClassDefFound because of the classloading scenario(I think!)<br />
Is there any solution to my problem?take care that I cannot build and use a jar file from my classes because they may change in every deployment.I think I should be able to set my plugin classloader to my application classloader,but how??<br />
I've check so many posts in this issue like (<a class='bbc_url' href='
http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/14022-problem-deploying-java-event-handlers.html'>http://www.birt-exchange.org/forum/deploying-integrating-birt-report-engine-applications/14022-problem-deploying-java-event-handlers.html</a> ) .ButI don't know what this line means and how it may help:<br />
config.getAppContext().put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY, yourclass.class.getClassLoader()); <br />
<br />
Thanks for your help!