I have karaf 4.1.1 and birt runtime 4.5.0 on my server. I have problems deploying birt.war in karaf. My purpose is using birt report engine api in karaf to generete reports based on birt project files.
I instaled karaf war feature. But I'm unable to install birt. I tried to type in karaf shell:
bundle:install -s "C:\birt-runtime-4_5_0\birt.war?Bundle-SymbolicName=birt&Web-ContextPath=/sample"
I got:
org.osgi.framework.BundleException: Unable to cache bundle
Any suggestions?
Try to install your component using webbundle prefix.
Simply, tap the following command in your running Karaf instance:
bundle:install webbundle:file:///C:/birt-runtime-4_5_0/birt.war?Bundle-SymbolicName=birt&Web-ContextPath=/sample