DataSource in OCJ4, how is it possible ?

I use JDevelopper 10.1.2.0.0 to develop, then deploy to tomcat. I want to use datasources on both ocj4 (for test) then with tomcat. As datasources needs to be configured differently on both platforms (right ?), and since datasource naming are different I put the following code:
InitialContext initCtx=null;
try {
initCtx = new InitialContext();
logger.debug("Using tomcat datasource");
ds = (DataSource)initCtx.lookup "java:comp/env/jdbc/myTomcat_CP");
catch(NamingException ne){       
try {
logger.debug("Using oc4j datasource");
ds = (DataSource) initCtx.lookup("jdbc/myOCJ4_CPCoreDS"); // JNDI Name
catch (NamingException ne2){
ne2.printStackTrace();
I also put this lines in web.xml (for tomcat):
<resource-ref>
<res-ref-name>jdbc/myTomcat_CP</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Of course I've done what have to be done in tomcat server.xml, to define myTomcat_CP properties (driver, url, user, passwd, ...).
In OCJ4 server, I have NO connection to any tomcat server, but have several datasources defined.
When I test a program within OCJ4, what a surprise, the tomcat connexion pool definition is used and it works. I really don't understand how OCJ4 can find and use this tomcat definition CP, since the datasource lookup names are really different. I don't remember to gives OCJ4 the way to know about tomcat CP, so how can OCJ4 find the name "myTomcat_CP" and the properties of that pool ??
If I change "myTomcat_CP" name in both source code and web.xml, the CP keeps working ok.
How is this possible ???
Any explanation would be appreciated...
Bernard Paris

Do a Google search for "iphone 4 micro sim tray" and you will get several pages of results.  I have no experience to recommend any particular vendor.

Similar Messages

  • How is it possible that a target has two deltas requests with the exact sam

    HI,
    How is it possible that a target has two deltas requests with the exact same records?

    Hi Mohammed,
    There are couple of reason behind it.
    main reason is
    take one scenario we have DSO as source and cube as target.
    Now DSO contains only 1 request, which i have loaded to cube by using delta.
    after that i have deleted DSO content by using right click on it and delete data.
    (hope u know that it will not delete request from target automatically)
    now once again i have loaded same request from datasource to DSO
    and then loaded delta again from DSO to cube.
    In this case for 1 single request in DSO you can see 2 request in cube with same data.
    Regards,
    Ashish

  • Unfortunately, I lost by an update all the apps on my iPad 2. Now I can not pull the data from the cloud to my iPad. How is this possible?

    Unfortunately, I lost by an update all the apps on my iPad 2. Now I can not pull the data from the cloud to my iPad. How is this possible?

    If you just installed iCloud does that mean you updated the iOS that's running on your iPad?  If so, you'll want to restore all the programs you have from the backup you hopefully made.
    Refer to these articles for help.
    iTunes: Backing up, updating, and restoring iOS software.
    If you don't want to use iCloud, simply don't activate it.
    You can also download the programs again.
    If you live in a country that supports re-downloading apps then you can re-download them.  You can refer to this article for more help.
    Downloading past purchases from the App Store and iTunes Store
    What to know if your country supports downloading past purchases?
    iTunes in the Cloud Availability

  • I just bought my macbook pro and it's charged up to 100% and is still plugged in but now shows the battery at 98%.  How is this possible when it's plugged in to the charger and the green light is on?

    I just bought my macbook pro and it's charged up to 100% and is still plugged in but now shows the battery at 98%.  How is this possible when it's plugged in to the charger and the green light is on?

    The system regularly lets the battery drop to about 95% when on the charger, then recharges to 100%.  This lets the batery exercise "just a little" all of the time and saves the recharge curcuits from overuse.
    Regualr occurence for me.
    Also ... you need to let your battery work at least once per month.  Let it run down to 40%, but not less if you can at all avoid it.  Running thr battery fully dead will shorten the battery life significantly.

  • Mini Display to VGA adapter stopped. The Mini Display to HDMI is still working fine. How´s that possible?

    The mini display to VGA adapter had stopped, whinle the Mini Display to HDMI keeps working fine. The minid display to VGA adapter was replaced and the VGA cable as well, and the problem is the same. This test was made with two diferent monitors with VGA entries. How´s that possible to happen? Is that a configuration trouble in the MBP?

    The Apple´s customer support gave us the solution for this problem:
    SMC reset
    PRAM reset
    The VGA adapter return to work properly aflter this procedure.

  • I want to buy a Ipod Nano 16gb and it says it holds up to 4,000 songs, and 16 hours of video but on my Itunes I have 2,593 songs and it says I have 19.88 gb. How is this possible?

    I want to buy a Ipod Nano 16gb that says it holds up to 4,000 songs, 16 hours of video, and 14,000 pictures. On my Itunes Library, I have 2,593 songs and it says I have 19.88 gb just of songs. How is this possible? If I buy the Nano, will I not be able to have all my songs on the ipod? The music is my first and only prioarity. I want to be able to have up to at least 3,000 songs, even if that means not having video or pictures. Can someone please help me?

    Daniella04 wrote:
    I want to buy a Ipod Nano 16gb that says it holds up to 4,000 songs, 16 hours of video, and 14,000 pictures. On my Itunes Library, I have 2,593 songs and it says I have 19.88 gb just of songs. How is this possible? If I buy the Nano, will I not be able to have all my songs on the ipod? The music is my first and only prioarity. I want to be able to have up to at least 3,000 songs, even if that means not having video or pictures. Can someone please help me?
    Daniella,
    The estimated song capacities, such as 4000 songs in 16 GB, are based on 4 minute songs of 4 MB each, which is what you get at 128 encoding. 
    Most of us nowadays use well above 128.  (For example, the iTunes Store and Amazon MP3 both sell songs only in 256.)
    However, you can still make more songs fit!  When you sync your iPod, use the option to "convert higher bit rate songs," as pictured.  Choose 128.  This fits more on the iPod, but does not change the songs in your library.

  • HT5570 My six-year old grandson appears to be able to make purchases on the TV without having to enter the password and yet every other device i use (e.g. iPad, iPhone, iPod) is password protected. How is that possible?

    My six-year old grandson appears to be able to make purchases on the TV without having to enter the password and yet every other device i use (e.g. iPad, iPhone, iPod) is password protected. How is that possible when I have to use my password to access such services on all other devices?

    DominicDeBurca wrote:
    My six-year old grandson appears to be able to make purchases on the TV without having to enter the password and yet every other device i use (e.g. iPad, iPhone, iPod) is password protected. How is that possible when I have to use my password to access such services on all other devices?
    Having AppleTV remember the password is optional.
    Logout of iTunes store, log back in and hopefully next time you come to purchase you'll be prompted for your password but decline the option to remember it.  You might also want to look out of parental controls on the unit.
    AC

  • Using Maverick, how is it possible to open more than one calendar window?

    Hi, I'm using Maverick 10.9.1
    My question is: how is it possible to open more than one calendar window? i would like to have on the right my personnal calendar dates and on the left, my company calendar.
    Many thanks in advance for your help!
    ph

    See if the section on group calendar helps.
    http://www.dummies.com/how-to/content/basics-of-calendar-in-os-x-mavericks.html

  • When i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me

    when i send a text message with my new iphone 5 to my wife who is now using my old Iphone 4 we both receive the message. How is this possible? Also she receives all text messages sent to me. She obviously has a different phone number and a different provider

    See here to create a new apple ID
    http://support.apple.com/kb/HE37
    good luck

  • I have an ipad and iphone sharing icloud.  The ipad is using 268mb, the iphone 2.6.  My plan is 5gb but it keeps saying I don't have enough space to back them up.  How is this possible?

    I have an ipad and iphone sharing icloud.  The ipad is using 268mb, the iphone 2.6.  My plan is 5gb but it keeps saying I don't have enough space to back them up.  How is this possible?

    Hey sameyrs2,
    Thanks for the question. Based on what you stated, it seems like you are getting a message when trying to backup to iCloud. I would recommend that you read these articles, they may be helpful in troubleshooting your issue.
    iCloud: Understanding Backup alert messages
    Manage your iCloud storage
    Thanks for using Apple Support Communities.
    Cheers,
    Mario

  • Lost Mode and Play Sound are "Pending."  However, iCloud indicates that it connected and backed up to iCloud at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)

    Hi,
    My wife lost her iPhone two weeks ago while on vacation in London (cell service inoperative in foreign country).  Using Find My iPhone app on my device, I activated Lost Mode and Play Sound.  However, both are listed as "Pending," since it those actions require the phone to connect to the internet (wifi only due to no cellular data coverage.).
    We recently returned home and purchased a new iPhone.
    However, when looking to restore the apps/settings from her old phone using a previous iCloud backup, iCloud indicates that the old phone connected to iCloud and backed up the original phone at a date that is 1 week after it went missing.  How is this possible without locking (Lost Mode Pending an internet connection)?
    If the phone was activated and connected to the internet via a wifi signal, shouldn't it immedately lock, show up on the map, Play Sound, and send me an email that the phone has been found?
    I also read somewhere that if running iOS 7, the iCloud website interface enables you to track previous locations, for instance if the phone moves from wifi hotspot to hotspot.  Is that true?  If so, how do I do that?
    Thank you for your time, and have a great day!
    Sincerely,
    - Matt

    just giving this a wee bump as time is of the essence here and i need advice/ answers quick!
    apologies if i've broke any rules!
    alex

  • I do have wifi connection but no internet, how is this possible? I logged in to the internet at my friends place and when I got home my own internet was not working anymore

    I do have wifi connection but no internet, how is this possible? I logged in to the internet at my friends place and when I got home my own internet was not working anymore

    This is possible to be connected to WiFi but not internet.
    You connect to your modem/router via WiFi and whether it is connected to the internet or configured properly to route the internet to WiFi devices is a different story.
    Now if you've already reset your WiFi (try disabling and enabling) and perhaps even restarting your MBP
    Then make sure that your modem/router is connected to the internet.
    You can try any other device, lights on the modem/router or use Eth cable to test.
    Report back your findings.

  • I have an iphone 6 and my ex partner is able to read my text imessages remotely without having access to my phone. How is this possible and can anybody help me with this matter as it is a gross invasion of my privacy?

    Hi everybody,
    I have an iphone 6 and  my ex partner is intercepting and reading my imessage text messages remotely and without any access to my phone. Can someone shed any light on how this is possible and if so provide me with a solution to my problem as this is a gross invasion of my privacy and i seem powerless to combat this problem!

    It sounds as if your ex has your AppleID and passcode. Change the passcode.

  • IPhone 3G still connecting to 2.4 GHz N network. How is that possible?

    I have an Extreme N that is set to 2.4 GHz N and extended with an Express N. Question is, how is it possible that my iphone 3G and touch are still connecting to WiFi? Should they not even see my N network since the are both G?

    Kind of odd... Mine did the same thing with my extreme. I have it set to 2.4 N only and yet my iphone picked it up and connected with no problems. Are we certain that they didn't stuff an N card in there? I know what the specs say but it clearly saw and connected to the router. I'm a network engineer and know what mine is set to. In fact, I checked it.

  • How much is possible?

    I'm currently designing a new website. It will be a very informative website (for dog owners in the city I live in), but it should also be fun and just useful.
    I already have two websites, done in iWeb, and I want this one to be even more professional. What I'm looking for is some interactivity, like a rating system, or a comment system. I'm also looking into making a bit of money with the site.
    But how much is possible in iWeb? I've been surprised by the software more than once, but I'm always having issues with the lack of interactivity. Should I look into other software or do I just need some advice?

    A rating and comment system is not what I consider interactivity.
    And speaking about it, is searching for answers an interactivity?
    http://www.honden.nl/
    Look at the search field.
    And on this site they talk about it too :
    http://www.doggiesparadise.be/hondenwinkel/content/4-over-ons
    Daarnaast is er ook een interactief gedeelte, namelijk het hondenforum. Hier kan iedereen een leuke en interessante bijdrage leveren rond allerlei uiteenlopende onderwerpen. Alles wordt op een speelse manier aangepakt, waarbij de bezoeker centraal staat. De doelstelling is niet alleen om voor ontspanning te zorgen, maar tegelijk ook een leerrijke ervaring te bieden.
    How much dynamics do you want?
    That's what I mean by looking beyond iWeb.
    And here's a similar question :
    Trying to set up interactive website...

Maybe you are looking for

  • Form Update Issue in Dreamweaver

    Hi there, I have created an update form using Dreamweaver and an Access database. When you load the update form. Some of the text fields are empty. If you do not enter something in one of these fields and hit the update button. You get the following

  • Removing email sugesstion for sending photos

    Hi, I'm posting this because I'm nearly going nuts every time I send a captured photo by using my N86's built in photo sending option (I view the image and in the toolbar select Send with the envelope icon). I choose to send my photo by email, and wh

  • ALV grid using oops concepts

    HI all,           Is it necessary to use container for ALV grid using classes.If not then please help me with a sample code.

  • All the users are able to access all queries in all infoset's.

    Hello All- All the users are able to access all the queries in all the query areas and infoset irrespective of the user group setting. even though the users don't have access to a particular infoset they are able to access and execute the queries in

  • Mail crash crash crash on the MacBook

    My new Macbook has mail crashes several times a day and I consider email to be one of the three key applicaitons in the compouter world. The other two - Web browsing and viewing files like PDFs also have major problems (crashes, can't see the content