Using WCF Odata service as SSRS data source

Hi,
We are evaluating Odata service as data source for SSRS, Idea is to use these reports in sharepoint 2010. I am not sure how to do it.
Now, I am getting a basic doubt that whether Odata can be used as SSRS data source. Please clarify my doubt. If this is possible please help me with some samples.
Thanks in advance.
Santosh

Hi Santosh,
Thanks for your post.
I am not familiar with WCF Odata service, so I would suggest you to refer to the article
Data Sources Supported by Reporting Services (SSRS),
to verify whether the predefine data sources could fit your needs, if there is no one available to use for you,
 I would suggest you to implement a custom data processing extensions according to your own needs, you can refer to
Implementing a Data Processing Extension
to learn how to implement a data processing extensions.
Thanks,
Bill Lu
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

Similar Messages

  • Crystal Report using a Web Service as a data source?

    I am trying to figure out how to use a Web Service as a data source in Crystal Reports. When I use the report wizard, I do not see an option to select Web Service as a new connection. We are currently using Crystal Reports 2008 v12.1.0.892. Could it be that my version does not support this? Is there an update that contains this feature? Please help.

    Thanks for your response. Unfortunately I do not see a radio button for Web Services. I've read that it should be there too. Could it be a missing plug-in or patch?
    Here are screen shots of what I see when trying to connect to an XML. Any thoughts?
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard1.jpg]
    [http://s26.photobucket.com/albums/c120/hpolit/?action=view&current=wizard2.jpg]

  • Web service as a data source in Crystal Reports 2008

    Post Author: jpdv
    CA Forum: Data Connectivity and SQL
    I've tried to setup a new report using a web service as a data source.
    Untill now, I have not been successful. I always get the same error: unable to log on to data source.
    Is there any sample that I can try so that I understand what I'm doing wrong?
    Or any documentation on the subject?
    Thanks.

    Having the same issues here also.
    I can see the wsdl file being accessed successfully in the web access log, but Xcelsius v5.3 return "unable to load URL"
    Only thing I can guess is that the schema is "untyped"
    So, nobody in SAP has a solution?

  • Using a Web Service as a data provider for a Crystal Report

    <p>I&#39;m trying to write a Crystal Reports XI report that uses a Web Service as the data provider.  I have a Web Service written in ColdFusion that looks like this.<br /><br /><cfcomponent displayName="FindEmployee" ><br />   <cffunction name="FindEmployeeSort" access="remote"          <br />               returnType="xml" output="false"><br />      <cfdump var=form><br />      <cfset myXML = ""><br />       <!--- FindEmployeeSort body ---><br />       <cfquery name="EmployeeQuery" datasource="Production"><br />           Select * from employee<br />          <cfif isdefined(&#39;form.lastname&#39;)><br />             WHERE lastname LIKE &#39;%#form.lastname#%&#39; <br />          </cfif><br />           Order by lastname asc <br />        </cfquery><br />     <cfreturn EmployeeQuery>  <br />   </cffunction><br /></cfcomponent><br /><br />I can get the web service to work from a ColdFusion page (either locally or on a remote server).</p><p>When I try to create the CR data source, I get the following error:</p><p>Crystal Reports<br />! Logon Failed.<br />Details: Cannot find correspondign table information in the XML file</p><p>The steps I took were:<br />* Choose XML from the "Avalable Data Sources"<br />* Choose "Use Web Service Data Source"<br />* Choose "Use HTTP(S) WSDL" with a url of <a href="http://host/directory/FindEmployee.cfc?wsdl">http://host/directory/FindEmployee.cfc?wsdl</a><br />* Leave the "HTTP(S) Web Service User ID:" and "HTTP(S) Web Service Password:" parameters blank<br />* Accept the defaults for Services, Ports, and Methods.  They are respectively FindEmployee, FindEmployee.cfc and FindEmployeeSort.<br />* Then get the error</p><p>The most likely candidate to me is the user id and password, but I have no idea what to use.  I didn&#39;t have to set any login information up in the ColdFusion pages that I used to test the Web Service.</p><p>Any ideas where to go from here?</p><p>Thanks,</p><p>Brian</p>

    Please re-post if this is still an issue to the Java Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to deploy an WCF OData Service in windows azure

    I am having a WCF OData service in visual studio which i need to deploy in windows azure for accessing in IPad app.
    thanks in advance

    Hi Pilid,
    Thanks for posting!
    About this issue, I suggest you could refer to those documents:
    OData Team Blog:Deploying an OData Service in Windows Azure 
    Docs and code sample :Windows Azure WCF Data Service
    Please try it.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using ConnBean and CursorBean with a Data Source

    Hi all,
    I',m making a web app. using the Jdev (RUP4) with OA Extension. I looked in the help menu under "About Data-Access JavaBeans and Tags". Here I found the following example, but for some stange reason I cannot get the setProperty to work.
    Example: Using ConnBean and CursorBean with a Data Source This following is a sample JSP page that uses ConnBean with a data source to open a connection, then uses CursorBean to execute a query.
    <%@ page import="java.sql.*, oracle.jsp.dbutil.*" %>
    <jsp:useBean id="cbean" class="oracle.jsp.dbutil.ConnBean" scope="session">
    <jsp:setProperty name="cbean" property="dataSource"
    value="<%=request.getParameter("datasource")%>"/>
    </jsp:useBean>
    <% try {
    cbean.connect();
    String sql="SELECT ename, sal FROM scott.emp ORDER BY ename";
    CursorBean cb = cbean.getCursorBean (CursorBean.PREP_STMT, sql);
    out.println(cb.getResultAsHTMLTable());
    cb.close();
    cbean.close();
    } catch (SQLException e) {
    out.println("<P>" + "There was an error doing the query:");
    out.println("<PRE>" + e + "</PRE>\n<P>"); }
    %>
    Does anyone know how to set the "Property" to a datasource and make it work?
    Best regards,
    MHCI

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • Issues using WCF RIA Service with CRM Odata endpoint

    Hi,
    We are here trying to build up a simple mock-up with LS and Dynamics Crm and use it as potential platform for enterprise solutions. When we add the datasource(CRM
    odata endpoint) on the Server project everything goes well, we can bind html components with data on the screens, get access to the context through javascript, etc. We are trying to go a bit forward in the architecture, we want to have a server-side layer
    hosting our business logic (WCF RIA Service layer), and we used Michael´s example as base (great post BTW):
    WCF RIA SERVICE using Lightswitch
    In this case, loading the context fails (ContextData Object), we are trying to create that object exactly as the platform does but apparently the connection
    string is not valid (?). This is the code, pretty much the same that MIchael has in his example and the same (apparently) that the platform uses internally:
    string assemblyName = global::System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
    string connString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["MYContextData"].ConnectionString;
    EntityConnectionStringBuilder builder = new EntityConnectionStringBuilder();
    builder.Metadata = "res://" + assemblyName + "/WCF_RIA_MyServiceData.csdl|res://" + assemblyName + "/WCF_RIA_MyServiceData.ssdl|res://" + assemblyName + "/WCF_RIA_MyServiceData.msl";
    builder.Provider = "System.Data.SqlClient";
    builder.ProviderConnectionString = connString;
    this.m_context = new CSMADevContextData(builder.ConnectionString);
    And this is the error:
    {"Keyword not supported: 'service url'."}
    Web config connectionString="Service Url=http://myserver/myCRM/XRMServices/2011/OrganizationData.svc;Is Windows Authentication=True;Allow Invalid Certificate=False" />
    which is weird because we were looking into the GeneratedArtifacts/DataServiceImplementation.cs (platform generated files) and looking at how Ligthswitch
    platform creates the context and apparently is the same code.
    We got a bit stuck on this, any comment will be welcome,
    Cheers.
    Israel

    The connection string that is in my article (that you are trying to adapt for your situation) is for a connection to a Entity Framework data context. It is not for an OData source. I regret that I do not have any good examples :(
    Hopefully someone has a good example.
    Unleash the Power - Get the LightSwitch 2013 HTML Client / SharePoint 2013 book
    http://LightSwitchHelpWebsite.com

  • Using SSAS Security Proxy as a Data Source in SSRS

    Hello--
    We have a tabular model that is exposed externally to our clients via msmdpump.dll  (Configure
    HTTP Access to Analysis Services on Internet Information Services (IIS) 7.0).  
    We have also created a proxy to use custom security accessing the cube.  This proxy works fantastic from Excel.  The proxy URL looks like this:
    https://xxxxx.xxxxx.com/login
    However, from Reporting Services, using the URL to the security proxy as the server name, I cannot make a connection. I ran a profiler trace on the server and I see a connection trying to be made to get the database names, but it returns an error that says:
    "DataSourceInfo property cannot be overwritten."
    I've searched and searched online and found nothing so I'm turning to this forum to see if I can get some help here.
    To summarize, the proxy works great from Excel, but does not work from SSRS. It attempts to connect and get the database names, but returns an error.
    Any help would be greatly appreciated!!

    Hi AshleyPaceNC,
    According to your description, you have configured Http access to SSAS, and you also created a custom security for when connecting the cube. Now you find when applying the custom login URL in Excel, it can work. However, In SSDT, this URL is not working.
    Right?
    In this scenario, I want to know the connection string you use in Excel. You can click Connections->Properties->Definition to see the Connection String.
    Based on my research, it seems the internal working of Excel external data source connection is either a ODBC or OLEDB type connection. It can access with credentials via some hops redirect. However, in SQL Server Data Tool, our BI services directly
    open connection to the data source (database, file....), so it can't have a URL redirect before getting the destination database.
    Best Regards,
    Simon Hou
    TechNet Community Support

  • SharePoint 2013 - SQL Server 2012 PPIV - using a PPIV workbook as a data source - getting PPIV web service error

    I created a PowerPivot (SQL Server 2012 SP1) workbook and uploaded it to SharePoint 2010 Portal and started using it as a data source in an excel file. This worked fine and we saw no issues with it until we moved to SharePoint 2013 environment.
    I uploaded the same PowerPivot workbook (source workbook) to SharePoint 2013 Portal and now trying to use it as a data source. I tried to change connection properties so that I could use the new portal address for the workbook. When
    I try to save my changes, I see that OLAP queries are getting fired "Refreshing OLAP cube" shows up in the status bar, but eventually after running these OLAP queries (I would say after a minute), I get the following error -
    Couldn't find anything specific in SharePoint logs or maybe I wasn't looking for the right thing.
    Has anyone seen this issue? Why would PPIV service throw an error after running for a while? Is it a timeout issue of some kind? How can we take care of this?
    Thanks,
    Sonal

    ULS log showed the following exception: The maximum number of allowed sessions per user has been exceeded.
    Under Excel Services global settings, max limit is set. Default is 25, increasing it resolved this issue.
    Thanks,
    Sonal

  • Gateway Service Builder and Data Source Boolean Mapping

    Hi folks,
    I am using the service builder to define my gateway ODATA services ...
    I have some data model fields which are booleans and are defined as type 'Edm.Boolean' ...
    I am unable to map those fields to RFC ABAP fields with domain 'BOOLEAN' (char 1) ... I am always getting the error:
    Data source attribute ACTIVE and model property IsActive have different types
    Message no. /IWBEP/SBDSP_DM031
    I looked at the help documentation and did some searches here  but I could not find any specific information on the requirements for this EDM type ...
    Thanks,
    Steven

    Hi Folks,
    Did some further debugging and to me this seems to be a BUG in the standard SAP code which determines the EDM type for the linked attribute data.
    Method 'get_ds_attr_edm_type' of class '/IWBEP/CL_SBDSP_UTILITY' creates an internal data type with the internal length ( = 2 ) for a type C length 1 in a unicode system ...
    when 'c' or 'n' or 'x'.
    create data lo_ds_dref type lv_ds_data_type) length lv_ds_int_length.
    Then in method 'get_edm_type_from_ddic_type' of class '/iwbep/cl_mgw_med_edm_util' the length needs to be 'one' in order to potentially qualify as a 'boolean' ... but it is always '2' for a type C length 1 ... hence the mismatch ...
    when cl_abap_typedescr=>typekind_char.
          rs_edm_type-core_type = /iwbep/if_mgw_med_odata_types=>gcs_edm_data_types-string.       "'Edm.String'.
          if ls_dfies is initial.         "Not a DDIC type, that is it is ABAP Core type
            rs_edm_type-length = rs_edm_type-length.  "number of characters
            rs_edm_type-internal_length = rs_edm_type-length * cl_abap_char_utilities=>charsize.  "length in bytes / Unicode needs double
         elseif rs_edm_type-length eq 1."boolean detection (guessing)
            if ls_dfies-domname cs 'BOOL'.
              rs_edm_type-core_type = /iwbep/if_mgw_med_odata_types=>gcs_edm_data_types-boolean.  "'Edm.Boolean'.
            endif.
          endif.
    Hopefully somebody from the SAP gateway team is watching this   Will see whether we can create an OSS customer request as well ...
    Regards,
    Steven

  • WCF OData Service stored procedure call generates "Operation could destabilize the runtime" error with $select option

    I've been trying to call a stored procedure through Entity Framework and WCF Data Services (OData). It returns an entity not a complex type. Following walkthroughs found all over the web, I came up with this code inside my service:
    [WebGet]
    public IQueryable<Entity> GetEntitiesByParameterId(int parameterId)
    return CurrentDataSource.GetEntitiesByParameterId(parameterId).AsQueryable();
    Calling the proc this way: ~WcfService.svc/GetEntitiesByParameterId?parameterId=1 executes
    the stored procedure and returns entities that should be returned. No problem there.
    Everything works well until I try to use $select OData option ie. ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$select=name.
    Upon debugging, the method above runs without any error but it returns an Operation could destabilize the runtime error upon reaching the
    client. After so much research, apparently it is a very general error pointing to a lot of different causes. I haven't found one that really matches my particular problem. Closest are 
    http://stackoverflow.com/questions/378895/operation-could-destabilize-the-runtime
    https://social.msdn.microsoft.com/Forums/en-US/d2fb4767-dc09-4879-a62a-5b2ce96c4465/for-some-columns-entity-properties-executestorequery-failed-with-error-operation-could?forum=adodotnetdataservices 
    but none of the solutions worked on my end.
    Also, from the second article above:
    This is a known limitation of WCF DS. ...
    Second is that some of the queries won't work correctly because LINQ to EF needs little different LINQ expressions than LINQ to Objects in some cases. Which is the problem you're seeing.
    It has been posted on 2012. If it its true, are there still no updates on this? And is there any other workaround to get the $select working on the stored proc call?
    What works:
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$top=1
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$skip-5
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$filter={filter query}
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$expand=SomeNavigationProperty
    What doesn't work:
    ~WcfService.svc/GetEntitiesByParameterId?parameterId=1&$select=name
    Tech details:
    EntityFramework 5, WCF Data Service 5.0, OData V3
    *I've also tried upgrading to EF6 and WCF 5.6.2 and it still didn't work.
    Any help would be appreciated. Thanks!

    Someone from SO replied to my question there and said that $select is still not supported though I couldn't find any definitive documentation about it.
    From what I gather and observed, $select breaks the stored procedure call because it tries to alter the data shape already gotten from the database and attempts to return a dynamic entity instead. Something about the stored proc returning an ObjectResult might
    be messing it up. As I have said, these are merely my observations.
    Workaround: I found a simple and elegant workaround for it though. Since my stored procedures are only getting data from the database and does
    not alter data in any way (INSERT, UPDATE, DELETE), I tried using table-valued functions that returns a table equivalent to the entity on my EF. I've found that calling this function on the Service Operation method returns an IQueryable<Entity> which
    is basically what is needed. $select also works now and so does other OData query options.
    Steps:
    Create a function on the database
    Update EDMX -> Add function
    Add new Function Import with Entity return type
    Create service operation in WCF Data Service that calls CurrentDataSource.<FunctionName>()
    Test in fiddler.
    CODES
    Database Function:
    CREATE FUNCTION GetEntities(@parameter)
    RETURN @entites TABLE(
    [Id] [int],
    [Name] [nvarchar](100),
    AS
    BEGIN
    INSERT INTO @entities
    SELECT [Id], [Name], ... FROM [EntityTable]
    RETURN
    END
    WCF:
    [WebGet]
    public IQueryable<Entity> GetEntity(int parameter)
    return CurrentDataSource.GetEntity(parameter);
    It doesn't really solve the stored procedure problem but I'm marking this as answer until someone can provide a better one as it does solve what I'm trying to do.
    Hope this helps others too. :)

  • Using Oracle BI Server as a Data Source for Third Party Tools

    I have been researching how to use the Oracle BI Server as a data source for two days now. I have not yet found a solution to my problem.
    We have a remote user who is pulling data from one of our Oracle databases using automated tools. This data base is essentially being replaced by Oracle Analytics. However, we do not want this user to get at the physical tables of Analytics, rather, we want the user to be able to connect to the Oracle BI Server itself, and issue Logical SQL to pull data.
    Here are the requirements which I need to be fulfilled:
    1) The ability for a remote user to connect to the BI Server as a data source.
    2) The remote user must be able to do this on a Unix box.
    3) The remote user must be able to automate the process of issuing SQL to the BI Server. (Command line interface is preferable)
    4) The solution needs to be easily implementable, that is, this solution will be implemented many times over.
    I found many articles explaining how to set up a Windows box to connect to the BI Server in this way. However, these articles outline how to use tools like Excel and Microsoft Query to pull data from the BI Server. Our current user is using SQLplus.
    If possible, I would like the user to continue using SQLplus as the tool for connecting to and retriving information from our BI Server. I have tested using SQLplus many different ways to no avail. I have also tried using other tools, such as Oracle SQL Developer.
    Is there a program out there that will fulfill the needs I have outlined above? Or, does someone know of a way to use SQLplus to connect to the Oracle BI Server as a data source? Or, is there a series of solutions which will fulfill the needs outlined above?
    Edited by: user11177366 on Jun 11, 2009 11:46 AM

    I agree it would be inefficient but only because you are using OBIEE for something it was not designed to do. You are basically asking for a "DB feed" and that should designed using PL/SQL, DB Links, Web Services or whatever is your entreprise standard to send data from one system to another. Using OBIEE for this seems a bad architecture decision to me.You are correct, the BI Server is not really intended to be queried like another Oracle Database remotely. However, the reason we are trying to do it this way is twofold:
    1) We want to enforce data level security.
    2) The BI Server has been fine tuned for high performance.
    Forcing the end users to go through the BI Server rather than directly to the physical tables or other sorts of systems built on top solves both of these issues.
    I think you are wrong. I don't see why SQLPlus should be able to query the BI Server. The BI Server can sit on top of many different DBs not just Oracle, even flat files etc. So you can't really expect the BI Server to able to translate all that into Oracle SQL output so you can query it using SQLPlus. The BI Server is not an Oracle RDBMS.You're right again. The BI Server isn't an Oracle RDBMS, and I have been wanting to treat it like one. From the data I have gathered SQLPlus can't query the BI Server.
    However, my research has led me to realize that the BI Server supports the JDBC API. Therefore, (I should have went down this route in the first place) one can use the JDBC driver provided by Oracle (bijdbc14.jar) to interface with the BI Server. There are many programs and applications out there that support the JDBC API and let us connect to BI Server the way we want to. Furthermore, these programs are mostly platform independent, as they are mostly written in Java.
    Lastly, from what I understand the NQCMD program can be installed on any platform as well (provided by Oracle). This is another option to connect to the BI Server as well.
    Thanks for your help and your comments as I went through this process of discovery.

  • Using an LDAP server as a data source?

    I'm evaluating data services and one of our requirements is to be able to retrieve data from an LDAP server. This isn't for authentication.
    We store information about users in an LDAP directory. The workflow I'm testing retrieves a customer number from a DB2 database and then retrieves the customer information in the LDAP directory.
    Is there a way to do this without having to write a bunch of code? The "import metadata" menu doesn't list LDAP as one of the data providers.
    thanks!

    There is no point-and-click (Import Data Source Metadata) way to use an LDAP server as a datasource. You have to use the Java Function provided on dev2dev. If you need help with it, please post here.
    - Mike

  • Unable to open SSRS Data Sources

    I have exactly the same problem with SSRS 2012 and SP2010 having restarted the SSRS boxes - now I can't even open any of my Data Sources - any suggestions welcome!
    The value for UrlRoot in rsreportserver.config is not valid. The default value will be used instead. (Application: SSRS_2012_Service_App, CorrelationId: e80e2208-eb7d-4bc7-8a66-c31537d0c109)

    Are you using SSRS 2012 SP1 + CU8? If not, I'd recommend doing so, but it likely doesn't relate to the issue you're having. Note that the error message you put in your post can be ignored.
    What happens when you try to open a data source?
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Some doubts in using resource-ref,connection pool n Data-source

    Hi all ,
    I need little bit clarification in the following points.
    1) Does the connection pool which is created can be displayed in JNDI Tree???
    I am seeing only DataSOurce in the JNDI Tree Only.
    2)In case of Bean Managed Persistance, in ejb-jar.xml,
    I had given the following info.
    <resource-ref>
             <res-ref-name>ramukkDataSource</res-ref-name>
             <res-type>javax.sql.DataSource</res-type>
             <res-auth>Container</res-auth>
         </resource-ref>Does the <res-ref-name> refers to Datasource Name??
    In weblogic-ejb-jar.xml
    <reference-descriptor>
           <resource-description>
              <res-ref-name>ramukkDataSource</res-ref-name>
              <jndi-name>ramukkpool</jndi-name>
           </resource-description>
         </reference-descriptor>Here <jndi-name> refers to connection pool as per weblogic bible book.
    If so when i deployed my ejb into the server iam getting Datasource cant be found.
    If i had given like the following,
    In ejb-jar.xml
    <resource-ref>
              <res-ref-name>jdbc/ramuJndi</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
         </resource-ref> In weblogic-ejb-jar.xml
         <reference-descriptor>
              <resource-description>
               <res-ref-name>jdbc/ramuJndi</res-ref-name>
               <jndi-name>jdbc/ramuJndi</jndi-name>
           </resource-description>
        </reference-descriptor>Then only my ejb code is successfully deploying doing some work which is as per xpectation.
    Can any body tell why I have to give the same name for <res-ref-name> n <jndi-name>??
    I am working on this problem from last one week. Still not found the solution.
    Connection Pool Creation
    GENERAL::
    Name : ramukkpool
    url : jdbc:mysql://localhost:3306/test
    Driver Classname: com.mysql.jdbc.Driver
    Properties :
    user = root
    Password = XXX
    create
    TARGETS::
    i had shifted myServer from left side to right side n clicked >>Apply
    (Techncially can we say this as deploying the connection pool into server ???????????
    If not how to deploy the connection pool into server??)
    I did not get any errors in the console.
    Now i am creating a datasource
    CONFIGURATION:
    Name : ramukkDataSource
    JNDIName: jdbc/ramuJndi(Does we have to follow this convention only?? i.e JNDIName should start with jdbc/ only)
    PoolName: ramukkpool
    create
    TARGETS::
    I had shifed myServer from left to right n >>Apply.
    Now also i did not get any errors in the console.Thanx(in advance),
    ramu

    I have read the documentation.
    I changed my class to oracle.jdbc.pool.OracleConnectionCacheImpl from
    oracle.jdbc.pool.OracleConnectionPoolDataSource
    I observed in the EM that the Open JDBC Connections and Total JDBC Connections are the same. When I used oracle.jdbc.pool.OracleConnectionPoolDataSource my Total JDBC Connections was increasing and Open JDBC Connections remains 0.
    My question still remains unanswered, could some kindly help.
    Q? I have defined a data source in JDeveloper using
    oracle.jdbc.pool.OracleConnectionCacheImpl
    In my java bean I am using the code pasted below to make a connection to database.
    Can some one tell whether I am using the correct method of connection pooling mechanism or do I need to make some changes? This application uses JSP and used by lots of people which hits database very frequently.
    Any help is highly appreciable.
    Thanks in advance.
    *******Code to make connection*********
    private javax.naming.InitialContext context = null;
    private javax.sql.DataSource jdbcURL = null;
    private static final String url = "jdbc/ProdCoreDS";
    public boolean openConnection()
    try
        DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    context = new javax.naming.InitialContext();
    jdbcURL = (javax.sql.DataSource)context.lookup(url);
    con =  jdbcURL.getConnection();
    return true;
      catch(Exception e)
           System.out.println("Error in the Connection  "+e);
        e.printStackTrace();
                 return false;
         }}

