This discussion is archived
2 Replies Latest reply: Dec 31, 2012 2:15 PM by Joe Weinstein RSS

datasource connection error in adf

905265 Newbie
Currently Being Moderated
Hi,

I got the following error when accessing an ADF application page which utilizes a datasource connection created on Weblogic Server for displaying some data. Maximum pool size is 150 and the application is accessed rarely by different people.
(Increased the pool size to ensure connection pool does not exhaust now and then)

<code>
Error
Unable to resolve 'jdbc.EBillingDS'. Resolved 'jdbc'
Error
java.lang.NullPointerException
</code>

I am sure the Null pointer exception is because of unavailable datasource.


When i opened the console and clicked the save button in data source page, everything started working fine. Definitely the resolution is something to do with that Save button.

I want to know exactly what might be the issue and how clicking the Save button in datasource page resolved it.


Thanks,
SRK
  • 1. Re: datasource connection error in adf
    anjhawar - oracle Explorer
    Currently Being Moderated
    Have you checked the server's jndi tree and observed the JNDI reference "jdbc.EBillingDS" is available there? In case its not the case then the application look-up is going to fail every time. But what you can also check is that whether the data source you are configuring is even running or not. Best way to check/confirm it would be restarting the server or monitoring the connection pool for the DS.

    HTH,
    AJ
  • 2. Re: datasource connection error in adf
    Joe Weinstein Expert
    Currently Being Moderated
    Well, now that it's working, the only thing that the save button could have done was to
    finish/commit the deployment of that DataSource, and/or changing the jndi name...
    Some crucial aspect of the DataSource definition/deployment had not actually been
    committed yet, and your hitting the save button completed it.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points