cancel
Showing results for 
Search instead for 
Did you mean: 

How do I configure a JNDI Data Source?

Former Member
0 Kudos

Hi,

I am a consultant at Novum GmbH in Germany and I am currently evaluating Crystal Reports.

We are looking for a reporting tool, that meets the following requirements:

  1. Provide a comfortable design tool to create report templates.
  2. Provide a Java-Runtime that can be used to create actual reports from report templates inside a Java EE application.

The design tool provided by Crystal Reports is just what we need.

I have been able to create reports by connecting to a couple of databases using JDBC connections, which works just fine.

The documentation on JDBC Connectivity for SAP Crystal Reports ( http://scn.sap.com/docs/DOC-59132 ) was very helpful.

I noticed that the Crystal Reports Designer also supports JNDI Connectivity.

We are using JBoss7 which acts as a JNDI-Provider, so I tried to configure a JNDI data source provided by JBoss.

First I added the client library provided by JBoss (jboss-as-7.1.1.Final-client.jar) to the path in CRConfig.xml.

Then I added the JNDIConnectionFactory  in CRConfig.xml:

<JNDIConnectionFactory>org.jboss.naming.remote.client.InitialContextFactory</JNDIConnectionFactory>

After changing CRConfig.xml  I restarted the designer and tried to connect to “remote://localhost:4447”.

Unfortunately I was not able to get this running.

Is there a documentation on JNDI Connectivity similar to http://scn.sap.com/docs/DOC-59132 ?

Is there a place where I can see more detailed error messages?

Is there an example configuration for JBoss?

I would appreciate your help.

Regards, Michael

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Michael,

In CR Designer have you tried the help file by hitting the F1 key and then searching on JNDI?

And go to the Java SDK forum, you may find so help there on configuring using JBoss:

Don