Maybe you are looking for

  • Advantages of using XSLT mapping

    Can any one explain me the advantages of using XSLT mapping compare to graphical.java and abap mappings

  • External hdmi monitor connection causes airport wireless to fail

    When I connect my 24" iMac (early 2009) to my Samsung 40" LCD TV using an HDMI display adapter and an HDMI cable, my built-in airport wireless connection stops working. The airport will see wifi connections, but constantly prompts for the WPA passwor

  • Should dbassist create an entry in my tnsnames.ora file?

    I just created an instance on Solaris with dbassist and the sample minimal.rsp response file (8.1.7). I was surprised to note that no entry was created in the tnsnames.ora file as I would expect (it does create an entry on Windows platforms). Is this

  • X230 battery not discharging

    Hi, I have a problem with battery on my 1 year old X230 (currently on Windows 8.1). My battery is behaving weird lately. Once it is fully charged, it stays at 100% for let's say 3-4 hours and after that it'll go to zero really quickly. What can I do

  • Oracle VM 3 and USB/HardLock.

    I'm starting to create a test enviroment wiht Oracle VM 3.0.2 and in the current production enviroment (Oracle VM 2.2.2) i'm able to do USB passthrough. For that i use the lsusb command and capture the ID of the device, then i configure the vm.cfg to