Jar placement in iHub3.1
I can't seem to get a simple jar to load in my report. It works locally in Birt Designer, as I set the classpath to it. But when I upload to iHub, it can't seem to find it. I've put it in several locations:
/home/admin/BIRTiHubVisualization/modules/BIRTiHub/iHub/web/iportal/scriptlib
/home/admin/BIRTiHubVisualization/modules/BIRTiHub/iHub/resources
/home/admin/BIRTiHubVisualization/modules/BIRTiHub/iHub/jar
/home/admin/BIRTiHubVisualization/modules/BIRTiHub/iHub/jar/BIRT/lib
And always get...
ReferenceError: "ReportVerify" is not defined. (/report/method[@name="beforeFactory"]#7)
Also have tried to attach it to the report and put it the resources folder, nothing works. Attached report design, won't let me upload jar but its just a simple:
package birt.report.reportverify2;
public class ReportVerify {
public ReportVerify() { System.out.println("test"); }
}
Any help would be super appreciated.
Comments
-
Have you tried placing it in the volume's resources(in the iHub encyclopedia) folder instead of on the file system?
Warning No formatter is installed for the format ipb0 -
Yeah, I think I know what you are referring to and I've tried to add it there as well, still the same. I'm compiling in java 1.7, is that the proper version for ihub?
0 -
Yes, that java should be fine. Are you on an AJC, or a full iHub visualization? If you aren't on an AJC, then I don't believe that's the right location.
Warning No formatter is installed for the format ipb0 -
In that case, that wasn't the area I was looking for. You want to place it in the volume, not the file system. Navigate to hostname:8700/iportal and login. Try placing the jar file in the resources folder there, in the iportal.
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 105 General Questions
- 142 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management