How to change a connection with the database in Runtime?

How to change a connection with the database in Runtime?
My connection was made using ADF Business component (ApplicationModule).
ADF Swing.
JDeveloper Studio 11.1.1.4.0.

When deploying ADF applications with database connection, you should be using JDBC data sources configured in the weblogic server.
You could change the JDBC data sources to a different DB instance or location - by changing the JDBC data source and restarting the weblogic server.
For more details, check
http://techiecook.wordpress.com/2010/12/02/oracle-weblogic-adf-datasources/
Thanks,
Navaneeth

Similar Messages

  • Error in connecting with the database

    Hi,
    when i try to connect with the database the following error has occured
    ORA-12504: TNS:listener name was not given the service name in connect data
    solution want

    hi,
    i has the following in my tnsnames.ora file
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl.localdomain)
    )

  • Cant change the connection with the database

    its strange... i have 2 databases for same schema with diferent users ...in one i dont have data and the other i have data...... i have created 2 database connection in my connection navigator..... the strange thing is:
    when i change the connection of the application module to the database that doesnt have data and i run the page there are always appear data wich are in my first database.... eventhought i have change the connection... but if i use bussiness component browser to test it .... i dont get data for those views... in fact this is how this should be...... how is this possible ?
    i am using different faces-config.xml files..... is this connection saved in some files and i should change it by hand?

    Hi Me_J,
    Here is the bc4j from one of my application module: <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig>
       <AppModuleConfigBag>
          <AppModuleConfig name="MyAppModuleLocal">
             <DeployPlatform>LOCAL</DeployPlatform>
             <JDBCDataSource>jdbc/MyConnectionDS</JDBCDataSource>
             <jbo.project>DataModel</jbo.project>
             <AppModuleJndiName>dfly.datamodel.entities.MyAppModule</AppModuleJndiName>
             <java.naming.factory.initial>oracle.jbo.common.JboInitialContextFactory</java.naming.factory.initial>
             <ApplicationName>dfly.datamodel.entities.MyAppModule</ApplicationName>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>You should have something similar. If you have applied security on your application, you could have a "data-sources.xml" file. Assume to have correctly change this file too.
    Instead of using two different connections, i prefer to use only one and changing the parameters when i need to access a different source. You just need to remake and rebuild your project for make your changes effective.
    Hope that help,
    Good luck,
    Tif

  • 10g express, how to change port number for the database home page

    10g express uses port 8080 for its http listener. However this number has been used by Tomcat on my computer. How can I chang the port number for the 10g home page?
    Regards
    jl

    Andy, thank you very much, I have been able to changed the port number following your advice.
    I hope you do not mind I ask a further questions along this line:
    I installed 10 express db on 2 computers. One with Tomcat and the other without. Following your advice, I successfully changed the port number on the one without Tomcat.
    On the one with Tomcat, I believe it was because I installed the 10g express while the Tomcat was running, I can neither go to the 10g's home page (page cannot be displyed), nor logon to the database from sqlplus (ora-12560: TNS:protocal error) even after I shut down the Tomcat. By checking with 'netstat -an', it is known that the http listerner is not listerning.
    Can I change some configuration file to solve this problem? Or do I have to reinstall 10 ex? I prefer the 1st aproach of changing config file, even it is not as easy as reinstallation.
    Thanks
    jl

  • How to connect with the database

    Hi
    I have oracle instant client instantclient-basic-win32-11.1.0.6.0 and i have oracle database 11g installed on oracle enterprise linux machine, i want to connect to that oracle from windows xp machine. i have oracle instantclient-basic-win32-11.1.0.6.0, which has following files.
    vc8
    vc71
    adrci
    adrci
    BASIC_README
    genezi
    genezi
    etc.......
    when i connect using sqlplus TNS adapter error is coming what to do

    Try to follow steps from Quick Start to Oracle Net Connections: http://download.oracle.com/docs/cd/B28359_01/network.111/b28316/gettingstart.htm#i485122

  • Looks like we are running out of the maximum connections IAS 6.0 SP4 can open with the database. Where is the setting and how can we change it?

    We are using IAS 6 SP4. We have 4 kjs engines and we see total 112 jre threads being spawned to database. The code is not able to open connection with the database when we go beyond 60 users (approx)
    Any clues?
    Thanks in advnace
    Sangeeta

    Hi,
    Fine,Its always better to increase the Max pool Size settings to a large value corresponding to KJS's max thread value. Sometimes i had faced problems with Asynchronous database queries eventhough i increased the Max thread value of the Driver to a good maximum value.
    If an application has a very large number of users who access the same data, then Setting the Database Cache's Maximum Connections to a large value will surely help.
    I think its always better to have a clear database connection settings strategy ,considering your Complexity of your Application 'We are using IAS 6 SP4. We have 4 kjs engines and we see total 112 jre threads being spawned to database'.
    Regards,
    T.Raghulan.

  • Error while connectng with the database

    hi,
    I am working with the oracle load testing for web application and now it is using the default database 10g.Then i have installed 11g database in my desktop And also by using oracle application testing suite database configuration i have connected with 11g database also both system are in same network.
    while connecting with the database the following error has occured
    Error opening database '11g'
    Error connecting to the database.
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Driver's SQLSetConnectAttr failed
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    solution needed

    hi asif,
    i have configured the tnsnames and listener file with the following
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    XE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    orcl =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.103)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    OTM_CONNECTION_DATA_1 =
    (DESCRIPTION =
         (ADDRESS_LIST =
         (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
              (CONNECT_DATA =
              (SERVER = DEDICATED)
         (SERVICE_NAME = orcl)
    and listener.ora contains
    # lISTENER.ORA Network Configuration File: /u01/app/oracle1/product/11.1.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xx)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle1/product/11.1/db_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = orcl.localdomain)
    (ORACLE_HOME =/u01/app/oracle1/product/11.1/db_1)
    (SID_NAME = orcl)
    )

  • How Does an Application connect to the DB after authentication

    We working on a prototype to implement the OID
    and achieve Single Sign On.
    We have an OID installed,
    The wallet manager installed.
    The Wallet Client Installed.
    We have an DN entry created into the OID.
    We then login into the Wallet client.
    How do we connect to the database..?
    Or how will an application connect into the database.
    We have the users created into the database as:
    "create user <username> identified globally as <Complete DN for the user>;"
    Is it through Net8 LDAP Native Naming Adapter.
    Where can I find some more info on this LDAP Native Naming Adapter.
    Regards,
    Puneet

    Hello Puneet:
    Are you trying to acheive Enterprise user authentication useing OID? If so you should visit our Advanced Security web page
    located at:
    http://otn.oracle.com/deploy/security/aso/content.html
    There are a few technical whitepapers you should read there. Namely "Enterprise user security" and
    "Oracle Advanced Security: Security and Directory Integration"
    Let me knwo if this helps
    Jay

  • Establish a connection with the user peerID?

    Hello ,
    Know that a user's peerID, how to establish a connection with the user and send a message
    With netGroup.sendToNearest (message, GroupAddress) do?
    Seems to not realize?

    You can simply publish to the RTFMP stream both are connected to. Ryan Stewart once came up with this: http://tv.adobe.com/watch/tech-talk-with-ryan-stewart/build-a-chat-application-with-adobe- stratus/
    But besides you could of course only use a netgroup and send messages to neighbors with notifies.

  • How do I fix the App Store cannot verify a secure connection with the App Store. in mountain lion tried safari reset, changing  the  MTU nothing works

    Hi all,
    how do I fix the App Store cannot verify a secure connection with the App Store. in mountain lion tried safari reset, changing  the  MTU nothing works at  this time. I am using a IMac ML 10.8.2
    Would like some help please.
    Gee

    Hi all,
    how do I fix the App Store cannot verify a secure connection with the App Store. in mountain lion tried safari reset, changing  the  MTU nothing works at  this time. I am using a IMac ML 10.8.2
    Would like some help please.
    Gee

  • How can I save a form with database connections with the info w/o requiring the connection again?

    I have a form in LiveCycle ES2 that has an ODBC connection to an Access 2007 database.  The form works great and all the data populates the form just fine, but next I need a way to save the generated form with the data so it can be sent and signed by people who won't (and can't) have a connection to the database.  I am developing on a Windows 7, 64 bit machine and have Adobe Acrobat X Pro, and Adobe Reader X.
    Any help or suggestions would be appreciated.
    Thanks

    Thanks for the quick response.  I tried saving the form as Reader Extended in Acrobat Pro, but if I close the form I saved as extended, it still prompts for the data connection.  Is there some setting in Adobe LiveCycle in the properties that maybe needs to be set?  I have it set as a Dynamic XML Form.  In form properties, there is a tab called data binding, should I have "Allow binding to data not defined by the default data connection" checked?  Wasn't sure what "Add data nodes inside the filtered data hierarchy" would do either.

  • I have tried everything, but still I can't locate the photos tab in iTunes...I have tried changing the resolution, started iTunes after connecting with the ipad2, nothing seems to work! please advise!

    I have tried everything, but still I can't locate the photos tab in iTunes...I have tried changing the resolution, started iTunes after connecting with the ipad2, nothing seems to work! please advise!
    I am also providing you with a screenshot of what appears! I need photos on my iPad2
    Message was edited by: angana

    You don't see it on the left-hand side of iTunes - you need to connect and select the iPad on the left-hand side, and then one of the tabs on the right-hand side that you use to select which content to sync to the iPad should be Photos : http://support.apple.com/kb/HT4236
    You will need to select and sync all the photos that you want on the iPad together in one go as only the most recent sync remains on the iPad, not including photos in a subsequent sync is how you delete them from it.

  • When replying to an add on Craig's List, for example, it goes back to my old email address I had with IE, and fails to connect with the ad's author and I'd like to know how to make it use my gmail address with Firefox instead.

    When replying to an ad, via email, posted on Craig's List , for example, it attempts to use my old email address I had with IE, then fails to connect with the ad's author. How do I get it to only use my gmail address with Firefox?
    == This happened ==
    Every time Firefox opened

    See https://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • I have a ipad mini and it says that it has perect wifi yet when i go into safari it says unable to connect with the server how can i fix this?

    I have a ipad mini and i have had it for less then a year, it says that i have perfect wifi up in the left corner where the wifi is always at  but when ever i go into the built in safari it says that it is unable to connect with the server. How can i fix this because with out it connecting to the server or internet it is kind of useless to me. I do have ios7 if that helps

    The wifi symbol only indicates the presence/signal strength of wifi. Not that you are connected.
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • How to create a link to a web page that is connected to the database?

    i am developing a web form in java using Oracle's JDeveloper. i created the form which is connected to the database and now i want to put a link in a page that when clicked it shows the form and populates it if necessary. i have no idea how to do that, can anyone please give me an example or where i can find an example?

    Its really hard to answer this question with this enough information....Which Jdeveloper version? which technology you are using to create this web form ? ADF BC or others
    If 11g then are you aware of Task flows?

Maybe you are looking for

  • Help needed regarding font sizes

    Iam generating pdf documents using oracle developer's report builder. When i generate and view those pdf's using the web previewer thay appear to be quite fine,whereas when i host them on ias the font sizes gets bigger, thus lot of text gets truncate

  • Scanning of QRs?

    How do I set up the scanner for QRs?

  • FMS Newbie ?'s

    Hi, I am very proficient with Flex and Flash, however I am new to FMS. I have never setup a Media Server, and have never programmed a Flash/Flex Video Streaming Application. However, I have a client who needs to have a password-protected page to view

  • Allowing existing iPhoto library to copy on import

    When I initially setup my iPhoto library I told it not to copy photos to the iPhoto folder on import. Since then I have added about 4300 photos complete with notations, keywords, dates, etc. Now I really wish that I had just let iPhoto take care of h

  • Help Please???  Personal web address & .Mac address

    Hey folks- I have set up my personal domain to be used with my .Mac address by utilizing my CNAME and such. Now one problem I am having that I'm not sure can be solved.... Is there any way to set up my second site in iWeb to be the only site to utili