I am getting below exception while running any of the pre-existing Audit report in JasperReports Server.
I have integrated JR Server in my WebLogic.
Can anybody let me know if I missed any configuration.
The exception is:
avax.naming.NameNotFoundException: While trying to look up comp/env/jdbc/jasperserver
in /app/webapp/jasperserver-pro/396844516.;
remaining name 'comp/env/jdbc/jasperserver'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNo
In Tomcat6 you have a context.xml file with content like this:
Then that gets looked up as “java:comp/env/jdbc/jasperserver” to access the repository and to access that audit report.
I don’t know WebLogic well. The fact that you are able to use JRS means that you are connecting correctly to the repository. It seems that somewhere you need to indicate that the audit domain needs to use correct JNDI name for the already functioning repository connection.