In Crystal Reports 10 and Crystal Reports XI using BEA WebLogic 8.1, the Java Naming and Directory Interface (JNDI) connection fails when the application server and Crystal Reports are on different computers. Users are unable to create a Crystal report based on a JNDI connection.
This behavior occurs because the location of the weblogic.jar file has been defined incorrectly in CRConfig.xml.
To resolve the behavior
- Share the following directory on the computer where the application server resides: <installation directory>:\bea\weblogic81\server\lib.
- Open CRConfig.xml in a text editor such as Notepad.
- Specify the location of the weblogic.jar file
in the Classpath tag as follows:
- Save and close the file.
If the code sample appears truncated in the browser window, copy and paste the entire block of code into a text editor. Code samples are intentionally formatted this way so they do not wrap. Wrapped code can produce unexpected errors in the application.
JNDI connection failed , 8834921 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , How To