when i try to show my .rpt report (Crystal Report XI file)in my java desktop application i've the following errors.
when i call this method:
try{
.... //some code that works correctly
reportClientDoc.getDatabaseController().logon(USERNAME, PASSWORD);
}
catch(ReportSDKException ex) {
System.out.println(ex.getMessage());
System.out.println(ex.getCause());
System.out.println(ex);
}
it throws this Warning and Exception:
log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.reportdefinition.ReportDocument).
log4j:WARN Please initialize the log4j system properly.
Errore nella ricerca del nome JNDI (D:\Documenti\NetBeansProjects\italpolVigilanza\dbData\italpol.mdb)
com.crystaldecisions.reports.common.JndiNotFoundException: Errore nella ricerca del nome JNDI (D:\Documenti\NetBeansProjects\italpolVigilanza\dbData\italpol.mdb)
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Errore nella ricerca del nome JNDI (D:\Documenti\NetBeansProjects\italpolVigilanza\dbData\italpol.mdb)---- Error code:-2147467259 Error code name:failed
i've only imported log4j.jar in my application. there are some specific preliminary steps that i must do?
pls help me!