Skip to Content
author's profile photo Former Member
Former Member

JNDI Connection with JRC

hi guys,

I just integrated Report frameWork with our project, i am using JDBC connection in JRC. when i download JRC, i got one example in that one sample code was there, based on that only i implemented Report framework. now i want to use the JNDI connection from the WebSphere6.1 Server. i tried a lot but i am not able to come with solution. and also i am not able find any JRC related documents in the Internet.exactly this is what i want,

1) dynamically i want to change the Table connection information to use the JNDI Connection

2) url to download same codes and documentations.

Thank you very much in advance...

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 19, 2008 at 04:02 PM

    When you set up a JDBC connection, there's a field where you can specify an Optional JNDI Connection name.

    The purpose of that is so you can design a report against JDBC, and when you deploy to a container that has JNDI, use that instead.

    Sincerely,

    Ted Ueda

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      This is my server JNDI Information:

      INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory

      PROVIDER_URL=iiop://localhost:2809

      DATASOURCE=ePay

      my question is like,

      Without giving the factory class name, how this can be connect to the datasource?

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.